#include "ed_sensor_integration/kinect/segmodules/sam_seg_module.h"
#include <filesystem>
#include <utility>
#include <sam_onnx_ros/segmentation.hpp>
#include <sensor_msgs/Image.h>
#include <sensor_msgs/PointCloud2.h>
#include <yolo_onnx_ros/detection.hpp>
#include <chrono>
#include <cstdio>
#include <limits>
Go to the source code of this file.
◆ overlayMasksOnImage_()
| void overlayMasksOnImage_ |
( |
cv::Mat & |
rgb, |
|
|
const std::vector< cv::Mat > & |
masks |
|
) |
| |
Overlay segmentation masks on the RGB image for visualization purposes.
- Parameters
-
| rgb | The RGB image to overlay masks on. |
| masks | The segmentation masks to overlay. |
Definition at line 191 of file sam_seg_module.cpp.