![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Binarize a 3d input image according an adaptive threshold based on the voxel's neighbourhood. More...
| IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr | ipsdk::imaproc::bin::adaptiveThreshold3dImg (const ipsdk::image::ImageConstPtr &pInImg3d, const KernelXYZConstPtr &pInKnlXYZ) |
| wrapper function for Binarize a 3d input image according an adaptive threshold based on the voxel's neighbourhood More... | |
| IPSDKIPLBINARIZATION_API void | ipsdk::imaproc::bin::adaptiveThreshold3dImg (const image::ImageConstPtr &pInImg3d, const KernelXYZConstPtr &pInKnlXYZ, const ipsdk::image::ImagePtr &pOutBinImg) |
| wrapper function for Binarize a 3d input image according an adaptive threshold based on the voxel's neighbourhood More... | |
| IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr | ipsdk::imaproc::bin::adaptiveThresholdGaussian3dImg (const ipsdk::image::ImageConstPtr &pInImg3d, const ipUInt64 halfKnlSize) |
wrapper function for Binarize a 3d input image according an adaptive threshold based on the voxel's neighbourhood. Here, the threshold is defined as the sum of the intensities on the neighbourhood, weighted by Gaussian coefficients. The Gaussian coefficients are computed with the folowing standard deviation : More... | |
| IPSDKIPLBINARIZATION_API void | ipsdk::imaproc::bin::adaptiveThresholdGaussian3dImg (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 voxel's neighbourhood. Here, the threshold is defined as the sum of the intensities on the neighbourhood, weighted by Gaussian coefficients. The Gaussian coefficients are computed with the folowing standard deviation : More... | |
Binarize a 3d input image according an adaptive threshold based on the voxel's neighbourhood.
For each voxel, the algorithm computes a threshold
according to a neighbourhood described by the input kernel size as follows :
Where
is the voxel's neighbourhood.
For example, the threshold can be the mean intensity in the neighbourhood with each kernel coefficients set to
, with
being the number of voxels in the neighbourhood.
It is also possible to call the adaptiveThresholdGaussian3dImg wrapper, which needs the half kernel size instead of the kernel as input data. In this case, a predifined Gaussian kernel is used, whose coefficients are computed with the folowing standard deviation
(see http://docs.opencv.org/2.4/modules/imgproc/doc/filtering.html#Mat%20getGaussianKernel%28int%20ksize,%20double%20sigma,%20int%20ktype%29) :
Where
is the kernel size :
.
See Adaptive Threshold 2d binarization for a 2d example of the adaptative threshold result.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg3d | [Input] 3d image for operation | X |
| ipsdk::imaproc::attr::InKnlXYZ | [Input] kernel xyz for processing operation | 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::adaptiveThreshold3dImg | ( | const ipsdk::image::ImageConstPtr & | pInImg3d, |
| const KernelXYZConstPtr & | pInKnlXYZ | ||
| ) |
wrapper function for Binarize a 3d input image according an adaptive threshold based on the voxel's neighbourhood
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBINARIZATION_API ipsdk::image::ImagePtr ipsdk::imaproc::bin::adaptiveThresholdGaussian3dImg | ( | const ipsdk::image::ImageConstPtr & | pInImg3d, |
| const ipUInt64 | halfKnlSize | ||
| ) |
wrapper function for Binarize a 3d input image according an adaptive threshold based on the voxel's neighbourhood. Here, the threshold is defined as the sum of the intensities on the neighbourhood, weighted by Gaussian coefficients. The Gaussian coefficients are computed with the folowing standard deviation :
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBINARIZATION_API void ipsdk::imaproc::bin::adaptiveThreshold3dImg | ( | const image::ImageConstPtr & | pInImg3d, |
| const KernelXYZConstPtr & | pInKnlXYZ, | ||
| const ipsdk::image::ImagePtr & | pOutBinImg | ||
| ) |
wrapper function for Binarize a 3d input image according an adaptive threshold based on the voxel's neighbourhood
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBINARIZATION_API void ipsdk::imaproc::bin::adaptiveThresholdGaussian3dImg | ( | 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 voxel's neighbourhood. Here, the threshold is defined as the sum of the intensities on the neighbourhood, weighted by Gaussian coefficients. The Gaussian coefficients are computed with the folowing standard deviation :
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14