OpenCV  2.4.13.5
Open Source Computer Vision
cv::GeneralizedHough Class Referenceabstract

#include <imgproc.hpp>

Inheritance diagram for cv::GeneralizedHough:
cv::Algorithm

Public Member Functions

virtual ~GeneralizedHough ()
 
void setTemplate (InputArray templ, int cannyThreshold=100, Point templCenter=Point(-1, -1))
 set template to search More...
 
void setTemplate (InputArray edges, InputArray dx, InputArray dy, Point templCenter=Point(-1, -1))
 
void detect (InputArray image, OutputArray positions, OutputArray votes=cv::noArray(), int cannyThreshold=100)
 find template on image More...
 
void detect (InputArray edges, InputArray dx, InputArray dy, OutputArray positions, OutputArray votes=cv::noArray())
 
void release ()
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
string name () const
 
template<typename _Tp >
ParamType< _Tp >::member_type get (const string &name) const
 
template<typename _Tp >
ParamType< _Tp >::member_type get (const char *name) const
 
int getInt (const string &name) const
 
double getDouble (const string &name) const
 
bool getBool (const string &name) const
 
string getString (const string &name) const
 
Mat getMat (const string &name) const
 
vector< MatgetMatVector (const string &name) const
 
Ptr< AlgorithmgetAlgorithm (const string &name) const
 
void set (const string &name, int value)
 
void set (const string &name, double value)
 
void set (const string &name, bool value)
 
void set (const string &name, const string &value)
 
void set (const string &name, const Mat &value)
 
void set (const string &name, const vector< Mat > &value)
 
void set (const string &name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void set (const string &name, const Ptr< _Tp > &value)
 
void setInt (const string &name, int value)
 
void setDouble (const string &name, double value)
 
void setBool (const string &name, bool value)
 
void setString (const string &name, const string &value)
 
void setMat (const string &name, const Mat &value)
 
void setMatVector (const string &name, const vector< Mat > &value)
 
void setAlgorithm (const string &name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void setAlgorithm (const string &name, const Ptr< _Tp > &value)
 
void set (const char *name, int value)
 
void set (const char *name, double value)
 
void set (const char *name, bool value)
 
void set (const char *name, const string &value)
 
void set (const char *name, const Mat &value)
 
void set (const char *name, const vector< Mat > &value)
 
void set (const char *name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void set (const char *name, const Ptr< _Tp > &value)
 
void setInt (const char *name, int value)
 
void setDouble (const char *name, double value)
 
void setBool (const char *name, bool value)
 
void setString (const char *name, const string &value)
 
void setMat (const char *name, const Mat &value)
 
void setMatVector (const char *name, const vector< Mat > &value)
 
void setAlgorithm (const char *name, const Ptr< Algorithm > &value)
 
template<typename _Tp >
void setAlgorithm (const char *name, const Ptr< _Tp > &value)
 
string paramHelp (const string &name) const
 
int paramType (const char *name) const
 
int paramType (const string &name) const
 
void getParams (CV_OUT vector< string > &names) const
 
virtual void write (FileStorage &fs) const
 
virtual void read (const FileNode &fn)
 
virtual AlgorithmInfoinfo () const
 

Static Public Member Functions

static Ptr< GeneralizedHoughcreate (int method)
 
- Static Public Member Functions inherited from cv::Algorithm
static void getList (CV_OUT vector< string > &algorithms)
 
static Ptr< Algorithm_create (const string &name)
 
template<typename _Tp >
static Ptr< _Tp > create (const string &name)
 

Protected Member Functions

virtual void setTemplateImpl (const Mat &edges, const Mat &dx, const Mat &dy, Point templCenter)=0
 
virtual void detectImpl (const Mat &edges, const Mat &dx, const Mat &dy, OutputArray positions, OutputArray votes)=0
 
virtual void releaseImpl ()=0
 

Additional Inherited Members

- Public Types inherited from cv::Algorithm
typedef Algorithm *(* Constructor) (void)
 
typedef int(Algorithm::* Getter) () const
 
typedef void(Algorithm::* Setter) (int)
 

Detailed Description

finds arbitrary template in the grayscale image using Generalized Hough Transform Ballard, D.H. (1981). Generalizing the Hough transform to detect arbitrary shapes. Pattern Recognition 13 (2): 111-122. Guil, N., González-Linares, J.M. and Zapata, E.L. (1999). Bidimensional shape detection using an invariant approach. Pattern Recognition 32 (6): 1025-1038.

Constructor & Destructor Documentation

§ ~GeneralizedHough()

virtual cv::GeneralizedHough::~GeneralizedHough ( )
virtual

Member Function Documentation

§ create()

static Ptr<GeneralizedHough> cv::GeneralizedHough::create ( int  method)
static

§ detect() [1/2]

void cv::GeneralizedHough::detect ( InputArray  image,
OutputArray  positions,
OutputArray  votes = cv::noArray(),
int  cannyThreshold = 100 
)

find template on image

§ detect() [2/2]

void cv::GeneralizedHough::detect ( InputArray  edges,
InputArray  dx,
InputArray  dy,
OutputArray  positions,
OutputArray  votes = cv::noArray() 
)

§ detectImpl()

virtual void cv::GeneralizedHough::detectImpl ( const Mat edges,
const Mat dx,
const Mat dy,
OutputArray  positions,
OutputArray  votes 
)
protectedpure virtual

§ release()

void cv::GeneralizedHough::release ( )

§ releaseImpl()

virtual void cv::GeneralizedHough::releaseImpl ( )
protectedpure virtual

§ setTemplate() [1/2]

void cv::GeneralizedHough::setTemplate ( InputArray  templ,
int  cannyThreshold = 100,
Point  templCenter = Point(-1, -1) 
)

set template to search

§ setTemplate() [2/2]

void cv::GeneralizedHough::setTemplate ( InputArray  edges,
InputArray  dx,
InputArray  dy,
Point  templCenter = Point(-1, -1) 
)

§ setTemplateImpl()

virtual void cv::GeneralizedHough::setTemplateImpl ( const Mat edges,
const Mat dx,
const Mat dy,
Point  templCenter 
)
protectedpure virtual

The documentation for this class was generated from the following file: