[]
        
(Showing Draft Content)

CSJ2K.j2k.codestream.reader.BitstreamReaderAgent.getTileWidth

getTileWidth Method

getTileWidth(int)

Returns the overall width of the current tile in pixels for the given (tile) resolution level. This is the tile's width without accounting for any component subsampling.

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

The (tile) resolution level.

Returns
Type Description
int

The current tile's width in pixels.

Implements