cv2cvtest part2

This commit is contained in:
Ilya Lavrenov
2014-04-09 00:00:13 +04:00
parent 5600bc54f4
commit 4a63b3dd90
11 changed files with 49 additions and 39 deletions

View File

@@ -278,7 +278,7 @@ float dispRMS( const Mat& computedDisp, const Mat& groundTruthDisp, const Mat& m
checkTypeAndSizeOfMask( mask, sz );
pointsCount = countNonZero(mask);
}
return 1.f/sqrt((float)pointsCount) * (float)norm(computedDisp, groundTruthDisp, NORM_L2, mask);
return 1.f/sqrt((float)pointsCount) * (float)cvtest::norm(computedDisp, groundTruthDisp, NORM_L2, mask);
}
/*