Creates a new image. @param title image name @param width image width in pixels @param height image height in pixels @param depth number of stack images @param bitdepth 8, 16, 32 (float) or 24 (RGB)
(String title, int width, int height, int depth, int bitdepth)
| 2399 | * @param bitdepth 8, 16, 32 (float) or 24 (RGB) |
| 2400 | */ |
| 2401 | public static ImagePlus createImage(String title, int width, int height, int depth, int bitdepth) { |
| 2402 | return NewImage.createImage(title, width, height, depth, bitdepth, NewImage.FILL_BLACK); |
| 2403 | } |
| 2404 | |
| 2405 | /** Creates a new imagePlus. <code>Type</code> should contain "8-bit", "16-bit", "32-bit" or "RGB". |
| 2406 | In addition, it can contain "white", "black" or "ramp". <code>Width</code> |