[]
        
(Showing Draft Content)

CSJ2K.j2k.roi.encoder.ROIMaskGenerator.getROIMask

getROIMask Method

getROIMask(DataBlkInt, Subband, int, int)

This functions gets a DataBlk with the size of the current code-block and fills it with the ROI mask. The lowest scaling value in the mask for this code-block is returned by the function to be used for modifying the rate distortion estimations.

Declaration
public abstract bool getROIMask(DataBlkInt db, Subband sb, int magbits, int c)
Parameters
Type Name Description
DataBlkInt db

The data block that is to be filled with the mask

Subband sb

The root of the current subband tree

int magbits

The number of magnitude bits in this code-block

int c

Component number

Returns
Type Description
bool

Whether or not a mask was needed for this tile