[]
        
(Showing Draft Content)

CSJ2K.j2k.codestream.reader.BitstreamReaderAgent.getCompImgHeight

getCompImgHeight Method

getCompImgHeight(int, int)

Returns the height in pixels of the specified component in the overall image, for the given (component) resolution level.

       <p>Note: Component resolution level indexes may differ from
       tile-component resolution index. They are indeed indexed starting from
       the lowest number of decomposition levels of same component of each
       tile.</p><p>Example: For an image (2 tiles) with 1 component (tile 0 having 2
       decomposition levels and tile 1 having 3 decomposition levels), the
       first tile(-component) has 3 resolution levels and the second one has 4
       resolution levels, whereas the component has only 3 resolution levels
       available.</p>
Declaration
public int getCompImgHeight(int c, int rl)
Parameters
Type Name Description
int c

The index of the component, from 0 to N-1.

int rl

The resolution level, from 0 to L.

Returns
Type Description
int

The height in pixels of component c in the overall image.

Implements