36 #include <opencv2/opencv.hpp>
49 Line(
const cv::Vec4f ¶ms);
71 int ALVAR_EXPORT
FitLines(std::vector<Line> & lines,
72 const std::vector<int> & corners,
73 const std::vector<PointInt> &edge);
This file defines library export definitions, version numbers and build information.
This file implements generic utility functions and a serialization interface.
int ALVAR_EXPORT FitLines(std::vector< Line > &lines, const std::vector< int > &corners, const std::vector< PointInt > &edge)
Fit lines to vector of points.
ALVAR_EXPORT Point< cv::Point2d > PointDouble
The default double point type.
PointDouble ALVAR_EXPORT Intersection(const Line &l1, const Line &l2)
Calculates an intersection point of two lines.
Struct representing a line. The line is parametrized by its center and direction vector.
Line(const cv::Vec4f ¶ms)
Constructor.
PointDouble s
Direction vector.
PointDouble c
Line center.