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

enabling sanity checks for warp and resize functions on Android

- add syntetic images generation function to ts
- use generated syntetic images
This commit is contained in:
Andrey Pavlenko
2013-01-23 17:25:30 +04:00
parent 9c7a8dd584
commit 81721d0dce
4 changed files with 114 additions and 48 deletions
+9
View File
@@ -547,6 +547,15 @@ struct CV_EXPORTS DefaultRngAuto
}
namespace cvtest
{
// test images generation functions
CV_EXPORTS void fillGradient(Mat& img, int delta = 5);
CV_EXPORTS void smoothBorder(Mat& img, const Scalar& color, int delta = 3);
} //namespace cvtest
// fills c with zeros
CV_EXPORTS void cvTsZero( CvMat* c, const CvMat* mask=0 );