boofcv.abst.denoise
Class WaveletDenoiseFilter<T extends ImageGray>
- 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 ImageGray> extends java.lang.Object implements FilterImageInterface<T,T>
Simplifies removing image noise using a wavelet transform.
-
-
Constructor Summary
Constructors Constructor and 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 and Description intgetHorizontalBorder()How many pixels are not processed along the horizontal border.ImageType<T>getInputType()Specifies the input image typeImageType<T>getOutputType()Specifies the output image typeintgetVerticalBorder()How many pixels are not processed along the vertical border.voidprocess(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.
-
getHorizontalBorder
public int getHorizontalBorder()
Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the horizontal border.- Specified by:
getHorizontalBorderin interfaceFilterImageInterface<T extends ImageGray,T extends ImageGray>- Returns:
- Border size in pixels.
-
getVerticalBorder
public int getVerticalBorder()
Description copied from interface:FilterImageInterfaceHow many pixels are not processed along the vertical border.- Specified by:
getVerticalBorderin interfaceFilterImageInterface<T extends ImageGray,T extends ImageGray>- Returns:
- Border size in pixels.
-
getInputType
public ImageType<T> getInputType()
Description copied from interface:FilterImageInterfaceSpecifies the input image type- Specified by:
getInputTypein interfaceFilterImageInterface<T extends ImageGray,T extends ImageGray>- Returns:
- Input image type.
-
getOutputType
public ImageType<T> getOutputType()
Description copied from interface:FilterImageInterfaceSpecifies the output image type- Specified by:
getOutputTypein interfaceFilterImageInterface<T extends ImageGray,T extends ImageGray>- Returns:
- Output image type.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG