feat: enhance colorizeDepthImage function to accept colorizer mode parameter

This commit is contained in:
ob-yalian
2026-08-19 18:05:27 +08:00
parent 7e3adade65
commit 54d29f15d8
2 changed files with 14 additions and 6 deletions
@@ -558,7 +558,7 @@ class OBCameraNode {
void publishRawDepthImage(const std::shared_ptr<ob::Frame>& depth_frame);
cv::Mat colorizeDepthImage(const cv::Mat& depth_image);
cv::Mat colorizeDepthImage(const cv::Mat& depth_image, const std::string& colorizer_mode);
std::shared_ptr<ob::Frame> processDepthFrameFilter(std::shared_ptr<ob::Frame>& frame);