Functions
generalized_hough.cpp File Reference
#include <cv.h>
#include <highgui.h>
#include "outlet_pose_estimation/detail/generalized_hough.h"
#include "outlet_pose_estimation/detail/features.h"
Include dependency graph for generalized_hough.cpp:

Go to the source code of this file.

Functions

void attractOutletToFeatures (const vector< feature_t > &train_features, const vector< feature_t > &features, vector< feature_t > &dst_outlet, const int *indexes, float max_diff_coeff)
CvSparseMat * buildHoughHist (vector< feature_t > &input, const vector< feature_t > &train_features, int *hist_size, float **ranges)
void calcExactLocation (vector< feature_t > &features, const vector< feature_t > &train_features, vector< feature_t > &src_outlet, vector< feature_t > &dst_outlet, float &reprojectionError, int accuracy, bool useSecondAttraction)
void calcOutletPosition (const vector< feature_t > &train_features, float *affine_transform, vector< feature_t > &features)
void convertFeaturesToOutlet (const vector< feature_t > &res_features, vector< outlet_t > &holes, IplImage *resImage)
void convertFeaturesToOutlet (const vector< feature_t > &res_features, const vector< bool > &is_detected, vector< outlet_t > &holes)
CV_IMPL CvSparseMat * cvCreateOutletSparseMat (int dims, const int *sizes, int type)
void filterFalseMovements (const vector< feature_t > &projected_outlet, vector< feature_t > &dst_outlet)
void filterOutletOutliers (vector< feature_t > &features, vector< feature_t > &dst_outlet, int accuracy)
float generalizedHoughTransform (vector< feature_t > &hole_candidates, const vector< feature_t > &train_features, int *hist_size, float **ranges, vector< outlet_t > &holes, IplImage *ghtImage, IplImage *resImage, char *output_path, char *base_filename)
float ** getMaxHistValues (const CvHistogram *hist, int *hist_size)
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)
void getNearestFeaturesIndexes (const vector< feature_t > &src_outlet, const vector< feature_t > &features, int *indexes, int accuracy, float max_diff_coeff)
CvPoint * getOutletCenter (feature_t feature, const vector< feature_t > &train_features, int feature_id, float angle1, float x_scale, float y_scale, float angle2)
void repaintFeatures (const vector< feature_t > hole_candidates, const vector< feature_t > &hole_features, vector< feature_t > &hole_candidates_repainted, int accuracy=10)

Function Documentation

void attractOutletToFeatures ( const vector< feature_t > &  train_features,
const vector< feature_t > &  features,
vector< feature_t > &  dst_outlet,
const int *  indexes,
float  max_diff_coeff 
)

Definition at line 841 of file generalized_hough.cpp.

CvSparseMat* buildHoughHist ( vector< feature_t > &  input,
const vector< feature_t > &  train_features,
int *  hist_size,
float **  ranges 
)

Definition at line 259 of file generalized_hough.cpp.

void calcExactLocation ( vector< feature_t > &  features,
const vector< feature_t > &  train_features,
vector< feature_t > &  src_outlet,
vector< feature_t > &  dst_outlet,
float &  reprojectionError,
int  accuracy,
bool  useSecondAttraction 
)

Definition at line 895 of file generalized_hough.cpp.

void calcOutletPosition ( const vector< feature_t > &  train_features,
float *  affine_transform,
vector< feature_t > &  features 
)

Definition at line 606 of file generalized_hough.cpp.

void convertFeaturesToOutlet ( const vector< feature_t > &  res_features,
vector< outlet_t > &  holes,
IplImage *  resImage 
)

Definition at line 1005 of file generalized_hough.cpp.

void convertFeaturesToOutlet ( const vector< feature_t > &  res_features,
const vector< bool > &  is_detected,
vector< outlet_t > &  holes 
)

Definition at line 1030 of file generalized_hough.cpp.

CV_IMPL CvSparseMat* cvCreateOutletSparseMat ( int  dims,
const int *  sizes,
int  type 
)

Definition at line 12 of file generalized_hough.cpp.

void filterFalseMovements ( const vector< feature_t > &  projected_outlet,
vector< feature_t > &  dst_outlet 
)

*for (int i=nPower;i<nPower+nGround;i++)

Definition at line 656 of file generalized_hough.cpp.

void filterOutletOutliers ( vector< feature_t > &  features,
vector< feature_t > &  dst_outlet,
int  accuracy 
)

Definition at line 63 of file generalized_hough.cpp.

float generalizedHoughTransform ( vector< feature_t > &  hole_candidates,
const vector< feature_t > &  train_features,
int *  hist_size,
float **  ranges,
vector< outlet_t > &  holes,
IplImage *  ghtImage,
IplImage *  resImage,
char *  output_path,
char *  base_filename 
)

Definition at line 1076 of file generalized_hough.cpp.

float** getMaxHistValues ( const CvHistogram *  hist,
int *  hist_size 
)

Definition at line 429 of file generalized_hough.cpp.

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.

void getNearestFeaturesIndexes ( const vector< feature_t > &  src_outlet,
const vector< feature_t > &  features,
int *  indexes,
int  accuracy,
float  max_diff_coeff 
)

Definition at line 771 of file generalized_hough.cpp.

CvPoint* getOutletCenter ( feature_t  feature,
const vector< feature_t > &  train_features,
int  feature_id,
float  angle1,
float  x_scale,
float  y_scale,
float  angle2 
)

Definition at line 225 of file generalized_hough.cpp.

void repaintFeatures ( const vector< feature_t hole_candidates,
const vector< feature_t > &  hole_features,
vector< feature_t > &  hole_candidates_repainted,
int  accuracy = 10 
)

Definition at line 1053 of file generalized_hough.cpp.



outlet_pose_estimation
Author(s): Patrick Mihelich
autogenerated on Thu Nov 28 2013 11:46:23