Class 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.

    • 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