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

Method getNChannels

ij/src/main/java/ij/ImagePlus.java:1425–1428  ·  view source on GitHub ↗

Returns the number of channels.

()

Source from the content-addressed store, hash-verified

1423
1424 /** Returns the number of channels. */
1425 public int getNChannels() {
1426 verifyDimensions();
1427 return nChannels;
1428 }
1429
1430 /** Returns the image depth (number of z-slices). */
1431 public int getNSlices() {

Callers 15

ImagePlusMethod · 0.95
setSliceMethod · 0.95
revertStackMethod · 0.95
toStringMethod · 0.95
runMethod · 0.95
mergeStacksMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95

Calls 1

verifyDimensionsMethod · 0.95

Tested by

no test coverage detected