public class CBlkInfo extends Object
Modifier and Type | Field and Description |
---|---|
int |
ctp
The cumulative number of truncation points
|
int |
h
Height of the code-block
|
int[] |
len
Length of each piece of code-block's codewords
|
int |
msbSkipped
The number of most significant bits which are skipped for this
code-block (= Mb-1-bitDepth).
|
int[] |
ntp
The number of truncation point for each layer
|
int[] |
off
Offset of each piece of code-block's codewords in the file
|
int[] |
pktIdx
Index of the packet where each layer has been found
|
int[][] |
segLen
The length of each segment (used with regular termination or
in selective arithmetic bypass coding mode)
|
int |
ulx
Upper-left x-coordinate of the code-block (relative to the
tile)
|
int |
uly
Upper-left y-coordinate of the code-block (relative to the
tile)
|
int |
w
Width of the code-block
|
Constructor and Description |
---|
CBlkInfo(int ulx,
int uly,
int w,
int h,
int nl)
Constructs a new instance with specified number of layers and
code-block coordinates.
|
Modifier and Type | Method and Description |
---|---|
void |
addNTP(int l,
int newtp)
Adds the number of new truncation for specified layer.
|
String |
toString()
Object information in a string.
|
public int ulx
public int uly
public int w
public int h
public int msbSkipped
public int[] len
public int[] off
public int[] ntp
public int ctp
public int[][] segLen
public int[] pktIdx
public CBlkInfo(int ulx, int uly, int w, int h, int nl)
ulx
- The uper-left x-coordinateuly
- The uper-left y-coordinatew
- Width of the code-blockh
- Height of the code-blocknl
- The number of layersCopyright © 2017 Open Microscopy Environment