Thresholding Type
Threshold type defines how BlobID uses thresholding logic when determining cell connectivity. The types are
none – Do not use any thresholding
single – Use method described by [Chan2021]
double – Use CCL-2 method described by [Hendrickson2020] NOT IMPLEMENTED
triple – Use CCL-3 method described by [Hendrickson2020] NOT IMPLEMENTED
Default: none
Thresholding Values
thresholds are the values used for the thresholding logic. This must be an array of 2 doubles, even if the thresholding method doesn't use all the values. The behavior for each thresholding method is:
| Method | thresholds[0] | thresholds[1] | Default |
"none" | - | - | [ 0.0 , 0.0 ] |
"single" | 1st pass | - | [ 0.1 , 0.0 ] |
"double" | 1st pass | - | [ 0.4 , 0.0 ] |
"triple" | 1st pass | 2nd pass | [ 0.3 , 0.5 ] |
Note: Defaults can be changed by preprocessor flags.
◆ BLOBID_SettingsGetThresholdType()
Returns the UID associated with the current threshold type.
- Parameters
-
| option | UID |
| settings | The BLOBID_Settings object |
◆ BLOBID_SettingsSetThresholds()
| void BLOBID_SettingsSetThresholds |
( |
const double *const |
thresholds, |
|
|
BLOBID_Settings *const |
settings |
|
) |
| |
Sets the threshold values.
- Parameters
-
◆ BLOBID_SettingsGetThresholds()
| void BLOBID_SettingsGetThresholds |
( |
double *const |
thresholds, |
|
|
const BLOBID_Settings *const |
settings |
|
) |
| |
Get the threshold values.
- Parameters
-
◆ BLOBID_THR_NONE
◆ BLOBID_THR_SINGLEPASS
◆ BLOBID_THR_DOUBLEPASS
◆ BLOBID_THR_TRIPLEPASS