$search
Disparity based segmentation node. More...
#include <ros/ros.h>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <stereo_msgs/DisparityImage.h>
#include <dynamic_reconfigure/server.h>
#include <pal_vision_segmentation/DisparitySegmentConfig.h>
Go to the source code of this file.
Functions | |
void | camInfoCallback (const sensor_msgs::CameraInfo &msg) |
void | constMaskCb (const stereo_msgs::DisparityImageConstPtr &msg) |
void | disparityCb (const stereo_msgs::DisparityImageConstPtr &msg) |
void | imageCb (const sensor_msgs::ImageConstPtr &msg) |
int | main (int argc, char *argv[]) |
void | reconf_callback (pal_vision_segmentation::DisparitySegmentConfig &config, uint32_t level) |
Variables | |
ros::Subscriber | cam_info_sub |
image_transport::CameraPublisher | cam_pub |
sensor_msgs::CameraInfo | camera_info |
int | dilate_iterations |
int | dilate_size |
int | erode_iterations |
int | erode_size |
cv::Mat | image_rect |
cv::Mat | mask |
image_transport::Publisher | mask_pub |
int | scale_factor |
int | threshold |
Disparity based segmentation node.
Definition in file disparity_segmentation.cpp.
void camInfoCallback | ( | const sensor_msgs::CameraInfo & | msg | ) |
Definition at line 209 of file disparity_segmentation.cpp.
void constMaskCb | ( | const stereo_msgs::DisparityImageConstPtr & | msg | ) |
Definition at line 159 of file disparity_segmentation.cpp.
void disparityCb | ( | const stereo_msgs::DisparityImageConstPtr & | msg | ) |
Definition at line 70 of file disparity_segmentation.cpp.
void imageCb | ( | const sensor_msgs::ImageConstPtr & | msg | ) |
Definition at line 184 of file disparity_segmentation.cpp.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 232 of file disparity_segmentation.cpp.
void reconf_callback | ( | pal_vision_segmentation::DisparitySegmentConfig & | config, | |
uint32_t | level | |||
) |
Definition at line 200 of file disparity_segmentation.cpp.
Definition at line 66 of file disparity_segmentation.cpp.
Definition at line 64 of file disparity_segmentation.cpp.
Definition at line 65 of file disparity_segmentation.cpp.
Definition at line 58 of file disparity_segmentation.cpp.
int dilate_size |
Definition at line 59 of file disparity_segmentation.cpp.
int erode_iterations |
Definition at line 60 of file disparity_segmentation.cpp.
int erode_size |
Definition at line 61 of file disparity_segmentation.cpp.
cv::Mat image_rect |
Definition at line 63 of file disparity_segmentation.cpp.
cv::Mat mask |
Definition at line 67 of file disparity_segmentation.cpp.
Definition at line 56 of file disparity_segmentation.cpp.
int scale_factor |
Definition at line 62 of file disparity_segmentation.cpp.
int threshold |
Definition at line 57 of file disparity_segmentation.cpp.