diff --git a/modules/video/include/opencv2/video/tracking.hpp b/modules/video/include/opencv2/video/tracking.hpp index fb70abbc74..7fbd77d2ef 100644 --- a/modules/video/include/opencv2/video/tracking.hpp +++ b/modules/video/include/opencv2/video/tracking.hpp @@ -271,7 +271,7 @@ enum /** @brief Computes the Enhanced Correlation Coefficient (ECC) value between two images -The Enhanced Correlation Coefficient (ECC) is a normalized measure of similarity between two images. +The Enhanced Correlation Coefficient (ECC) is a normalized measure of similarity between two images @cite EP08. The result lies in the range [-1, 1], where 1 corresponds to perfect similarity (modulo affine shift and scale), 0 indicates no correlation, and -1 indicates perfect negative correlation. diff --git a/modules/video/perf/perf_ecc.cpp b/modules/video/perf/perf_ecc.cpp index 387b593936..217b98fa0e 100644 --- a/modules/video/perf/perf_ecc.cpp +++ b/modules/video/perf/perf_ecc.cpp @@ -55,8 +55,7 @@ PERF_TEST_P(ECCPerfTest, findTransformECC, TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 5, -1)); } - // TODO: Update baseline for new test - SANITY_CHECK_NOTHING(); + SANITY_CHECK(warpMat, 3e-3); } } // namespace opencv_test