Commit ba1fb0ad authored by Muresan Mircea Paul's avatar Muresan Mircea Paul

repaired the unsuccesfull builds

parent 6614fab0
...@@ -111,7 +111,7 @@ void cvFindStereoCorrespondenceBinaryBM( const CvArr* leftarr, const CvArr* righ ...@@ -111,7 +111,7 @@ void cvFindStereoCorrespondenceBinaryBM( const CvArr* leftarr, const CvArr* righ
CvRect cvStereoBinaryGetValidDisparityROI( CvRect roi1, CvRect roi2, int minDisparity, CvRect cvStereoBinaryGetValidDisparityROI( CvRect roi1, CvRect roi2, int minDisparity,
int numberOfDisparities, int SADWindowSize ) int numberOfDisparities, int SADWindowSize )
{ {
return (CvRect)cv::stereo::getValidDisparityROI( roi1, roi2, minDisparity, return (CvRect)cv::getValidDisparityROI( roi1, roi2, minDisparity,
numberOfDisparities, SADWindowSize ); numberOfDisparities, SADWindowSize );
} }
...@@ -119,7 +119,7 @@ void cvStereoBinaryValidateDisparity( CvArr* _disp, const CvArr* _cost, int minD ...@@ -119,7 +119,7 @@ void cvStereoBinaryValidateDisparity( CvArr* _disp, const CvArr* _cost, int minD
int numberOfDisparities, int disp12MaxDiff ) int numberOfDisparities, int disp12MaxDiff )
{ {
cv::Mat disp = cv::cvarrToMat(_disp), cost = cv::cvarrToMat(_cost); cv::Mat disp = cv::cvarrToMat(_disp), cost = cv::cvarrToMat(_cost);
cv::stereo::validateDisparity( disp, cost, minDisparity, numberOfDisparities, disp12MaxDiff ); cv::validateDisparity( disp, cost, minDisparity, numberOfDisparities, disp12MaxDiff );
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment