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 |
Definition at line 26 of file rectangle_detector.cpp.
RectangleDetector::RectangleDetector | ( | ros::NodeHandle | nh = ros::NodeHandle() | ) | [inline] |
Definition at line 190 of file rectangle_detector.cpp.
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.
int RectangleDetector::_apertureSize [private] |
Definition at line 43 of file rectangle_detector.cpp.
bool RectangleDetector::_L2gradient [private] |
Definition at line 44 of file rectangle_detector.cpp.
double RectangleDetector::_threshold1 [private] |
Definition at line 41 of file rectangle_detector.cpp.
double RectangleDetector::_threshold2 [private] |
Definition at line 42 of file rectangle_detector.cpp.
jsk_perception::RectangleDetectorConfig RectangleDetector::config_ [private] |
Definition at line 28 of file rectangle_detector.cpp.
ros::Publisher RectangleDetector::image_pub_ [private] |
Definition at line 32 of file rectangle_detector.cpp.
message_filters::Subscriber<sensor_msgs::Image>* RectangleDetector::image_sub [private] |
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.
ros::NodeHandle RectangleDetector::nh_ [private] |
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.