public class CBlkInfo
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| int | ctpThe cumulative number of truncation points | 
| int | hHeight of the code-block | 
| int[] | lenLength of each piece of code-block's codewords | 
| int | msbSkippedThe number of most significant bits which are skipped for this
 code-block (= Mb-1-bitDepth). | 
| int[] | ntpThe number of truncation point for each layer | 
| int[] | offOffset of each piece of code-block's codewords in the file | 
| int[] | pktIdxIndex of the packet where each layer has been found | 
| int[][] | segLenThe length of each segment (used with regular termination or
 in selective arithmetic bypass coding mode) | 
| int | ulxUpper-left x-coordinate of the code-block (relative to the
        tile) | 
| int | ulyUpper-left y-coordinate of the code-block (relative to the
        tile) | 
| int | wWidth 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. | 
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 layerspublic void addNTP(int l,
          int newtp)
l - layer indexnewtp - Number of new truncation pointspublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014 Open Microscopy Environment