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

Move C API of opencv_calib3d to separate file

This commit is contained in:
Andrey Kamaev
2013-04-11 19:27:54 +04:00
parent 199a35a105
commit e5a33723fc
70 changed files with 836 additions and 792 deletions
+2 -2
View File
@@ -471,7 +471,7 @@ Mat MotionEstimatorRansacL2::estimate(InputArray points0, InputArray points1, bo
else
{
std::vector<uchar> mask;
M = findHomography(points0, points1, mask, CV_LMEDS);
M = findHomography(points0, points1, mask, LMEDS);
for (int i = 0; i < npoints; ++i)
if (mask[i]) ninliers++;
}
@@ -504,7 +504,7 @@ Mat MotionEstimatorL1::estimate(InputArray points0, InputArray points1, bool *ok
#ifndef HAVE_CLP
CV_Error(CV_StsError, "The library is built without Clp support");
CV_Error(Error::StsError, "The library is built without Clp support");
if (ok) *ok = false;
return Mat::eye(3, 3, CV_32F);
+1 -1
View File
@@ -326,7 +326,7 @@ MotionInpainter::MotionInpainter()
#ifdef HAVE_OPENCV_GPU
setOptFlowEstimator(new DensePyrLkOptFlowEstimatorGpu());
#else
CV_Error(CV_StsNotImplemented, "Current implementation of MotionInpainter requires GPU");
CV_Error(Error::StsNotImplemented, "Current implementation of MotionInpainter requires GPU");
#endif
setFlowErrorThreshold(1e-4f);
setDistThreshold(5.f);
+1 -1
View File
@@ -134,7 +134,7 @@ LpMotionStabilizer::LpMotionStabilizer(MotionModel model)
void LpMotionStabilizer::stabilize(int, const std::vector<Mat>&, std::pair<int,int>, Mat*)
{
CV_Error(CV_StsError, "The library is built without Clp support");
CV_Error(Error::StsError, "The library is built without Clp support");
}
#else