* img_test is now tested for channel numbers instead of img
* fixed indentation to use spaces and trailing spaces
This commit is contained in:
parent
9f80c6c989
commit
109e047a28
@ -143,7 +143,7 @@ public:
|
|||||||
|
|
||||||
CV_Assert(img.size() == img_test.size());
|
CV_Assert(img.size() == img_test.size());
|
||||||
CV_Assert(img.type() == img_test.type());
|
CV_Assert(img.type() == img_test.type());
|
||||||
CV_Assert(img.channels() == 4);
|
CV_Assert(img_test.channels() == 4);
|
||||||
|
|
||||||
double n = norm(img, img_test);
|
double n = norm(img, img_test);
|
||||||
if ( n > 1.0)
|
if ( n > 1.0)
|
||||||
@ -153,7 +153,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_JPEG
|
#ifdef HAVE_JPEG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user