mimas::activeContour< T > Class Template Reference

#include <active_contour.h>

Inheritance diagram for mimas::activeContour< T >:

Inheritance graph
[legend]
Collaboration diagram for mimas::activeContour< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void pushPolyCoord (int xcoord, int ycoord)
void showPolyCoords (void)
void clearPolyCoords (void)
void sortPolyCoords (void)
void showPolygonOnImage (image_ref< T > &someImage)
void setPolyCircle (int xcenter, int ycenter, int circleRadius, int numPoints)
int adaptContour (const const_image_ref< T > &inputImage)
std::list< Cartesian< int > > adaptContourList (const const_image_ref< T > &trackingImage)
 activeContour ()
 ~activeContour ()

Public Attributes

std::list< Cartesian< int > > polyCoords
int maxTotalPointsMoved
int maxNumIterations
double alpha
double beta
double gamma
bool debug
bool smooth
int showPolygonOnImage_graylevel
int showPolygonOnImage_thickness

Protected Attributes

int numPolyPoints

Detailed Description

template<typename T>
class mimas::activeContour< T >

Definition at line 28 of file active_contour.h.


Constructor & Destructor Documentation

template<typename T>
mimas::activeContour< T >::activeContour (  )  [inline]

Definition at line 63 of file active_contour.h.

References mimas::activeContour< T >::alpha, mimas::activeContour< T >::beta, mimas::activeContour< T >::debug, mimas::activeContour< T >::gamma, mimas::activeContour< T >::maxNumIterations, mimas::activeContour< T >::maxTotalPointsMoved, mimas::activeContour< T >::numPolyPoints, mimas::activeContour< T >::showPolygonOnImage_graylevel, mimas::activeContour< T >::showPolygonOnImage_thickness, and mimas::activeContour< T >::smooth.

template<typename T>
mimas::activeContour< T >::~activeContour (  )  [inline]

Definition at line 80 of file active_contour.h.


Member Function Documentation

template<typename T>
void mimas::activeContour< T >::pushPolyCoord ( int  xcoord,
int  ycoord 
)

Definition at line 265 of file active_contour.h.

References mimas::activeContour< T >::numPolyPoints, mimas::activeContour< T >::polyCoords, mimas::Cartesian< T >::x, and mimas::Cartesian< T >::y.

Referenced by mimas::activeContour< T >::setPolyCircle().

template<typename T>
void mimas::activeContour< T >::showPolyCoords ( void   ) 

Definition at line 280 of file active_contour.h.

References mimas::activeContour< T >::polyCoords.

template<typename T>
void mimas::activeContour< T >::clearPolyCoords ( void   ) 

Definition at line 289 of file active_contour.h.

References mimas::activeContour< T >::polyCoords.

template<typename T>
void mimas::activeContour< T >::sortPolyCoords ( void   ) 

Definition at line 296 of file active_contour.h.

References mimas::activeContour< T >::polyCoords.

template<typename T>
void mimas::activeContour< T >::showPolygonOnImage ( image_ref< T > &  someImage  ) 

Definition at line 347 of file active_contour.h.

References mimas::drawLine(), mimas::drawThickLine(), mimas::activeContour< T >::polyCoords, mimas::activeContour< T >::showPolygonOnImage_graylevel, and mimas::activeContour< T >::showPolygonOnImage_thickness.

Referenced by mimas::activeContour< T >::adaptContour().

Here is the call graph for this function:

template<typename T>
void mimas::activeContour< T >::setPolyCircle ( int  xcenter,
int  ycenter,
int  circleRadius,
int  numPoints 
)

Definition at line 221 of file active_contour.h.

References mimas::activeContour< T >::pushPolyCoord().

Here is the call graph for this function:

template<typename T>
int mimas::activeContour< T >::adaptContour ( const const_image_ref< T > &  inputImage  ) 

Definition at line 95 of file active_contour.h.

References mimas::activeContour< T >::alpha, mimas::activeContour< T >::beta, mimas::image< T >::clear(), mimas::activeContour< T >::debug, mimas::activeContour< T >::gamma, mimas::const_image_ref< T, TPtr >::getHeight(), mimas::image_ref< T >::getPixel(), mimas::const_image_ref< T, TPtr >::getWidth(), mimas::activeContour< T >::maxNumIterations, mimas::activeContour< T >::maxTotalPointsMoved, mimas::activeContour< T >::numPolyPoints, mimas::activeContour< T >::polyCoords, and mimas::activeContour< T >::showPolygonOnImage().

Referenced by mimas::activeContour< T >::adaptContourList().

Here is the call graph for this function:

template<typename T>
std::list< Cartesian< int > > mimas::activeContour< T >::adaptContourList ( const const_image_ref< T > &  trackingImage  ) 

Definition at line 360 of file active_contour.h.

References mimas::activeContour< T >::adaptContour(), mimas::activeContour< T >::polyCoords, mimas::Cartesian< T >::x, and mimas::Cartesian< T >::y.

Here is the call graph for this function:


Member Data Documentation

template<typename T>
int mimas::activeContour< T >::numPolyPoints [protected]

Definition at line 31 of file active_contour.h.

Referenced by mimas::activeContour< T >::activeContour(), mimas::activeContour< T >::adaptContour(), and mimas::activeContour< T >::pushPolyCoord().

template<typename T>
std::list< Cartesian<int> > mimas::activeContour< T >::polyCoords

Definition at line 50 of file active_contour.h.

Referenced by mimas::activeContour< T >::adaptContour(), mimas::activeContour< T >::adaptContourList(), mimas::activeContour< T >::clearPolyCoords(), mimas::activeContour< T >::pushPolyCoord(), mimas::activeContour< T >::showPolyCoords(), mimas::activeContour< T >::showPolygonOnImage(), and mimas::activeContour< T >::sortPolyCoords().

template<typename T>
int mimas::activeContour< T >::maxTotalPointsMoved

Definition at line 53 of file active_contour.h.

Referenced by mimas::activeContour< T >::activeContour(), and mimas::activeContour< T >::adaptContour().

template<typename T>
int mimas::activeContour< T >::maxNumIterations

Definition at line 54 of file active_contour.h.

Referenced by mimas::activeContour< T >::activeContour(), and mimas::activeContour< T >::adaptContour().

template<typename T>
double mimas::activeContour< T >::alpha

Definition at line 55 of file active_contour.h.

Referenced by mimas::activeContour< T >::activeContour(), and mimas::activeContour< T >::adaptContour().

template<typename T>
double mimas::activeContour< T >::beta

Definition at line 55 of file active_contour.h.

Referenced by mimas::activeContour< T >::activeContour(), and mimas::activeContour< T >::adaptContour().

template<typename T>
double mimas::activeContour< T >::gamma

Definition at line 55 of file active_contour.h.

Referenced by mimas::activeContour< T >::activeContour(), and mimas::activeContour< T >::adaptContour().

template<typename T>
bool mimas::activeContour< T >::debug

Definition at line 57 of file active_contour.h.

Referenced by mimas::activeContour< T >::activeContour(), and mimas::activeContour< T >::adaptContour().

template<typename T>
bool mimas::activeContour< T >::smooth

Definition at line 59 of file active_contour.h.

Referenced by mimas::activeContour< T >::activeContour().

template<typename T>
int mimas::activeContour< T >::showPolygonOnImage_graylevel

Definition at line 60 of file active_contour.h.

Referenced by mimas::activeContour< T >::activeContour(), and mimas::activeContour< T >::showPolygonOnImage().

template<typename T>
int mimas::activeContour< T >::showPolygonOnImage_thickness

Definition at line 60 of file active_contour.h.

Referenced by mimas::activeContour< T >::activeContour(), and mimas::activeContour< T >::showPolygonOnImage().


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