ij.gui
Class NewImage
java.lang.Object
ij.gui.NewImage
public class NewImage
- extends java.lang.Object
New image dialog box plus several static utility methods for creating images.
Method Summary |
static ImagePlus |
createByteImage(java.lang.String title,
int width,
int height,
int slices,
int fill)
|
static ImagePlus |
createFloatImage(java.lang.String title,
int width,
int height,
int slices,
int fill)
|
static ImagePlus |
createRGBImage(java.lang.String title,
int width,
int height,
int slices,
int fill)
|
static ImagePlus |
createShortImage(java.lang.String title,
int width,
int height,
int slices,
int fill)
Creates an unsigned short image. |
static ImagePlus |
createUnsignedShortImage(java.lang.String title,
int width,
int height,
int slices,
int fill)
Obsolete. |
static void |
open(java.lang.String title,
int width,
int height,
int nSlices,
int type,
int fill)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GRAY8
public static final int GRAY8
- See Also:
- Constant Field Values
GRAY16
public static final int GRAY16
- See Also:
- Constant Field Values
GRAY32
public static final int GRAY32
- See Also:
- Constant Field Values
RGB
public static final int RGB
- See Also:
- Constant Field Values
FILL_WHITE
public static final int FILL_WHITE
- See Also:
- Constant Field Values
FILL_BLACK
public static final int FILL_BLACK
- See Also:
- Constant Field Values
FILL_RAMP
public static final int FILL_RAMP
- See Also:
- Constant Field Values
NewImage
public NewImage()
createByteImage
public static ImagePlus createByteImage(java.lang.String title,
int width,
int height,
int slices,
int fill)
createRGBImage
public static ImagePlus createRGBImage(java.lang.String title,
int width,
int height,
int slices,
int fill)
createShortImage
public static ImagePlus createShortImage(java.lang.String title,
int width,
int height,
int slices,
int fill)
- Creates an unsigned short image.
createUnsignedShortImage
public static ImagePlus createUnsignedShortImage(java.lang.String title,
int width,
int height,
int slices,
int fill)
- Obsolete. Short images are always unsigned.
createFloatImage
public static ImagePlus createFloatImage(java.lang.String title,
int width,
int height,
int slices,
int fill)
open
public static void open(java.lang.String title,
int width,
int height,
int nSlices,
int type,
int fill)