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

#include <background_substraction.h>

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

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

Protected Attributes

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

Detailed Description

Definition at line 89 of file background_substraction.h.

Member Typedef Documentation

◆ Config

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

Definition at line 125 of file background_substraction.h.

Constructor & Destructor Documentation

◆ BackgroundSubstraction()

jsk_perception::BackgroundSubstraction::BackgroundSubstraction ( )
inline

Definition at line 124 of file background_substraction.h.

Member Function Documentation

◆ configCallback()

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

Definition at line 89 of file background_substraction_nodelet.cpp.

◆ onInit()

void jsk_perception::BackgroundSubstraction::onInit ( )
protectedvirtual

Definition at line 74 of file background_substraction_nodelet.cpp.

◆ subscribe()

void jsk_perception::BackgroundSubstraction::subscribe ( )
protectedvirtual

Definition at line 120 of file background_substraction_nodelet.cpp.

◆ substract()

void jsk_perception::BackgroundSubstraction::substract ( const sensor_msgs::Image::ConstPtr &  image_msg)
protectedvirtual

Definition at line 133 of file background_substraction_nodelet.cpp.

◆ unsubscribe()

void jsk_perception::BackgroundSubstraction::unsubscribe ( )
protectedvirtual

Definition at line 128 of file background_substraction_nodelet.cpp.

Member Data Documentation

◆ background_ratio_

double jsk_perception::BackgroundSubstraction::background_ratio_
protected

Definition at line 156 of file background_substraction.h.

◆ bg_

cv::BackgroundSubtractorMOG2 jsk_perception::BackgroundSubstraction::bg_
protected

Definition at line 152 of file background_substraction.h.

◆ detect_shadows_

bool jsk_perception::BackgroundSubstraction::detect_shadows_
protected

Definition at line 154 of file background_substraction.h.

◆ image_pub_

ros::Publisher jsk_perception::BackgroundSubstraction::image_pub_
protected

Definition at line 139 of file background_substraction.h.

◆ it_

boost::shared_ptr<image_transport::ImageTransport> jsk_perception::BackgroundSubstraction::it_
protected

Definition at line 141 of file background_substraction.h.

◆ mutex_

boost::mutex jsk_perception::BackgroundSubstraction::mutex_
protected

Definition at line 143 of file background_substraction.h.

◆ nmixtures_

int jsk_perception::BackgroundSubstraction::nmixtures_
protected

Definition at line 155 of file background_substraction.h.

◆ srv_

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

Definition at line 142 of file background_substraction.h.

◆ sub_

image_transport::Subscriber jsk_perception::BackgroundSubstraction::sub_
protected

Definition at line 140 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 Fri May 16 2025 03:11:17