finds arbitrary template in the grayscale image using Generalized Hough Transform
More...
|
virtual int | getLevels () const =0 |
|
virtual int | getVotesThreshold () const =0 |
|
virtual void | setLevels (int levels)=0 |
| R-Table levels.
|
|
virtual void | setVotesThreshold (int votesThreshold)=0 |
| The accumulator threshold for the template centers at the detection stage. The smaller it is, the more false positions may be detected.
|
|
virtual void | detect (InputArray edges, InputArray dx, InputArray dy, OutputArray positions, OutputArray votes=noArray())=0 |
|
virtual void | detect (InputArray image, OutputArray positions, OutputArray votes=noArray())=0 |
| find template on image
|
|
virtual int | getCannyHighThresh () const =0 |
|
virtual int | getCannyLowThresh () const =0 |
|
virtual double | getDp () const =0 |
|
virtual int | getMaxBufferSize () const =0 |
|
virtual double | getMinDist () const =0 |
|
virtual void | setCannyHighThresh (int cannyHighThresh)=0 |
| Canny high threshold.
|
|
virtual void | setCannyLowThresh (int cannyLowThresh)=0 |
| Canny low threshold.
|
|
virtual void | setDp (double dp)=0 |
| Inverse ratio of the accumulator resolution to the image resolution.
|
|
virtual void | setMaxBufferSize (int maxBufferSize)=0 |
| Maximal size of inner buffers.
|
|
virtual void | setMinDist (double minDist)=0 |
| Minimum distance between the centers of the detected objects.
|
|
virtual void | setTemplate (InputArray edges, InputArray dx, InputArray dy, Point templCenter=Point(-1, -1))=0 |
|
virtual void | setTemplate (InputArray templ, Point templCenter=Point(-1, -1))=0 |
| set template to search
|
|
| Algorithm () |
|
virtual | ~Algorithm () |
|
virtual void | clear () |
| Clears the algorithm state.
|
|
virtual bool | empty () const |
| Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
|
|
virtual String | getDefaultName () const |
|
virtual void | read (const FileNode &fn) |
| Reads algorithm parameters from a file storage.
|
|
virtual void | save (const String &filename) const |
|
virtual void | write (FileStorage &fs) const |
| Stores algorithm parameters in a file storage.
|
|
void | write (FileStorage &fs, const String &name) const |
|
finds arbitrary template in the grayscale image using Generalized Hough Transform
Detects position only without translation and rotation [15] .