Class WaveletTransformOps


  • public class WaveletTransformOps
    extends java.lang.Object

    Functional interface for applying general purpose wavelet and inverse wavelet transforms.

    A single level wavelet transform breaks the image up into four regions:

    ah
    vd
    Each region has M/2,N/2 rows and columns. Region 'a' is the scaling image, 'h' and 'v' are a combination of scaling and wavelet, and 'd' is a combination of horizontal and vertical wavelets. When a multiple level transform is performed then the input to the next level is the 'a' from the previous level.

    DO NOT MODIFY: This class was automatically generated by boofcv.alg.transform.wavelet.GenerateWaveletTransformOps

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void inverse1​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> desc, boofcv.struct.image.GrayF32 input, boofcv.struct.image.GrayF32 output, boofcv.struct.image.GrayF32 storage, float minValue, float maxValue)
      Performs a single level inverse wavelet transform.
      static void inverse1​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_I32> desc, boofcv.struct.image.GrayS32 input, boofcv.struct.image.GrayS32 output, boofcv.struct.image.GrayS32 storage, int minValue, int maxValue)
      Performs a single level inverse wavelet transform.
      static void inverseN​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> desc, boofcv.struct.image.GrayF32 input, boofcv.struct.image.GrayF32 output, boofcv.struct.image.GrayF32 storage, int numLevels, float minValue, float maxValue)
      Performs a level N inverse fast wavelet transform (FWT).
      static void inverseN​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_I32> desc, boofcv.struct.image.GrayS32 input, boofcv.struct.image.GrayS32 output, boofcv.struct.image.GrayS32 storage, int numLevels, int minValue, int maxValue)
      Performs a level N inverse fast wavelet transform (FWT).
      static void transform1​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> desc, boofcv.struct.image.GrayF32 input, boofcv.struct.image.GrayF32 output, boofcv.struct.image.GrayF32 storage)
      Performs a single level wavelet transform.
      static void transform1​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_I32> desc, boofcv.struct.image.GrayS32 input, boofcv.struct.image.GrayS32 output, boofcv.struct.image.GrayS32 storage)
      Performs a single level wavelet transform.
      static void transformN​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> desc, boofcv.struct.image.GrayF32 input, boofcv.struct.image.GrayF32 output, boofcv.struct.image.GrayF32 storage, int numLevels)
      Performs a level N wavelet transform using the fast wavelet transform (FWT).
      static void transformN​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_I32> desc, boofcv.struct.image.GrayS32 input, boofcv.struct.image.GrayS32 output, boofcv.struct.image.GrayS32 storage, int numLevels)
      Performs a level N wavelet transform using the fast wavelet transform (FWT).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WaveletTransformOps

        public WaveletTransformOps()
    • Method Detail

      • transform1

        public static void transform1​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> desc,
                                      boofcv.struct.image.GrayF32 input,
                                      boofcv.struct.image.GrayF32 output,
                                      boofcv.struct.image.GrayF32 storage)

        Performs a single level wavelet transform.

        Parameters:
        desc - Description of the wavelet.
        input - Input image. Not modified.
        output - Where the wavelet transform is written to. Modified.
        storage - Optional storage image. Should be the same size as output image. If null then an image is declared internally.
      • transformN

        public static void transformN​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> desc,
                                      boofcv.struct.image.GrayF32 input,
                                      boofcv.struct.image.GrayF32 output,
                                      boofcv.struct.image.GrayF32 storage,
                                      int numLevels)

        Performs a level N wavelet transform using the fast wavelet transform (FWT).

        To save memory the input image is used to store intermediate results and is modified.

        Parameters:
        desc - Description of the wavelet.
        input - Input image and is used as internal workspace. Modified.
        output - Where the multilevel wavelet transform is written to. Modified.
        storage - Optional storage image. Should be the same size as output image. If null then an image is declared internally.
        numLevels - Number of levels which should be computed in the transform.
      • inverse1

        public static void inverse1​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> desc,
                                    boofcv.struct.image.GrayF32 input,
                                    boofcv.struct.image.GrayF32 output,
                                    boofcv.struct.image.GrayF32 storage,
                                    float minValue,
                                    float maxValue)

        Performs a single level inverse wavelet transform. Do not pass in a whole image which has been transformed by a multilevel transform. Just the relevant sub-image.

        Parameters:
        desc - Description of the inverse wavelet.
        input - Input wavelet transform. Not modified.
        output - Reconstruction of original image. Modified.
        storage - Optional storage image. Should be the same size as the input image. If null then an image is declared internally.
        minValue - Minimum allowed pixel value
        maxValue - Maximum allowed pixel value
      • inverseN

        public static void inverseN​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> desc,
                                    boofcv.struct.image.GrayF32 input,
                                    boofcv.struct.image.GrayF32 output,
                                    boofcv.struct.image.GrayF32 storage,
                                    int numLevels,
                                    float minValue,
                                    float maxValue)

        Performs a level N inverse fast wavelet transform (FWT).

        To save memory the input image is used to store intermediate results and is modified.

        Parameters:
        desc - Description of the inverse wavelet.
        input - Input wavelet transform and is used as internal workspace. Modified.
        output - Reconstruction of original image. Modified.
        storage - Optional storage image. Should be the same size as the input image. If null then an image is declared internally.
        numLevels - Number of levels in the transform.
        minValue - Minimum allowed pixel value
        maxValue - Maximum allowed pixel value
      • transform1

        public static void transform1​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_I32> desc,
                                      boofcv.struct.image.GrayS32 input,
                                      boofcv.struct.image.GrayS32 output,
                                      boofcv.struct.image.GrayS32 storage)

        Performs a single level wavelet transform.

        Parameters:
        desc - Description of the wavelet.
        input - Input image. Not modified.
        output - Where the wavelet transform is written to. Modified.
        storage - Optional storage image. Should be the same size as output image. If null then an image is declared internally.
      • transformN

        public static void transformN​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_I32> desc,
                                      boofcv.struct.image.GrayS32 input,
                                      boofcv.struct.image.GrayS32 output,
                                      boofcv.struct.image.GrayS32 storage,
                                      int numLevels)

        Performs a level N wavelet transform using the fast wavelet transform (FWT).

        To save memory the input image is used to store intermediate results and is modified.

        Parameters:
        desc - Description of the wavelet.
        input - Input image and is used as internal workspace. Modified.
        output - Where the multilevel wavelet transform is written to. Modified.
        storage - Optional storage image. Should be the same size as output image. If null then an image is declared internally.
        numLevels - Number of levels which should be computed in the transform.
      • inverse1

        public static void inverse1​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_I32> desc,
                                    boofcv.struct.image.GrayS32 input,
                                    boofcv.struct.image.GrayS32 output,
                                    boofcv.struct.image.GrayS32 storage,
                                    int minValue,
                                    int maxValue)

        Performs a single level inverse wavelet transform. Do not pass in a whole image which has been transformed by a multilevel transform. Just the relevant sub-image.

        Parameters:
        desc - Description of the inverse wavelet.
        input - Input wavelet transform. Not modified.
        output - Reconstruction of original image. Modified.
        storage - Optional storage image. Should be the same size as the input image. If null then an image is declared internally.
        minValue - Minimum allowed pixel value
        maxValue - Maximum allowed pixel value
      • inverseN

        public static void inverseN​(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_I32> desc,
                                    boofcv.struct.image.GrayS32 input,
                                    boofcv.struct.image.GrayS32 output,
                                    boofcv.struct.image.GrayS32 storage,
                                    int numLevels,
                                    int minValue,
                                    int maxValue)

        Performs a level N inverse fast wavelet transform (FWT).

        To save memory the input image is used to store intermediate results and is modified.

        Parameters:
        desc - Description of the inverse wavelet.
        input - Input wavelet transform and is used as internal workspace. Modified.
        output - Reconstruction of original image. Modified.
        storage - Optional storage image. Should be the same size as the input image. If null then an image is declared internally.
        numLevels - Number of levels in the transform.
        minValue - Minimum allowed pixel value
        maxValue - Maximum allowed pixel value