[]
        
(Showing Draft Content)

CSJ2K.j2k.roi.encoder.SubbandRectROIMask.-ctor

SubbandRectROIMask Constructor

SubbandRectROIMask(Subband, int[], int[], int[], int[], int)

The constructor of the SubbandROIMask takes the dimensions of the subband as parameters. A tree of masks is generated from the subband sb. Each Subband contains the boundaries of each ROI.

Declaration
public SubbandRectROIMask(Subband sb, int[] ulxs, int[] ulys, int[] lrxs, int[] lrys, int nr)
Parameters
Type Name Description
Subband sb

The subband corresponding to this Subband Mask

int[] ulxs

The upper left x coordinates of the ROIs

int[] ulys

The upper left y coordinates of the ROIs

int[] lrxs

The lower right x coordinates of the ROIs

int[] lrys

The lower right y coordinates of the ROIs

int nr

Number of ROIs that affect this tile