[]
This class analyzes the image to provide colorspace information for the decoding chain. It does this by examining the box structure of the JP2 image. It also provides access to the parameter list information, which is stored as a public final field.
public class ColorSpace
Name | Description |
---|---|
ColorSpace(RandomAccessIO, HeaderDecoder, ParameterList) | public constructor which takes in the image, parameterlist and the image header decoder as args. |
Name | Description |
---|---|
eol | |
hd | Parameter Specs |
pl | Parameter Specs |
Name | Description |
---|---|
ICCProfile | Retrieve the ICC profile from the images as a byte array. |
Method | Return the colorspace method (Profiled, enumerated, or palettized). |
PaletteBox | Return number of channels in the palette. |
PaletteChannels | Return number of channels in the palette. |
Palettized | Is palettized predicate. |
Name | Description |
---|---|
ToString() | Return a suitable String representation of the class instance. |
debugging() | Are profiling diagnostics turned on |
getBoxes() | Retrieve the various boxes from the JP2 file. |
getChannelDefinition(int) | Return the channel definition of the input component. |
getColorSpace() | Return the colorspace (sYCC, sRGB, sGreyScale). |
getPaletteChannelBits(int) | Return bitdepth of the palette entries. |
getPalettizedSample(int, int) | Return a palettized sample |
indent(string, string) | Indent a String that contains newlines. |
indent(string, StringBuilder) | Indent a String that contains newlines. |
isOutputSigned(int) | Signed output predicate. |