[]
This is the base class for all modules in the colorspace and icc profiling steps of the decoding chain. It is responsible for the allocation and iniitialization of all working storage. It provides several utilities which are of generic use in preparing DataBlks for use and provides default implementations for the getCompData and getInternCompData methods.
public abstract class ColorSpaceMapper : ImgDataAdapter, BlkImgDataSrc, ImgData
Name | Description |
---|---|
ColorSpaceMapper(BlkImgDataSrc, ColorSpace) | Ctor which creates an ICCProfile for the image and initializes all data objects (input, working, and output). |
Name | Description |
---|---|
OPT_PREFIX | The prefix for ICC Profiler options |
computed | |
csMap | ColorSpace info |
dataFloat | |
dataInt | |
eol | Platform dependant end of line String. |
fixedPtBitsArray | |
inFloat | |
inInt | |
maxValueArray | |
ncomps | Number of image components |
pl | Parameter Specs |
shiftValueArray | |
src | The image source. |
srcBlk | The image source data per component. |
workDataFloat | |
workDataInt | |
workFloat | |
workInt |
Name | Description |
---|---|
InternalBuffer | Arrange for the input DataBlk to receive an appropriately sized and typed data buffer |
ParameterInfo | Returns the parameters that are used in this class and implementing classes. It returns a 2D String array. Each of the 1D arrays is for a different option, and they have 3 elements. The first element is the option name, the second one is the synopsis and the third one is a long description of what the parameter is. The synopsis or description may be 'null', in which case it is assumed that there is no synopsis or description of the option, respectively. Null may be returned if no options are supported. |
Name | Description |
---|---|
copyGeometry(DataBlk, DataBlk) | Copy the DataBlk geometry from source to target DataBlk and assure that the target has an appropriate data buffer. |
createInstance(BlkImgDataSrc, ColorSpace) | Factory method for creating instances of this class. |
getCompData(DataBlk, int) | |
getFixedPoint(int) | Returns the position of the fixed point in the specified component, or equivalently the number of fractional bits. This is the position of the least significant integral (i.e. non-fractional) bit, which is equivalent to the number of fractional bits. For instance, for fixed-point values with 2 fractional bits, 2 is returned. For floating-point data this value does not apply and 0 should be returned. Position 0 is the position of the least significant bit in the data. |
getInternCompData(DataBlk, int) |