Package jj2000.j2k.roi.encoder
Class SubbandRectROIMask
- java.lang.Object
-
- jj2000.j2k.roi.encoder.SubbandROIMask
-
- jj2000.j2k.roi.encoder.SubbandRectROIMask
-
public class SubbandRectROIMask extends SubbandROIMask
This class describes the ROI mask for a single subband. Each object of the class contains the mask for a particular subband and also has references to the masks of the children subbands of the subband corresponding to this mask. This class describes subband masks for images containing only rectangular ROIS
-
-
Field Summary
Fields Modifier and Type Field Description int[]
lrxs
The lower right x coordinates of the applicable ROIsint[]
lrys
The lower right y coordinates of the applicable ROIsint[]
ulxs
The upper left x coordinates of the applicable ROIsint[]
ulys
The upper left y coordinates of the applicable ROIs
-
Constructor Summary
Constructors Constructor Description SubbandRectROIMask(Subband sb, int[] ulxs, int[] ulys, int[] lrxs, int[] lrys, int nr)
The constructor of the SubbandROIMask takes the dimensions of the subband as parameters.
-
-
-
Field Detail
-
ulxs
public int[] ulxs
The upper left x coordinates of the applicable ROIs
-
ulys
public int[] ulys
The upper left y coordinates of the applicable ROIs
-
lrxs
public int[] lrxs
The lower right x coordinates of the applicable ROIs
-
lrys
public int[] lrys
The lower right y coordinates of the applicable ROIs
-
-
Constructor Detail
-
SubbandRectROIMask
public SubbandRectROIMask(Subband sb, int[] ulxs, int[] ulys, int[] lrxs, int[] lrys, int nr)
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.- Parameters:
sb
- The subband corresponding to this Subband Maskulxs
- The upper left x coordinates of the ROIsulys
- The upper left y coordinates of the ROIslrxs
- The lower right x coordinates of the ROIslrys
- The lower right y coordinates of the ROIsnr
- Number of ROIs that affect this tile
-
-