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

Method doWand

ij/src/main/java/ij/IJ.java:1789–1791  ·  view source on GitHub ↗

Equivalent to clicking on the current image at (x,y) with the wand tool. Returns the number of points in the resulting ROI.

(int x, int y)

Source from the content-addressed store, hash-verified

1787 /** Equivalent to clicking on the current image at (x,y) with the
1788 wand tool. Returns the number of points in the resulting ROI. */
1789 public static int doWand(int x, int y) {
1790 return doWand(getImage(), x, y, 0, null);
1791 }
1792
1793 /** Traces the boundary of the area with pixel values within
1794 * 'tolerance' of the value of the pixel at the starting location.

Callers 4

doWandMethod · 0.95
makeBandMethod · 0.95
dialogItemChangedMethod · 0.95
mousePressedMethod · 0.95

Calls 15

getImageMethod · 0.95
getPixelValueMethod · 0.95
isThresholdMethod · 0.95
getLutUpdateModeMethod · 0.95
autoOutlineMethod · 0.95
getMinThresholdMethod · 0.95
getMaxThresholdMethod · 0.95
shiftKeyDownMethod · 0.95
altKeyDownMethod · 0.95
getTypeMethod · 0.95
getBoundsMethod · 0.95
openMacroFromJarMethod · 0.95

Tested by

no test coverage detected