Class WaveletTransformFloat32
- java.lang.Object
-
- boofcv.abst.transform.wavelet.impl.WaveletTransformFloat32
-
- All Implemented Interfaces:
WaveletTransform<boofcv.struct.image.GrayF32,boofcv.struct.image.GrayF32,boofcv.struct.wavelet.WlCoef_F32>
public class WaveletTransformFloat32 extends java.lang.Object implements WaveletTransform<boofcv.struct.image.GrayF32,boofcv.struct.image.GrayF32,boofcv.struct.wavelet.WlCoef_F32>
Implementation ofWaveletTransformforGrayF32.
-
-
Constructor Summary
Constructors Constructor Description WaveletTransformFloat32(boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> desc, int numLevels, float minPixelValue, float maxPixelValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boofcv.struct.border.BorderTypegetBorderType()Returns how the borders are handled.boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32>getDescription()Description of the wavelet.intgetLevels()Number of levels in the wavelet transform.java.lang.Class<boofcv.struct.image.GrayF32>getOriginalType()voidinvert(boofcv.struct.image.GrayF32 transformed, boofcv.struct.image.GrayF32 original)Applies the inverse wavelet transform to the specified image.boofcv.struct.image.GrayF32transform(boofcv.struct.image.GrayF32 original, boofcv.struct.image.GrayF32 transformed)Computes the wavelet transform of the input image.
-
-
-
Method Detail
-
transform
public boofcv.struct.image.GrayF32 transform(boofcv.struct.image.GrayF32 original, boofcv.struct.image.GrayF32 transformed)Description copied from interface:WaveletTransformComputes the wavelet transform of the input image. If no output/transform image is provided a new image is created and returned.- Specified by:
transformin interfaceWaveletTransform<boofcv.struct.image.GrayF32,boofcv.struct.image.GrayF32,boofcv.struct.wavelet.WlCoef_F32>- 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
public void invert(boofcv.struct.image.GrayF32 transformed, boofcv.struct.image.GrayF32 original)Description copied from interface:WaveletTransformApplies the inverse wavelet transform to the specified image.- Specified by:
invertin interfaceWaveletTransform<boofcv.struct.image.GrayF32,boofcv.struct.image.GrayF32,boofcv.struct.wavelet.WlCoef_F32>- Parameters:
transformed- Wavelet transform of the image. Not modified.original- Reconstructed image from transform. Modified.
-
getLevels
public int getLevels()
Description copied from interface:WaveletTransformNumber of levels in the wavelet transform.- Specified by:
getLevelsin interfaceWaveletTransform<boofcv.struct.image.GrayF32,boofcv.struct.image.GrayF32,boofcv.struct.wavelet.WlCoef_F32>- Returns:
- number of levels.
-
getBorderType
public boofcv.struct.border.BorderType getBorderType()
Description copied from interface:WaveletTransformReturns how the borders are handled.- Specified by:
getBorderTypein interfaceWaveletTransform<boofcv.struct.image.GrayF32,boofcv.struct.image.GrayF32,boofcv.struct.wavelet.WlCoef_F32>- Returns:
- Type of border used.
-
getDescription
public boofcv.struct.wavelet.WaveletDescription<boofcv.struct.wavelet.WlCoef_F32> getDescription()
Description copied from interface:WaveletTransformDescription of the wavelet.- Specified by:
getDescriptionin interfaceWaveletTransform<boofcv.struct.image.GrayF32,boofcv.struct.image.GrayF32,boofcv.struct.wavelet.WlCoef_F32>- Returns:
- wavelet description.
-
getOriginalType
public java.lang.Class<boofcv.struct.image.GrayF32> getOriginalType()
- Specified by:
getOriginalTypein interfaceWaveletTransform<boofcv.struct.image.GrayF32,boofcv.struct.image.GrayF32,boofcv.struct.wavelet.WlCoef_F32>
-
-