mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 12:19:50 +01: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:
commit
3516c57c81
|
|
@ -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.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user