1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

fixed recent failures in shape-convhull & shape-minarearect

This commit is contained in:
Vadim Pisarevsky
2010-11-30 00:17:43 +00:00
parent b1722352b8
commit 8af2d0acb4
2 changed files with 2 additions and 14 deletions
+1 -1
View File
@@ -1728,7 +1728,7 @@ void cv::convexHull( const Mat& points,
void cv::convexHull( const Mat& points,
vector<Point2f>& hull, bool clockwise )
{
int nelems = points.checkVector(2, CV_32S);
int nelems = points.checkVector(2, CV_32F);
CV_Assert(nelems >= 0);
hull.resize(nelems);
CvMat _points = Mat(points), _hull=Mat(hull);