Public Member Functions | Public Attributes | List of all members
Matching_Template Class Reference

Public Member Functions

bool check_template ()
 
std::vector< cv::Point2d > * correspondances ()
 
bool estimate_od (ros::ServiceClient client, cv::Mat src_img, std::vector< cv::KeyPoint > sourceimg_keypoints, image_geometry::PinholeCameraModel pcam, double err_thr, cv::Mat &stack_img, cv::flann::Index *ft, posedetection_msgs::Object6DPose *o6p)
 
std::string get_window_name ()
 
double log_fac (int n)
 
 Matching_Template ()
 
 Matching_Template (cv::Mat img, std::string matching_frame, int original_width_size, int original_height_size, double template_width, double template_height, tf::Transform relativepose, cv::Mat affine_matrix, double reprojection_threshold, double distanceratio_threshold, std::string window_name, bool autosize)
 
int min_inlier (int n, int m, double p_badsupp, double p_badxform)
 
int set_template (ros::ServiceClient client)
 
virtual ~Matching_Template ()
 

Public Attributes

cv::Mat _affine_matrix
 
std::vector< cv::Point2d > _correspondances
 
double _distanceratio_threshold
 
std::string _matching_frame
 
int _original_height_size
 
int _original_width_size
 
cv::Mat _previous_stack_img
 
tf::Transform _relativepose
 
double _reprojection_threshold
 
cv::Mat _template_descriptors
 
double _template_height
 
cv::Mat _template_img
 
std::vector< cv::KeyPoint > _template_keypoints
 
double _template_width
 
std::string _window_name
 

Detailed Description

Definition at line 94 of file point_pose_extractor.cpp.

Constructor & Destructor Documentation

Matching_Template::Matching_Template ( )
inline

Definition at line 115 of file point_pose_extractor.cpp.

Matching_Template::Matching_Template ( cv::Mat  img,
std::string  matching_frame,
int  original_width_size,
int  original_height_size,
double  template_width,
double  template_height,
tf::Transform  relativepose,
cv::Mat  affine_matrix,
double  reprojection_threshold,
double  distanceratio_threshold,
std::string  window_name,
bool  autosize 
)
inline

Definition at line 117 of file point_pose_extractor.cpp.

virtual Matching_Template::~Matching_Template ( )
inlinevirtual

Definition at line 147 of file point_pose_extractor.cpp.

Member Function Documentation

bool Matching_Template::check_template ( )
inline

Definition at line 160 of file point_pose_extractor.cpp.

std::vector<cv::Point2d>* Matching_Template::correspondances ( )
inline

Definition at line 156 of file point_pose_extractor.cpp.

bool Matching_Template::estimate_od ( ros::ServiceClient  client,
cv::Mat  src_img,
std::vector< cv::KeyPoint >  sourceimg_keypoints,
image_geometry::PinholeCameraModel  pcam,
double  err_thr,
cv::Mat &  stack_img,
cv::flann::Index ft,
posedetection_msgs::Object6DPose *  o6p 
)
inline

Definition at line 251 of file point_pose_extractor.cpp.

std::string Matching_Template::get_window_name ( )
inline

Definition at line 152 of file point_pose_extractor.cpp.

double Matching_Template::log_fac ( int  n)
inline

Definition at line 213 of file point_pose_extractor.cpp.

int Matching_Template::min_inlier ( int  n,
int  m,
double  p_badsupp,
double  p_badxform 
)
inline

Definition at line 231 of file point_pose_extractor.cpp.

int Matching_Template::set_template ( ros::ServiceClient  client)
inline

Definition at line 171 of file point_pose_extractor.cpp.

Member Data Documentation

cv::Mat Matching_Template::_affine_matrix

Definition at line 106 of file point_pose_extractor.cpp.

std::vector<cv::Point2d> Matching_Template::_correspondances

Definition at line 112 of file point_pose_extractor.cpp.

double Matching_Template::_distanceratio_threshold

Definition at line 111 of file point_pose_extractor.cpp.

std::string Matching_Template::_matching_frame

Definition at line 97 of file point_pose_extractor.cpp.

int Matching_Template::_original_height_size

Definition at line 102 of file point_pose_extractor.cpp.

int Matching_Template::_original_width_size

Definition at line 101 of file point_pose_extractor.cpp.

cv::Mat Matching_Template::_previous_stack_img

Definition at line 113 of file point_pose_extractor.cpp.

tf::Transform Matching_Template::_relativepose

Definition at line 105 of file point_pose_extractor.cpp.

double Matching_Template::_reprojection_threshold

Definition at line 109 of file point_pose_extractor.cpp.

cv::Mat Matching_Template::_template_descriptors

Definition at line 100 of file point_pose_extractor.cpp.

double Matching_Template::_template_height

Definition at line 104 of file point_pose_extractor.cpp.

cv::Mat Matching_Template::_template_img

Definition at line 98 of file point_pose_extractor.cpp.

std::vector<cv::KeyPoint> Matching_Template::_template_keypoints

Definition at line 99 of file point_pose_extractor.cpp.

double Matching_Template::_template_width

Definition at line 103 of file point_pose_extractor.cpp.

std::string Matching_Template::_window_name

Definition at line 107 of file point_pose_extractor.cpp.


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


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Mon May 3 2021 03:03:27