Functions
generalized_hough.h File Reference
#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"
Include dependency graph for generalized_hough.h:
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

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.



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