Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
jsk_perception::BackgroundSubstraction Class Reference

#include <background_substraction.h>

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

List of all members.

Public Types

typedef
jsk_perception::BackgroundSubstractionConfig 
Config

Public Member Functions

 BackgroundSubstraction ()

Protected Member Functions

virtual void configCallback (Config &config, uint32_t level)
virtual void onInit ()
virtual void subscribe ()
virtual void substract (const sensor_msgs::Image::ConstPtr &image_msg)
virtual void unsubscribe ()
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)

Protected Attributes

double background_ratio_
cv::BackgroundSubtractorMOG2 bg_
bool detect_shadows_
ros::Publisher image_pub_
boost::shared_ptr
< image_transport::ImageTransport
it_
boost::mutex mutex_
int nmixtures_
boost::shared_ptr
< dynamic_reconfigure::Server
< Config > > 
srv_
image_transport::Subscriber sub_

Detailed Description

Definition at line 54 of file background_substraction.h.


Member Typedef Documentation

typedef jsk_perception::BackgroundSubstractionConfig jsk_perception::BackgroundSubstraction::Config

Definition at line 58 of file background_substraction.h.


Constructor & Destructor Documentation

Definition at line 57 of file background_substraction.h.


Member Function Documentation

void jsk_perception::BackgroundSubstraction::configCallback ( Config config,
uint32_t  level 
) [protected, virtual]

Definition at line 57 of file background_substraction_nodelet.cpp.

void jsk_perception::BackgroundSubstraction::onInit ( ) [protected, virtual]

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 42 of file background_substraction_nodelet.cpp.

void jsk_perception::BackgroundSubstraction::substract ( const sensor_msgs::Image::ConstPtr &  image_msg) [protected, virtual]

Definition at line 115 of file background_substraction_nodelet.cpp.

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 101 of file background_substraction_nodelet.cpp.


Member Data Documentation

Definition at line 91 of file background_substraction.h.

cv::BackgroundSubtractorMOG2 jsk_perception::BackgroundSubstraction::bg_ [protected]

Definition at line 87 of file background_substraction.h.

Definition at line 89 of file background_substraction.h.

Definition at line 74 of file background_substraction.h.

Definition at line 76 of file background_substraction.h.

Definition at line 78 of file background_substraction.h.

Definition at line 90 of file background_substraction.h.

boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_perception::BackgroundSubstraction::srv_ [protected]

Definition at line 77 of file background_substraction.h.

Definition at line 75 of file background_substraction.h.


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


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Sun Oct 8 2017 02:43:24