Template matchined 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 <dynamic_reconfigure/server.h>
#include <pal_vision_segmentation/TemplateSegmentConfig.h>
#include <pal_vision_segmentation/image_processing.h>
Go to the source code of this file.
Functions | |
void | imageCb (const sensor_msgs::ImageConstPtr &msg) |
int | main (int argc, char *argv[]) |
void | reconf_callback (pal_vision_segmentation::TemplateSegmentConfig &config, uint32_t level) |
Variables | |
int | coeffs_to_cancel |
image_transport::Publisher | debug_pub |
image_transport::Publisher | image_pub |
cv::Mat | image_rect |
image_transport::Publisher | mask_pub |
int | offset_x |
int | offset_y |
cv::Mat | raw_template |
cv::Mat | target_template |
int | window_height |
int | window_width |
Template matchined based segmentation node.
Definition in file template_segmentation.cpp.
void imageCb | ( | const sensor_msgs::ImageConstPtr & | msg | ) |
Definition at line 69 of file template_segmentation.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 161 of file template_segmentation.cpp.
void reconf_callback | ( | pal_vision_segmentation::TemplateSegmentConfig & | config, |
uint32_t | level | ||
) |
Definition at line 152 of file template_segmentation.cpp.
int coeffs_to_cancel |
Definition at line 60 of file template_segmentation.cpp.
Definition at line 63 of file template_segmentation.cpp.
Definition at line 62 of file template_segmentation.cpp.
cv::Mat image_rect |
Definition at line 61 of file template_segmentation.cpp.
Definition at line 57 of file template_segmentation.cpp.
int offset_x |
Definition at line 66 of file template_segmentation.cpp.
int offset_y |
Definition at line 66 of file template_segmentation.cpp.
cv::Mat raw_template |
Definition at line 65 of file template_segmentation.cpp.
cv::Mat target_template |
Definition at line 64 of file template_segmentation.cpp.
int window_height |
Definition at line 59 of file template_segmentation.cpp.
int window_width |
Definition at line 58 of file template_segmentation.cpp.