CBlkRateDistStats Class Members
In This Topic
The following tables list the members exposed by CBlkRateDistStats.
Public Constructors
Public Fields
| Name | Description |
| data | The compressed data (Inherited from CSJ2K.j2k.entropy.CodedCBlk) |
| isTermPass | Array of flags indicating terminated passes (valid or non-valid truncation points). |
| m | The vertical index of the code-block, within the subband. (Inherited from CSJ2K.j2k.entropy.CodedCBlk) |
| n | The horizontal index of the code-block, within the subband. (Inherited from CSJ2K.j2k.entropy.CodedCBlk) |
| nROIcoeff | The number of ROI coefficients in the code-block |
| nROIcp | Number of ROI coding passes |
| nTotTrunc | The total number of truncation points |
| nVldTrunc | The number of valid truncation points |
| sb | The subband to which the code-block belongs |
| skipMSBP | The number of skipped most significant bit-planes. (Inherited from CSJ2K.j2k.entropy.CodedCBlk) |
| truncDists | The distortion for each truncation point (valid and non-valid ones) |
| truncIdxs | The indices of the valid truncation points, in increasing order. |
| truncRates | The rate (in bytes) for each truncation point (valid and non-valid ones) |
| truncSlopes | The negative of the rate-distortion slope for each valid truncation point |
Top
Public Methods
| Name | Description |
| selectConvexHull | Compute the rate-distorsion slopes and selects those that lie in a convex hull. It will compute the slopes, select the ones that form the convex hull and initialize the 'truncIdxs' and 'truncSlopes' arrays, as well as 'nVldTrunc', with the selected truncation points. It will also initialize 'truncRates' and 'isTermPass' arrays, as well as 'nTotTrunc', with all the truncation points (selected or not).
Note that the arrays 'rates' and 'termp' are copied, not referenced, so they can be modified after a call to this method. |
| ToString | Overridden. Returns the contents of the object in a string. This is used for debugging. |
Top
See Also