Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_perception::GrabCut Class Reference

#include <grabcut.h>

Inheritance diagram for jsk_perception::GrabCut:
Inheritance graph
[legend]

Public Types

typedef GrabCutConfig Config
 
typedef boost::shared_ptr< GrabCutPtr
 
typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::Image > SyncPolicy
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 GrabCut ()
 
- Public Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
 DiagnosticNodelet (const std::string &name)
 
- Public Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
 ConnectionBasedNodelet ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

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 Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
virtual void cameraConnectionBaseCallback ()
 
virtual void cameraConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual void cameraInfoConnectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void imageConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual bool isSubscribed ()
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
virtual void warnOnInitPostProcessCalledCallback (const ros::WallTimerEvent &event)
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::stringgetName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

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_
 
- Protected Attributes inherited from jsk_topic_tools::DiagnosticNodelet
TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
const std::string name_
 
jsk_topic_tools::VitalChecker::Ptr vital_checker_
 
- Protected Attributes inherited from jsk_topic_tools::ConnectionBasedNodelet
bool always_subscribe_
 
std::vector< image_transport::CameraPublishercamera_publishers_
 
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
std::vector< image_transport::Publisherimage_publishers_
 
boost::shared_ptr< ros::NodeHandlenh_
 
bool on_init_post_process_called_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
bool subscribed_
 
ros::WallTimer timer_warn_never_subscribed_
 
ros::WallTimer timer_warn_on_init_post_process_called_
 
bool verbose_connection_
 

Detailed Description

Definition at line 52 of file grabcut.h.

Member Typedef Documentation

typedef GrabCutConfig jsk_perception::GrabCut::Config

Definition at line 55 of file grabcut.h.

Definition at line 61 of file grabcut.h.

typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::Image> jsk_perception::GrabCut::SyncPolicy

Definition at line 59 of file grabcut.h.

Constructor & Destructor Documentation

jsk_perception::GrabCut::GrabCut ( )
inline

Definition at line 62 of file grabcut.h.

Member Function Documentation

void jsk_perception::GrabCut::configCallback ( Config config,
uint32_t  level 
)
protectedvirtual

Definition at line 172 of file grabcut_nodelet.cpp.

void jsk_perception::GrabCut::onInit ( )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

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 
)
protectedvirtual

Definition at line 89 of file grabcut_nodelet.cpp.

void jsk_perception::GrabCut::subscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 62 of file grabcut_nodelet.cpp.

void jsk_perception::GrabCut::unsubscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 73 of file grabcut_nodelet.cpp.

void jsk_perception::GrabCut::updateDiagnostic ( diagnostic_updater::DiagnosticStatusWrapper stat)
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 80 of file grabcut_nodelet.cpp.

Member Data Documentation

boost::mutex jsk_perception::GrabCut::mutex_
protected

Definition at line 90 of file grabcut.h.

ros::Publisher jsk_perception::GrabCut::pub_background_
protected

Definition at line 82 of file grabcut.h.

ros::Publisher jsk_perception::GrabCut::pub_background_mask_
protected

Definition at line 84 of file grabcut.h.

ros::Publisher jsk_perception::GrabCut::pub_foreground_
protected

Definition at line 81 of file grabcut.h.

ros::Publisher jsk_perception::GrabCut::pub_foreground_mask_
protected

Definition at line 83 of file grabcut.h.

boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_perception::GrabCut::srv_
protected

Definition at line 89 of file grabcut.h.

message_filters::Subscriber<sensor_msgs::Image> jsk_perception::GrabCut::sub_background_
protected

Definition at line 88 of file grabcut.h.

message_filters::Subscriber<sensor_msgs::Image> jsk_perception::GrabCut::sub_foreground_
protected

Definition at line 87 of file grabcut.h.

message_filters::Subscriber<sensor_msgs::Image> jsk_perception::GrabCut::sub_image_
protected

Definition at line 86 of file grabcut.h.

boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_perception::GrabCut::sync_
protected

Definition at line 85 of file grabcut.h.

bool jsk_perception::GrabCut::use_probable_pixel_seed_
protected

Definition at line 95 of file grabcut.h.


The documentation for this class was generated from the following files:


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Mon May 3 2021 03:03:27