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

Method setColorModel

ij/src/main/java/ij/ImageStack.java:358–360  ·  view source on GitHub ↗

Assigns a new color model to this stack.

(ColorModel cm)

Source from the content-addressed store, hash-verified

356
357 /** Assigns a new color model to this stack. */
358 public void setColorModel(ColorModel cm) {
359 this.cm = cm;
360 }
361
362 /** Returns this stack's color model. May return null. */
363 public ColorModel getColorModel() {

Callers 12

invertLookupTableMethod · 0.95
getRGBStackMethod · 0.95
convertMethod · 0.95
flipStackMethod · 0.95
runMethod · 0.95
convertStackToBinaryMethod · 0.95
createOutputStackMethod · 0.95
convertToGray8Method · 0.95
resetStackMethod · 0.45
setModeMethod · 0.45
setChannelLutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected