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

Method create

ij/src/main/java/ij/ImageStack.java:661–668  ·  view source on GitHub ↗

Creates a new ImageStack. @param width width in pixels @param height height in pixels @param depth number of images @param bitdepth 8, 16, 32 (float) or 24 (RGB)

(int width, int height, int depth, int bitdepth)

Source from the content-addressed store, hash-verified

659 * @param bitdepth 8, 16, 32 (float) or 24 (RGB)
660 */
661 public static ImageStack create(int width, int height, int depth, int bitdepth) {
662 ImageStack stack = IJ.createImage("", width, height, depth, bitdepth).getStack();
663 if (bitdepth==16 || bitdepth==32) {
664 stack.min = Double.MAX_VALUE;
665 stack.max = 0.0;
666 }
667 return stack;
668 }
669
670 /** Creates an ImageStack from an ImagePlus array. */
671 public static ImageStack create(ImagePlus[] images) {

Callers 3

cropAndSaveMethod · 0.95
filterMethod · 0.95
multiCropMethod · 0.95

Calls 8

createImageMethod · 0.95
initMethod · 0.95
addSliceMethod · 0.95
getStackMethod · 0.45
getWidthMethod · 0.45
getHeightMethod · 0.45
getProcessorMethod · 0.45
getBitDepthMethod · 0.45

Tested by

no test coverage detected