Public Member Functions | Protected Attributes
CvOneWayDescriptorBase Class Reference

#include <one_way_descriptor_base.h>

Inheritance diagram for CvOneWayDescriptorBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Allocate (int train_feature_count)
void AllocatePCADescriptors ()
void CreateDescriptorsFromImage (IplImage *src, const std::vector< KeyPointEx > &features)
void CreatePCADescriptors ()
 CvOneWayDescriptorBase (CvSize patch_size, int pose_count, const char *train_path=0, const char *pca_config=0, const char *pca_hr_config=0, const char *pca_desc_config=0, int pyr_levels=1, int pca_dim_high=100, int pca_dim_low=100)
void FindDescriptor (IplImage *patch, int &desc_idx, int &pose_idx, float &distance, float *_scale=0, float *scale_ranges=0) const
void FindDescriptor (IplImage *patch, int n, std::vector< int > &desc_idxs, std::vector< int > &pose_idxs, std::vector< float > &distances, std::vector< float > &_scales, float *scale_ranges=0) const
void FindDescriptor (IplImage *src, cv::Point2f pt, int &desc_idx, int &pose_idx, float &distance) const
const CvOneWayDescriptorGetDescriptor (int desc_idx) const
int GetDescriptorCount () const
int GetLowPCA (CvMat **avg, CvMat **eigenvectors)
CvSize GetPatchSize () const
int GetPoseCount () const
int GetPyrLevels () const
void InitializeDescriptor (int desc_idx, IplImage *train_image, const char *feature_label)
void InitializeDescriptors (IplImage *train_image, const std::vector< KeyPointEx > &features, const char *feature_label="", int desc_start_idx=0)
void InitializePoses ()
void InitializePoseTransforms ()
void InitializeTransformsFromPoses ()
int LoadPCADescriptors (const char *filename)
void SavePCADescriptors (const char *filename)
void SetPCAHigh (CvMat *avg, CvMat *eigenvectors)
void SetPCALow (CvMat *avg, CvMat *eigenvectors)
 ~CvOneWayDescriptorBase ()

Protected Attributes

CvOneWayDescriptorm_descriptors
CvSize m_patch_size
CvMat * m_pca_avg
CvOneWayDescriptorm_pca_descriptors
int m_pca_dim_high
int m_pca_dim_low
CvMat * m_pca_eigenvectors
CvMat * m_pca_hr_avg
CvMat * m_pca_hr_eigenvectors
int m_pose_count
CvAffinePosem_poses
int m_pyr_levels
int m_train_feature_count
CvMat ** m_transforms

Detailed Description

Definition at line 59 of file one_way_descriptor_base.h.


Constructor & Destructor Documentation

CvOneWayDescriptorBase::CvOneWayDescriptorBase ( CvSize  patch_size,
int  pose_count,
const char *  train_path = 0,
const char *  pca_config = 0,
const char *  pca_hr_config = 0,
const char *  pca_desc_config = 0,
int  pyr_levels = 1,
int  pca_dim_high = 100,
int  pca_dim_low = 100 
)

Definition at line 55 of file one_way_descriptor_base.cpp.

Definition at line 111 of file one_way_descriptor_base.cpp.


Member Function Documentation

void CvOneWayDescriptorBase::Allocate ( int  train_feature_count)

Definition at line 420 of file one_way_descriptor_base.cpp.

Definition at line 271 of file one_way_descriptor_base.cpp.

void CvOneWayDescriptorBase::CreateDescriptorsFromImage ( IplImage *  src,
const std::vector< KeyPointEx > &  features 
)

Definition at line 457 of file one_way_descriptor_base.cpp.

Definition at line 281 of file one_way_descriptor_base.cpp.

void CvOneWayDescriptorBase::FindDescriptor ( IplImage *  patch,
int &  desc_idx,
int &  pose_idx,
float &  distance,
float *  _scale = 0,
float *  scale_ranges = 0 
) const

Definition at line 201 of file one_way_descriptor_base.cpp.

void CvOneWayDescriptorBase::FindDescriptor ( IplImage *  patch,
int  n,
std::vector< int > &  desc_idxs,
std::vector< int > &  pose_idxs,
std::vector< float > &  distances,
std::vector< float > &  _scales,
float *  scale_ranges = 0 
) const

Definition at line 234 of file one_way_descriptor_base.cpp.

void CvOneWayDescriptorBase::FindDescriptor ( IplImage *  src,
cv::Point2f  pt,
int &  desc_idx,
int &  pose_idx,
float &  distance 
) const

Definition at line 188 of file one_way_descriptor_base.cpp.

const CvOneWayDescriptor* CvOneWayDescriptorBase::GetDescriptor ( int  desc_idx) const [inline]

Definition at line 104 of file one_way_descriptor_base.h.

Definition at line 92 of file one_way_descriptor_base.h.

int CvOneWayDescriptorBase::GetLowPCA ( CvMat **  avg,
CvMat **  eigenvectors 
) [inline]

Definition at line 166 of file one_way_descriptor_base.h.

CvSize CvOneWayDescriptorBase::GetPatchSize ( ) const [inline]

Definition at line 84 of file one_way_descriptor_base.h.

int CvOneWayDescriptorBase::GetPoseCount ( ) const [inline]

Definition at line 86 of file one_way_descriptor_base.h.

int CvOneWayDescriptorBase::GetPyrLevels ( ) const [inline]

Definition at line 89 of file one_way_descriptor_base.h.

void CvOneWayDescriptorBase::InitializeDescriptor ( int  desc_idx,
IplImage *  train_image,
const char *  feature_label 
)

Definition at line 166 of file one_way_descriptor_base.cpp.

void CvOneWayDescriptorBase::InitializeDescriptors ( IplImage *  train_image,
const std::vector< KeyPointEx > &  features,
const char *  feature_label = "",
int  desc_start_idx = 0 
)

Definition at line 431 of file one_way_descriptor_base.cpp.

Definition at line 141 of file one_way_descriptor_base.cpp.

Definition at line 160 of file one_way_descriptor_base.cpp.

Definition at line 150 of file one_way_descriptor_base.cpp.

int CvOneWayDescriptorBase::LoadPCADescriptors ( const char *  filename)

Definition at line 309 of file one_way_descriptor_base.cpp.

void CvOneWayDescriptorBase::SavePCADescriptors ( const char *  filename)

Definition at line 387 of file one_way_descriptor_base.cpp.

void CvOneWayDescriptorBase::SetPCAHigh ( CvMat *  avg,
CvMat *  eigenvectors 
)

Definition at line 259 of file one_way_descriptor_base.cpp.

void CvOneWayDescriptorBase::SetPCALow ( CvMat *  avg,
CvMat *  eigenvectors 
)

Definition at line 265 of file one_way_descriptor_base.cpp.


Member Data Documentation

Definition at line 182 of file one_way_descriptor_base.h.

Definition at line 171 of file one_way_descriptor_base.h.

Definition at line 183 of file one_way_descriptor_base.h.

Definition at line 187 of file one_way_descriptor_base.h.

Definition at line 199 of file one_way_descriptor_base.h.

Definition at line 200 of file one_way_descriptor_base.h.

Definition at line 184 of file one_way_descriptor_base.h.

Definition at line 185 of file one_way_descriptor_base.h.

Definition at line 186 of file one_way_descriptor_base.h.

Definition at line 180 of file one_way_descriptor_base.h.

Definition at line 196 of file one_way_descriptor_base.h.

Definition at line 202 of file one_way_descriptor_base.h.

Definition at line 181 of file one_way_descriptor_base.h.

Definition at line 197 of file one_way_descriptor_base.h.


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


outlet_pose_estimation
Author(s): Patrick Mihelich
autogenerated on Mon Dec 2 2013 13:21:50