mimas::edgel Class Reference

< edgel is a kind of image property More...

#include <edgel.h>

Inheritance diagram for mimas::edgel:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 edgel (void)
 constructor
void setPosition (double x, double y)
void setStrength (double s)
void setContrast (double s)
void setOrientation (angle a)
const Vector & getPosition () const
angle getOrientation ()
double getStrength ()
double getContrast ()
virtual void draw (image< rgba< unsigned char > > &output, int i, int j, bool c)
 Draw the edgel at the specified position.

Detailed Description

< edgel is a kind of image property

Algorithms and inspiration from TINA. Canny_Tool is an operator which is used to extract edge strings from input images. Edge extraction method is based upon Canny's algorithm and includes Canny's post processing methods. Found edges are grouped into continuous strings. This class is a template class because it must operator on a template class (the input image).

Author:
Stuart Meikle (stu@stumeikle.org)
Date:
Sun May 12 20:30:02 2002
Header
/cvs/mimas2/include/edgel.h,v 1.1.1.1 2005/08/09 15:37:45 engmb Exp

Definition at line 33 of file edgel.h.


Constructor & Destructor Documentation

mimas::edgel::edgel ( void   )  [inline]

constructor

Definition at line 43 of file edgel.h.


Member Function Documentation

void mimas::edgel::setPosition ( double  x,
double  y 
) [inline]

Definition at line 46 of file edgel.h.

void mimas::edgel::setStrength ( double  s  )  [inline]

Definition at line 47 of file edgel.h.

void mimas::edgel::setContrast ( double  s  )  [inline]

Definition at line 48 of file edgel.h.

void mimas::edgel::setOrientation ( angle  a  )  [inline]

Definition at line 49 of file edgel.h.

const Vector& mimas::edgel::getPosition (  )  const [inline]

Definition at line 51 of file edgel.h.

angle mimas::edgel::getOrientation (  )  [inline]

Definition at line 52 of file edgel.h.

double mimas::edgel::getStrength (  )  [inline]

Definition at line 53 of file edgel.h.

Referenced by mimas::string_el::draw().

double mimas::edgel::getContrast (  )  [inline]

Definition at line 54 of file edgel.h.

virtual void mimas::edgel::draw ( image< rgba< unsigned char > > &  output,
int  i,
int  j,
bool  c 
) [inline, virtual]

Draw the edgel at the specified position.

If 'c' is true also show the strength. This function is called from the property_image draw function and is used for the case where we have a mixture of properties in a single image

Reimplemented from mimas::prop.

Reimplemented in mimas::string_el.

Definition at line 60 of file edgel.h.

References mimas::drawLine().

Here is the call graph for this function:


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:27 2006, Bala Amavasai, Stuart Meikle, Arul Selvan, Fabio Caparrelli, Jan Wedekind, Manuel Boissenin, ...