Skip to content

!Add new function => disparity map to depth map#5

Open
pengguanjun wants to merge 1 commit intoethan-li-coding:masterfrom
pengguanjun:patch-2
Open

!Add new function => disparity map to depth map#5
pengguanjun wants to merge 1 commit intoethan-li-coding:masterfrom
pengguanjun:patch-2

Conversation

@pengguanjun
Copy link

fx: focal length

/显示深度图/
void disp2DepthMap(const float32* disp_map, cv::Mat depth_mat, const float32& fx, const float32& baseline, const sint32& width, const sint32& height, const std::string& name);
/保存深度图/
void SaveDepthMap(const float32* disp_map, const float32& fx, const float32& baseline, const sint32& width, const sint32& height, const std::string& path);
/保存深度点云/
void SaveDepthCloud(const uint8* img_bytes, const float32* disp_map, const float32& fx, const float32& baseline, const sint32& width, const sint32& height, const std::string& path);

 fx: focal length 

/*显示深度图*/
void disp2DepthMap(const float32* disp_map, cv::Mat depth_mat, const float32& fx, const float32& baseline, const sint32& width, const sint32& height, const std::string& name);
/*保存深度图*/
void SaveDepthMap(const float32* disp_map, const float32& fx, const float32& baseline, const sint32& width, const sint32& height, const std::string& path);
/*保存深度点云*/
void SaveDepthCloud(const uint8* img_bytes, const float32* disp_map, const float32& fx, const float32& baseline, const sint32& width, const sint32& height, const std::string& path);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant