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

#include <point_pose_extractor.h>

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 96 of file point_pose_extractor.h.

Constructor & Destructor Documentation

◆ Matching_Template() [1/2]

Matching_Template::Matching_Template ( )
inline

Definition at line 117 of file point_pose_extractor.h.

◆ Matching_Template() [2/2]

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 119 of file point_pose_extractor.h.

◆ ~Matching_Template()

virtual Matching_Template::~Matching_Template ( )
inlinevirtual

Definition at line 149 of file point_pose_extractor.h.

Member Function Documentation

◆ check_template()

bool Matching_Template::check_template ( )
inline

Definition at line 162 of file point_pose_extractor.h.

◆ correspondances()

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

Definition at line 158 of file point_pose_extractor.h.

◆ estimate_od()

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 253 of file point_pose_extractor.h.

◆ get_window_name()

std::string Matching_Template::get_window_name ( )
inline

Definition at line 154 of file point_pose_extractor.h.

◆ log_fac()

double Matching_Template::log_fac ( int  n)
inline

Definition at line 215 of file point_pose_extractor.h.

◆ min_inlier()

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

Definition at line 233 of file point_pose_extractor.h.

◆ set_template()

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

Definition at line 173 of file point_pose_extractor.h.

Member Data Documentation

◆ _affine_matrix

cv::Mat Matching_Template::_affine_matrix

Definition at line 108 of file point_pose_extractor.h.

◆ _correspondances

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

Definition at line 114 of file point_pose_extractor.h.

◆ _distanceratio_threshold

double Matching_Template::_distanceratio_threshold

Definition at line 113 of file point_pose_extractor.h.

◆ _matching_frame

std::string Matching_Template::_matching_frame

Definition at line 99 of file point_pose_extractor.h.

◆ _original_height_size

int Matching_Template::_original_height_size

Definition at line 104 of file point_pose_extractor.h.

◆ _original_width_size

int Matching_Template::_original_width_size

Definition at line 103 of file point_pose_extractor.h.

◆ _previous_stack_img

cv::Mat Matching_Template::_previous_stack_img

Definition at line 115 of file point_pose_extractor.h.

◆ _relativepose

tf::Transform Matching_Template::_relativepose

Definition at line 107 of file point_pose_extractor.h.

◆ _reprojection_threshold

double Matching_Template::_reprojection_threshold

Definition at line 111 of file point_pose_extractor.h.

◆ _template_descriptors

cv::Mat Matching_Template::_template_descriptors

Definition at line 102 of file point_pose_extractor.h.

◆ _template_height

double Matching_Template::_template_height

Definition at line 106 of file point_pose_extractor.h.

◆ _template_img

cv::Mat Matching_Template::_template_img

Definition at line 100 of file point_pose_extractor.h.

◆ _template_keypoints

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

Definition at line 101 of file point_pose_extractor.h.

◆ _template_width

double Matching_Template::_template_width

Definition at line 105 of file point_pose_extractor.h.

◆ _window_name

std::string Matching_Template::_window_name

Definition at line 109 of file point_pose_extractor.h.


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


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Fri May 16 2025 03:11:17