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

Method isHSB32

ij/src/main/java/ij/ImageStack.java:378–380  ·  view source on GitHub ↗

Returns true if this is a 3-slice 32-bit HSB stack.

()

Source from the content-addressed store, hash-verified

376
377 /** Returns true if this is a 3-slice 32-bit HSB stack. */
378 public boolean isHSB32() {
379 return getSize()==3 && bitDepth==32 && getSliceLabel(1)!=null && getSliceLabel(1).equals("Hue");
380 }
381
382 /** Returns true if this is a Lab stack. */
383 public boolean isLab() {

Callers 2

updateMenusMethod · 0.95
convertMethod · 0.95

Calls 3

getSizeMethod · 0.95
getSliceLabelMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected