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

Method setThreshold

ij/src/main/java/ij/IJ.java:1506–1508  ·  view source on GitHub ↗

Sets the lower and upper threshold levels and displays the image using red to highlight thresholded pixels. May not work correctly on 16 and 32 bit images unless the display range has been reset using IJ.resetMinAndMax().

(double lowerThreshold, double upperThresold)

Source from the content-addressed store, hash-verified

1504 16 and 32 bit images unless the display range has been reset using IJ.resetMinAndMax().
1505 */
1506 public static void setThreshold(double lowerThreshold, double upperThresold) {
1507 setThreshold(lowerThreshold, upperThresold, null);
1508 }
1509
1510 /** Sets the lower and upper threshold levels and displays the image using
1511 the specified <code>displayMode</code> ("Red", "Black & White", "Over/Under" or "No Update"). */

Callers 3

setThresholdMethod · 0.95
setRawThresholdMethod · 0.45
setStackThresholdMethod · 0.45

Calls 5

getImageMethod · 0.95
getRawValueMethod · 0.95
setRawThresholdMethod · 0.95
getCalibrationMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected