Package boofcv.abst.denoise
Class WaveletDenoiseFilter<T extends boofcv.struct.image.ImageGray<T>>
- java.lang.Object
-
- boofcv.abst.denoise.WaveletDenoiseFilter<T>
-
- Type Parameters:
T- Type of image being processed.
- All Implemented Interfaces:
FilterImageInterface<T,T>
public class WaveletDenoiseFilter<T extends boofcv.struct.image.ImageGray<T>> extends java.lang.Object implements FilterImageInterface<T,T>
Simplifies removing image noise using a wavelet transform.
-
-
Constructor Summary
Constructors Constructor Description WaveletDenoiseFilter(WaveletTransform<T,?,?> wavelet, DenoiseWavelet denoiser)Specifies which wavelet and algorithm is used for removing image noise.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBorderX()How many pixels are not processed along the x-axis border, left and right.intgetBorderY()How many pixels are not processed along the y-axis border, top and bottom.boofcv.struct.image.ImageType<T>getInputType()Specifies the input image typeboofcv.struct.image.ImageType<T>getOutputType()Specifies the output image typevoidprocess(T original, T denoised)Processes the input image and writes the results to the output image.
-
-
-
Constructor Detail
-
WaveletDenoiseFilter
public WaveletDenoiseFilter(WaveletTransform<T,?,?> wavelet, DenoiseWavelet denoiser)
Specifies which wavelet and algorithm is used for removing image noise.- Parameters:
wavelet- Description of the wavelet transform.denoiser- Algorithm used to remove noise
-
-
Method Detail
-
process
public void process(T original, T denoised)
Description copied from interface:FilterImageInterfaceProcesses the input image and writes the results to the output image.
-
getBorderX
public int getBorderX()
Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the x-axis border, left and right.- Specified by:
getBorderXin interfaceFilterImageInterface<T extends boofcv.struct.image.ImageGray<T>,T extends boofcv.struct.image.ImageGray<T>>- Returns:
- Border size in pixels.
-
getBorderY
public int getBorderY()
Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the y-axis border, top and bottom.- Specified by:
getBorderYin interfaceFilterImageInterface<T extends boofcv.struct.image.ImageGray<T>,T extends boofcv.struct.image.ImageGray<T>>- Returns:
- Border size in pixels.
-
getInputType
public boofcv.struct.image.ImageType<T> getInputType()
Description copied from interface:FilterImageInterfaceSpecifies the input image type- Specified by:
getInputTypein interfaceFilterImageInterface<T extends boofcv.struct.image.ImageGray<T>,T extends boofcv.struct.image.ImageGray<T>>- Returns:
- Input image type.
-
getOutputType
public boofcv.struct.image.ImageType<T> getOutputType()
Description copied from interface:FilterImageInterfaceSpecifies the output image type- Specified by:
getOutputTypein interfaceFilterImageInterface<T extends boofcv.struct.image.ImageGray<T>,T extends boofcv.struct.image.ImageGray<T>>- Returns:
- Output image type.
-
-