Public Types | |
typedef jsk_perception::ColorHistogramConfig | Config |
typedef message_filters::sync_policies::ApproximateTime < sensor_msgs::Image, geometry_msgs::PolygonStamped > | SyncPolicy |
Protected Member Functions | |
void | configCallback (Config &new_config, uint32_t level) |
virtual void | convertHistogramToMsg (const cv::Mat &hist, int size, jsk_pcl_ros::ColorHistogram &msg) |
virtual void | extract (const sensor_msgs::Image::ConstPtr &image, const geometry_msgs::PolygonStamped::ConstPtr &rectangle) |
virtual void | onInit () |
virtual void | processBGR (const cv::Mat &bgr_image, const std_msgs::Header &header) |
virtual void | processHSI (const cv::Mat &bgr_image, const std_msgs::Header &header) |
Protected Attributes | |
ros::Publisher | b_hist_pub_ |
int | b_hist_size_ |
ros::Publisher | g_hist_pub_ |
int | g_hist_size_ |
ros::Publisher | h_hist_pub_ |
int | h_hist_size_ |
ros::Publisher | i_hist_pub_ |
int | i_hist_size_ |
image_transport::SubscriberFilter | image_sub_ |
boost::shared_ptr < image_transport::ImageTransport > | it_ |
boost::mutex | mutex_ |
ros::NodeHandle | nh_ |
ros::NodeHandle | pnh_ |
ros::Publisher | r_hist_pub_ |
int | r_hist_size_ |
message_filters::Subscriber < geometry_msgs::PolygonStamped > | rectangle_sub_ |
ros::Publisher | s_hist_pub_ |
int | s_hist_size_ |
boost::shared_ptr < dynamic_reconfigure::Server < Config > > | srv_ |
boost::shared_ptr < message_filters::Synchronizer < SyncPolicy > > | sync_ |
Definition at line 54 of file color_histogram.cpp.
typedef jsk_perception::ColorHistogramConfig jsk_perception::ColorHistogram::Config |
Definition at line 59 of file color_histogram.cpp.
typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::Image, geometry_msgs::PolygonStamped > jsk_perception::ColorHistogram::SyncPolicy |
Definition at line 58 of file color_histogram.cpp.
void jsk_perception::ColorHistogram::configCallback | ( | Config & | new_config, |
uint32_t | level | ||
) | [inline, protected] |
Definition at line 73 of file color_histogram.cpp.
virtual void jsk_perception::ColorHistogram::convertHistogramToMsg | ( | const cv::Mat & | hist, |
int | size, | ||
jsk_pcl_ros::ColorHistogram & | msg | ||
) | [inline, protected, virtual] |
Definition at line 107 of file color_histogram.cpp.
virtual void jsk_perception::ColorHistogram::extract | ( | const sensor_msgs::Image::ConstPtr & | image, |
const geometry_msgs::PolygonStamped::ConstPtr & | rectangle | ||
) | [inline, protected, virtual] |
Definition at line 184 of file color_histogram.cpp.
virtual void jsk_perception::ColorHistogram::onInit | ( | ) | [inline, protected, virtual] |
Implements nodelet::Nodelet.
Definition at line 83 of file color_histogram.cpp.
virtual void jsk_perception::ColorHistogram::processBGR | ( | const cv::Mat & | bgr_image, |
const std_msgs::Header & | header | ||
) | [inline, protected, virtual] |
Definition at line 118 of file color_histogram.cpp.
virtual void jsk_perception::ColorHistogram::processHSI | ( | const cv::Mat & | bgr_image, |
const std_msgs::Header & | header | ||
) | [inline, protected, virtual] |
Definition at line 149 of file color_histogram.cpp.
Definition at line 67 of file color_histogram.cpp.
int jsk_perception::ColorHistogram::b_hist_size_ [protected] |
Definition at line 69 of file color_histogram.cpp.
Definition at line 67 of file color_histogram.cpp.
int jsk_perception::ColorHistogram::g_hist_size_ [protected] |
Definition at line 69 of file color_histogram.cpp.
Definition at line 67 of file color_histogram.cpp.
int jsk_perception::ColorHistogram::h_hist_size_ [protected] |
Definition at line 69 of file color_histogram.cpp.
Definition at line 67 of file color_histogram.cpp.
int jsk_perception::ColorHistogram::i_hist_size_ [protected] |
Definition at line 69 of file color_histogram.cpp.
Definition at line 63 of file color_histogram.cpp.
boost::shared_ptr<image_transport::ImageTransport> jsk_perception::ColorHistogram::it_ [protected] |
Definition at line 66 of file color_histogram.cpp.
boost::mutex jsk_perception::ColorHistogram::mutex_ [protected] |
Definition at line 71 of file color_histogram.cpp.
ros::NodeHandle jsk_perception::ColorHistogram::nh_ [protected] |
Reimplemented from nodelet::Nodelet.
Definition at line 65 of file color_histogram.cpp.
ros::NodeHandle jsk_perception::ColorHistogram::pnh_ [protected] |
Definition at line 65 of file color_histogram.cpp.
Definition at line 67 of file color_histogram.cpp.
int jsk_perception::ColorHistogram::r_hist_size_ [protected] |
Definition at line 69 of file color_histogram.cpp.
message_filters::Subscriber<geometry_msgs::PolygonStamped> jsk_perception::ColorHistogram::rectangle_sub_ [protected] |
Definition at line 64 of file color_histogram.cpp.
Definition at line 67 of file color_histogram.cpp.
int jsk_perception::ColorHistogram::s_hist_size_ [protected] |
Definition at line 69 of file color_histogram.cpp.
boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_perception::ColorHistogram::srv_ [protected] |
Definition at line 62 of file color_histogram.cpp.
boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_perception::ColorHistogram::sync_ [protected] |
Definition at line 61 of file color_histogram.cpp.