47 Line(
float params[4]);
69 const std::vector<int>& corners,
70 const std::vector<PointInt >& edge,
PointDouble s
Direction vector.
Struct representing a line. The line is parametrized by its center and direction vector.
This file implements generic utility functions and a serialization interface.
PointDouble ALVAR_EXPORT Intersection(const Line &l1, const Line &l2)
Calculates an intersection point of two lines.
ALVAR_EXPORT Point< CvPoint2D64f > PointDouble
The default double point type.
int ALVAR_EXPORT FitLines(std::vector< Line > &lines, const std::vector< int > &corners, const std::vector< PointInt > &edge, IplImage *grey=0)
Fit lines to vector of points.
This file defines library export definitions, version numbers and build information.
PointDouble c
Line center.