![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Detects surfaces in a 3d image using Canny's algorithm. More...
| IPSDKIPLFEATUREDETECTION_API image::ImagePtr | ipsdk::imaproc::fd::cannySurfaces3dImg (const image::ImageConstPtr &pInGxImg3d, const image::ImageConstPtr &pInGyImg3d, const image::ImageConstPtr &pInGzImg3d, const ipsdk::imaproc::attr::CannyThresholdsConstPtr &pThresholds) |
| wrapper function for detection of edges in images using Canny's algorithm More... | |
| IPSDKIPLFEATUREDETECTION_API void | ipsdk::imaproc::fd::cannySurfaces3dImg (const image::ImageConstPtr &pInGxImg3d, const image::ImageConstPtr &pInGyImg3d, const image::ImageConstPtr &pInGzImg3d, const ipsdk::imaproc::attr::CannyThresholdsConstPtr &pThresholds, const ipsdk::imaproc::attr::eProcessingOptimizationPolicy &inOptOptimizationPolicy, const image::ImagePtr &pOutImg) |
| wrapper function for detection of edges in images using Canny's algorithm More... | |
Detects surfaces in a 3d image using Canny's algorithm.
Detects boundary surfaces in a 3d image using Canny's algorithm, and generates an output binary image, with voxels associated to the found surfaces in white, and the rest in black.
Given 3 gradient images (computed, for instance, thanks to Sobel Gradient 3d or Gaussian Gradient 3d), respectively along x (Gx image), y (Gy image) and z-axis (Gz image), Canny surface detector can be decomposed into the following steps:
See 2d Canny edge detector for an illustration of Canny edge detection applied to a 2d image.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InGxGreyImg3d | [Input] 3d grey levels image of gradient computed along x-axis | X |
| ipsdk::imaproc::attr::InGyGreyImg3d | [Input] 3d grey levels image of gradient computed along y-axis | X |
| ipsdk::imaproc::attr::InGzGreyImg3d | [Input] 3d grey levels image of gradient computed along z-axis | X |
| ipsdk::imaproc::attr::InCannyThresholds | [Input] low and high thresholds used for the Canny edges detection during the hysteresis phasis | X |
| ipsdk::imaproc::attr::InOptOptimizationPolicy | [Input Optional] processing optimization policy for algorithm | X |
| ipsdk::imaproc::attr::OutOptWk1BinImg | [Output Optional] Temporary working image for algorithm | X |
| ipsdk::imaproc::attr::OutOptWk2BinImg | [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, _pInGxGreyImg3d, ipsdk::image::eImageBufferType::eIBT_Binary) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInGxGreyImg3d,_pInGyGreyImg3d) &&
ipsdk::imaproc::matchSize (_pInGxGreyImg3d,_pInGzGreyImg3d) &&
ipsdk::imaproc::matchSize (_pInGxGreyImg3d,_pOutBinImg) &&
(ipsdk::processor::ifIsSet (
_pOutOptWk1BinImg, (
ipsdk::imaproc::matchSize (_pInGxGreyImg3d,_pOutOptWk1BinImg)))) &&
(ipsdk::processor::ifIsSet (
_pOutOptWk2BinImg, (
ipsdk::imaproc::matchSize (_pInGxGreyImg3d,_pOutOptWk2BinImg)))) &&
(ipsdk::processor::ifIsSet (
_pOutOptWk1LabelImg, (
ipsdk::imaproc::matchSize (_pInGxGreyImg3d,_pOutOptWk1LabelImg))))
| IPSDKIPLFEATUREDETECTION_API image::ImagePtr ipsdk::imaproc::fd::cannySurfaces3dImg | ( | const image::ImageConstPtr & | pInGxImg3d, |
| const image::ImageConstPtr & | pInGyImg3d, | ||
| const image::ImageConstPtr & | pInGzImg3d, | ||
| const ipsdk::imaproc::attr::CannyThresholdsConstPtr & | pThresholds | ||
| ) |
wrapper function for detection of edges in images using Canny's algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFEATUREDETECTION_API void ipsdk::imaproc::fd::cannySurfaces3dImg | ( | const image::ImageConstPtr & | pInGxImg3d, |
| const image::ImageConstPtr & | pInGyImg3d, | ||
| const image::ImageConstPtr & | pInGzImg3d, | ||
| const ipsdk::imaproc::attr::CannyThresholdsConstPtr & | pThresholds, | ||
| const ipsdk::imaproc::attr::eProcessingOptimizationPolicy & | inOptOptimizationPolicy, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for detection of edges in images using Canny's algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14