()
| 3268 | } |
| 3269 | |
| 3270 | public void resetDisplayRange() { |
| 3271 | if (defaultMin!=0.0 || defaultMax!=0.0) |
| 3272 | setDisplayRange(defaultMin, defaultMax); |
| 3273 | else if (imageType==GRAY16 && default16bitDisplayRange>=8 && default16bitDisplayRange<=16 && !(getCalibration().isSigned16Bit())) |
| 3274 | ip.setMinAndMax(0, Math.pow(2,default16bitDisplayRange)-1); |
| 3275 | else |
| 3276 | ip.resetMinAndMax(); |
| 3277 | } |
| 3278 | |
| 3279 | public void setDefaultDisplayRange(double min, double max) { |
| 3280 | this.defaultMin = min; |
no test coverage detected