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

Method getDisplayMode

ij/src/main/java/ij/ImagePlus.java:432–437  ·  view source on GitHub ↗

Returns the display mode (IJ.COMPOSITE, IJ.COLOR or IJ.GRAYSCALE) if this is a composite color image, or 0 if it not.

()

Source from the content-addressed store, hash-verified

430 or IJ.GRAYSCALE) if this is a composite color
431 image, or 0 if it not. */
432 public int getDisplayMode() {
433 if (this instanceof CompositeImage)
434 return ((CompositeImage)this).getMode();
435 else
436 return 0;
437 }
438
439 /** Controls which channels in a composite color image are displayed,
440 where 'channels' is a list of ones and zeros that specify the channels to

Callers 2

runMethod · 0.95
setupMethod · 0.45

Calls 1

getModeMethod · 0.45

Tested by

no test coverage detected