#include <cv.h>
#include <highgui.h>
#include <vector>
#include "outlet_pose_estimation/detail/features.h"
#include "outlet_pose_estimation/detail/affine_transform.h"
#include "outlet_pose_estimation/detail/outlet_model.h"
Go to the source code of this file.
Functions | |
CvSparseMat * | buildHoughHist (std::vector< feature_t > &input, const std::vector< feature_t > &train_features, int *hist_size, float **ranges) |
void | calcExactLocation (std::vector< feature_t > &features, const std::vector< feature_t > &train_features, std::vector< feature_t > &src_outlet, std::vector< feature_t > &dst_outlet, float &reprojectionError, int accuracy=10, bool useSecondAttraction=true) |
void | calcOutletPosition (const std::vector< feature_t > &train_features, float *affine_transform, std::vector< feature_t > &features) |
void | convertFeaturesToOutlet (const std::vector< feature_t > &res_features, std::vector< outlet_t > &holes, IplImage *resImage=0) |
void | convertFeaturesToOutlet (const std::vector< feature_t > &res_features, const std::vector< bool > &is_detected, std::vector< outlet_t > &holes) |
float | generalizedHoughTransform (std::vector< feature_t > &hole_candidates, const std::vector< feature_t > &train_features, int *hist_size, float **ranges, std::vector< outlet_t > &holes, IplImage *ghtImage=NULL, IplImage *resImage=NULL, char *output_path=0, char *base_filename=0) |
void | getMaxHistValues (const CvSparseMat *hist, int *hist_size, float **ranges, float **&maxs, int &count, int MIN_VOTES) |
int | getMaxHistValues (const CvSparseMat *hist, int *hist_size, float **ranges, float **&maxs, int &count) |
CvSparseMat* buildHoughHist | ( | std::vector< feature_t > & | input, |
const std::vector< feature_t > & | train_features, | ||
int * | hist_size, | ||
float ** | ranges | ||
) |
void calcExactLocation | ( | std::vector< feature_t > & | features, |
const std::vector< feature_t > & | train_features, | ||
std::vector< feature_t > & | src_outlet, | ||
std::vector< feature_t > & | dst_outlet, | ||
float & | reprojectionError, | ||
int | accuracy = 10 , |
||
bool | useSecondAttraction = true |
||
) |
void calcOutletPosition | ( | const std::vector< feature_t > & | train_features, |
float * | affine_transform, | ||
std::vector< feature_t > & | features | ||
) |
void convertFeaturesToOutlet | ( | const std::vector< feature_t > & | res_features, |
std::vector< outlet_t > & | holes, | ||
IplImage * | resImage = 0 |
||
) |
void convertFeaturesToOutlet | ( | const std::vector< feature_t > & | res_features, |
const std::vector< bool > & | is_detected, | ||
std::vector< outlet_t > & | holes | ||
) |
float generalizedHoughTransform | ( | std::vector< feature_t > & | hole_candidates, |
const std::vector< feature_t > & | train_features, | ||
int * | hist_size, | ||
float ** | ranges, | ||
std::vector< outlet_t > & | holes, | ||
IplImage * | ghtImage = NULL , |
||
IplImage * | resImage = NULL , |
||
char * | output_path = 0 , |
||
char * | base_filename = 0 |
||
) |
void getMaxHistValues | ( | const CvSparseMat * | hist, |
int * | hist_size, | ||
float ** | ranges, | ||
float **& | maxs, | ||
int & | count, | ||
int | MIN_VOTES | ||
) |
Definition at line 452 of file generalized_hough.cpp.
int getMaxHistValues | ( | const CvSparseMat * | hist, |
int * | hist_size, | ||
float ** | ranges, | ||
float **& | maxs, | ||
int & | count | ||
) |
Definition at line 505 of file generalized_hough.cpp.