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

Method setAutoThreshold

ij/src/main/java/ij/ImagePlus.java:3293–3295  ·  view source on GitHub ↗

Uses the specified method to set the threshold levels of this image. Use AutoThresholder.getMethods() to get a list of the available methods. Add " dark" to the method name if the image has a dark background. Add " 16-bit" to use the full 16-bit histogram when calculating the threshold of 16-bit ima

(String method)

Source from the content-addressed store, hash-verified

3291 * stack when calculating the threshold.
3292 */
3293 public void setAutoThreshold(String method) {
3294 IJ.setAutoThreshold(this, method);
3295 }
3296
3297 /** Returns 'true' if this image is thresholded.
3298 * @see ij.process.ImageProcessor#isThreshold

Callers 1

setAutoThresholdMethod · 0.95

Calls 1

setAutoThresholdMethod · 0.95

Tested by

no test coverage detected