Package ij.gui

Class NewImage


  • public class NewImage
    extends java.lang.Object
    New image dialog box plus several static utility methods for creating images.
    • Constructor Summary

      Constructors 
      Constructor Description
      NewImage()  
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static ImagePlus createByteImage​(java.lang.String title, int width, int height, int slices, int options)  
      static ImagePlus createFloatImage​(java.lang.String title, int width, int height, int slices, int options)  
      static ImagePlus createImage​(java.lang.String title, int width, int height, int nSlices, int bitDepth, int options)  
      static ImagePlus createRGBImage​(java.lang.String title, int width, int height, int slices, int options)  
      static ImagePlus createShortImage​(java.lang.String title, int width, int height, int slices, int options)
      Creates an unsigned short image.
      static ImagePlus createUnsignedShortImage​(java.lang.String title, int width, int height, int slices, int options)
      Deprecated.
      Short images are always unsigned.
      static void open​(java.lang.String title, int width, int height, int nSlices, int type, int options)  
      static void savePreferences​(java.util.Properties prefs)
      Called when ImageJ quits.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NewImage

        public NewImage()
    • Method Detail

      • createByteImage

        public static ImagePlus createByteImage​(java.lang.String title,
                                                int width,
                                                int height,
                                                int slices,
                                                int options)
      • createRGBImage

        public static ImagePlus createRGBImage​(java.lang.String title,
                                               int width,
                                               int height,
                                               int slices,
                                               int options)
      • createShortImage

        public static ImagePlus createShortImage​(java.lang.String title,
                                                 int width,
                                                 int height,
                                                 int slices,
                                                 int options)
        Creates an unsigned short image.
      • createUnsignedShortImage

        public static ImagePlus createUnsignedShortImage​(java.lang.String title,
                                                         int width,
                                                         int height,
                                                         int slices,
                                                         int options)
        Deprecated.
        Short images are always unsigned.
      • createFloatImage

        public static ImagePlus createFloatImage​(java.lang.String title,
                                                 int width,
                                                 int height,
                                                 int slices,
                                                 int options)
      • open

        public static void open​(java.lang.String title,
                                int width,
                                int height,
                                int nSlices,
                                int type,
                                int options)
      • createImage

        public static ImagePlus createImage​(java.lang.String title,
                                            int width,
                                            int height,
                                            int nSlices,
                                            int bitDepth,
                                            int options)
      • savePreferences

        public static void savePreferences​(java.util.Properties prefs)
        Called when ImageJ quits.