mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
replaced jpegs with png's. Accuracy tests pass; performance tests were not tried yet
This commit is contained in:
@@ -60,7 +60,7 @@ protected:
|
||||
void CV_DrawingTest::run( int )
|
||||
{
|
||||
Mat testImg, valImg;
|
||||
const string fname = "drawing/image.jpg";
|
||||
const string fname = "drawing/image.png";
|
||||
string path = ts->get_data_path(), filename;
|
||||
filename = path + fname;
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ public:
|
||||
|
||||
void CV_HighGuiTest::ImageTest(const string& dir)
|
||||
{
|
||||
string _name = dir + string("../cv/shared/baboon.jpg");
|
||||
string _name = dir + string("../cv/shared/baboon.png");
|
||||
ts->printf(ts->LOG, "reading image : %s\n", _name.c_str());
|
||||
|
||||
Mat image = imread(_name);
|
||||
@@ -143,7 +143,7 @@ void CV_HighGuiTest::ImageTest(const string& dir)
|
||||
#ifdef HAVE_JASPER
|
||||
"jp2",
|
||||
#endif
|
||||
#ifdef HAVE_OPENEXR
|
||||
#if defined HAVE_OPENEXR && !defined __APPLE__
|
||||
"exr",
|
||||
#endif
|
||||
"bmp",
|
||||
|
||||
Reference in New Issue
Block a user