const int npoints = points0.getMat().checkVector(2);
CV_Assert(points1.getMat().checkVector(2) == npoints);
- const Point2f *points0_ = points0.getMat().ptr<Point2f>();
- const Point2f *points1_ = points1.getMat().ptr<Point2f>();
-
#ifndef HAVE_CLP
CV_Error(CV_StsError, "The library is built without Clp support");
// prepare LP problem
+ const Point2f *points0_ = points0.getMat().ptr<Point2f>();
+ const Point2f *points1_ = points1.getMat().ptr<Point2f>();
+
int ncols = 6 + 2*npoints;
int nrows = 4*npoints;