Interface WaveletTransform<O extends boofcv.struct.image.ImageGray<O>,​T extends boofcv.struct.image.ImageGray<T>,​C extends boofcv.struct.wavelet.WlCoef>

  • All Known Implementing Classes:
    WaveletTransformFloat32, WaveletTransformInt

    public interface WaveletTransform<O extends boofcv.struct.image.ImageGray<O>,​T extends boofcv.struct.image.ImageGray<T>,​C extends boofcv.struct.wavelet.WlCoef>

    Easy to use interface for performing a multilevel wavelet transformations. Internally it handles all buffer maintenance and type conversion. To create a new instance of this interface use FactoryWaveletTransform.

    See Also:
    WaveletTransformOps
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boofcv.struct.border.BorderType getBorderType()
      Returns how the borders are handled.
      boofcv.struct.wavelet.WaveletDescription<C> getDescription()
      Description of the wavelet.
      int getLevels()
      Number of levels in the wavelet transform.
      java.lang.Class<O> getOriginalType()  
      void invert​(T transformed, O original)
      Applies the inverse wavelet transform to the specified image.
      T transform​(O original, T transformed)
      Computes the wavelet transform of the input image.
    • Method Detail

      • transform

        T transform​(O original,
                    T transformed)
        Computes the wavelet transform of the input image. If no output/transform image is provided a new image is created and returned.
        Parameters:
        original - Original unmodified image. Not modified.
        transformed - Where the computed transform is stored. If null a new image is created. Modified.
        Returns:
        Wavelet transform.
      • invert

        void invert​(T transformed,
                    O original)
        Applies the inverse wavelet transform to the specified image.
        Parameters:
        transformed - Wavelet transform of the image. Not modified.
        original - Reconstructed image from transform. Modified.
      • getLevels

        int getLevels()
        Number of levels in the wavelet transform.
        Returns:
        number of levels.
      • getBorderType

        boofcv.struct.border.BorderType getBorderType()
        Returns how the borders are handled.
        Returns:
        Type of border used.
      • getDescription

        boofcv.struct.wavelet.WaveletDescription<C> getDescription()
        Description of the wavelet.
        Returns:
        wavelet description.
      • getOriginalType

        java.lang.Class<O> getOriginalType()