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

Method isLab

ij/src/main/java/ij/ImageStack.java:383–385  ·  view source on GitHub ↗

Returns true if this is a Lab stack.

()

Source from the content-addressed store, hash-verified

381
382 /** Returns true if this is a Lab stack. */
383 public boolean isLab() {
384 return getSize()==3 && getSliceLabel(1)!=null && getSliceLabel(1).equals("L*");
385 }
386
387 /** Returns true if this is a virtual (disk resident) stack.
388 This method is overridden by the VirtualStack subclass. */

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