ed_sensor_integration
Classes | Functions
sam_seg_module.cpp File Reference
#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>
Include dependency graph for sam_seg_module.cpp:

Go to the source code of this file.

Classes

struct  SamSegPipeline::Impl
 

Functions

void overlayMasksOnImage_ (cv::Mat &rgb, const std::vector< cv::Mat > &masks)
 Overlay segmentation masks on the RGB image for visualization purposes. More...
 

Function Documentation

◆ overlayMasksOnImage_()

void overlayMasksOnImage_ ( cv::Mat &  rgb,
const std::vector< cv::Mat > &  masks 
)

Overlay segmentation masks on the RGB image for visualization purposes.

Parameters
rgbThe RGB image to overlay masks on.
masksThe segmentation masks to overlay.

Definition at line 191 of file sam_seg_module.cpp.