[]
        
(Showing Draft Content)

CSJ2K.j2k.wavelet.synthesis.InvWTFull

InvWTFull Class

This class implements the InverseWT with the full-page approach for int and float data.

       <p>The image can be reconstructed at different (image) resolution levels
       indexed from the lowest resolution available for each tile-component. This
       is controlled by the setImgResLevel() method.</p><p>Note: Image resolution level indexes may differ from tile-component
       resolution index. They are indeed indexed starting from the lowest number
       of decomposition levels of each component of each tile.</p><p>Example: For an image (1 tile) with 2 components (component 0 having 2
       decomposition levels and component 1 having 3 decomposition levels), the
       first (tile-) component has 3 resolution levels and the second one has 4
       resolution levels, whereas the image has only 3 resolution levels
       available.</p><p>This implementation does not support progressive data: Data is
       considered to be non-progressive (i.e. "final" data) and the 'progressive'
       attribute of the 'DataBlk' class is always set to false, see the 'DataBlk'
       class.</p>
Inheritance
InvWTFull
Namespace: CSJ2K.j2k.wavelet.synthesis
Assembly: C1.WPF.PdfViewer.4.6.2.dll
Syntax
public class InvWTFull : InverseWT, InvWT, WaveletTransform, BlkImgDataSrc, ImgData

Constructors

Name Description
InvWTFull(CBlkWTDataSrcDec, DecoderSpecs)

Initializes this object with the given source of wavelet coefficients. It initializes the resolution level for full resolutioin reconstruction.

Methods

Name Description
getCompData(DataBlk, int)

Returns a block of image data containing the specifed rectangular area, in the specified component, as a copy (see below). The rectangular area is specified by the coordinates and dimensions of the 'blk' object.

       <p>The area to return is specified by the 'ulx', 'uly', 'w' and 'h'
       members of the 'blk' argument. These members are not modified by this
       method.</p><p>The data returned by this method is always a copy of the internal
       data of this object, if any, and it can be modified "in place" without
       any problems after being returned. The 'offset' of the returned data is
       0, and the 'scanw' is the same as the block's width. See the 'DataBlk'
       class.</p><p>If the data array in 'blk' is <tt>null</tt>, then a new one is
       created. If the data array is not <tt>null</tt> then it must be big
       enough to contain the requested area.</p><p>The returned data always has its 'progressive' attribute unset (i.e
       false)</p>
getFixedPoint(int)

Returns the position of the fixed point in the specified component. This is the position of the least significant integral (i.e. non-fractional) bit, which is equivalent to the number of fractional bits. For instance, for fixed-point values with 2 fractional bits, 2 is returned. For floating-point data this value does not apply and 0 should be returned. Position 0 is the position of the least significant bit in the data.

       <p>This default implementation assumes that the wavelet transform does
       not modify the fixed point. If that were the case this method should be
       overriden.</p>
getImplementationType(int)

Returns the implementation type of this wavelet transform, WT_IMPL_FULL (full-page based transform). All components return the same.

getInternCompData(DataBlk, int)

Returns a block of image data containing the specifed rectangular area, in the specified component, as a reference to the internal buffer (see below). The rectangular area is specified by the coordinates and dimensions of the 'blk' object.

       <p>The area to return is specified by the 'ulx', 'uly', 'w' and 'h'
       members of the 'blk' argument. These members are not modified by this
       method.</p><p>The data returned by this method can be the data in the internal
       buffer of this object, if any, and thus can not be modified by the
       caller. The 'offset' and 'scanw' of the returned data can be
       arbitrary. See the 'DataBlk' class.</p><p>The returned data has its 'progressive' attribute unset
       (i.e. false).</p>
getNomRangeBits(int)
isReversible(int, int)

Returns the reversibility of the wavelet transform for the specified component, in the current tile. A wavelet transform is reversible when it is suitable for lossless and lossy-to-lossless compression.

nextTile()

Advances to the next tile, in standard scan-line order (by rows then columns). An 'NoNextElementException' is thrown if the current tile is the last one (i.e. there is no next tile).

setTile(int, int)

Changes the current tile, given the new indexes. An IllegalArgumentException is thrown if the indexes do not correspond to a valid tile.

See Also