minor fix : doesn't save outliers

This commit is contained in:
Vladislav Vinogradov 2012-02-14 11:48:40 +00:00
parent 18c48196f8
commit a6bc747a54

View File

@ -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;