Public Member Functions | Protected Attributes
CvOneWayDescriptor Class Reference

#include <one_way_descriptor.h>

List of all members.

Public Member Functions

void Allocate (int pose_count, CvSize size, int nChannels)
 CvOneWayDescriptor ()
void EstimatePose (IplImage *patch, int &pose_idx, float &distance) const
void EstimatePosePCA (CvArr *patch, int &pose_idx, float &distance, CvMat *avg, CvMat *eigenvalues) const
void GenerateSamples (int pose_count, IplImage *frontal, int norm=0)
void GenerateSamplesFast (IplImage *frontal, CvMat *pca_hr_avg, CvMat *pca_hr_eigenvectors, CvOneWayDescriptor *pca_descriptors)
CvPoint GetCenter () const
const char * GetFeatureName () const
CvSize GetInputPatchSize () const
IplImage * GetPatch (int index)
CvSize GetPatchSize () const
CvMat ** GetPCACoeffs () const
int GetPCADimHigh () const
int GetPCADimLow () const
CvAffinePose GetPose (int index) const
void Initialize (int pose_count, IplImage *frontal, const char *feature_name=0, int norm=0)
void InitializeFast (int pose_count, IplImage *frontal, const char *feature_name, CvMat *pca_hr_avg, CvMat *pca_hr_eigenvectors, CvOneWayDescriptor *pca_descriptors)
void InitializePCACoeffs (CvMat *avg, CvMat *eigenvectors)
void ProjectPCASample (IplImage *patch, CvMat *avg, CvMat *eigenvectors, CvMat *pca_coeffs) const
int ReadByName (CvFileStorage *fs, CvFileNode *parent, const char *name)
void Save (const char *path)
void SetPCADimHigh (int pca_dim_high)
void SetPCADimLow (int pca_dim_low)
void SetTransforms (CvAffinePose *poses, CvMat **transforms)
void Write (CvFileStorage *fs, const char *name)
 ~CvOneWayDescriptor ()

Protected Attributes

CvAffinePosem_affine_poses
CvPoint m_center
std::string m_feature_name
IplImage * m_input_patch
CvSize m_patch_size
CvMat ** m_pca_coeffs
int m_pca_dim_high
int m_pca_dim_low
int m_pose_count
IplImage ** m_samples
IplImage * m_train_patch
CvMat ** m_transforms

Detailed Description

Definition at line 127 of file one_way_descriptor.h.


Constructor & Destructor Documentation

Definition at line 77 of file one_way_descriptor.cpp.

Definition at line 90 of file one_way_descriptor.cpp.


Member Function Documentation

void CvOneWayDescriptor::Allocate ( int  pose_count,
CvSize  size,
int  nChannels 
)

Definition at line 111 of file one_way_descriptor.cpp.

void CvOneWayDescriptor::EstimatePose ( IplImage *  patch,
int &  pose_idx,
float &  distance 
) const

Definition at line 483 of file one_way_descriptor.cpp.

void CvOneWayDescriptor::EstimatePosePCA ( CvArr *  patch,
int &  pose_idx,
float &  distance,
CvMat *  avg,
CvMat *  eigenvalues 
) const

Definition at line 396 of file one_way_descriptor.cpp.

void CvOneWayDescriptor::GenerateSamples ( int  pose_count,
IplImage *  frontal,
int  norm = 0 
)

Definition at line 228 of file one_way_descriptor.cpp.

void CvOneWayDescriptor::GenerateSamplesFast ( IplImage *  frontal,
CvMat *  pca_hr_avg,
CvMat *  pca_hr_eigenvectors,
CvOneWayDescriptor pca_descriptors 
)

Definition at line 268 of file one_way_descriptor.cpp.

CvPoint CvOneWayDescriptor::GetCenter ( ) const

Definition at line 1047 of file one_way_descriptor.cpp.

const char * CvOneWayDescriptor::GetFeatureName ( ) const

Definition at line 1042 of file one_way_descriptor.cpp.

CvSize CvOneWayDescriptor::GetInputPatchSize ( ) const [inline]

Definition at line 209 of file one_way_descriptor.h.

IplImage * CvOneWayDescriptor::GetPatch ( int  index)

Definition at line 603 of file one_way_descriptor.cpp.

CvSize CvOneWayDescriptor::GetPatchSize ( ) const [inline]

Definition at line 202 of file one_way_descriptor.h.

CvMat** CvOneWayDescriptor::GetPCACoeffs ( ) const [inline]

Definition at line 251 of file one_way_descriptor.h.

Definition at line 1057 of file one_way_descriptor.cpp.

Definition at line 1052 of file one_way_descriptor.cpp.

Definition at line 608 of file one_way_descriptor.cpp.

void CvOneWayDescriptor::Initialize ( int  pose_count,
IplImage *  frontal,
const char *  feature_name = 0,
int  norm = 0 
)

Definition at line 345 of file one_way_descriptor.cpp.

void CvOneWayDescriptor::InitializeFast ( int  pose_count,
IplImage *  frontal,
const char *  feature_name,
CvMat *  pca_hr_avg,
CvMat *  pca_hr_eigenvectors,
CvOneWayDescriptor pca_descriptors 
)

Definition at line 356 of file one_way_descriptor.cpp.

void CvOneWayDescriptor::InitializePCACoeffs ( CvMat *  avg,
CvMat *  eigenvectors 
)

Definition at line 373 of file one_way_descriptor.cpp.

void CvOneWayDescriptor::ProjectPCASample ( IplImage *  patch,
CvMat *  avg,
CvMat *  eigenvectors,
CvMat *  pca_coeffs 
) const

Definition at line 381 of file one_way_descriptor.cpp.

int CvOneWayDescriptor::ReadByName ( CvFileStorage *  fs,
CvFileNode *  parent,
const char *  name 
)

Definition at line 578 of file one_way_descriptor.cpp.

void CvOneWayDescriptor::Save ( const char *  path)

Definition at line 538 of file one_way_descriptor.cpp.

void CvOneWayDescriptor::SetPCADimHigh ( int  pca_dim_high) [inline]

Definition at line 245 of file one_way_descriptor.h.

void CvOneWayDescriptor::SetPCADimLow ( int  pca_dim_low) [inline]

Definition at line 246 of file one_way_descriptor.h.

void CvOneWayDescriptor::SetTransforms ( CvAffinePose poses,
CvMat **  transforms 
)

Definition at line 334 of file one_way_descriptor.cpp.

void CvOneWayDescriptor::Write ( CvFileStorage *  fs,
const char *  name 
)

Definition at line 556 of file one_way_descriptor.cpp.


Member Data Documentation

Definition at line 260 of file one_way_descriptor.h.

CvPoint CvOneWayDescriptor::m_center [protected]

Definition at line 264 of file one_way_descriptor.h.

std::string CvOneWayDescriptor::m_feature_name [protected]

Definition at line 263 of file one_way_descriptor.h.

IplImage* CvOneWayDescriptor::m_input_patch [protected]

Definition at line 257 of file one_way_descriptor.h.

Definition at line 255 of file one_way_descriptor.h.

CvMat** CvOneWayDescriptor::m_pca_coeffs [protected]

Definition at line 259 of file one_way_descriptor.h.

Definition at line 266 of file one_way_descriptor.h.

Definition at line 267 of file one_way_descriptor.h.

Definition at line 254 of file one_way_descriptor.h.

IplImage** CvOneWayDescriptor::m_samples [protected]

Definition at line 256 of file one_way_descriptor.h.

IplImage* CvOneWayDescriptor::m_train_patch [protected]

Definition at line 258 of file one_way_descriptor.h.

CvMat** CvOneWayDescriptor::m_transforms [protected]

Definition at line 261 of file one_way_descriptor.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