Functions | Variables
one_way_descriptor.cpp File Reference
#include <stdio.h>
#include <outlet_pose_estimation/detail/one_way_descriptor.h>
#include <highgui.h>
Include dependency graph for one_way_descriptor.cpp:

Go to the source code of this file.

Functions

void AffineTransformPatch (IplImage *src, IplImage *dst, CvAffinePose pose)
void cvmSet2DPoint (CvMat *matrix, int row, int col, CvPoint2D32f point)
void cvmSet3DPoint (CvMat *matrix, int row, int col, CvPoint3D32f point)
void FindOneWayDescriptor (int desc_count, const CvOneWayDescriptor *descriptors, IplImage *patch, int &desc_idx, int &pose_idx, float &distance, CvMat *avg, CvMat *eigenvectors)
void FindOneWayDescriptor (int desc_count, const CvOneWayDescriptor *descriptors, IplImage *patch, int n, std::vector< int > &desc_idxs, std::vector< int > &pose_idxs, std::vector< float > &distances, CvMat *avg, CvMat *eigenvectors)
void FindOneWayDescriptorEx (int desc_count, const CvOneWayDescriptor *descriptors, IplImage *patch, float scale_min, float scale_max, float scale_step, int &desc_idx, int &pose_idx, float &distance, float &scale, CvMat *avg, CvMat *eigenvectors)
void FindOneWayDescriptorEx (int desc_count, const CvOneWayDescriptor *descriptors, IplImage *patch, float scale_min, float scale_max, float scale_step, int n, std::vector< int > &desc_idxs, std::vector< int > &pose_idxs, std::vector< float > &distances, std::vector< float > &scales, CvMat *avg, CvMat *eigenvectors)
void generate_mean_patch (IplImage *frontal, IplImage *result, CvAffinePose pose, int pose_count, float noise)
void generate_mean_patch_fast (IplImage *frontal, IplImage *result, CvAffinePose pose, CvMat *pca_hr_avg, CvMat *pca_hr_eigenvectors, const CvOneWayDescriptor *pca_descriptors)
void GenerateAffineTransformFromPose (CvSize size, CvAffinePose pose, CvMat *transform)
CvAffinePose GenRandomAffinePose ()
void homography_transform (IplImage *frontal, IplImage *result, CvMat *homography)
CvAffinePose perturbate_pose (CvAffinePose pose, float noise)
static CvPoint rect_center (CvRect rect)

Variables

static const float pi = 3.1415926

Function Documentation

void AffineTransformPatch ( IplImage *  src,
IplImage *  dst,
CvAffinePose  pose 
)

Definition at line 192 of file one_way_descriptor.cpp.

void cvmSet2DPoint ( CvMat *  matrix,
int  row,
int  col,
CvPoint2D32f  point 
)

Definition at line 134 of file one_way_descriptor.cpp.

void cvmSet3DPoint ( CvMat *  matrix,
int  row,
int  col,
CvPoint3D32f  point 
)

Definition at line 140 of file one_way_descriptor.cpp.

void FindOneWayDescriptor ( int  desc_count,
const CvOneWayDescriptor descriptors,
IplImage *  patch,
int &  desc_idx,
int &  pose_idx,
float &  distance,
CvMat *  avg,
CvMat *  eigenvectors 
)

Definition at line 613 of file one_way_descriptor.cpp.

void FindOneWayDescriptor ( int  desc_count,
const CvOneWayDescriptor descriptors,
IplImage *  patch,
int  n,
std::vector< int > &  desc_idxs,
std::vector< int > &  pose_idxs,
std::vector< float > &  distances,
CvMat *  avg,
CvMat *  eigenvectors 
)

Definition at line 806 of file one_way_descriptor.cpp.

void FindOneWayDescriptorEx ( int  desc_count,
const CvOneWayDescriptor descriptors,
IplImage *  patch,
float  scale_min,
float  scale_max,
float  scale_step,
int &  desc_idx,
int &  pose_idx,
float &  distance,
float &  scale,
CvMat *  avg,
CvMat *  eigenvectors 
)

Definition at line 897 of file one_way_descriptor.cpp.

void FindOneWayDescriptorEx ( int  desc_count,
const CvOneWayDescriptor descriptors,
IplImage *  patch,
float  scale_min,
float  scale_max,
float  scale_step,
int  n,
std::vector< int > &  desc_idxs,
std::vector< int > &  pose_idxs,
std::vector< float > &  distances,
std::vector< float > &  scales,
CvMat *  avg,
CvMat *  eigenvectors 
)

Definition at line 946 of file one_way_descriptor.cpp.

void generate_mean_patch ( IplImage *  frontal,
IplImage *  result,
CvAffinePose  pose,
int  pose_count,
float  noise 
)

Definition at line 44 of file one_way_descriptor.cpp.

void generate_mean_patch_fast ( IplImage *  frontal,
IplImage *  result,
CvAffinePose  pose,
CvMat *  pca_hr_avg,
CvMat *  pca_hr_eigenvectors,
const CvOneWayDescriptor pca_descriptors 
)

Definition at line 67 of file one_way_descriptor.cpp.

void GenerateAffineTransformFromPose ( CvSize  size,
CvAffinePose  pose,
CvMat *  transform 
)

Definition at line 160 of file one_way_descriptor.cpp.

Definition at line 147 of file one_way_descriptor.cpp.

void homography_transform ( IplImage *  frontal,
IplImage *  result,
CvMat *  homography 
)

Definition at line 24 of file one_way_descriptor.cpp.

CvAffinePose perturbate_pose ( CvAffinePose  pose,
float  noise 
)

Definition at line 29 of file one_way_descriptor.cpp.

static CvPoint rect_center ( CvRect  rect) [inline, static]

Definition at line 19 of file one_way_descriptor.cpp.


Variable Documentation

const float pi = 3.1415926 [static]

Definition at line 11 of file one_way_descriptor.cpp.



outlet_pose_estimation
Author(s): Patrick Mihelich
autogenerated on Thu Aug 27 2015 14:29:52