Fawkes API  Fawkes Development Version
firevision::RhtCircleModel Class Reference

#include <>>

Inheritance diagram for firevision::RhtCircleModel:

Public Member Functions

 RhtCircleModel (void)
 Constructor. More...
 
virtual ~RhtCircleModel (void)
 Destructor. More...
 
std::string getName (void) const
 
int parseImage (unsigned char *buffer, ROI *roi)
 
int getShapeCount (void) const
 
CirclegetShape (int id) const
 
CirclegetMostLikelyShape (void) const
 
- Public Member Functions inherited from firevision::ShapeModel
virtual ~ShapeModel ()
 Virtual empty destructor. More...
 

Detailed Description

Randomized Hough-Transform circle model.

Definition at line 47 of file rht_circle.h.

Constructor & Destructor Documentation

◆ RhtCircleModel()

firevision::RhtCircleModel::RhtCircleModel ( void  )

Constructor.

Definition at line 51 of file rht_circle.cpp.

◆ ~RhtCircleModel()

firevision::RhtCircleModel::~RhtCircleModel ( void  )
virtual

Destructor.

Definition at line 56 of file rht_circle.cpp.

Member Function Documentation

◆ getMostLikelyShape()

Circle * firevision::RhtCircleModel::getMostLikelyShape ( void  ) const
virtual

Get best candidate.

Returns
best candidate shape, do not free.

Implements firevision::ShapeModel.

Definition at line 257 of file rht_circle.cpp.

◆ getName()

std::string firevision::RhtCircleModel::getName ( void  ) const
inlinevirtual

Get name of shape model.

Returns
name of shape model.

Implements firevision::ShapeModel.

Definition at line 60 of file rht_circle.h.

◆ getShape()

Circle * firevision::RhtCircleModel::getShape ( int  id) const
virtual

Get specific shape.

Parameters
idshape ID
Returns
shape, do NOT free!

Implements firevision::ShapeModel.

Definition at line 247 of file rht_circle.cpp.

◆ getShapeCount()

int firevision::RhtCircleModel::getShapeCount ( void  ) const
virtual

Get number of shapes.

Returns
number of shapes.

Implements firevision::ShapeModel.

Definition at line 241 of file rht_circle.cpp.

◆ parseImage()

int firevision::RhtCircleModel::parseImage ( unsigned char *  buffer,
ROI roi 
)
virtual

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