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

Method getCompositeMode

ij/src/main/java/ij/ImagePlus.java:3226–3231  ·  view source on GitHub ↗

Returns the display mode (IJ.COMPOSITE, IJ.COLOR or IJ.GRAYSCALE) if this is a CompositeImage, otherwise returns -1.

()

Source from the content-addressed store, hash-verified

3224 /** Returns the display mode (IJ.COMPOSITE, IJ.COLOR
3225 or IJ.GRAYSCALE) if this is a CompositeImage, otherwise returns -1. */
3226 public int getCompositeMode() {
3227 if (isComposite())
3228 return ((CompositeImage)this).getMode();
3229 else
3230 return -1;
3231 }
3232
3233 /** Sets the display range of the current channel. With non-composite
3234 * images it is identical to ip.setMinAndMax(min, max).

Callers 10

setSliceMethod · 0.95
runMethod · 0.80
drawBarAsOverlayMethod · 0.80
cropMethod · 0.80
runMethod · 0.80
getStackMethod · 0.80
runMethod · 0.80
showBandpassDialogMethod · 0.80
drawOverlayMethod · 0.80
showCompositeAdvisoryMethod · 0.80

Calls 2

isCompositeMethod · 0.95
getModeMethod · 0.45

Tested by

no test coverage detected