MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getMinAndMax

Method getMinAndMax

ij/src/main/java/ij/macro/Functions.java:3332–3343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3330 }
3331
3332 void getMinAndMax() {
3333 Variable min = getFirstVariable();
3334 Variable max = getLastVariable();
3335 ImagePlus imp = getImage();
3336 double v1 = imp.getDisplayRangeMin();
3337 double v2 = imp.getDisplayRangeMax();
3338 Calibration cal = imp.getCalibration();
3339 v1 = cal.getCValue(v1);
3340 v2 = cal.getCValue(v2);
3341 min.setValue(v1);
3342 max.setValue(v2);
3343 }
3344
3345 void selectImage() {
3346 interp.getLeftParen();

Callers 1

doFunctionMethod · 0.95

Calls 8

getFirstVariableMethod · 0.95
getLastVariableMethod · 0.95
getImageMethod · 0.95
getDisplayRangeMinMethod · 0.95
getDisplayRangeMaxMethod · 0.95
getCalibrationMethod · 0.95
getCValueMethod · 0.95
setValueMethod · 0.95

Tested by

no test coverage detected