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

perf(video): add sanity checks and update ECC baselines for grayscale and color inputs

This commit is contained in:
Dmytro Dadyka
2025-10-24 19:18:06 +03:00
parent 52393156c8
commit 37497fa2e3
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