Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes
MatcherNode Class Reference

List of all members.

Classes

struct  BOX

Public Member Functions

void dyn_conf_callback (jsk_perception::ColorHistogramSlidingMatcherConfig &config, uint32_t level)
void image_cb (const sensor_msgs::ImageConstPtr &msg_ptr, const sensor_msgs::CameraInfoConstPtr &info_ptr)
 MatcherNode ()
bool template_add (cv::Mat template_image)

Private Types

typedef struct MatcherNode::BOX box
typedef
message_filters::sync_policies::ExactTime
< sensor_msgs::Image,
sensor_msgs::CameraInfo > 
SyncPolicy

Private Member Functions

double calc_coe (std::vector< unsigned int > &a, std::vector< unsigned int > &b)
bool in_box (int x, int y, int dx, int dy, box a_box)
bool in_boxes (int x, int y, int dx, int dy, std::vector< box > boxes)
bool point_in_box (int x, int y, box a_box)

Private Attributes

image_transport::Publisher _debug_pub
image_transport::ImageTransport _it
boost::mutex _mutex
ros::NodeHandle _node
ros::Publisher _pubBestBoundingBox
ros::Publisher _pubBestPoint
ros::Publisher _pubBestPolygon
ros::Publisher _pubBestRect
image_transport::SubscriberFilter _subImage
message_filters::Subscriber
< sensor_msgs::CameraInfo > 
_subInfo
int best_window_estimation_method
double coefficient_thre
double coefficient_thre_for_best_window
std::vector< std::vector
< std::vector< unsigned int > > > 
hsv_integral
bool pub_debug_image_
bool show_result_
double sliding_factor
int standard_height
int standard_width
message_filters::Synchronizer
< SyncPolicy
sync
double template_height
std::vector< cv::Mat > template_images
std::vector< std::vector
< unsigned int > > 
template_vecs
double template_width

Detailed Description

Definition at line 29 of file color_histogram_sliding_matcher.cpp.


Member Typedef Documentation

typedef struct MatcherNode::BOX MatcherNode::box [private]
typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::CameraInfo > MatcherNode::SyncPolicy [private]

Definition at line 31 of file color_histogram_sliding_matcher.cpp.


Constructor & Destructor Documentation

Definition at line 92 of file color_histogram_sliding_matcher.cpp.


Member Function Documentation

double MatcherNode::calc_coe ( std::vector< unsigned int > &  a,
std::vector< unsigned int > &  b 
) [inline, private]

Definition at line 56 of file color_histogram_sliding_matcher.cpp.

void MatcherNode::dyn_conf_callback ( jsk_perception::ColorHistogramSlidingMatcherConfig &  config,
uint32_t  level 
) [inline]

Definition at line 412 of file color_histogram_sliding_matcher.cpp.

void MatcherNode::image_cb ( const sensor_msgs::ImageConstPtr &  msg_ptr,
const sensor_msgs::CameraInfoConstPtr &  info_ptr 
) [inline]

Definition at line 172 of file color_histogram_sliding_matcher.cpp.

bool MatcherNode::in_box ( int  x,
int  y,
int  dx,
int  dy,
box  a_box 
) [inline, private]

Definition at line 80 of file color_histogram_sliding_matcher.cpp.

bool MatcherNode::in_boxes ( int  x,
int  y,
int  dx,
int  dy,
std::vector< box boxes 
) [inline, private]

Definition at line 83 of file color_histogram_sliding_matcher.cpp.

bool MatcherNode::point_in_box ( int  x,
int  y,
box  a_box 
) [inline, private]

Definition at line 77 of file color_histogram_sliding_matcher.cpp.

bool MatcherNode::template_add ( cv::Mat  template_image) [inline]

Definition at line 139 of file color_histogram_sliding_matcher.cpp.


Member Data Documentation

Definition at line 43 of file color_histogram_sliding_matcher.cpp.

Definition at line 34 of file color_histogram_sliding_matcher.cpp.

boost::mutex MatcherNode::_mutex [private]

Definition at line 32 of file color_histogram_sliding_matcher.cpp.

Definition at line 33 of file color_histogram_sliding_matcher.cpp.

Definition at line 42 of file color_histogram_sliding_matcher.cpp.

Definition at line 41 of file color_histogram_sliding_matcher.cpp.

Definition at line 40 of file color_histogram_sliding_matcher.cpp.

Definition at line 39 of file color_histogram_sliding_matcher.cpp.

Definition at line 35 of file color_histogram_sliding_matcher.cpp.

message_filters::Subscriber<sensor_msgs::CameraInfo> MatcherNode::_subInfo [private]

Definition at line 36 of file color_histogram_sliding_matcher.cpp.

Definition at line 48 of file color_histogram_sliding_matcher.cpp.

Definition at line 49 of file color_histogram_sliding_matcher.cpp.

Definition at line 50 of file color_histogram_sliding_matcher.cpp.

Definition at line 46 of file color_histogram_sliding_matcher.cpp.

Definition at line 53 of file color_histogram_sliding_matcher.cpp.

bool MatcherNode::show_result_ [private]

Definition at line 52 of file color_histogram_sliding_matcher.cpp.

double MatcherNode::sliding_factor [private]

Definition at line 51 of file color_histogram_sliding_matcher.cpp.

Definition at line 47 of file color_histogram_sliding_matcher.cpp.

Definition at line 47 of file color_histogram_sliding_matcher.cpp.

Definition at line 37 of file color_histogram_sliding_matcher.cpp.

double MatcherNode::template_height [private]

Definition at line 55 of file color_histogram_sliding_matcher.cpp.

Definition at line 44 of file color_histogram_sliding_matcher.cpp.

Definition at line 45 of file color_histogram_sliding_matcher.cpp.

double MatcherNode::template_width [private]

Definition at line 54 of file color_histogram_sliding_matcher.cpp.


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


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Tue Jul 2 2019 19:41:08