|
latest version v1.9 - last update 24 Nov 2005 |
|
#include <ltiRegionGrowing.h>
Inheritance diagram for lti::regionGrowing::parameters:


Public Types | |
| enum | eMode { UseGivenThresholds, GetThresholdsRelative, GetThresholdsAbsolute } |
| enum | eBackgroundType { Dark, Medium, Light } |
Public Member Functions | |
| parameters () | |
| parameters (const parameters &other) | |
| ~parameters () | |
| const char * | getTypeName () const |
| parameters & | copy (const parameters &other) |
| virtual functor::parameters * | clone () const |
| virtual bool | write (ioHandler &handler, const bool complete=true) const |
| virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
| eBackgroundType | backgroundType |
| bool | useGaussKernel |
| int | localStatisticsKernelSize |
| double | localStatisticsKernelVariance |
| int | smoothingKernelSize |
| float | smoothingThreshold |
| trectangle< float > | patchPosition |
| eMode | mode |
| int | scaleFactor |
| float | averageThreshold |
| trgbPixel< float > | averageThresholds |
| float | edgesThreshold |
| vector< tpoint< float > > | seedPoints |
|
|
Types of "lightness" for the background.
|
|
|
Types for the region growing modi.
|
|
|
Default constructor.
Reimplemented from lti::segmentation::parameters. |
|
|
Copy constructor.
|
|
|
Destructor.
Reimplemented from lti::segmentation::parameters. |
|
|
Returns a pointer to a clone of the parameters.
Reimplemented from lti::segmentation::parameters. |
|
|
Copy the contents of a parameters object.
|
|
|
Returns name of this type.
Reimplemented from lti::segmentation::parameters. |
|
||||||||||||
|
Write the parameters in the given ioHandler.
Reimplemented from lti::segmentation::parameters. |
|
||||||||||||
|
Write the parameters in the given ioHandler.
Reimplemented from lti::segmentation::parameters. |
|
|
Used by the UseGivenThresholds-mode for the segmentation of a channel or channel8. This value MUST be between 0.0 and 1.0 (The channel8 values will be divided by 255 before the comparitions) |
|
|
Used by the UseGivenThresholds-mode for the segmentation of a color image. Each component value must be between 0.0 and 1.0 |
|
|
Type (brightness) of the background. The default value is "Dark". |
|
|
Used by the UseGivenThresholds-mode for the segmentation of a channel or channel8. This value must be between 0.0 and 1.0. (The channel8 values will be divided by 255 before the comparitions) |
|
|
Size of the filter kernel used to specify a local region. The default value is 5 |
|
|
Variance of the filter kernel used to specify a local region (used only if useGaussKernel is true). The default value is "-1", which meaning is described in gaussKernel |
|
|
Specify how to obtain the threshold values to considered a pixel similar to the seed or not.
|
|
|
Specify the position in the image or channel, where the values for the "background" can be taken. If the mode is GetThresholdsRelative, the values of the coordinates must be between 0.0 and 1.0. The absolute coordinates will be calculated multiplying this values with the size of the image to be segmented. If the mode is GetThresholdsAbsolute, this parameters should contain the absolute coordinates for the background patch. |
|
|
The scale factor allows a faster calculation for the segmentation mask, but with a lower boundary detection accuracy.
|
|
|
A list with the relative positions for the starting seed points can be specified here. The valid values for each coordinate are between 0.0f and 1.0f. The default values are the four corners (i.e. (0,0),(0,1),(1,0),(1,1) ) |
|
|
Size of a gaussian kernel used to low-pass-filter the final segmentated mask.
|
|
|
Smoothing threshold. After the first segmentation, all pixels will be assigned to the background or the object. The smoothing filter will generate at the borders of the objects values between 0 (background) and 1 (object). This value will determine which values will be considered as object. The default value is 0.6 |
|
|
If this variable is "true", the local region will be specified by a gassian filter with the given (local region) size and variance. If "false", a rectangular filter will be used. The default value is "false" |