Skip to content

Commit b4074ae

Browse files
author
Xiang Gao
authored
Merge pull request #120 from gaunthan/patch-1
Fix bug: plotDepth() return value.
2 parents 7cb3855 + 1480629 commit b4074ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch13/dense_monocular/dense_mapping.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ inline double getBilinearInterpolatedValue( const Mat& img, const Vector2d& pt )
9696
// ------------------------------------------------------------------
9797
// 一些小工具
9898
// 显示估计的深度图
99-
bool plotDepth( const Mat& depth );
99+
void plotDepth( const Mat& depth );
100100

101101
// 像素到相机坐标系
102102
inline Vector3d px2cam ( const Vector2d px ) {
@@ -389,7 +389,7 @@ bool updateDepthFilter(
389389
}
390390

391391
// 后面这些太简单我就不注释了(其实是因为懒)
392-
bool plotDepth(const Mat& depth)
392+
void plotDepth(const Mat& depth)
393393
{
394394
imshow( "depth", depth*0.4 );
395395
waitKey(1);

0 commit comments

Comments
 (0)