Class FactoryWaveletDaub


  • public class FactoryWaveletDaub
    extends java.lang.Object

    Creates different variety of Daubechie (Daub) wavelets. For Daub-J and Daub J/K wavelets the index number refers to the number of coefficients. These wavelets are often used in image compression.

    Citations:
    James S. Walker, "A Primer on WAVELETS and Their Scientific Applications," 2nd Ed. 2008

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> biorthogonal_F32​(int J, boofcv.struct.border.BorderType borderType)
      Daub J/K biorthogonal wavelets have the following properties:
      DO NOT conserve the signal's energy If the signal is approximately polynomial of degree (J-1)/2-1 within the support then fluctuations are approximately zero. The sum of the scaling numbers is 1 The sum of the wavelet numbers is 0
      static boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_I32> biorthogonal_I32​(int J, boofcv.struct.border.BorderType borderType)
      static boofcv.struct.wavelet.WlBorderCoefFixed<boofcv.struct.wavelet.WlCoef_I32> convertToInt​(boofcv.struct.wavelet.WlBorderCoefFixed<boofcv.struct.wavelet.WlCoef_F32> orig, boofcv.struct.wavelet.WlCoef_I32 inner)  
      static boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> daubJ_F32​(int J)
      DaubJ wavelets have the following properties:
      Conserve the signal's energy If the signal is approximately polynomial of degree J/2-1 or less within the support then fluctuations are approximately zero. The sum of the scaling numbers is sqrt(2) The sum of the wavelet numbers is 0
      • Methods inherited from class java.lang.Object

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

      • FactoryWaveletDaub

        public FactoryWaveletDaub()
    • Method Detail

      • daubJ_F32

        public static boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> daubJ_F32​(int J)

        DaubJ wavelets have the following properties:

        • Conserve the signal's energy
        • If the signal is approximately polynomial of degree J/2-1 or less within the support then fluctuations are approximately zero.
        • The sum of the scaling numbers is sqrt(2)
        • The sum of the wavelet numbers is 0

        Parameters:
        J - The wavelet's degree.
        Returns:
        Description of the DaubJ wavelet.
      • biorthogonal_F32

        public static boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> biorthogonal_F32​(int J,
                                                                                                                  boofcv.struct.border.BorderType borderType)

        Daub J/K biorthogonal wavelets have the following properties:

        • DO NOT conserve the signal's energy
        • If the signal is approximately polynomial of degree (J-1)/2-1 within the support then fluctuations are approximately zero.
        • The sum of the scaling numbers is 1
        • The sum of the wavelet numbers is 0

        Parameters:
        J - The wavelet's degree. K = J-2.
        borderType - How image borders are handled.
        Returns:
        Description of the Daub J/K wavelet.
      • biorthogonal_I32

        public static boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_I32> biorthogonal_I32​(int J,
                                                                                                                  boofcv.struct.border.BorderType borderType)
        Parameters:
        J - The wavelet's degree. K = J-2.
        borderType - How image borders are handled.
        Returns:
        Description of the Daub J/K wavelet.
      • convertToInt

        public static boofcv.struct.wavelet.WlBorderCoefFixed<boofcv.struct.wavelet.WlCoef_I32> convertToInt​(boofcv.struct.wavelet.WlBorderCoefFixed<boofcv.struct.wavelet.WlCoef_F32> orig,
                                                                                                             boofcv.struct.wavelet.WlCoef_I32 inner)