ed_sensor_integration
include
ed_sensor_integration
kinect
segmodules
floodfill_sm.h
Go to the documentation of this file.
1
#ifndef ed_sensor_integration_kinect_floodfill_sm_h_
2
#define ed_sensor_integration_kinect_floodfill_sm_h_
3
4
#include "
ed_sensor_integration/kinect/segmodules/rgbd_seg_module.h
"
5
6
#include <opencv2/core/core.hpp>
7
8
namespace
ed
9
{
10
11
class
FloodfillSM
:
public
edKinect::RGBDSegModule
12
{
13
14
public
:
15
16
FloodfillSM
();
17
18
void
process
(
const
RGBDData
& rgbd_data,
std::vector<PointCloudMaskPtr>
& segments);
19
20
private
:
21
22
void
findBlobs
(cv::Mat&
depth_image
,
const
ImageMask
& mask,
std::vector<ImageMask>
& blobs);
23
bool
findBlob
(cv::Mat&
depth_image
,
const
cv::Mat& mask, cv::Point p,
int
label,
ImageMask
& blob);
24
25
26
};
27
28
}
29
30
#endif
std::vector
ed::RGBDData
ed::FloodfillSM
Definition:
floodfill_sm.h:11
ed::FloodfillSM::findBlobs
void findBlobs(cv::Mat &depth_image, const ImageMask &mask, std::vector< ImageMask > &blobs)
edKinect::RGBDSegModule
Definition:
rgbd_seg_module.h:18
ed::FloodfillSM::process
void process(const RGBDData &rgbd_data, std::vector< PointCloudMaskPtr > &segments)
ed::FloodfillSM::FloodfillSM
FloodfillSM()
rgbd_seg_module.h
ed::FloodfillSM::findBlob
bool findBlob(cv::Mat &depth_image, const cv::Mat &mask, cv::Point p, int label, ImageMask &blob)
ed::ImageMask
ed
depth_image
cv::Mat depth_image
Generated on Sun Feb 23 2025 04:34:57 for ed_sensor_integration by
1.8.17