Package jj2000.j2k.codestream
Class PrecInfo
- java.lang.Object
-
- jj2000.j2k.codestream.PrecInfo
-
public class PrecInfo extends Object
Class that holds precinct coordinates and references to contained code-blocks in each subband.
-
-
Field Summary
Fields Modifier and Type Field Description CBlkCoordInfo[][][]
cblk
Code-blocks belonging to this precinct in each subbands of the resolution levelint
h
Precinct height in the corresponding resolution levelint[]
nblk
Number of code-blocks in each subband belonging to this precinctint
r
Resolution level indexint
rgh
Precinct height reported in the reference gridint
rgulx
Precinct horizontal upper-left coordinate in the reference gridint
rguly
Precinct vertical upper-left coordinate in the reference gridint
rgw
Precinct width reported in the reference gridint
ulx
Precinct horizontal upper-left coordinate in the corresponding resolution levelint
uly
Precinct vertical upper-left coordinate in the corresponding resolution levelint
w
Precinct width in the corresponding resolution level
-
Constructor Summary
Constructors Constructor Description PrecInfo(int r, int ulx, int uly, int w, int h, int rgulx, int rguly, int rgw, int rgh)
Class constructor.
-
-
-
Field Detail
-
rgulx
public int rgulx
Precinct horizontal upper-left coordinate in the reference grid
-
rguly
public int rguly
Precinct vertical upper-left coordinate in the reference grid
-
rgw
public int rgw
Precinct width reported in the reference grid
-
rgh
public int rgh
Precinct height reported in the reference grid
-
ulx
public int ulx
Precinct horizontal upper-left coordinate in the corresponding resolution level
-
uly
public int uly
Precinct vertical upper-left coordinate in the corresponding resolution level
-
w
public int w
Precinct width in the corresponding resolution level
-
h
public int h
Precinct height in the corresponding resolution level
-
r
public int r
Resolution level index
-
cblk
public CBlkCoordInfo[][][] cblk
Code-blocks belonging to this precinct in each subbands of the resolution level
-
nblk
public int[] nblk
Number of code-blocks in each subband belonging to this precinct
-
-
Constructor Detail
-
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.
-
-