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

Method createEmptyStack

ij/src/main/java/ij/ImagePlus.java:1864–1871  ·  view source on GitHub ↗

Returns an empty image stack that has the same width, height and color table as this image.

()

Source from the content-addressed store, hash-verified

1862 /** Returns an empty image stack that has the same
1863 width, height and color table as this image. */
1864 public ImageStack createEmptyStack() {
1865 ColorModel cm;
1866 if (ip!=null)
1867 cm = ip.getColorModel();
1868 else
1869 cm = createLut().getColorModel();
1870 return new ImageStack(width, height, cm);
1871 }
1872
1873 /** Returns the image stack. The stack may have only
1874 one slice. After adding or removing slices, call

Callers 9

getStackMethod · 0.95
openAllMethod · 0.95
createMasterBiasMethod · 0.95
createMasterDarkMethod · 0.95
createMasterFlatMethod · 0.95
duplicateStackMethod · 0.80
convertToByteMethod · 0.80
createStackMethod · 0.80
KalmanizerMethod · 0.80

Calls 2

createLutMethod · 0.95
getColorModelMethod · 0.45

Tested by

no test coverage detected