Class OpenCVCalculateRotatedRect
- java.lang.Object
-
- science.aist.imaging.opencv.imageprocessing.contour.OpenCVCalculateRotatedRect
-
- All Implemented Interfaces:
Function<Collection<Point2Wrapper<org.opencv.core.Point>>,RotatedRectangleWrapper<org.opencv.core.RotatedRect,org.opencv.core.Point>>
public class OpenCVCalculateRotatedRect extends Object implements Function<Collection<Point2Wrapper<org.opencv.core.Point>>,RotatedRectangleWrapper<org.opencv.core.RotatedRect,org.opencv.core.Point>>
This class calculates the minimal rotated rectangle.
Input: List of points
Output: Corner points of the rotated rectangle
- Since:
- 1.0
- Author:
- Andreas Pointner
-
-
Constructor Summary
Constructors Constructor Description OpenCVCalculateRotatedRect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RotatedRectangleWrapper<org.opencv.core.RotatedRect,org.opencv.core.Point>
apply(Collection<Point2Wrapper<org.opencv.core.Point>> point2Wrappers)
-
-
-
Method Detail
-
apply
public RotatedRectangleWrapper<org.opencv.core.RotatedRect,org.opencv.core.Point> apply(Collection<Point2Wrapper<org.opencv.core.Point>> point2Wrappers)
- Specified by:
apply
in interfaceFunction<Collection<Point2Wrapper<org.opencv.core.Point>>,RotatedRectangleWrapper<org.opencv.core.RotatedRect,org.opencv.core.Point>>
-
-