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

Method getImageCount

ij/src/main/java/ij/WindowManager.java:145–151  ·  view source on GitHub ↗

Returns the number of open images.

()

Source from the content-addressed store, hash-verified

143
144 /** Returns the number of open images. */
145 public static int getImageCount() {
146 int count = imageList.size();
147 count += Interpreter.getBatchModeImageCount();
148 if (count==0 && getCurrentImage()!=null)
149 count = 1;
150 return count;
151 }
152
153 /** Returns the front most window or null. */
154 public static Window getActiveWindow() {

Callers 12

runMethod · 0.95
getImageMethod · 0.95
getVariablesMethod · 0.95
updateDisplayMethod · 0.95
getImageCountMethod · 0.95
getSelectionTypeMethod · 0.95
doDialogMethod · 0.95
processFolderMethod · 0.95
openMethod · 0.95
addTextMethod · 0.95
setupMethod · 0.95

Calls 3

getCurrentImageMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected