#include <Segmentation.h>
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. |
The segmentation options can be roughly gathered in 3 different groups:
|
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.
|
|
Type of frame processing applied < when performing median filter. Setting values:
|
|
Turns on post-segmentation merging of extremely small spots. Setting values:
|
|
Turns on pre-segmentation median filtering. Setting values:
Therefore the possibility of smoothing the noise of the image, before performing the segmentation, is given through this parameter. |