![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Apply hysteresis thresholding to a 3d image. More...
| IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr | ipsdk::imaproc::bin::darkHysteresisThreshold3dImg (const ipsdk::image::ImageConstPtr &pInImg3d, const ipsdk::ipReal64 highSeedThreshold, const ipsdk::ipReal64 highPropagationThreshold) |
| wrapper function for dark Hysteresis thresholding to a 3d image More... | |
| IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr | ipsdk::imaproc::bin::lightHysteresisThreshold3dImg (const ipsdk::image::ImageConstPtr &pInImg3d, const ipsdk::ipReal64 lowSeedThreshold, const ipsdk::ipReal64 lowPropagationThreshold) |
| wrapper function for light Hysteresis thresholding to a 3d image More... | |
| IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr | ipsdk::imaproc::bin::hysteresisThreshold3dImg (const ipsdk::image::ImageConstPtr &pInImg3d, const ipsdk::ipReal64 lowSeedThreshold, const ipsdk::ipReal64 highSeedThreshold, const ipsdk::ipReal64 lowPropagationThreshold, const ipsdk::ipReal64 highPropagationThreshold) |
| wrapper function for Apply hysteresis thresholding to a 3d image More... | |
| IPSDKIPLBINARIZATION_API void | ipsdk::imaproc::bin::hysteresisThreshold3dImg (const ipsdk::image::ImageConstPtr &pInImg3d, const ipsdk::ipReal64 lowSeedThreshold, const ipsdk::ipReal64 highSeedThreshold, const ipsdk::ipReal64 lowPropagationThreshold, const ipsdk::ipReal64 highPropagationThreshold, const ipsdk::eNeighborhood3dType &inOptNeighborhood3d, const image::ImagePtr &pOutBinImg) |
| wrapper function for Apply hysteresis thresholding to a 3d image More... | |
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:
and
,
and
being automatically set to the image buffer type minimum value. This allows to select dark features using darker seeds on light background.
and
,
and
being automatically set to the image buffer type maximum value. This allows to select light features using lighter seeds on dark background.
See Hysteresis Threshold 2d for an example of hysteresis threshold.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg3d | [Input] 3d image for operation | X |
| ipsdk::imaproc::attr::InHysteresisParams | [Input] Parameters for hysteresis threshold | X |
| ipsdk::imaproc::attr::InOptNeighborhood3d | [Input optional] neighborhood 3d type for operation | X |
| ipsdk::imaproc::attr::OutOptWk1BinImg | [Output Optional] Temporary working image for algorithm | X |
| ipsdk::imaproc::attr::OutOptWk1LabelImg | [Output Optional] Temporary working image for algorithm | X |
| ipsdk::imaproc::attr::OutBinImg | [Output] binary image for processing operation | ipsdk::imaproc::duplicateInOut (_pOutBinImg, _pInImg3d, image::eImageBufferType::eIBT_Binary) |
Global rule description for algorithm :
(ipsdk::imaproc::matchSize (_pInImg3d,_pOutBinImg) &&
(ipsdk::processor::ifIsSet (
_pOutOptWk1LabelImg, (
ipsdk::imaproc::matchSize (_pInImg3d,_pOutOptWk1LabelImg)))) &&
(ipsdk::processor::ifIsSet (
_pOutOptWk1LabelImg, (
ipsdk::imaproc::matchSize (_pInImg3d,_pOutOptWk1LabelImg)))))
| IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr ipsdk::imaproc::bin::darkHysteresisThreshold3dImg | ( | const ipsdk::image::ImageConstPtr & | pInImg3d, |
| const ipsdk::ipReal64 | highSeedThreshold, | ||
| const ipsdk::ipReal64 | highPropagationThreshold | ||
| ) |
wrapper function for dark Hysteresis thresholding to a 3d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr ipsdk::imaproc::bin::lightHysteresisThreshold3dImg | ( | const ipsdk::image::ImageConstPtr & | pInImg3d, |
| const ipsdk::ipReal64 | lowSeedThreshold, | ||
| const ipsdk::ipReal64 | lowPropagationThreshold | ||
| ) |
wrapper function for light Hysteresis thresholding to a 3d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr ipsdk::imaproc::bin::hysteresisThreshold3dImg | ( | const ipsdk::image::ImageConstPtr & | pInImg3d, |
| const ipsdk::ipReal64 | lowSeedThreshold, | ||
| const ipsdk::ipReal64 | highSeedThreshold, | ||
| const ipsdk::ipReal64 | lowPropagationThreshold, | ||
| const ipsdk::ipReal64 | highPropagationThreshold | ||
| ) |
wrapper function for Apply hysteresis thresholding to a 3d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBINARIZATION_API void ipsdk::imaproc::bin::hysteresisThreshold3dImg | ( | const ipsdk::image::ImageConstPtr & | pInImg3d, |
| const ipsdk::ipReal64 | lowSeedThreshold, | ||
| const ipsdk::ipReal64 | highSeedThreshold, | ||
| const ipsdk::ipReal64 | lowPropagationThreshold, | ||
| const ipsdk::ipReal64 | highPropagationThreshold, | ||
| const ipsdk::eNeighborhood3dType & | inOptNeighborhood3d, | ||
| const image::ImagePtr & | pOutBinImg | ||
| ) |
wrapper function for Apply hysteresis thresholding to a 3d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14