[]
        
(Showing Draft Content)

CSJ2K.j2k.image.ImgDataConverter.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.

Declaration
public virtual int getFixedPoint(int c)
Parameters
Type Name Description
int c

The index of the component.

Returns
Type Description
int

The position of the fixed-point, which is the same as the number of fractional bits.

Implements