Class InverseWT
- java.lang.Object
-
- jj2000.j2k.wavelet.synthesis.InvWTAdapter
-
- jj2000.j2k.wavelet.synthesis.InverseWT
-
- All Implemented Interfaces:
BlkImgDataSrc
,ImgData
,InvWT
,WaveletTransform
- Direct Known Subclasses:
InvWTFull
public abstract class InverseWT extends InvWTAdapter implements BlkImgDataSrc
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.
-
-
Field Summary
-
Fields inherited from class jj2000.j2k.wavelet.synthesis.InvWTAdapter
decSpec, maxImgRes, mressrc, reslvl
-
Fields inherited from interface jj2000.j2k.wavelet.WaveletTransform
WT_IMPL_FULL, WT_IMPL_LINE
-
-
Constructor Summary
Constructors Constructor Description InverseWT(MultiResImgData src, DecoderSpecs decSpec)
Initializes this object with the given source of wavelet coefficients.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InverseWT
createInstance(CBlkWTDataSrcDec src, DecoderSpecs decSpec)
Creates an InverseWT object that works on the data type of the source, with the special additional parameters from the parameter list.-
Methods inherited from class jj2000.j2k.wavelet.synthesis.InvWTAdapter
getCompImgHeight, getCompImgWidth, getCompSubsX, getCompSubsY, getCompULX, getCompULY, getImgHeight, getImgULX, getImgULY, getImgWidth, getNomTileHeight, getNomTileWidth, getNumComps, getNumTiles, getNumTiles, getSynSubbandTree, getTile, getTileCompHeight, getTileCompWidth, getTileHeight, getTileIdx, getTilePartULX, getTilePartULY, getTileWidth, nextTile, setImgResLevel, setTile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jj2000.j2k.image.BlkImgDataSrc
getCompData, getFixedPoint, getInternCompData
-
Methods inherited from interface jj2000.j2k.image.ImgData
getCompImgHeight, getCompImgWidth, getCompSubsX, getCompSubsY, getCompULX, getCompULY, getImgHeight, getImgULX, getImgULY, getImgWidth, getNomRangeBits, getNomTileHeight, getNomTileWidth, getNumComps, getNumTiles, getNumTiles, getTile, getTileCompHeight, getTileCompWidth, getTileHeight, getTileIdx, getTilePartULX, getTilePartULY, getTileWidth, nextTile, setTile
-
Methods inherited from interface jj2000.j2k.wavelet.WaveletTransform
getImplementationType, isReversible
-
-
-
-
Constructor Detail
-
InverseWT
public InverseWT(MultiResImgData src, DecoderSpecs decSpec)
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.
- Parameters:
src
- from where the wavelet coefficinets should be obtained.decSpec
- The decoder specifications
-
-
Method Detail
-
createInstance
public static InverseWT createInstance(CBlkWTDataSrcDec src, DecoderSpecs decSpec)
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.- Parameters:
src
- The source of data for the inverse wavelet transform.decSpec
- The decoder specifications
-
-