public class RGB24ImageFormat extends IImageFormat
| Constructor and Description |
|---|
RGB24ImageFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
computeFitting()
Compute the fitting bounds (Monochrome only)
|
int |
getHistogramWidth()
Returns the histogram width.
|
java.lang.String |
getName()
Returns the format name.
|
int |
getRGB(boolean negative,
int[] colormap16,
int x,
int y)
Returns the pixel at the specifed pos
|
double |
getValue(int x,
int y)
Gets the pixel value as double (Used for table and profile display).
|
java.lang.String |
getValueStr(int x,
int y)
Gets the pixel value as string (Used for pixel info display).
|
int |
getWidth()
Returns the width of the image depending on the format.
|
boolean |
isColorFormat()
Returns true if this format is a color format, false otherwise.
|
void |
setData(byte[] rawData)
Sets and decode the data.
|
getHeight, initDefault, isNull, setFittingpublic void setData(byte[] rawData)
throws java.io.IOException
IImageFormatsetData in class IImageFormatrawData - Pointer to image datajava.io.IOExceptionpublic int getWidth()
IImageFormatgetWidth in class IImageFormatpublic java.lang.String getName()
IImageFormatgetName in class IImageFormatpublic boolean isColorFormat()
IImageFormatisColorFormat in class IImageFormatpublic int getHistogramWidth()
IImageFormatgetHistogramWidth in class IImageFormatpublic double getValue(int x,
int y)
IImageFormatgetValue in class IImageFormatx - horizontal coordinatey - vertical coordinatepublic java.lang.String getValueStr(int x,
int y)
IImageFormatgetValueStr in class IImageFormatx - horizontal coordinatey - vertical coordinatepublic void computeFitting()
IImageFormatcomputeFitting in class IImageFormatpublic int getRGB(boolean negative,
int[] colormap16,
int x,
int y)
IImageFormatgetRGB in class IImageFormatnegative - Negative flagcolormap16 - 16Bit colormap (Monochrome only)x - horizontal coordinatey - vertical coordinate