1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Merge branch 4.x

This commit is contained in:
Alexander Smorkalov
2026-03-19 09:19:35 +03:00
67 changed files with 1881 additions and 555 deletions
+12
View File
@@ -3925,5 +3925,17 @@ TEST_P(Core_MaskTypeTest, MeanStdDev)
INSTANTIATE_TEST_CASE_P(/**/, Core_MaskTypeTest, MaskType::all());
// Still fails in 5.x: https://github.com/opencv/opencv/issues/28557
TEST(Core_Arithm, DISABLED_mul_overflow_28557)
{
uint16_t data[] = {5000, 60000, 5000, 60000, 5000, 60000};
cv::Mat m(1, 6, CV_16U, data);
cv::Mat res = m.mul(m);
for (int i = 0; i < 6; i++)
{
EXPECT_EQ(65535, res.at<uint16_t>(0, i));
}
}
}} // namespace