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:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user