Package boofcv.abst.transform.wavelet
Interface WaveletTransform<O extends ImageGray<O>,T extends ImageGray<T>,C extends WlCoef>
- All Known Implementing Classes:
WaveletTransformFloat32
,WaveletTransformInt
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:
-
Method Summary
Modifier and TypeMethodDescriptionReturns how the borders are handled.Description of the wavelet.int
Number of levels in the wavelet transform.void
Applies the inverse wavelet transform to the specified image.Computes the wavelet transform of the input image.
-
Method Details
-
transform
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
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
BorderType getBorderType()Returns how the borders are handled.- Returns:
- Type of border used.
-
getDescription
WaveletDescription<C> getDescription()Description of the wavelet.- Returns:
- wavelet description.
-
getOriginalType
-