projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18c4819
)
minor fix : doesn't save outliers
author
Vladislav Vinogradov
<no@email>
Tue, 14 Feb 2012 11:48:40 +0000
(11:48 +0000)
committer
Vladislav Vinogradov
<no@email>
Tue, 14 Feb 2012 11:48:40 +0000
(11:48 +0000)
modules/gpu/src/cuda/pyrlk.cu
patch
|
blob
|
history
diff --git
a/modules/gpu/src/cuda/pyrlk.cu
b/modules/gpu/src/cuda/pyrlk.cu
index
e40ade8
..
32dabb1
100644
(file)
--- a/
modules/gpu/src/cuda/pyrlk.cu
+++ b/
modules/gpu/src/cuda/pyrlk.cu
@@
-535,7
+535,7
@@
namespace cv { namespace gpu { namespace device
for (int k = 0; k < c_iters; ++k)
\r
{
\r
if (nextPt.x < -c_winSize_x || nextPt.x >= cols || nextPt.y < -c_winSize_y || nextPt.y >= rows)
\r
-
break
;
\r
+
return
;
\r
\r
float b1 = 0;
\r
float b2 = 0;
\r
@@
-555,7
+555,7
@@
namespace cv { namespace gpu { namespace device
\r
b1 *= SCALE;
\r
b2 *= SCALE;
\r
-
\r
+
\r
float2 delta;
\r
delta.x = A12 * b2 - A22 * b1;
\r
delta.y = A12 * b1 - A11 * b2;
\r