Merge pull request #1158 from berak:patch-1

pull/1162/head
Maksim Shabunin 8 years ago
commit 6bca9e842a
  1. 2
      modules/xphoto/src/bm3d_denoising_invoker_commons.hpp

@ -89,7 +89,7 @@ inline static void hardThreshold2D(T *dst, T *thrMap, const int &templateWindowS
{
for (int i = 1; i < templateWindowSizeSq; ++i)
{
if (std::abs(dst[i] < thrMap[i]))
if (std::abs(dst[i]) < thrMap[i])
dst[i] = 0;
}
}

Loading…
Cancel
Save