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

Merge branch 4.x

This commit is contained in:
Alexander Smorkalov
2025-03-11 16:38:05 +03:00
306 changed files with 9362 additions and 19775 deletions
+25
View File
@@ -909,4 +909,29 @@ PERF_TEST_P(ExpFixture, Exp,
SANITY_CHECK_NOTHING();
}
//////////////LOG////////////
typedef Size_MatType LogFixture;
PERF_TEST_P(LogFixture, Log,
testing::Combine(testing::Values(TYPICAL_MAT_SIZES), testing::Values(CV_32F, CV_64F)))
{
cv::Size size = std::get<0>(GetParam());
int type = std::get<1>(GetParam());
cv::Mat src(size, type);
cv::Mat dst(size, type);
declare.in(src).out(dst);
cv::randu(src, 1e-5, 1e5);
TEST_CYCLE()
{
cv::log(src, dst);
}
SANITY_CHECK_NOTHING();
}
} // namespace