In This Topic
The following tables list the members exposed by CBlkWTData.
Public Fields
| Name | Description |
![Public Field](template/packages/core-dotnet/images/publicField.png) | convertFactor | The value by which the absolute value of the data has to be divided in order to get the real absolute value. This value is useful to obtain the complement of 2 representation of a coefficient that is currently using the sign-magnitude representation. |
![Public Field](template/packages/core-dotnet/images/publicField.png) | h | The height of the code-block |
![Public Field](template/packages/core-dotnet/images/publicField.png) | m | The vertical index of the code-block, within the subband |
![Public Field](template/packages/core-dotnet/images/publicField.png) | magbits | The number of magnitude bits in the integer representation. This is only used for quantized wavelet data. |
![Public Field](template/packages/core-dotnet/images/publicField.png) | n | The horizontal index of the code-block, within the subband |
![Public Field](template/packages/core-dotnet/images/publicField.png) | nROIbp | Number of ROI magnitude bit-planes |
![Public Field](template/packages/core-dotnet/images/publicField.png) | nROIcoeff | Number of ROI coefficients in the code-block |
![Public Field](template/packages/core-dotnet/images/publicField.png) | offset | The offset in the array of the top-left coefficient |
![Public Field](template/packages/core-dotnet/images/publicField.png) | sb | The subband in which this code-block is found |
![Public Field](template/packages/core-dotnet/images/publicField.png) | scanw | The width of the scanlines used to store the data in the array |
![Public Field](template/packages/core-dotnet/images/publicField.png) | stepSize | The quantization step size of the code-block. The value is updated by the quantizer module |
![Public Field](template/packages/core-dotnet/images/publicField.png) | ulx | The horizontal coordinate of the upper-left corner of the code-block |
![Public Field](template/packages/core-dotnet/images/publicField.png) | uly | The vertical coordinate of the upper left corner of the code-block |
![Public Field](template/packages/core-dotnet/images/publicField.png) | w | The width of the code-block |
![Public Field](template/packages/core-dotnet/images/publicField.png) | wmseScaling | The WMSE scaling factor (multiplicative) to apply to the distortion measures of the data of this code-block. By default it is 1. |
Top
Public Properties
| Name | Description |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | Data | Returns the array containing the data, or null if there is no data. The returned array is of the type returned by getDataType() (e.g., for TYPE_INT, it is a int[]).
Each implementing class should provide a type specific equivalent method (e.g., getDataInt() in DataBlkInt) which returns an array of the correct type explicitely and not through an Object. Sets the data array to the specified one. The type of the specified data array must match the one returned by getDataType() (e.g., for TYPE_INT, it should be a int[]). If the wrong type of array is given a ClassCastException will be thrown.
The size of the array is not necessarily checked for consistency with w and h or any other fields.
Each implementing class should provide a type specific equivalent method (e.g., setDataInt() in DataBlkInt) which takes an array of the correct type explicetely and not through an Object. |
![Public Property](template/packages/core-dotnet/images/publicProperty.png) | DataType | Returns the data type of the CBlkWTData object, as defined in the DataBlk class. |
Top
Public Methods
| Name | Description |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | ToString | Returns a string of informations about the DataBlk |
Top
See Also