Commit a6bc747a authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

minor fix : doesn't save outliers

parent 18c48196
...@@ -535,7 +535,7 @@ namespace cv { namespace gpu { namespace device ...@@ -535,7 +535,7 @@ namespace cv { namespace gpu { namespace device
for (int k = 0; k < c_iters; ++k) for (int k = 0; k < c_iters; ++k)
{ {
if (nextPt.x < -c_winSize_x || nextPt.x >= cols || nextPt.y < -c_winSize_y || nextPt.y >= rows) if (nextPt.x < -c_winSize_x || nextPt.x >= cols || nextPt.y < -c_winSize_y || nextPt.y >= rows)
break; return;
float b1 = 0; float b1 = 0;
float b2 = 0; float b2 = 0;
......
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