Commit 6326739b authored by yao's avatar yao

a bug fix in stereo_match sample

parent f1c549fa
...@@ -192,10 +192,9 @@ void App::run() ...@@ -192,10 +192,9 @@ void App::run()
csbp(d_left, d_right, d_disp); csbp(d_left, d_right, d_disp);
break; break;
} }
workEnd();
// Show results // Show results
d_disp.download(disp); d_disp.download(disp);
workEnd();
if (method != BM) if (method != BM)
{ {
disp.convertTo(disp, 0); disp.convertTo(disp, 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