Class OpenCVBiggestContourFinder
- java.lang.Object
-
- science.aist.imaging.opencv.imageprocessing.contour.OpenCVBiggestContourFinder
-
- All Implemented Interfaces:
Function<ImageWrapper<org.opencv.core.Mat>,RectangleWrapper<org.opencv.core.Rect,org.opencv.core.Point>>
public class OpenCVBiggestContourFinder extends Object implements Function<ImageWrapper<org.opencv.core.Mat>,RectangleWrapper<org.opencv.core.Rect,org.opencv.core.Point>>
Method which finds the position of the biggest connected (white!) contour in the given image
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Constructor Summary
Constructors Constructor Description OpenCVBiggestContourFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RectangleWrapper<org.opencv.core.Rect,org.opencv.core.Point>
apply(ImageWrapper<org.opencv.core.Mat> matImageWrapper)
-
-
-
Method Detail
-
apply
public RectangleWrapper<org.opencv.core.Rect,org.opencv.core.Point> apply(ImageWrapper<org.opencv.core.Mat> matImageWrapper)
- Specified by:
apply
in interfaceFunction<ImageWrapper<org.opencv.core.Mat>,RectangleWrapper<org.opencv.core.Rect,org.opencv.core.Point>>
-
-