![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
binarize a 3d input image according an adaptive threshold based on the mean intensity of the voxel's neighbourhood More...
| IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr | ipsdk::imaproc::bin::adaptiveThresholdMean3dImg (const ipsdk::image::ImageConstPtr &pInImg3d, const ipUInt64 halfKnlSize) |
| wrapper function for binarize a 3d input image according an adaptive threshold based on the mean intensity of the voxel's neighbourhood More... | |
| IPSDKIPLBINARIZATION_API void | ipsdk::imaproc::bin::adaptiveThresholdMean3dImg (const image::ImageConstPtr &pInImg3d, const ipUInt64 halfKnlSize, const ipsdk::image::ImagePtr &pOutBinImg) |
| wrapper function for binarize a 3d input image according an adaptive threshold based on the mean intensity of the voxel's neighbourhood More... | |
binarize a 3d input image according an adaptive threshold based on the mean intensity of the voxel's neighbourhood
For each voxel, the algorithm computes a threshold according to a neighbourhood described by
. The computed threshold
is the mean intensity along the voxel's neighbourhood
:
Where
is the number of voxels in
.
This algorithm is equivalent to the Adaptive Threshold 3d binarization algorithm, with each kernel coefficient set to
. However, it is optimized to compute a mean adaptive threshold based binarization and yields better performances.
See Adaptive Threshold Mean 2d for a 2d example of the adaptative mean threshold result.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg3d | [Input] 3d image for operation | X |
| ipsdk::imaproc::attr::InHalfKnlSize | [Input] half kernel size (square or cubic kernel) | 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)
| IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr ipsdk::imaproc::bin::adaptiveThresholdMean3dImg | ( | const ipsdk::image::ImageConstPtr & | pInImg3d, |
| const ipUInt64 | halfKnlSize | ||
| ) |
wrapper function for binarize a 3d input image according an adaptive threshold based on the mean intensity of the voxel's neighbourhood
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBINARIZATION_API void ipsdk::imaproc::bin::adaptiveThresholdMean3dImg | ( | const image::ImageConstPtr & | pInImg3d, |
| const ipUInt64 | halfKnlSize, | ||
| const ipsdk::image::ImagePtr & | pOutBinImg | ||
| ) |
wrapper function for binarize a 3d input image according an adaptive threshold based on the mean intensity of the voxel's neighbourhood
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14