Commit 2272a587 authored by Seunghoon Park's avatar Seunghoon Park

fixing bug #3345. don't use BORDER_ISOLATED alone. it should be combined with some border type

parent b036fc75
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment