C# Класс CSJ2K.j2k.wavelet.synthesis.InverseWT

This abstract class extends the WaveletTransform one with the specifics of inverse wavelet transforms.

The image can be reconstructed at different resolution levels. This is controlled by the setResLevel() method. All the image, tile and component dimensions are relative the the resolution level being used. The number of resolution levels indicates the number of wavelet recompositions that will be used, if it is equal as the number of decomposition levels then the full resolution image is reconstructed.

It is assumed in this class that all tiles and components the same reconstruction resolution level. If that where not the case the implementing class should have additional data structures to store those values for each tile. However, the 'recResLvl' member variable always contain the values applicable to the current tile, since many methods implemented here rely on them.

Наследование: CSJ2K.j2k.wavelet.synthesis.InvWTAdapter, BlkImgDataSrc
Показать файл Открыть проект

Открытые методы

Метод Описание
InverseWT ( MultiResImgData src, DecoderSpecs decSpec ) : System

Initializes this object with the given source of wavelet coefficients. It initializes the resolution level for full resolutioin reconstruction (i.e. the maximum resolution available from the 'src' source).

It is assumed here that all tiles and components have the same reconstruction resolution level. If that was not the case it should be the value for the current tile of the source.

close ( ) : void

Closes the underlying file or network connection from where the image data is being read.

createInstance ( CBlkWTDataSrcDec src, DecoderSpecs decSpec ) : InverseWT

Creates an InverseWT object that works on the data type of the source, with the special additional parameters from the parameter list. Currently the parameter list is ignored since no special parameters can be specified for the inverse wavelet transform yet.

getCompData ( CSJ2K.j2k.image.DataBlk blk, int c ) : CSJ2K.j2k.image.DataBlk
getFixedPoint ( int c ) : int
getInternCompData ( CSJ2K.j2k.image.DataBlk blk, int c ) : CSJ2K.j2k.image.DataBlk
isOrigSigned ( int c ) : bool

Returns true if the data read was originally signed in the specified component, false if not.

Описание методов

InverseWT() публичный Метод

Initializes this object with the given source of wavelet coefficients. It initializes the resolution level for full resolutioin reconstruction (i.e. the maximum resolution available from the 'src' source).

It is assumed here that all tiles and components have the same reconstruction resolution level. If that was not the case it should be the value for the current tile of the source.

public InverseWT ( MultiResImgData src, DecoderSpecs decSpec ) : System
src MultiResImgData from where the wavelet coefficinets should be obtained. /// ///
decSpec CSJ2K.j2k.decoder.DecoderSpecs The decoder specifications /// ///
Результат System

close() публичный Метод

Closes the underlying file or network connection from where the image data is being read.
If an I/O error occurs. ///
public close ( ) : void
Результат void

createInstance() публичный статический Метод

Creates an InverseWT object that works on the data type of the source, with the special additional parameters from the parameter list. Currently the parameter list is ignored since no special parameters can be specified for the inverse wavelet transform yet.
public static createInstance ( CBlkWTDataSrcDec src, DecoderSpecs decSpec ) : InverseWT
src CBlkWTDataSrcDec The source of data for the inverse wavelet /// transform. /// ///
decSpec CSJ2K.j2k.decoder.DecoderSpecs
Результат InverseWT

getCompData() публичный абстрактный Метод

public abstract getCompData ( CSJ2K.j2k.image.DataBlk blk, int c ) : CSJ2K.j2k.image.DataBlk
blk CSJ2K.j2k.image.DataBlk
c int
Результат CSJ2K.j2k.image.DataBlk

getFixedPoint() публичный абстрактный Метод

public abstract getFixedPoint ( int c ) : int
c int
Результат int

getInternCompData() публичный абстрактный Метод

public abstract getInternCompData ( CSJ2K.j2k.image.DataBlk blk, int c ) : CSJ2K.j2k.image.DataBlk
blk CSJ2K.j2k.image.DataBlk
c int
Результат CSJ2K.j2k.image.DataBlk

isOrigSigned() публичный Метод

Returns true if the data read was originally signed in the specified component, false if not.
public isOrigSigned ( int c ) : bool
c int The index of the component, from 0 to C-1. /// ///
Результат bool