#include <outlet_tuple.h>
Public Member Functions | |
void | create_one_way_descriptor_base () |
outlet_color_t | get_color () const |
int | get_count () const |
void | get_holes_2d (CvPoint2D32f *holes) const |
void | get_holes_3d (CvPoint3D32f *holes) const |
void | get_holes_3d (std::vector< cv::Point3f > &holes) const |
const CvOneWayDescriptorObject * | get_one_way_descriptor_base () const |
const CvPoint2D32f * | get_template () const |
const PointMatcher & | getGeometricMatcher () const |
float | GetHoleContrast () const |
void | initialize (int count, const CvPoint2D32f *templ, outlet_color_t outlet_color=outletOrange) |
void | initialize_geometric_hash () |
int | load (const char *path) |
void | load_one_way_descriptor_base (CvSize patch_size, int pose_count, const char *train_path, const char *train_config, const char *pca_config, const char *pca_hr_config=0) |
outlet_template_t (int count=4, const CvPoint2D32f *templ=0) | |
outlet_template_t (const outlet_template_t &outlet_templ) | |
void | save (const char *filename) |
void | set_default_template () |
~outlet_template_t () | |
Protected Attributes | |
CvPoint2D32f * | centers |
PointMatcher | geometric_matcher |
CvOneWayDescriptorObject * | m_base |
float | m_hole_contrast |
outlet_color_t | m_outlet_color |
CvSize | m_patch_size |
std::string | m_pca_config |
std::string | m_pca_desc_config |
std::string | m_pca_hr_config |
int | m_pose_count |
std::string | m_train_config |
std::string | m_train_path |
int | outlet_count |
Definition at line 98 of file outlet_tuple.h.
outlet_template_t::outlet_template_t | ( | int | count = 4 , |
const CvPoint2D32f * | templ = 0 |
||
) | [inline] |
Definition at line 101 of file outlet_tuple.h.
outlet_template_t::outlet_template_t | ( | const outlet_template_t & | outlet_templ | ) | [inline] |
Definition at line 109 of file outlet_tuple.h.
outlet_template_t::~outlet_template_t | ( | ) | [inline] |
Definition at line 115 of file outlet_tuple.h.
void outlet_template_t::create_one_way_descriptor_base | ( | ) | [inline] |
Definition at line 174 of file outlet_tuple.h.
outlet_color_t outlet_template_t::get_color | ( | ) | const [inline] |
Definition at line 201 of file outlet_tuple.h.
int outlet_template_t::get_count | ( | ) | const [inline] |
Definition at line 144 of file outlet_tuple.h.
void outlet_template_t::get_holes_2d | ( | CvPoint2D32f * | holes | ) | const |
Definition at line 1133 of file outlet_tuple.cpp.
void outlet_template_t::get_holes_3d | ( | CvPoint3D32f * | holes | ) | const |
Definition at line 1104 of file outlet_tuple.cpp.
void outlet_template_t::get_holes_3d | ( | std::vector< cv::Point3f > & | holes | ) | const |
Definition at line 1118 of file outlet_tuple.cpp.
const CvOneWayDescriptorObject* outlet_template_t::get_one_way_descriptor_base | ( | ) | const [inline] |
Definition at line 199 of file outlet_tuple.h.
const CvPoint2D32f* outlet_template_t::get_template | ( | ) | const [inline] |
Definition at line 149 of file outlet_tuple.h.
const PointMatcher& outlet_template_t::getGeometricMatcher | ( | ) | const [inline] |
Definition at line 154 of file outlet_tuple.h.
float outlet_template_t::GetHoleContrast | ( | ) | const [inline] |
Definition at line 209 of file outlet_tuple.h.
void outlet_template_t::initialize | ( | int | count, |
const CvPoint2D32f * | templ, | ||
outlet_color_t | outlet_color = outletOrange |
||
) | [inline] |
Definition at line 125 of file outlet_tuple.h.
Definition at line 1146 of file outlet_tuple.cpp.
int outlet_template_t::load | ( | const char * | path | ) |
Definition at line 989 of file outlet_tuple.cpp.
void outlet_template_t::load_one_way_descriptor_base | ( | CvSize | patch_size, |
int | pose_count, | ||
const char * | train_path, | ||
const char * | train_config, | ||
const char * | pca_config, | ||
const char * | pca_hr_config = 0 |
||
) | [inline] |
Definition at line 164 of file outlet_tuple.h.
void outlet_template_t::save | ( | const char * | filename | ) |
Definition at line 949 of file outlet_tuple.cpp.
void outlet_template_t::set_default_template | ( | ) | [inline] |
Definition at line 156 of file outlet_tuple.h.
CvPoint2D32f* outlet_template_t::centers [protected] |
Definition at line 213 of file outlet_tuple.h.
PointMatcher outlet_template_t::geometric_matcher [protected] |
Definition at line 225 of file outlet_tuple.h.
CvOneWayDescriptorObject* outlet_template_t::m_base [protected] |
Definition at line 214 of file outlet_tuple.h.
float outlet_template_t::m_hole_contrast [protected] |
Definition at line 227 of file outlet_tuple.h.
outlet_color_t outlet_template_t::m_outlet_color [protected] |
Definition at line 223 of file outlet_tuple.h.
CvSize outlet_template_t::m_patch_size [protected] |
Definition at line 221 of file outlet_tuple.h.
std::string outlet_template_t::m_pca_config [protected] |
Definition at line 218 of file outlet_tuple.h.
std::string outlet_template_t::m_pca_desc_config [protected] |
Definition at line 220 of file outlet_tuple.h.
std::string outlet_template_t::m_pca_hr_config [protected] |
Definition at line 219 of file outlet_tuple.h.
int outlet_template_t::m_pose_count [protected] |
Definition at line 222 of file outlet_tuple.h.
std::string outlet_template_t::m_train_config [protected] |
Definition at line 217 of file outlet_tuple.h.
std::string outlet_template_t::m_train_path [protected] |
Definition at line 216 of file outlet_tuple.h.
int outlet_template_t::outlet_count [protected] |
Definition at line 212 of file outlet_tuple.h.