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

Method getProcessor

ij/src/main/java/ij/IJ.java:1913–1916  ·  view source on GitHub ↗

Returns the active image or stack slice as an ImageProcessor, or displays an error message and aborts the plugin or macro if no images are open.

()

Source from the content-addressed store, hash-verified

1911 /** Returns the active image or stack slice as an ImageProcessor, or displays
1912 an error message and aborts the plugin or macro if no images are open. */
1913 public static ImageProcessor getProcessor() {
1914 ImagePlus imp = IJ.getImage();
1915 return imp.getProcessor();
1916 }
1917
1918 /** Switches to the specified stack slice, where 1<='slice'<=stack-size. */
1919 public static void setSlice(int slice) {

Callers 15

setRawThresholdMethod · 0.45
setAutoThresholdMethod · 0.45
resetThresholdMethod · 0.45
doWandMethod · 0.45
setupMethod · 0.45
swapImagesMethod · 0.45
isColorLutMethod · 0.45
runMethod · 0.45
processMethod · 0.45
runMethod · 0.45
processMethod · 0.45
runMethod · 0.45

Calls 2

getImageMethod · 0.95
getProcessorMethod · 0.95

Tested by 1

readWriteUncompressedMethod · 0.36