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

Method getType

ij/src/main/java/ij/ImagePlus.java:1479–1481  ·  view source on GitHub ↗

Returns the current image type (ImagePlus.GRAY8, ImagePlus.GRAY16, ImagePlus.GRAY32, ImagePlus.COLOR_256 or ImagePlus.COLOR_RGB). @see #getBitDepth

()

Source from the content-addressed store, hash-verified

1477 @see #getBitDepth
1478 */
1479 public int getType() {
1480 return imageType;
1481 }
1482
1483 /** Returns the bit depth, 8, 16, 24 (RGB) or 32, or 0 if the bit depth
1484 is unknown. RGB images actually use 32 bits per pixel. */

Callers 15

getStatisticsMethod · 0.95
getSizeInBytesMethod · 0.95
setSliceMethod · 0.95
createImagePlusMethod · 0.95
getValueAsStringMethod · 0.95
pasteMethod · 0.95
getProcessorMethod · 0.95
updateMenusMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
showDialogMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected