1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Move C API of opencv_video to separate file

This commit is contained in:
Andrey Kamaev
2013-04-11 17:38:33 +04:00
parent e27f4da9c6
commit 199a35a105
48 changed files with 409 additions and 376 deletions
+4 -4
View File
@@ -138,7 +138,7 @@ bool CV_ECC_Test_Translation::testTranslation(int from)
Mat warpedImage;
warpAffine(testImg, warpedImage, translationGround,
Size(200,200), CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS+CV_WARP_INVERSE_MAP);
Size(200,200), INTER_LINEAR + WARP_INVERSE_MAP);
Mat mapTranslation = (Mat_<float>(2,3) << 1, 0, 0, 0, 1, 0);
@@ -213,7 +213,7 @@ bool CV_ECC_Test_Euclidean::testEuclidean(int from)
Mat warpedImage;
warpAffine(testImg, warpedImage, euclideanGround,
Size(200,200), CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS+CV_WARP_INVERSE_MAP);
Size(200,200), INTER_LINEAR + WARP_INVERSE_MAP);
Mat mapEuclidean = (Mat_<float>(2,3) << 1, 0, 0, 0, 1, 0);
@@ -288,7 +288,7 @@ bool CV_ECC_Test_Affine::testAffine(int from)
Mat warpedImage;
warpAffine(testImg, warpedImage, affineGround,
Size(200,200), CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS+CV_WARP_INVERSE_MAP);
Size(200,200), INTER_LINEAR + WARP_INVERSE_MAP);
Mat mapAffine = (Mat_<float>(2,3) << 1, 0, 0, 0, 1, 0);
@@ -363,7 +363,7 @@ bool CV_ECC_Test_Homography::testHomography(int from)
Mat warpedImage;
warpPerspective(testImg, warpedImage, homoGround,
Size(200,200), CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS+CV_WARP_INVERSE_MAP);
Size(200,200), INTER_LINEAR + WARP_INVERSE_MAP);
Mat mapHomography = Mat::eye(3, 3, CV_32F);