#include <skeletonization.h>
Public Member Functions | |
virtual void | imageCallback (const sensor_msgs::Image::ConstPtr &) |
Skeletonization () | |
virtual void | skeletonization (cv::Mat &) |
Protected Member Functions | |
virtual void | iterativeThinning (cv::Mat &, int) |
virtual void | onInit () |
virtual void | subscribe () |
virtual void | unsubscribe () |
Protected Attributes | |
boost::mutex | mutex_ |
ros::Publisher | pub_image_ |
ros::Subscriber | sub_ |
Private Types | |
enum | { EVEN, ODD } |
Private Attributes | |
int | num_threads_ |
Definition at line 56 of file skeletonization.h.
anonymous enum [private] |
Definition at line 75 of file skeletonization.h.
jsk_perception::Skeletonization::Skeletonization | ( | ) | [inline] |
Definition at line 59 of file skeletonization.h.
void jsk_perception::Skeletonization::imageCallback | ( | const sensor_msgs::Image::ConstPtr & | image_msg | ) | [virtual] |
Definition at line 63 of file skeletonization_nodelet.cpp.
void jsk_perception::Skeletonization::iterativeThinning | ( | cv::Mat & | img, |
int | iter | ||
) | [protected, virtual] |
Definition at line 107 of file skeletonization_nodelet.cpp.
void jsk_perception::Skeletonization::onInit | ( | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 41 of file skeletonization_nodelet.cpp.
void jsk_perception::Skeletonization::skeletonization | ( | cv::Mat & | image | ) | [virtual] |
Definition at line 84 of file skeletonization_nodelet.cpp.
void jsk_perception::Skeletonization::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 50 of file skeletonization_nodelet.cpp.
void jsk_perception::Skeletonization::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 57 of file skeletonization_nodelet.cpp.
boost::mutex jsk_perception::Skeletonization::mutex_ [protected] |
Definition at line 70 of file skeletonization.h.
int jsk_perception::Skeletonization::num_threads_ [private] |
Definition at line 76 of file skeletonization.h.
Definition at line 72 of file skeletonization.h.
ros::Subscriber jsk_perception::Skeletonization::sub_ [protected] |
Definition at line 71 of file skeletonization.h.