Class MemoryRGB48Image

    • Constructor Detail

      • MemoryRGB48Image

        public MemoryRGB48Image​(int width,
                                int height)
        Creates a new object of this class, with width and height as specified by the arguments.
        Parameters:
        width - the horizontal resolution of the new image in pixels
        height - the vertical resolution of the new image in pixels
    • Method Detail

      • createCompatibleImage

        public PixelImage createCompatibleImage​(int width,
                                                int height)
        Description copied from interface: PixelImage
        Creates an instance of the same class as this one, with width and height given by the arguments.
        Specified by:
        createCompatibleImage in interface PixelImage
        Specified by:
        createCompatibleImage in class MemoryShortChannelImage
        Parameters:
        width - the horizontal resolution of the new image
        height - the vertical resolution of the new image
        Returns:
        the new image
      • getImageType

        public Class getImageType()
        Description copied from interface: PixelImage
        If there is a single interface or class that describes the image data type of this class, the Class object associated with that interface (or class) is returned (or null otherwise). This Class object, if available for two image objects, can be used to find out if they are compatible. Example: MemoryGray8Image returns net.sourceforge.jiu.data.Gray8Image.class.
        Specified by:
        getImageType in interface PixelImage