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:
3cfa694
)
fix for ORB tests
author
Marina Kolpakova
<no@email>
Fri, 1 Jun 2012 15:15:58 +0000
(15:15 +0000)
committer
Marina Kolpakova
<no@email>
Fri, 1 Jun 2012 15:15:58 +0000
(15:15 +0000)
modules/gpu/src/orb.cpp
patch
|
blob
|
history
diff --git
a/modules/gpu/src/orb.cpp
b/modules/gpu/src/orb.cpp
index
f49caf0
..
2621398
100644
(file)
--- a/
modules/gpu/src/orb.cpp
+++ b/
modules/gpu/src/orb.cpp
@@
-513,7
+513,10
@@
void cv::gpu::ORB_GPU::buildScalePyramids(const GpuMat& image, const GpuMat& mas
resize(imagePyr_[level - 1], imagePyr_[level], sz, 0, 0, INTER_LINEAR);
\r
\r
if (!mask.empty())
\r
+ {
\r
resize(maskPyr_[level - 1], maskPyr_[level], sz, 0, 0, INTER_LINEAR);
\r
+ threshold(maskPyr_[level], maskPyr_[level], 254, 0, THRESH_TOZERO);
\r
+ }
\r
}
\r
}
\r
else
\r