mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
This commit is contained in:
@@ -2235,4 +2235,13 @@ TEST(Imgproc_Sobel, s16_regression_13506)
|
||||
Sobel(src, dst, CV_16S, 0, 1, 5);
|
||||
ASSERT_EQ(0.0, cvtest::norm(dst, ref, NORM_INF));
|
||||
}
|
||||
|
||||
TEST(Imgproc_Pyrdown, issue_12961)
|
||||
{
|
||||
Mat src(9, 9, CV_8UC1, Scalar::all(0));
|
||||
Mat dst;
|
||||
cv::pyrDown(src, dst);
|
||||
ASSERT_EQ(0.0, cv::norm(dst));
|
||||
}
|
||||
|
||||
}} // namespace
|
||||
|
||||
Reference in New Issue
Block a user