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:
69e6294
)
fixed test with small size gpu memory
author
Andrey Morozov
<no@email>
Sat, 21 Aug 2010 18:30:14 +0000
(18:30 +0000)
committer
Andrey Morozov
<no@email>
Sat, 21 Aug 2010 18:30:14 +0000
(18:30 +0000)
tests/gpu/src/stereo_bp.cpp
patch
|
blob
|
history
diff --git
a/tests/gpu/src/stereo_bp.cpp
b/tests/gpu/src/stereo_bp.cpp
index
7ad2ab0
..
00ee0e8
100644
(file)
--- a/
tests/gpu/src/stereo_bp.cpp
+++ b/
tests/gpu/src/stereo_bp.cpp
@@
-63,7
+63,7
@@
void CV_GpuStereoBP::run(int )
cv::Mat img_template = cv::imread(std::string(ts->get_data_path()) + "stereobp/aloe-disp.png", 0);
cv::gpu::GpuMat disp;
- cv::gpu::StereoBeliefPropagation bpm(
128, 8, 4, 25, 0.1f, 15, 1
);
+ cv::gpu::StereoBeliefPropagation bpm(
64, 8, 2, 25, 0.1f, 15, 1, CV_16S
);
bpm(cv::gpu::GpuMat(img_l), cv::gpu::GpuMat(img_r), disp);
@@
-77,3
+77,4
@@
void CV_GpuStereoBP::run(int )
CV_GpuStereoBP CV_GpuStereoBP_test;
+