inserted missing std:: (ticket #333). Thanks to trisk for the patch!
This commit is contained in:
@@ -1610,9 +1610,9 @@ double CV_StereoCalibrationTest_C::calibrateStereoCamera( const vector<vector<Po
|
||||
{
|
||||
ni = (int)objectPoints[i].size();
|
||||
((int*)npoints.data)[i] = ni;
|
||||
copy(objectPoints[i].begin(), objectPoints[i].end(), objPtData + j);
|
||||
copy(imagePoints1[i].begin(), imagePoints1[i].end(), imgPtData + j);
|
||||
copy(imagePoints2[i].begin(), imagePoints2[i].end(), imgPtData2 + j);
|
||||
std::copy(objectPoints[i].begin(), objectPoints[i].end(), objPtData + j);
|
||||
std::copy(imagePoints1[i].begin(), imagePoints1[i].end(), imgPtData + j);
|
||||
std::copy(imagePoints2[i].begin(), imagePoints2[i].end(), imgPtData2 + j);
|
||||
}
|
||||
CvMat _objPt = objPt, _imgPt = imgPt, _imgPt2 = imgPt2, _npoints = npoints;
|
||||
CvMat _cameraMatrix1 = cameraMatrix1, _distCoeffs1 = distCoeffs1;
|
||||
|
||||
@@ -98,8 +98,8 @@ void CV_SolvePolyTest::run( int )
|
||||
for (int j = 0; j < n; ++j)
|
||||
ar[j] = complex_type(u[j * 2], u[j * 2 + 1]);
|
||||
|
||||
sort(r.begin(), r.end(), pred_complex());
|
||||
sort(ar.begin(), ar.end(), pred_complex());
|
||||
std::sort(r.begin(), r.end(), pred_complex());
|
||||
std::sort(ar.begin(), ar.end(), pred_complex());
|
||||
|
||||
pass = true;
|
||||
if( n == 3 )
|
||||
@@ -114,7 +114,7 @@ void CV_SolvePolyTest::run( int )
|
||||
nr2 = cv::solveCubic(cv::Mat_<float>(cv::Mat(&amat)), umat2);
|
||||
cvFlip(&amat, &amat, 0);
|
||||
if(nr2 > 0)
|
||||
sort(ar2.begin(), ar2.begin()+nr2, pred_double());
|
||||
std::sort(ar2.begin(), ar2.begin()+nr2, pred_double());
|
||||
ar2.resize(nr2);
|
||||
|
||||
int nr1 = 0;
|
||||
|
||||
@@ -886,8 +886,8 @@ void CvTest::run( int start_from )
|
||||
break;
|
||||
}
|
||||
|
||||
sort(v_cpe.begin(), v_cpe.end());
|
||||
sort(v_time.begin(), v_time.end());
|
||||
std::sort(v_cpe.begin(), v_cpe.end());
|
||||
std::sort(v_time.begin(), v_time.end());
|
||||
|
||||
t_cpu_acc = v_cpe[i/2];
|
||||
t_acc = v_time[i/2];
|
||||
|
||||
Reference in New Issue
Block a user