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

Method getRoi

ij/src/main/java/ij/ImagePlus.java:2149–2151  ·  view source on GitHub ↗

Returns the current selection, or null if there is no selection.

()

Source from the content-addressed store, hash-verified

2147
2148 /** Returns the current selection, or null if there is no selection. */
2149 public Roi getRoi() {
2150 return roi;
2151 }
2152
2153 /** Assigns the specified ROI to this image and displays it. Any existing
2154 ROI is deleted if <code>roi</code> is null or its width or height is zero. */

Callers 15

ImagePlusMethod · 0.95
trimProcessorMethod · 0.95
createRoiMaskMethod · 0.95
setSliceMethod · 0.95
duplicateMethod · 0.95
cropMethod · 0.95
mouseMovedMethod · 0.95
getLocationAsStringMethod · 0.95
copyMethod · 0.95
pasteMethod · 0.95
flattenMethod · 0.95
updateStatusMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected