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

Method isHSB

ij/src/main/java/ij/ImageStack.java:373–375  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

371
372 /** Returns true if this is a 3-slice HSB stack. */
373 public boolean isHSB() {
374 return getSize()==3 && bitDepth==8 && getSliceLabel(1)!=null && getSliceLabel(1).equals("Hue");
375 }
376
377 /** Returns true if this is a 3-slice 32-bit HSB stack. */
378 public boolean isHSB32() {

Callers 3

updateMenusMethod · 0.95
convertMethod · 0.95
runMethod · 0.80

Calls 3

getSizeMethod · 0.95
getSliceLabelMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected