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

#include <single_channel_histogram.h>

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

Public Types

typedef SingleChannelHistogramConfig Config
 
typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::Image, sensor_msgs::Image > SyncPolicy
 

Public Member Functions

 SingleChannelHistogram ()
 
virtual ~SingleChannelHistogram ()
 

Protected Member Functions

virtual void compute (const sensor_msgs::Image::ConstPtr &msg)
 
virtual void compute (const sensor_msgs::Image::ConstPtr &msg, const sensor_msgs::Image::ConstPtr &mask_msg)
 
virtual void configCallback (Config &config, uint32_t level)
 
virtual void onInit ()
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 

Protected Attributes

int hist_size_
 
float max_value_
 
float min_value_
 
boost::mutex mutex_
 
ros::Publisher pub_
 
boost::shared_ptr< dynamic_reconfigure::Server< Config > > srv_
 
ros::Subscriber sub_
 
message_filters::Subscriber< sensor_msgs::Image > sub_image_
 
message_filters::Subscriber< sensor_msgs::Image > sub_mask_
 
boost::shared_ptr< message_filters::Synchronizer< SyncPolicy > > sync_
 
bool use_mask_
 

Detailed Description

Definition at line 86 of file single_channel_histogram.h.

Member Typedef Documentation

◆ Config

typedef SingleChannelHistogramConfig jsk_perception::SingleChannelHistogram::Config

Definition at line 124 of file single_channel_histogram.h.

◆ SyncPolicy

Definition at line 123 of file single_channel_histogram.h.

Constructor & Destructor Documentation

◆ SingleChannelHistogram()

jsk_perception::SingleChannelHistogram::SingleChannelHistogram ( )
inline

Definition at line 125 of file single_channel_histogram.h.

◆ ~SingleChannelHistogram()

jsk_perception::SingleChannelHistogram::~SingleChannelHistogram ( )
virtual

Definition at line 91 of file single_channel_histogram.cpp.

Member Function Documentation

◆ compute() [1/2]

void jsk_perception::SingleChannelHistogram::compute ( const sensor_msgs::Image::ConstPtr &  msg)
protectedvirtual

Definition at line 160 of file single_channel_histogram.cpp.

◆ compute() [2/2]

void jsk_perception::SingleChannelHistogram::compute ( const sensor_msgs::Image::ConstPtr &  msg,
const sensor_msgs::Image::ConstPtr &  mask_msg 
)
protectedvirtual

Definition at line 135 of file single_channel_histogram.cpp.

◆ configCallback()

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

Definition at line 166 of file single_channel_histogram.cpp.

◆ onInit()

void jsk_perception::SingleChannelHistogram::onInit ( )
protectedvirtual

Definition at line 76 of file single_channel_histogram.cpp.

◆ subscribe()

void jsk_perception::SingleChannelHistogram::subscribe ( )
protectedvirtual

Definition at line 102 of file single_channel_histogram.cpp.

◆ unsubscribe()

void jsk_perception::SingleChannelHistogram::unsubscribe ( )
protectedvirtual

Definition at line 124 of file single_channel_histogram.cpp.

Member Data Documentation

◆ hist_size_

int jsk_perception::SingleChannelHistogram::hist_size_
protected

Definition at line 146 of file single_channel_histogram.h.

◆ max_value_

float jsk_perception::SingleChannelHistogram::max_value_
protected

Definition at line 148 of file single_channel_histogram.h.

◆ min_value_

float jsk_perception::SingleChannelHistogram::min_value_
protected

Definition at line 147 of file single_channel_histogram.h.

◆ mutex_

boost::mutex jsk_perception::SingleChannelHistogram::mutex_
protected

Definition at line 145 of file single_channel_histogram.h.

◆ pub_

ros::Publisher jsk_perception::SingleChannelHistogram::pub_
protected

Definition at line 144 of file single_channel_histogram.h.

◆ srv_

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

Definition at line 141 of file single_channel_histogram.h.

◆ sub_

ros::Subscriber jsk_perception::SingleChannelHistogram::sub_
protected

Definition at line 143 of file single_channel_histogram.h.

◆ sub_image_

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

Definition at line 139 of file single_channel_histogram.h.

◆ sub_mask_

message_filters::Subscriber<sensor_msgs::Image> jsk_perception::SingleChannelHistogram::sub_mask_
protected

Definition at line 140 of file single_channel_histogram.h.

◆ sync_

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

Definition at line 138 of file single_channel_histogram.h.

◆ use_mask_

bool jsk_perception::SingleChannelHistogram::use_mask_
protected

Definition at line 142 of file single_channel_histogram.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:18