Package jj2000.j2k.roi.encoder
Class SubbandRectROIMask
java.lang.Object
jj2000.j2k.roi.encoder.SubbandROIMask
jj2000.j2k.roi.encoder.SubbandRectROIMask
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
FieldsModifier and TypeFieldDescriptionint[]The lower right x coordinates of the applicable ROIsint[]The lower right y coordinates of the applicable ROIsint[]The upper left x coordinates of the applicable ROIsint[]The upper left y coordinates of the applicable ROIs -
Constructor Summary
ConstructorsConstructorDescriptionSubbandRectROIMask(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. -
Method Summary
Methods inherited from class jj2000.j2k.roi.encoder.SubbandROIMask
getSubbandRectROIMask
-
Field Details
-
ulxs
public int[] ulxsThe upper left x coordinates of the applicable ROIs -
ulys
public int[] ulysThe upper left y coordinates of the applicable ROIs -
lrxs
public int[] lrxsThe lower right x coordinates of the applicable ROIs -
lrys
public int[] lrysThe lower right y coordinates of the applicable ROIs
-
-
Constructor Details
-
SubbandRectROIMask
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
-