net.sourceforge.jiu.data

Class MemoryRGB48Image

Implemented Interfaces:
IntegerImage, PixelImage, RGB48Image, RGBImage, RGBIndex, RGBIntegerImage, ShortChannelImage

public class MemoryRGB48Image
extends MemoryShortChannelImage
implements RGB48Image

A class to store 48 bit RGB truecolor images in memory.
Author:
Marco Schmidt
Since:
0.12.0
See Also:
RGB24Image

Field Summary

Fields inherited from class net.sourceforge.jiu.data.MemoryShortChannelImage

data, firstChannel, height, numChannels, numPixels, width

Fields inherited from interface net.sourceforge.jiu.data.RGBIndex

INDEX_BLUE, INDEX_GREEN, INDEX_RED

Constructor Summary

MemoryRGB48Image(int width, int height)
Creates a new object of this class, with width and height as specified by the arguments.

Method Summary

PixelImage
createCompatibleImage(int width, int height)
Class
getImageType()

Methods inherited from class net.sourceforge.jiu.data.MemoryShortChannelImage

checkPositionAndNumber, clear, clear, clear, clear, createCompatibleImage, createCopy, getAllocatedMemory, getBitsPerPixel, getHeight, getMaxSample, getNumChannels, getSample, getSample, getSamples, getShortSample, getShortSample, getShortSamples, getWidth, putSample, putSample, putSamples, putShortSample, putShortSample, putShortSamples

Constructor Details

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 Details

createCompatibleImage

public PixelImage createCompatibleImage(int width,
                                        int height)
Specified by:
createCompatibleImage in interface PixelImage
Overrides:
createCompatibleImage in interface MemoryShortChannelImage

getImageType

public Class getImageType()
Specified by:
getImageType in interface PixelImage