Package jj2000.j2k.codestream
Class PrecInfo
java.lang.Object
jj2000.j2k.codestream.PrecInfo
Class that holds precinct coordinates and references to contained
code-blocks in each subband.
-
Field Summary
FieldsModifier and TypeFieldDescriptionCBlkCoordInfo[][][]Code-blocks belonging to this precinct in each subbands of the resolution levelintPrecinct height in the corresponding resolution levelint[]Number of code-blocks in each subband belonging to this precinctintResolution level indexintPrecinct height reported in the reference gridintPrecinct horizontal upper-left coordinate in the reference gridintPrecinct vertical upper-left coordinate in the reference gridintPrecinct width reported in the reference gridintPrecinct horizontal upper-left coordinate in the corresponding resolution levelintPrecinct vertical upper-left coordinate in the corresponding resolution levelintPrecinct width in the corresponding resolution level -
Constructor Summary
ConstructorsConstructorDescriptionPrecInfo(int r, int ulx, int uly, int w, int h, int rgulx, int rguly, int rgw, int rgh) Class constructor. -
Method Summary
-
Field Details
-
rgulx
public int rgulxPrecinct horizontal upper-left coordinate in the reference grid -
rguly
public int rgulyPrecinct vertical upper-left coordinate in the reference grid -
rgw
public int rgwPrecinct width reported in the reference grid -
rgh
public int rghPrecinct height reported in the reference grid -
ulx
public int ulxPrecinct horizontal upper-left coordinate in the corresponding resolution level -
uly
public int ulyPrecinct vertical upper-left coordinate in the corresponding resolution level -
w
public int wPrecinct width in the corresponding resolution level -
h
public int hPrecinct height in the corresponding resolution level -
r
public int rResolution level index -
cblk
Code-blocks belonging to this precinct in each subbands of the resolution level -
nblk
public int[] nblkNumber of code-blocks in each subband belonging to this precinct
-
-
Constructor Details
-
PrecInfo
public PrecInfo(int r, int ulx, int uly, int w, int h, int rgulx, int rguly, int rgw, int rgh) Class constructor.- Parameters:
r- Resolution level index.ulx- Precinct horizontal offset.uly- Precinct vertical offset.w- Precinct width.h- Precinct height.rgulx- Precinct horizontal offset in the image reference grid.rguly- Precinct horizontal offset in the image reference grid.rgw- Precinct width in the reference grid.rgh- Precinct height in the reference grid.
-
-
Method Details