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

(cherry picked from commit 2272a58769)
pull/2570/head
Seunghoon Park 11 years ago committed by Alexander Smorkalov
parent 7868733002
commit 27a8bb471b
  1. 2
      modules/imgproc/test/test_filter.cpp

@ -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…
Cancel
Save