From 1480629e416fdaa8c3fba216e896f4a3dd6849fc Mon Sep 17 00:00:00 2001 From: Gaunthan Huang Date: Wed, 11 Jul 2018 09:56:03 +0800 Subject: [PATCH] Fix bug: plotDepth() return value. --- ch13/dense_monocular/dense_mapping.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ch13/dense_monocular/dense_mapping.cpp b/ch13/dense_monocular/dense_mapping.cpp index 9cdc2e338..fffedd31f 100644 --- a/ch13/dense_monocular/dense_mapping.cpp +++ b/ch13/dense_monocular/dense_mapping.cpp @@ -96,7 +96,7 @@ inline double getBilinearInterpolatedValue( const Mat& img, const Vector2d& pt ) // ------------------------------------------------------------------ // 一些小工具 // 显示估计的深度图 -bool plotDepth( const Mat& depth ); +void plotDepth( const Mat& depth ); // 像素到相机坐标系 inline Vector3d px2cam ( const Vector2d px ) { @@ -389,7 +389,7 @@ bool updateDepthFilter( } // 后面这些太简单我就不注释了(其实是因为懒) -bool plotDepth(const Mat& depth) +void plotDepth(const Mat& depth) { imshow( "depth", depth*0.4 ); waitKey(1);