Package boofcv.factory.transform.wavelet
Class FactoryWaveletTransform
java.lang.Object
boofcv.factory.transform.wavelet.FactoryWaveletTransform
Simplified factory for creating
WaveletTransform
. Factories are provided
for creating the different wavelet descriptions.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <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) 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 typeGrayF32
.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 fromGrayI
.
-
Constructor Details
-
FactoryWaveletTransform
public FactoryWaveletTransform()
-
-
Method Details
-
create
public static <T extends ImageGray<T>,W extends ImageGray<W>, WaveletTransform<T,C extends WlCoef> W, createC> (Class<T> imageType, WaveletDescription<C> waveletDesc, int numLevels, double minPixelValue, double maxPixelValue) -
create_I
public static <T extends GrayI<T>> WaveletTransform<T,GrayS32, create_IWlCoef_I32> (WaveletDescription<WlCoef_I32> waveletDesc, int numLevels, int minPixelValue, int maxPixelValue, Class<T> imageType) Creates a wavelet transform for images that are derived fromGrayI
.- Parameters:
waveletDesc
- Description of the wavelet.numLevels
- Number of levels in the multi-level transform.minPixelValue
- Minimum pixel intensity valuemaxPixelValue
- Maximum pixel intensity value- Returns:
- The transform class.
-
create_F32
public static WaveletTransform<GrayF32,GrayF32, create_F32WlCoef_F32> (WaveletDescription<WlCoef_F32> waveletDesc, int numLevels, float minPixelValue, float maxPixelValue) Creates a wavelet transform for images that are of typeGrayF32
.- Parameters:
waveletDesc
- Description of the wavelet.numLevels
- Number of levels in the multi-level transform.minPixelValue
- Minimum pixel intensity valuemaxPixelValue
- Maximum pixel intensity value- Returns:
- The transform class.
-