Skip to content

Commit

Permalink
Fix bug: plotDepth() return value.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaunthan authored Jul 11, 2018
1 parent 7cb3855 commit 1480629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ch13/dense_monocular/dense_mapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down Expand Up @@ -389,7 +389,7 @@ bool updateDepthFilter(
}

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

0 comments on commit 1480629

Please sign in to comment.