37 #ifndef JSK_PERCEPTION_RECT_TO_MASK_IMAGE_H_ 38 #define JSK_PERCEPTION_RECT_TO_MASK_IMAGE_H_ 41 #include <geometry_msgs/PolygonStamped.h> 42 #include <sensor_msgs/Image.h> 43 #include <sensor_msgs/CameraInfo.h> 44 #include <opencv2/opencv.hpp> 57 const geometry_msgs::PolygonStamped::ConstPtr& rect_msg);
59 const sensor_msgs::CameraInfo::ConstPtr&
info_msg);
ros::Subscriber sub_info_
virtual void convert(const geometry_msgs::PolygonStamped::ConstPtr &rect_msg)
virtual void unsubscribe()
virtual void infoCallback(const sensor_msgs::CameraInfo::ConstPtr &info_msg)
sensor_msgs::CameraInfo::ConstPtr camera_info_