LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::snake::parameters Class Reference

Parameters for the snakes. More...

#include <ltiSnake.h>

Inheritance diagram for lti::snake::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::snake::parameters:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 parameters ()
virtual ~parameters ()
virtual functor::parametersclone () const
parameterscopy (const parameters &other)
virtual const char * getTypeName () const
virtual bool write (ioHandler &handler, const bool complete=true) const
virtual bool read (ioHandler &handler, const bool complete=true)

Public Attributes

rectangle patchPlace
int lfilter
frgbPixel average
frgbPixel variance
bool splitting

Detailed Description

Parameters for the snakes.


Constructor & Destructor Documentation

lti::snake::parameters::parameters (  ) 

default constructor

Reimplemented from lti::segmentation::parameters.

virtual lti::snake::parameters::~parameters (  )  [virtual]

destructor

Reimplemented from lti::segmentation::parameters.


Member Function Documentation

virtual functor::parameters* lti::snake::parameters::clone (  )  const [virtual]

creates a clone of this object

Reimplemented from lti::segmentation::parameters.

parameters& lti::snake::parameters::copy ( const parameters other  ) 

become the other object

Reimplemented from lti::segmentation::parameters.

virtual const char* lti::snake::parameters::getTypeName (  )  const [virtual]

name of this type

Reimplemented from lti::segmentation::parameters.

virtual bool lti::snake::parameters::read ( ioHandler handler,
const bool  complete = true 
) [virtual]

write the parameters in the given ioHandler

Parameters:
handler the ioHandler to be used
complete if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written.
Returns:
true if write was successful

Reimplemented from lti::segmentation::parameters.

virtual bool lti::snake::parameters::write ( ioHandler handler,
const bool  complete = true 
) const [virtual]

write the parameters in the given ioHandler

Parameters:
handler the ioHandler to be used
complete if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written.
Returns:
true if write was successful

Reimplemented from lti::segmentation::parameters.


Member Data Documentation

average

These are the threshold values used to determine if a new pixel belongs to the outer region or not. The values for each color channel should be between 0.0f and 255.0f

Default value: frgbPixel(10.f,10.f,10.f)

dimension of the linear filter used to identify the object (in pixel) This is the number of pixels (on a line perpendicular to the actual snake) that will be considered to evaluate if the active contour should be moved or not.

Default value: 5

placement of the reference color patch.

This is a rectangular region that will be ignored by the initialization of the snake

Default value: rectangle(180,0,255,30)

Allow the snake to split into two independent contours.

Default value: false

variance

These are the threshold values used to determine if a new pixel belongs to the outer region or not. The values for each color channel should be between 0.0f and 255.0f

Default value: frgbPixel(10.f,10.f,10.f)


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

Generated on Sat Apr 10 15:27:53 2010 for LTI-Lib by Doxygen 1.6.1