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_recognition_msgs::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_recognition_msgs::LineArray > * 
line_sub
ros::NodeHandle nh_
dynamic_reconfigure::Server
< jsk_perception::RectangleDetectorConfig > 
srv
TimeSynchronizer
< sensor_msgs::Image,
jsk_recognition_msgs::LineArray > * 
sync

Detailed Description

Definition at line 26 of file rectangle_detector.cpp.


Constructor & Destructor Documentation

Definition at line 190 of file rectangle_detector.cpp.


Member Function Documentation

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

Definition at line 97 of file rectangle_detector.cpp.

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

Definition at line 55 of file rectangle_detector.cpp.

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

Definition at line 46 of file rectangle_detector.cpp.

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

Definition at line 72 of file rectangle_detector.cpp.


Member Data Documentation

Definition at line 43 of file rectangle_detector.cpp.

Definition at line 44 of file rectangle_detector.cpp.

Definition at line 41 of file rectangle_detector.cpp.

Definition at line 42 of file rectangle_detector.cpp.

jsk_perception::RectangleDetectorConfig RectangleDetector::config_ [private]

Definition at line 28 of file rectangle_detector.cpp.

Definition at line 32 of file rectangle_detector.cpp.

Definition at line 37 of file rectangle_detector.cpp.

Definition at line 33 of file rectangle_detector.cpp.

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

Definition at line 38 of file rectangle_detector.cpp.

Definition at line 34 of file rectangle_detector.cpp.

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

Definition at line 29 of file rectangle_detector.cpp.

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

Definition at line 39 of file rectangle_detector.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