latest version v1.9 - last update 10 Apr 2010 |
Parameters for the snakes. More...
#include <ltiSnake.h>
Public Member Functions | |
parameters () | |
virtual | ~parameters () |
virtual functor::parameters * | clone () const |
parameters & | copy (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 |
Parameters for the snakes.
lti::snake::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::segmentation::parameters.
virtual lti::snake::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::segmentation::parameters.
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
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. |
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
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. |
Reimplemented from lti::segmentation::parameters.
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)
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)