Class OpenCVCannyEdgeDetection
- java.lang.Object
-
- science.aist.imaging.opencv.imageprocessing.edgedetection.OpenCVCannyEdgeDetection
-
- 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 OpenCVCannyEdgeDetection extends Object implements ImageFunction<org.opencv.core.Mat,org.opencv.core.Mat>
Canny Edge Detector
- Since:
- 1.0
- Author:
- Andreas Pointner
-
-
Constructor Summary
Constructors Constructor Description OpenCVCannyEdgeDetection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageWrapper<org.opencv.core.Mat>
apply(ImageWrapper<org.opencv.core.Mat> img)
performs an edge detection on given image-
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
-
apply
public ImageWrapper<org.opencv.core.Mat> apply(ImageWrapper<org.opencv.core.Mat> img)
performs an edge detection on given image- Specified by:
apply
in interfaceFunction<ImageWrapper<org.opencv.core.Mat>,ImageWrapper<org.opencv.core.Mat>>
- Parameters:
img
- image for which the edge detection should be executed- Returns:
- the resulting edges
-
-