Class OpenCVLineWrapper
- java.lang.Object
-
- science.aist.imaging.api.domain.wrapper.AbstractLineWrapper<org.opencv.core.Point>
-
- science.aist.imaging.opencv.imageprocessing.wrapper.OpenCVLineWrapper
-
- All Implemented Interfaces:
LineWrapper<org.opencv.core.Point>
public class OpenCVLineWrapper extends AbstractLineWrapper<org.opencv.core.Point>
Specific Implementation for opencv line, which explicitly uses Point.
- Since:
- 1.0
- Author:
- Andreas Pointner
-
-
Constructor Summary
Constructors Constructor Description OpenCVLineWrapper(double x1, double y1, double x2, double y2)
Constructor to set a line with the coordinate of its points in doubleOpenCVLineWrapper(int x1, int y1, int x2, int y2)
Constructor to set a line with the coordinate of its points in integerOpenCVLineWrapper(org.opencv.core.Point startPoint, org.opencv.core.Point endPoint)
Constructor to set a line with opencv PointsOpenCVLineWrapper(Point2Wrapper<org.opencv.core.Point> startPoint, Point2Wrapper<org.opencv.core.Point> endPoint)
Constructor to set a line with Point2Wrappers
-
Method Summary
-
Methods inherited from class science.aist.imaging.api.domain.wrapper.AbstractLineWrapper
getEndPoint, getStartPoint, setEndPoint, setStartPoint
-
-
-
-
Constructor Detail
-
OpenCVLineWrapper
public OpenCVLineWrapper(int x1, int y1, int x2, int y2)
Constructor to set a line with the coordinate of its points in integer- Parameters:
x1
- x-coordinate of start pointy1
- y-coordinate of start pointx2
- x-coordinate of end pointy2
- y-coordinate of end point
-
OpenCVLineWrapper
public OpenCVLineWrapper(double x1, double y1, double x2, double y2)
Constructor to set a line with the coordinate of its points in double- Parameters:
x1
- x-coordinate of start pointy1
- y-coordinate of start pointx2
- x-coordinate of end pointy2
- y-coordinate of end point
-
OpenCVLineWrapper
public OpenCVLineWrapper(org.opencv.core.Point startPoint, org.opencv.core.Point endPoint)
Constructor to set a line with opencv Points- Parameters:
startPoint
- start pointendPoint
- end point
-
OpenCVLineWrapper
public OpenCVLineWrapper(Point2Wrapper<org.opencv.core.Point> startPoint, Point2Wrapper<org.opencv.core.Point> endPoint)
Constructor to set a line with Point2Wrappers- Parameters:
startPoint
- start point wrapperendPoint
- end point wrapper
-
-