GHough Class Reference

Collaboration diagram for GHough:
Collaboration graph
[legend]

List of all members.

Classes

struct  Acc
struct  AccCmp
struct  Feature
struct  Model
struct  RTable

Public Member Functions

virtual ~GHough ()
 Destructor.
void createInvRTable (const Image< byte > &img, const Image< float > &ang)
 Create an Inverient RTable.
RTable createRTable (const Image< byte > &img, const Image< float > &ang, Point2D< float > &imgPos, int &numFeatures, Point2D< float > &imgLoc)
 Create an RTable.
RTable createRTable (const std::vector< Feature > &features, Point2D< float > &imgPos, Point2D< float > &imgLoc)
RTable createRTable (const Image< byte > &img, const Image< float > &ang, Point2D< int > &center, int &numFeatures)
Image< float > getInvVotes (const Image< byte > &img, const Image< float > &ang)
 Get votes from an RTable.
long getIndex (const std::vector< float > &values)
std::vector< AccgetVotes (const Image< byte > &img, const Image< float > &ang)
std::vector< AccgetVotes (const std::vector< Feature > &features)
std::vector< AccgetVotes (int id, const RTable &rTable, const Image< byte > &img, const Image< float > &ang)
std::vector< AccgetVotes (int id, const RTable &rTable, const std::vector< Feature > &features, float &maxVotes)
std::vector< AccgetVotes2 (int id, const RTable &rTable, const std::vector< Feature > &features, float &maxVotes)
std::vector< AccgetVotes (const Image< float > &img)
std::vector< AccgetVotes (const Image< float > &img, const Image< float > &ori)
Point2D< float > addModel (int &id, const Image< byte > &img, const Image< float > &ang, Point3D< float > pos, Point3D< float > rot)
Point2D< float > addModel (int &id, int type, const std::vector< Feature > &features, Point3D< float > pos, Point3D< float > rot)
void addModel (int id, const Image< float > &img)
Point2D< int > addModel (int id, const std::vector< Point2D< int > > &polygon)
void setPosOffset (int id, Point3D< float > pos)
void writeTable (const char *filename)
void readTable (const char *filename)
Point2D< float > getModelImgPos (const int id)
Point3D< float > getModelRot (const int id)
Point3D< float > getModelPosOffset (const int id)
int getModelType (const int id)
Image< PixRGB< byte > > getRTableImg (const int id)
uint getNumFeatures (const int id)
Image< float > getAccImg (std::vector< GHough::Acc > &acc)
Point2D< int > findInvFeature (const int x, const int y, const Image< float > &img, const Image< float > &ang)
void trainSOFM ()

Detailed Description

Definition at line 56 of file GHough.H.


Constructor & Destructor Documentation

GHough::~GHough (  )  [virtual]

Destructor.

Definition at line 108 of file GHough.C.


Member Function Documentation

void GHough::createInvRTable ( const Image< byte > &  img,
const Image< float > &  ang 
)
GHough::RTable GHough::createRTable ( const Image< byte > &  img,
const Image< float > &  ang,
Point2D< float > &  imgPos,
int &  numFeatures,
Point2D< float > &  imgLoc 
)

Create an RTable.

Definition at line 286 of file GHough.C.

References Image< T >::getHeight(), Image< T >::getVal(), Image< T >::getWidth(), and Point2D< T >::i.

Image< float > GHough::getInvVotes ( const Image< byte > &  img,
const Image< float > &  ang 
)

The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:21 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3