1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 07:13:02 +04:00

Merge pull request #27944 from DDmytro:ecc-sanity-update

perf(video): add sanity checks and update ECC baselines for grayscale and color inputs.
This commit is contained in:
Alexander Smorkalov
2025-10-30 22:16:27 +03:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
@@ -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.
+1 -2
View File
@@ -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