Main Page | Alphabetical List | Class List | File List | Class Members | File Members

_SegmentationOptions Struct Reference

Possible options of image segmentation. More...

#include <Segmentation.h>

List of all members.

Public Attributes

Postprocessing options
size_t expectedParents
 Expected total number of parents (= spots) after the segmentation.

bool shouldDisolveExtremeSpots
 Turns on post-segmentation merging of extremely small spots.

Preprocessing options
FrameProcessing frameMedian
 Type of frame processing applied < when performing median filter.

bool shouldPerformMedianFilter
 Turns on pre-segmentation median filtering.

Algorithm parameters
SegmentationParameters parameters
 Parameters of the segmentation algorithm.


Detailed Description

Possible options of image segmentation.

The segmentation options can be roughly gathered in 3 different groups:


Member Data Documentation

size_t _SegmentationOptions::expectedParents
 

Expected total number of parents (= spots) after the segmentation.

This magnitude is used as an estimation of the memory to be allocated. Nevertheless a reallocation is carried out, whenever this number is exceeded. So this parameter is meant only to increase the performance of the application.

Warning:
This parameter must take a positive ( $> 0$ ) integer.

FrameProcessing _SegmentationOptions::frameMedian
 

Type of frame processing applied < when performing median filter.

Setting values:

Are those provided by the enum type #FrameProcessing

bool _SegmentationOptions::shouldDisolveExtremeSpots
 

Turns on post-segmentation merging of extremely small spots.

Setting values:

  • false : no merging of extremely small spots is done at all.
  • true : merging of extremely small spots with the adjacent spots is carried out.

bool _SegmentationOptions::shouldPerformMedianFilter
 

Turns on pre-segmentation median filtering.

Setting values:

  • false : no median filter is performed.
  • true : median filter is performed.

Therefore the possibility of smoothing the noise of the image, before performing the segmentation, is given through this parameter.


The documentation for this struct was generated from the following file:
Generated on Wed Jul 14 17:25:05 2004 for Segmentation by doxygen 1.3.7