calib3d: fix InputArray -> CvMat

This commit is contained in:
Alexander Alekhin
2016-12-22 03:11:53 +03:00
parent be7d060ea4
commit ca6beb9ca8
3 changed files with 52 additions and 83 deletions
+1 -1
View File
@@ -2085,7 +2085,7 @@ void cv::drawChessboardCorners( InputOutputArray _image, Size patternSize,
Mat corners = _corners.getMat();
if( corners.empty() )
return;
Mat image = _image.getMat(); CvMat c_image = _image.getMat();
Mat image = _image.getMat(); CvMat c_image = image;
int nelems = corners.checkVector(2, CV_32F, true);
CV_Assert(nelems >= 0);
cvDrawChessboardCorners( &c_image, patternSize, corners.ptr<CvPoint2D32f>(),