|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--jj2000.j2k.roi.encoder.SubbandROIMask
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.
| Field Summary | |
int |
h
Height of the subband mask |
protected SubbandROIMask |
hh
The subband masks of the child HH |
protected SubbandROIMask |
hl
The subband masks of the child HL |
protected boolean |
isNode
Flag indicating whether this subband mask is a node or not |
protected SubbandROIMask |
lh
The subband masks of the child LH |
protected SubbandROIMask |
ll
The subband masks of the child LL |
int |
ulx
Horizontal uper-left coordinate of the subband mask |
int |
uly
Vertical uper-left coordinate of the subband mask |
int |
w
Width of the subband mask |
| Constructor Summary | |
SubbandROIMask(int ulx,
int uly,
int w,
int h)
The constructor of the SubbandROIMask takes the dimensions of the subband as parameters |
|
| Method Summary | |
SubbandROIMask |
getSubbandRectROIMask(int x,
int y)
Returns a reference to the Subband mask element to which the specified point belongs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected SubbandROIMask ll
protected SubbandROIMask lh
protected SubbandROIMask hl
protected SubbandROIMask hh
protected boolean isNode
public int ulx
public int uly
public int w
public int h
| Constructor Detail |
public SubbandROIMask(int ulx,
int uly,
int w,
int h)
ulx - The upper left x coordinate of corresponding subbanduly - The upper left y coordinate of corresponding subbandw - The width of corresponding subbandh - The height of corresponding subband| Method Detail |
public SubbandROIMask getSubbandRectROIMask(int x,
int y)
x - horizontal coordinate of the specified point.y - horizontal coordinate of the specified point.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||