mimas::pol_model Class Reference

Pairs of lines model . More...

#include <pol_model.h>

Inheritance diagram for mimas::pol_model:

Inheritance graph
[legend]
Collaboration diagram for mimas::pol_model:

Collaboration graph
[legend]
List of all members.

Public Types

typedef boost::numeric::ublas::vector<
double
Vector

Public Member Functions

void createFromLines (line_ptr_list &slaps)
 Create the model from the given list of straight line segements.
 pol_model ()
void createFromImageFile (const char *fn)
 Create the model (rep) from the given image.
void match (pol_locator &locate, const pol_line_info &l1_orig, const pol_line_info &l2_orig)
 Compare the two given pairs of lines and if they match, make an entry into the location histogram -locate- of the possible centroid position and angle of the model.
Vector getIntersectionAngle (const pol_line_info &l1, const pol_line_info &l2, angle *retval)
 Compare the two lines l1 and l2 and calculate the angle between them. inspectors and modifiers...
double getThreshold ()
double getRadius ()
void setRadius (double r)
bool scaleInvariant ()
void setScaleInvariance (bool r)
line_ptr_list getModelLines ()

Classes

class  linepair

Detailed Description

Pairs of lines model .

shape description in terms of pairs of lines found within the model view.

Definition at line 49 of file pol_model.h.


Member Typedef Documentation

typedef boost::numeric::ublas::vector< double > mimas::pol_model::Vector

Definition at line 52 of file pol_model.h.


Constructor & Destructor Documentation

mimas::pol_model::pol_model (  )  [inline]

Definition at line 93 of file pol_model.h.


Member Function Documentation

void mimas::pol_model::createFromLines ( line_ptr_list slaps  ) 

Create the model from the given list of straight line segements.

void mimas::pol_model::createFromImageFile ( const char *  fn  ) 

Create the model (rep) from the given image.

Edge strings and straight lines will be extracted from the image automatically.

void mimas::pol_model::match ( pol_locator locate,
const pol_line_info l1_orig,
const pol_line_info l2_orig 
)

Compare the two given pairs of lines and if they match, make an entry into the location histogram -locate- of the possible centroid position and angle of the model.

Vector mimas::pol_model::getIntersectionAngle ( const pol_line_info l1,
const pol_line_info l2,
angle retval 
)

Compare the two lines l1 and l2 and calculate the angle between them. inspectors and modifiers...

double mimas::pol_model::getThreshold (  )  [inline]

Definition at line 141 of file pol_model.h.

double mimas::pol_model::getRadius (  )  [inline]

Definition at line 142 of file pol_model.h.

void mimas::pol_model::setRadius ( double  r  )  [inline]

Definition at line 143 of file pol_model.h.

bool mimas::pol_model::scaleInvariant (  ) 

void mimas::pol_model::setScaleInvariance ( bool  r  )  [inline]

Definition at line 145 of file pol_model.h.

line_ptr_list mimas::pol_model::getModelLines (  ) 


The documentation for this class was generated from the following file:
[GNU/Linux] [Qt] [Mesa] [STL] [Lapack] [Boost] [Magick++] [Xalan-C and Xerces-C] [doxygen] [graphviz] [FFTW] [popt] [xine] [Gnuplot] [gnu-arch] [gcc] [gstreamer] [autoconf/automake/make] [freshmeat.net] [opensource.org] [sourceforge.net] [MMVL]
mimas 2.1 - Copyright Mon Oct 30 11:31:44 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...