fixing bug #3345. don't use BORDER_ISOLATED alone. it should be combined with some border type
This commit is contained in:
parent
b036fc756a
commit
2272a58769
@ -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…
x
Reference in New Issue
Block a user