#include <gldetector.h>
Public Member Functions | |
cv::Mat | getDebugImage () |
cv::Mat | getImage () |
Get the rendered image for visualization. | |
GLDetector (const sensor_msgs::CameraInfo &camera_info, const std::string &config_root) | |
void | reconfigure (blort_ros::DetectorConfig config) |
Control the tracker using a ROS reconfigure_gui node. | |
bool | recovery (const cv::Mat &image, blort_ros::RecoveryCall::Response &resp) |
Method to run and handle recovery state. | |
bool | recoveryWithLast (blort_ros::RecoveryCall::Response &resp) |
Method to run on the previously stored image. | |
void | setNNThreshold (double nn_threshold) |
Set the threshold of the inner nearest neighbor match. | |
void | setRansacNPointsToMatch (unsigned int n) |
Set the threshold of the inner nearest neighbor match. | |
~GLDetector () | |
Private Attributes | |
IplImage * | image_ |
cv::Mat | last_image |
bool | last_reset |
std::string | model_name |
std::string | pose_cal |
int | rec3dcounter |
boost::shared_ptr < blortRecognizer::Recognizer3D > | recognizer |
float | recovery_conf_threshold |
std::string | sift_file |
Definition at line 55 of file gldetector.h.
GLDetector::GLDetector | ( | const sensor_msgs::CameraInfo & | camera_info, |
const std::string & | config_root | ||
) |
Definition at line 51 of file gldetector.cpp.
Definition at line 124 of file gldetector.cpp.
cv::Mat GLDetector::getDebugImage | ( | ) |
Definition at line 117 of file gldetector.cpp.
cv::Mat GLDetector::getImage | ( | ) |
Get the rendered image for visualization.
Definition at line 110 of file gldetector.cpp.
void GLDetector::reconfigure | ( | blort_ros::DetectorConfig | config | ) |
Control the tracker using a ROS reconfigure_gui node.
reconfigure_gui | messagetype |
Definition at line 105 of file gldetector.cpp.
bool GLDetector::recovery | ( | const cv::Mat & | image, |
blort_ros::RecoveryCall::Response & | resp | ||
) |
Method to run and handle recovery state.
Definition at line 69 of file gldetector.cpp.
Method to run on the previously stored image.
Definition at line 78 of file gldetector.cpp.
void blort_ros::GLDetector::setNNThreshold | ( | double | nn_threshold | ) | [inline] |
Set the threshold of the inner nearest neighbor match.
Definition at line 99 of file gldetector.h.
void blort_ros::GLDetector::setRansacNPointsToMatch | ( | unsigned int | n | ) | [inline] |
Set the threshold of the inner nearest neighbor match.
Definition at line 103 of file gldetector.h.
IplImage* blort_ros::GLDetector::image_ [private] |
Definition at line 73 of file gldetector.h.
cv::Mat blort_ros::GLDetector::last_image [private] |
Definition at line 74 of file gldetector.h.
bool blort_ros::GLDetector::last_reset [private] |
Definition at line 77 of file gldetector.h.
std::string blort_ros::GLDetector::model_name [private] |
Definition at line 69 of file gldetector.h.
std::string blort_ros::GLDetector::pose_cal [private] |
Definition at line 70 of file gldetector.h.
int blort_ros::GLDetector::rec3dcounter [private] |
Definition at line 60 of file gldetector.h.
boost::shared_ptr<blortRecognizer::Recognizer3D> blort_ros::GLDetector::recognizer [private] |
Definition at line 66 of file gldetector.h.
float blort_ros::GLDetector::recovery_conf_threshold [private] |
Definition at line 63 of file gldetector.h.
std::string blort_ros::GLDetector::sift_file [private] |
Definition at line 69 of file gldetector.h.