| java.lang.Object jj2000.j2k.roi.encoder.SubbandROIMask
All known Subclasses: jj2000.j2k.roi.encoder.SubbandRectROIMask,
SubbandROIMask | abstract public class SubbandROIMask (Code) | | This abstract 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.
|
Constructor Summary | |
public | SubbandROIMask(int ulx, int uly, int w, int h) |
h | public int h(Code) | | Height of the subband mask
|
isNode | protected boolean isNode(Code) | | Flag indicating whether this subband mask is a node or not
|
ulx | public int ulx(Code) | | Horizontal uper-left coordinate of the subband mask
|
uly | public int uly(Code) | | Vertical uper-left coordinate of the subband mask
|
w | public int w(Code) | | Width of the subband mask
|
SubbandROIMask | public SubbandROIMask(int ulx, int uly, int w, int h)(Code) | | The constructor of the SubbandROIMask takes the dimensions of the
subband as parameters
Parameters: ulx - The upper left x coordinate of corresponding subband Parameters: uly - The upper left y coordinate of corresponding subband Parameters: w - The width of corresponding subband Parameters: h - The height of corresponding subband |
getSubbandRectROIMask | public SubbandROIMask getSubbandRectROIMask(int x, int y)(Code) | | Returns a reference to the Subband mask element to which the specified
point belongs. The specified point must be inside this (i.e. the one
defined by this object) subband mask. This method searches through the
tree.
Parameters: x - horizontal coordinate of the specified point. Parameters: y - horizontal coordinate of the specified point. |
|
|