Public Member Functions | Private Member Functions | Private Attributes
RectangleDetector Class Reference

List of all members.

Public Member Functions

 RectangleDetector (ros::NodeHandle nh=ros::NodeHandle())

Private Member Functions

void callback (const sensor_msgs::ImageConstPtr &image, const jsk_perception::LineArrayConstPtr &line)
cv::Point2f computeIntersect (cv::Vec4i a, cv::Vec4i b)
void reconfigureCallback (jsk_perception::RectangleDetectorConfig &new_config, uint32_t level)
void sortCorners (std::vector< cv::Point2f > &corners, cv::Point2f center)

Private Attributes

int _apertureSize
bool _L2gradient
double _threshold1
double _threshold2
jsk_perception::RectangleDetectorConfig config_
ros::Publisher image_pub_
message_filters::Subscriber
< sensor_msgs::Image > * 
image_sub
image_transport::ImageTransport it_
message_filters::Subscriber
< jsk_perception::LineArray > * 
line_sub
ros::NodeHandle nh_
dynamic_reconfigure::Server
< jsk_perception::RectangleDetectorConfig > 
srv
TimeSynchronizer
< sensor_msgs::Image,
jsk_perception::LineArray > * 
sync

Detailed Description

Definition at line 25 of file rectangle_detector.cpp.


Constructor & Destructor Documentation

Definition at line 189 of file rectangle_detector.cpp.


Member Function Documentation

void RectangleDetector::callback ( const sensor_msgs::ImageConstPtr &  image,
const jsk_perception::LineArrayConstPtr &  line 
) [inline, private]

Definition at line 96 of file rectangle_detector.cpp.

cv::Point2f RectangleDetector::computeIntersect ( cv::Vec4i  a,
cv::Vec4i  b 
) [inline, private]

Definition at line 54 of file rectangle_detector.cpp.

void RectangleDetector::reconfigureCallback ( jsk_perception::RectangleDetectorConfig &  new_config,
uint32_t  level 
) [inline, private]

Definition at line 45 of file rectangle_detector.cpp.

void RectangleDetector::sortCorners ( std::vector< cv::Point2f > &  corners,
cv::Point2f  center 
) [inline, private]

Definition at line 71 of file rectangle_detector.cpp.


Member Data Documentation

Definition at line 42 of file rectangle_detector.cpp.

Definition at line 43 of file rectangle_detector.cpp.

Definition at line 40 of file rectangle_detector.cpp.

Definition at line 41 of file rectangle_detector.cpp.

jsk_perception::RectangleDetectorConfig RectangleDetector::config_ [private]

Definition at line 27 of file rectangle_detector.cpp.

Definition at line 31 of file rectangle_detector.cpp.

Definition at line 36 of file rectangle_detector.cpp.

Definition at line 32 of file rectangle_detector.cpp.

message_filters::Subscriber<jsk_perception::LineArray>* RectangleDetector::line_sub [private]

Definition at line 37 of file rectangle_detector.cpp.

Definition at line 33 of file rectangle_detector.cpp.

dynamic_reconfigure::Server<jsk_perception::RectangleDetectorConfig> RectangleDetector::srv [private]

Definition at line 28 of file rectangle_detector.cpp.

TimeSynchronizer<sensor_msgs::Image, jsk_perception::LineArray>* RectangleDetector::sync [private]

Definition at line 38 of file rectangle_detector.cpp.


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


jsk_perception
Author(s): Manabu Saito
autogenerated on Mon Oct 6 2014 01:16:59