mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 09:25:45 +08:00
check mask values
This commit is contained in:
parent
48c10620cb
commit
232a83ecb8
@ -605,6 +605,8 @@ TEST_P(RenderedNormals, check)
|
||||
|
||||
Mat cmpMask = srcMask & dstMask;
|
||||
|
||||
EXPECT_GT(countNonZero(cmpMask), 0);
|
||||
|
||||
double nrml2 = cv::norm(absdot, NORM_L2, cmpMask);
|
||||
|
||||
if (!dstNormalsDepth.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user