#include <color_histogram_classifier.h>
Public Types | |
typedef ColorHistogramClassifierConfig | Config |
Public Member Functions | |
ColorHistogramClassifier () | |
Protected Member Functions | |
virtual void | computeDistance (const std::vector< float > &histogram, std::vector< double > &distance) |
virtual void | configCallback (Config &config, uint32_t level) |
virtual void | feature (const jsk_recognition_msgs::ColorHistogram::ConstPtr &histogram) |
virtual void | features (const jsk_recognition_msgs::ColorHistogramArray::ConstPtr &histograms) |
virtual bool | loadReference () |
virtual void | onInit () |
virtual void | subscribe () |
virtual void | unsubscribe () |
Protected Attributes | |
int | bin_size_ |
std::string | classifier_name_ |
jsk_recognition_utils::ComparePolicy | compare_policy_ |
double | detection_threshold_ |
std::vector< std::string > | label_names_ |
boost::mutex | mutex_ |
ros::Publisher | pub_class_ |
int | queue_size_ |
jsk_recognition_msgs::ColorHistogram | reference_histogram_ |
std::vector< std::vector< float > > | reference_histograms_ |
boost::shared_ptr < dynamic_reconfigure::Server < Config > > | srv_ |
ros::Subscriber | sub_hist_ |
ros::Subscriber | sub_hists_ |
Definition at line 57 of file color_histogram_classifier.h.
typedef ColorHistogramClassifierConfig jsk_pcl_ros::ColorHistogramClassifier::Config |
Definition at line 60 of file color_histogram_classifier.h.
Definition at line 62 of file color_histogram_classifier.h.
void jsk_pcl_ros::ColorHistogramClassifier::computeDistance | ( | const std::vector< float > & | histogram, |
std::vector< double > & | distance | ||
) | [protected, virtual] |
Definition at line 126 of file color_histogram_classifier_nodelet.cpp.
void jsk_pcl_ros::ColorHistogramClassifier::configCallback | ( | Config & | config, |
uint32_t | level | ||
) | [protected, virtual] |
Definition at line 99 of file color_histogram_classifier_nodelet.cpp.
void jsk_pcl_ros::ColorHistogramClassifier::feature | ( | const jsk_recognition_msgs::ColorHistogram::ConstPtr & | histogram | ) | [protected, virtual] |
Definition at line 136 of file color_histogram_classifier_nodelet.cpp.
void jsk_pcl_ros::ColorHistogramClassifier::features | ( | const jsk_recognition_msgs::ColorHistogramArray::ConstPtr & | histograms | ) | [protected, virtual] |
Definition at line 172 of file color_histogram_classifier_nodelet.cpp.
bool jsk_pcl_ros::ColorHistogramClassifier::loadReference | ( | ) | [protected, virtual] |
Definition at line 61 of file color_histogram_classifier_nodelet.cpp.
void jsk_pcl_ros::ColorHistogramClassifier::onInit | ( | void | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 46 of file color_histogram_classifier_nodelet.cpp.
void jsk_pcl_ros::ColorHistogramClassifier::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 114 of file color_histogram_classifier_nodelet.cpp.
void jsk_pcl_ros::ColorHistogramClassifier::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 120 of file color_histogram_classifier_nodelet.cpp.
int jsk_pcl_ros::ColorHistogramClassifier::bin_size_ [protected] |
Definition at line 82 of file color_histogram_classifier.h.
std::string jsk_pcl_ros::ColorHistogramClassifier::classifier_name_ [protected] |
Definition at line 87 of file color_histogram_classifier.h.
jsk_recognition_utils::ComparePolicy jsk_pcl_ros::ColorHistogramClassifier::compare_policy_ [protected] |
Definition at line 84 of file color_histogram_classifier.h.
double jsk_pcl_ros::ColorHistogramClassifier::detection_threshold_ [protected] |
Definition at line 83 of file color_histogram_classifier.h.
std::vector<std::string> jsk_pcl_ros::ColorHistogramClassifier::label_names_ [protected] |
Definition at line 88 of file color_histogram_classifier.h.
Definition at line 75 of file color_histogram_classifier.h.
Definition at line 78 of file color_histogram_classifier.h.
int jsk_pcl_ros::ColorHistogramClassifier::queue_size_ [protected] |
Definition at line 81 of file color_histogram_classifier.h.
jsk_recognition_msgs::ColorHistogram jsk_pcl_ros::ColorHistogramClassifier::reference_histogram_ [protected] |
Definition at line 85 of file color_histogram_classifier.h.
std::vector<std::vector<float> > jsk_pcl_ros::ColorHistogramClassifier::reference_histograms_ [protected] |
Definition at line 89 of file color_histogram_classifier.h.
boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros::ColorHistogramClassifier::srv_ [protected] |
Definition at line 76 of file color_histogram_classifier.h.
Definition at line 77 of file color_histogram_classifier.h.
Definition at line 77 of file color_histogram_classifier.h.