Class OpenCVGaussFilterFunction
- java.lang.Object
-
- science.aist.imaging.opencv.imageprocessing.lowpassfilter.OpenCVGaussFilterFunction
-
- All Implemented Interfaces:
Function<ImageWrapper<org.opencv.core.Mat>,ImageWrapper<org.opencv.core.Mat>>
,ImageFunction<org.opencv.core.Mat,org.opencv.core.Mat>
public class OpenCVGaussFilterFunction extends Object implements ImageFunction<org.opencv.core.Mat,org.opencv.core.Mat>
apply Gaussian-filter to image
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Constructor Summary
Constructors Constructor Description OpenCVGaussFilterFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageWrapper<org.opencv.core.Mat>
apply(ImageWrapper<org.opencv.core.Mat> image)
void
setKernelHeight(int kernelHeight)
void
setKernelWidth(int kernelWidth)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface science.aist.imaging.api.ImageFunction
andThen, andThenCloseInput, andThenConsumeInput
-
-
-
-
Method Detail
-
setKernelWidth
public void setKernelWidth(int kernelWidth)
- Parameters:
kernelWidth
- Width of the applied kernel; must be positive and odd. Or, it can be zero and then it is computed from sigma* .
-
setKernelHeight
public void setKernelHeight(int kernelHeight)
- Parameters:
kernelHeight
- Height of the applied kernel; must be positive and odd. Or, it can be zero and then it is computed from sigma* .
-
apply
public ImageWrapper<org.opencv.core.Mat> apply(ImageWrapper<org.opencv.core.Mat> image)
- Specified by:
apply
in interfaceFunction<ImageWrapper<org.opencv.core.Mat>,ImageWrapper<org.opencv.core.Mat>>
-
-