Merge pull request #2276 from developedby:patch-2

pull/2282/head^2
Alexander Alekhin 6 years ago
commit 766bf7723a
  1. 2
      modules/ximgproc/src/l0_smooth.cpp

@ -252,6 +252,8 @@ namespace cv
CV_Assert(!S.empty()); CV_Assert(!S.empty());
CV_Assert(S.depth() == CV_8U || S.depth() == CV_16U CV_Assert(S.depth() == CV_8U || S.depth() == CV_16U
|| S.depth() == CV_32F || S.depth() == CV_64F); || S.depth() == CV_32F || S.depth() == CV_64F);
CV_Assert(lambda > 0.0);
CV_Assert(kappa > 1.0);
dst.create(src.size(), src.type()); dst.create(src.size(), src.type());

Loading…
Cancel
Save