[]
        
(Showing Draft Content)

CSJ2K.Color.ChannelDefinitionMapper

ChannelDefinitionMapper Class

This class is responsible for the mapping between requested components and image channels.

Inheritance
ChannelDefinitionMapper
Implements
Namespace: CSJ2K.Color
Assembly: C1.WPF.PdfViewer.4.6.2.dll
Syntax
public class ChannelDefinitionMapper : ColorSpaceMapper, BlkImgDataSrc, ImgData

Constructors

Name Description
ChannelDefinitionMapper(BlkImgDataSrc, ColorSpace)

Ctor which creates an ICCProfile for the image and initializes all data objects (input, working, and output).

Methods

Name Description
ToString()
createInstance(BlkImgDataSrc, ColorSpace)

Factory method for creating instances of this class.

getCompData(DataBlk, int)
getCompImgHeight(int)

Returns the height in pixels of the specified component in the overall image.

       <p>This default implementation returns the value of the source.</p>
getCompImgWidth(int)

Returns the width in pixels of the specified component in the overall image.

       <p>This default implementation returns the value of the source.</p>
getCompSubsX(int)

Returns the component subsampling factor in the horizontal direction, for the specified component. This is, approximately, the ratio of dimensions between the reference grid and the component itself, see the 'ImgData' interface desription for details.

       <p>This default implementation returns the value of the source.</p>
getCompSubsY(int)

Returns the component subsampling factor in the vertical direction, for the specified component. This is, approximately, the ratio of dimensions between the reference grid and the component itself, see the 'ImgData' interface desription for details.

       <p>This default implementation returns the value of the source.</p>
getCompULX(int)

Returns the horizontal coordinate of the upper-left corner of the specified component in the current tile.

       <p>This default implementation returns the value of the source.</p>
getCompULY(int)

Returns the vertical coordinate of the upper-left corner of the specified component in the current tile.

       <p>This default implementation returns the value of the source.</p>
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)
getNomRangeBits(int)
getTileCompHeight(int, int)

Returns the height in pixels of the specified tile-component.

       <p>This default implementation returns the value of the source.</p>
getTileCompWidth(int, int)

Returns the width in pixels of the specified tile-component tile.

       <p>This default implementation returns the value of the source.</p>