Package jj2000.j2k.codestream
Class CoordInfo
java.lang.Object
jj2000.j2k.codestream.CoordInfo
- Direct Known Subclasses:
CBlkCoordInfo,PrecCoordInfo
This class is used to store the coordinates of objects such as code-blocks
or precincts. As this is an abstract class, it cannot be used directly but
derived classes have been created for code-blocks and packets
(CBlkCoordInfo and PrecCoordInfo).
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ulx
public int ulxHorizontal upper left coordinate in the subband -
uly
public int ulyVertical upper left coordinate in the subband -
w
public int wObject's width -
h
public int hObject's height
-
-
Constructor Details
-
CoordInfo
public CoordInfo(int ulx, int uly, int w, int h) Constructor. Creates a CoordInfo object.- Parameters:
ulx- The horizontal upper left coordinate in the subbanduly- The vertical upper left coordinate in the subbandw- The widthh- The height
-
CoordInfo
public CoordInfo()Empty contructor
-
-
Method Details