Class FactoryWaveletTransform

java.lang.Object
boofcv.factory.transform.wavelet.FactoryWaveletTransform

public class FactoryWaveletTransform extends Object
Simplified factory for creating WaveletTransform. Factories are provided for creating the different wavelet descriptions.
  • Constructor Details

    • FactoryWaveletTransform

      public FactoryWaveletTransform()
  • Method Details

    • create

      public static <T extends ImageGray<T>, W extends ImageGray<W>, C extends WlCoef> WaveletTransform<T,W,C> create(Class<T> imageType, WaveletDescription<C> waveletDesc, int numLevels, double minPixelValue, double maxPixelValue)
    • create_I

      public static <T extends GrayI<T>> WaveletTransform<T,GrayS32,WlCoef_I32> create_I(WaveletDescription<WlCoef_I32> waveletDesc, int numLevels, int minPixelValue, int maxPixelValue, Class<T> imageType)
      Creates a wavelet transform for images that are derived from GrayI.
      Parameters:
      waveletDesc - Description of the wavelet.
      numLevels - Number of levels in the multi-level transform.
      minPixelValue - Minimum pixel intensity value
      maxPixelValue - Maximum pixel intensity value
      Returns:
      The transform class.
    • create_F32

      public static WaveletTransform<GrayF32,GrayF32,WlCoef_F32> create_F32(WaveletDescription<WlCoef_F32> waveletDesc, int numLevels, float minPixelValue, float maxPixelValue)
      Creates a wavelet transform for images that are of type GrayF32.
      Parameters:
      waveletDesc - Description of the wavelet.
      numLevels - Number of levels in the multi-level transform.
      minPixelValue - Minimum pixel intensity value
      maxPixelValue - Maximum pixel intensity value
      Returns:
      The transform class.