#include <one_way_descriptor_base.h>
Public Member Functions | |
std::vector< feature_t > | _GetLabeledFeatures () const |
void | Allocate (int train_feature_count, int object_feature_count) |
CvOneWayDescriptorObject (CvSize patch_size, int pose_count, const char *train_path, const char *pca_config, const char *pca_hr_config=0, const char *pca_desc_config=0, int pyr_levels=1) | |
int | GetDescriptorPart (int desc_idx) const |
std::vector< KeyPointEx > & | GetLabeledFeatures () |
const std::vector< KeyPointEx > & | GetLabeledFeatures () const |
int | GetObjectFeatureCount () const |
void | InitializeObjectDescriptors (IplImage *train_image, const std::vector< KeyPointEx > &features, const char *feature_label, int desc_start_idx=0, float scale=1.0f, int is_background=0) |
int | IsDescriptorObject (int desc_idx) const |
int | MatchPointToPart (CvPoint pt) const |
void | SetLabeledFeatures (const std::vector< KeyPointEx > &features) |
~CvOneWayDescriptorObject () | |
Protected Attributes | |
int | m_object_feature_count |
int * | m_part_id |
std::vector< KeyPointEx > | m_train_features |
Definition at line 206 of file one_way_descriptor_base.h.
CvOneWayDescriptorObject::CvOneWayDescriptorObject | ( | CvSize | patch_size, |
int | pose_count, | ||
const char * | train_path, | ||
const char * | pca_config, | ||
const char * | pca_hr_config = 0 , |
||
const char * | pca_desc_config = 0 , |
||
int | pyr_levels = 1 |
||
) |
Definition at line 564 of file one_way_descriptor_base.cpp.
Definition at line 571 of file one_way_descriptor_base.cpp.
vector< feature_t > CvOneWayDescriptorObject::_GetLabeledFeatures | ( | ) | const |
Definition at line 576 of file one_way_descriptor_base.cpp.
void CvOneWayDescriptorObject::Allocate | ( | int | train_feature_count, |
int | object_feature_count | ||
) |
Definition at line 509 of file one_way_descriptor_base.cpp.
int CvOneWayDescriptorObject::GetDescriptorPart | ( | int | desc_idx | ) | const |
Definition at line 558 of file one_way_descriptor_base.cpp.
std::vector<KeyPointEx>& CvOneWayDescriptorObject::GetLabeledFeatures | ( | ) | [inline] |
Definition at line 229 of file one_way_descriptor_base.h.
const std::vector<KeyPointEx>& CvOneWayDescriptorObject::GetLabeledFeatures | ( | ) | const [inline] |
Definition at line 230 of file one_way_descriptor_base.h.
int CvOneWayDescriptorObject::GetObjectFeatureCount | ( | ) | const [inline] |
Definition at line 249 of file one_way_descriptor_base.h.
void CvOneWayDescriptorObject::InitializeObjectDescriptors | ( | IplImage * | train_image, |
const std::vector< KeyPointEx > & | features, | ||
const char * | feature_label, | ||
int | desc_start_idx = 0 , |
||
float | scale = 1.0f , |
||
int | is_background = 0 |
||
) |
Definition at line 518 of file one_way_descriptor_base.cpp.
int CvOneWayDescriptorObject::IsDescriptorObject | ( | int | desc_idx | ) | const |
Definition at line 537 of file one_way_descriptor_base.cpp.
int CvOneWayDescriptorObject::MatchPointToPart | ( | CvPoint | pt | ) | const |
Definition at line 542 of file one_way_descriptor_base.cpp.
void CvOneWayDescriptorObject::SetLabeledFeatures | ( | const std::vector< KeyPointEx > & | features | ) | [inline] |
Definition at line 228 of file one_way_descriptor_base.h.
int CvOneWayDescriptorObject::m_object_feature_count [protected] |
Definition at line 254 of file one_way_descriptor_base.h.
int* CvOneWayDescriptorObject::m_part_id [protected] |
Definition at line 249 of file one_way_descriptor_base.h.
Definition at line 253 of file one_way_descriptor_base.h.