#include <grabcut.h>
Public Types | |
typedef GrabCutConfig | Config |
typedef boost::shared_ptr < GrabCut > | Ptr |
typedef message_filters::sync_policies::ExactTime < sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::Image > | SyncPolicy |
Public Member Functions | |
GrabCut () | |
Protected Member Functions | |
virtual void | configCallback (Config &config, uint32_t level) |
virtual void | onInit () |
virtual void | segment (const sensor_msgs::Image::ConstPtr &image_msg, const sensor_msgs::Image::ConstPtr &foreground_msg, const sensor_msgs::Image::ConstPtr &background_msg) |
virtual void | subscribe () |
virtual void | unsubscribe () |
virtual void | updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat) |
Protected Attributes | |
boost::mutex | mutex_ |
ros::Publisher | pub_background_ |
ros::Publisher | pub_background_mask_ |
ros::Publisher | pub_foreground_ |
ros::Publisher | pub_foreground_mask_ |
boost::shared_ptr < dynamic_reconfigure::Server < Config > > | srv_ |
message_filters::Subscriber < sensor_msgs::Image > | sub_background_ |
message_filters::Subscriber < sensor_msgs::Image > | sub_foreground_ |
message_filters::Subscriber < sensor_msgs::Image > | sub_image_ |
boost::shared_ptr < message_filters::Synchronizer < SyncPolicy > > | sync_ |
bool | use_probable_pixel_seed_ |
typedef GrabCutConfig jsk_perception::GrabCut::Config |
typedef boost::shared_ptr<GrabCut> jsk_perception::GrabCut::Ptr |
typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::Image> jsk_perception::GrabCut::SyncPolicy |
jsk_perception::GrabCut::GrabCut | ( | ) | [inline] |
void jsk_perception::GrabCut::configCallback | ( | Config & | config, |
uint32_t | level | ||
) | [protected, virtual] |
Definition at line 172 of file grabcut_nodelet.cpp.
void jsk_perception::GrabCut::onInit | ( | ) | [protected, virtual] |
Definition at line 43 of file grabcut_nodelet.cpp.
void jsk_perception::GrabCut::segment | ( | const sensor_msgs::Image::ConstPtr & | image_msg, |
const sensor_msgs::Image::ConstPtr & | foreground_msg, | ||
const sensor_msgs::Image::ConstPtr & | background_msg | ||
) | [protected, virtual] |
Definition at line 89 of file grabcut_nodelet.cpp.
void jsk_perception::GrabCut::subscribe | ( | ) | [protected, virtual] |
Definition at line 62 of file grabcut_nodelet.cpp.
void jsk_perception::GrabCut::unsubscribe | ( | ) | [protected, virtual] |
Definition at line 73 of file grabcut_nodelet.cpp.
void jsk_perception::GrabCut::updateDiagnostic | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [protected, virtual] |
Definition at line 80 of file grabcut_nodelet.cpp.
boost::mutex jsk_perception::GrabCut::mutex_ [protected] |
boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_perception::GrabCut::srv_ [protected] |
message_filters::Subscriber<sensor_msgs::Image> jsk_perception::GrabCut::sub_background_ [protected] |
message_filters::Subscriber<sensor_msgs::Image> jsk_perception::GrabCut::sub_foreground_ [protected] |
message_filters::Subscriber<sensor_msgs::Image> jsk_perception::GrabCut::sub_image_ [protected] |
boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_perception::GrabCut::sync_ [protected] |
bool jsk_perception::GrabCut::use_probable_pixel_seed_ [protected] |