[]
        
(Showing Draft Content)

CSJ2K.j2k.image.forwcomptransf.ForwCompTransf.getFixedPoint

getFixedPoint Method

getFixedPoint(int)

Returns the position of the fixed point in the specified component. 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.

       <p>This default implementation assumes that the number of fractional
       bits is not modified by the component mixer.</p>
Declaration
public virtual int getFixedPoint(int c)
Parameters
Type Name Description
int c

The index of the component.

Returns
Type Description
int

The value of the fixed point position of the source since the color transform does not affect it.

Implements