ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.wavelet.analysis Namespace / CBlkWTData Class
Fields Properties Methods


In This Topic
    CBlkWTData Class Members
    In This Topic

    The following tables list the members exposed by CBlkWTData.

    Public Fields
     NameDescription
    Public FieldThe 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 FieldThe height of the code-block  
    Public FieldThe vertical index of the code-block, within the subband  
    Public FieldThe number of magnitude bits in the integer representation. This is only used for quantized wavelet data.  
    Public FieldThe horizontal index of the code-block, within the subband  
    Public FieldNumber of ROI magnitude bit-planes  
    Public FieldNumber of ROI coefficients in the code-block  
    Public FieldThe offset in the array of the top-left coefficient  
    Public FieldThe subband in which this code-block is found  
    Public FieldThe width of the scanlines used to store the data in the array  
    Public FieldThe quantization step size of the code-block. The value is updated by the quantizer module  
    Public FieldThe horizontal coordinate of the upper-left corner of the code-block  
    Public FieldThe vertical coordinate of the upper left corner of the code-block  
    Public FieldThe width of the code-block  
    Public FieldThe 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
     NameDescription
    Public PropertyReturns 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 PropertyReturns the data type of the CBlkWTData object, as defined in the DataBlk class.  
    Top
    Public Methods
     NameDescription
    Public MethodReturns a string of informations about the DataBlk  
    Top
    See Also