image = | darkHysteresisThreshold3dImg (inImg3d,highSeedThreshold,highPropagationThreshold) |
image = | lightHysteresisThreshold3dImg (inImg3d,lowSeedThreshold,lowPropagationThreshold) |
image = | hysteresisThreshold3dImg (inImg3d,lowSeedThreshold,highSeedThreshold,lowPropagationThreshold,highPropagationThreshold) |
Apply hysteresis thresholding to a 3d image.
Hysteresis threshold algorithm applies two thresholds and
on the output image.
is the most restrictive threshold and yields a seed image
, used to propagate the marked features in
, obtained by thresholding the input image by
. This algorithm is commonly used in edge detection such as Canny edge detector.
The aim of this threshold is to preserve the features in containing a seed in
.
The algorithm needs 4 thresholds: the minimum and maximum thresholds and
to compute the seed image
and the minimum and maximum thresholds
and
to compute the image
, used for the propagation.
To simplify the algorithm parametrization, several wrappers are defined to apply this threshold:
See Hysteresis Threshold 2d for an example of hysteresis threshold.