#include <cvaux.hpp>
List of all members.
Public Member Functions |
| OneWayDescriptor () |
| ~OneWayDescriptor () |
void | Allocate (int pose_count, CvSize size, int nChannels) |
void | GenerateSamples (int pose_count, IplImage *frontal, int norm=0) |
void | GenerateSamplesFast (IplImage *frontal, CvMat *pca_hr_avg, CvMat *pca_hr_eigenvectors, OneWayDescriptor *pca_descriptors) |
void | SetTransforms (CvAffinePose *poses, CvMat **transforms) |
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, OneWayDescriptor *pca_descriptors) |
void | ProjectPCASample (IplImage *patch, CvMat *avg, CvMat *eigenvectors, CvMat *pca_coeffs) const |
void | InitializePCACoeffs (CvMat *avg, CvMat *eigenvectors) |
void | EstimatePose (IplImage *patch, int &pose_idx, float &distance) const |
void | EstimatePosePCA (CvArr *patch, int &pose_idx, float &distance, CvMat *avg, CvMat *eigenvalues) const |
CvSize | GetPatchSize () const |
CvSize | GetInputPatchSize () const |
IplImage * | GetPatch (int index) |
CvAffinePose | GetPose (int index) const |
void | Save (const char *path) |
int | ReadByName (CvFileStorage *fs, CvFileNode *parent, const char *name) |
void | Write (CvFileStorage *fs, const char *name) |
const char * | GetFeatureName () const |
CvPoint | GetCenter () const |
void | SetPCADimHigh (int pca_dim_high) |
void | SetPCADimLow (int pca_dim_low) |
int | GetPCADimLow () const |
int | GetPCADimHigh () const |
CvMat ** | GetPCACoeffs () const |
Protected Attributes |
int | m_pose_count |
CvSize | m_patch_size |
IplImage ** | m_samples |
IplImage * | m_input_patch |
IplImage * | m_train_patch |
CvMat ** | m_pca_coeffs |
CvAffinePose * | m_affine_poses |
CvMat ** | m_transforms |
std::string | m_feature_name |
CvPoint | m_center |
int | m_pca_dim_high |
int | m_pca_dim_low |
Constructor & Destructor Documentation
cv::OneWayDescriptor::OneWayDescriptor |
( |
|
) |
|
cv::OneWayDescriptor::~OneWayDescriptor |
( |
|
) |
|
Member Function Documentation
void cv::OneWayDescriptor::Allocate |
( |
int |
pose_count, |
|
|
CvSize |
size, |
|
|
int |
nChannels | |
|
) |
| | |
void cv::OneWayDescriptor::GenerateSamples |
( |
int |
pose_count, |
|
|
IplImage * |
frontal, |
|
|
int |
norm = 0 | |
|
) |
| | |
void cv::OneWayDescriptor::SetTransforms |
( |
CvAffinePose * |
poses, |
|
|
CvMat ** |
transforms | |
|
) |
| | |
void cv::OneWayDescriptor::Initialize |
( |
int |
pose_count, |
|
|
IplImage * |
frontal, |
|
|
const char * |
feature_name = 0 , |
|
|
int |
norm = 0 | |
|
) |
| | |
void cv::OneWayDescriptor::InitializeFast |
( |
int |
pose_count, |
|
|
IplImage * |
frontal, |
|
|
const char * |
feature_name, |
|
|
CvMat * |
pca_hr_avg, |
|
|
CvMat * |
pca_hr_eigenvectors, |
|
|
OneWayDescriptor * |
pca_descriptors | |
|
) |
| | |
void cv::OneWayDescriptor::ProjectPCASample |
( |
IplImage * |
patch, |
|
|
CvMat * |
avg, |
|
|
CvMat * |
eigenvectors, |
|
|
CvMat * |
pca_coeffs | |
|
) |
| | const |
void cv::OneWayDescriptor::InitializePCACoeffs |
( |
CvMat * |
avg, |
|
|
CvMat * |
eigenvectors | |
|
) |
| | |
void cv::OneWayDescriptor::EstimatePose |
( |
IplImage * |
patch, |
|
|
int & |
pose_idx, |
|
|
float & |
distance | |
|
) |
| | const |
void cv::OneWayDescriptor::EstimatePosePCA |
( |
CvArr * |
patch, |
|
|
int & |
pose_idx, |
|
|
float & |
distance, |
|
|
CvMat * |
avg, |
|
|
CvMat * |
eigenvalues | |
|
) |
| | const |
CvSize cv::OneWayDescriptor::GetPatchSize |
( |
|
) |
const |
CvSize cv::OneWayDescriptor::GetInputPatchSize |
( |
|
) |
const |
IplImage* cv::OneWayDescriptor::GetPatch |
( |
int |
index |
) |
|
CvAffinePose cv::OneWayDescriptor::GetPose |
( |
int |
index |
) |
const |
void cv::OneWayDescriptor::Save |
( |
const char * |
path |
) |
|
void cv::OneWayDescriptor::Write |
( |
CvFileStorage * |
fs, |
|
|
const char * |
name | |
|
) |
| | |
const char* cv::OneWayDescriptor::GetFeatureName |
( |
|
) |
const |
CvPoint cv::OneWayDescriptor::GetCenter |
( |
|
) |
const |
void cv::OneWayDescriptor::SetPCADimHigh |
( |
int |
pca_dim_high |
) |
|
void cv::OneWayDescriptor::SetPCADimLow |
( |
int |
pca_dim_low |
) |
|
int cv::OneWayDescriptor::GetPCADimLow |
( |
|
) |
const |
int cv::OneWayDescriptor::GetPCADimHigh |
( |
|
) |
const |
CvMat** cv::OneWayDescriptor::GetPCACoeffs |
( |
|
) |
const |
Member Data Documentation
The documentation for this class was generated from the following file: