mirror of
https://github.com/opencv/opencv.git
synced 2025-01-12 15:49:32 +08:00
fixing bug #3345. don't use BORDER_ISOLATED alone. it should be combined with some border type
(cherry picked from commit 2272a58769
)
This commit is contained in:
parent
7868733002
commit
27a8bb471b
@ -1901,7 +1901,7 @@ TEST(Imgproc_Blur, borderTypes)
|
||||
EXPECT_EQ(227, dst.at<uchar>(0, 0));
|
||||
|
||||
// should work like BORDER_ISOLATED
|
||||
blur(src_roi, dst, kernelSize, Point(-1, -1), BORDER_ISOLATED);
|
||||
blur(src_roi, dst, kernelSize, Point(-1, -1), BORDER_REPLICATE | BORDER_ISOLATED);
|
||||
EXPECT_EQ(0, dst.at<uchar>(0, 0));
|
||||
|
||||
/// ksize <= src_roi.size()
|
||||
|
Loading…
Reference in New Issue
Block a user