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
commit 3516c57c81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -271,7 +271,7 @@ enum
/** /**
@brief Computes the Enhanced Correlation Coefficient (ECC) value between two images @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), 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. 0 indicates no correlation, and -1 indicates perfect negative correlation.

View File

@ -55,8 +55,7 @@ PERF_TEST_P(ECCPerfTest, findTransformECC,
TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 5, -1)); TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 5, -1));
} }
// TODO: Update baseline for new test SANITY_CHECK(warpMat, 3e-3);
SANITY_CHECK_NOTHING();
} }
} // namespace opencv_test } // namespace opencv_test