comparison Applications/StoneWebViewer/WebApplication/app.js @ 2031:a56f7ed0cdf9 deep-learning

integration mainline->deep-learning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 23 Dec 2022 17:51:07 +0100
parents 0cb8796c2a9b f36de3ba43c8
children 0d814292a17e
comparison
equal deleted inserted replaced
2029:0cb8796c2a9b 2031:a56f7ed0cdf9
1033 SetWindowing: function(center, width) { 1033 SetWindowing: function(center, width) {
1034 this.showWindowing = false; 1034 this.showWindowing = false;
1035 var canvas = this.GetActiveCanvas(); 1035 var canvas = this.GetActiveCanvas();
1036 if (canvas != '') { 1036 if (canvas != '') {
1037 stone.SetWindowing(canvas, center, width); 1037 stone.SetWindowing(canvas, center, width);
1038 }
1039 },
1040
1041 StretchWindowing: function(center, width) {
1042 this.showWindowing = false;
1043 var canvas = this.GetActiveCanvas();
1044 if (canvas != '') {
1045 stone.StretchWindowing(canvas);
1038 } 1046 }
1039 }, 1047 },
1040 1048
1041 InvertContrast: function() { 1049 InvertContrast: function() {
1042 var canvas = this.GetActiveCanvas(); 1050 var canvas = this.GetActiveCanvas();