IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit

Algorithm allowing to extract boundary of a binary 3d image. More...

IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr ipsdk::imaproc::morpho::boundary3dImg (const image::ImageConstPtr &pInBinImg3d)
 wrapper function for Algorithm allowing to extract boundary of a binary 3d image More...
 
IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr ipsdk::imaproc::morpho::boundary3dImg (const image::ImageConstPtr &pInBinImg3d, const eNeighborhood3dType &neighborhood3dType)
 wrapper function for Algorithm allowing to extract boundary of a binary 3d image More...
 
IPSDKIPLBASICMORPHOLOGY_API void ipsdk::imaproc::morpho::boundary3dImg (const image::ImageConstPtr &pInBinImg3d, const eNeighborhood3dType &neighborhood3dType, const image::ImagePtr &pOutImg)
 wrapper function for Algorithm allowing to extract boundary of a binary 3d image More...
 

Detailed Description

Algorithm allowing to extract boundary of a binary 3d image.

This algorithm allows to extract boundary of a binary 3d image with respect to a neighborhood type.

For more informations on used neighborhood 3d types report to 3d neighborhood models.

Here is an example of a boundary extraction operation applied to a binary input image (with 26 connexity neighborhood type) :

boundary3dImg26Connexity.png

Here is an example of a boundary extraction operation applied to a binary input image (with 18 connexity neighborhood type) :

boundary3dImg18Connexity.png

Here is an example of a boundary extraction operation applied to a binary input image (with 6 connexity neighborhood type) :

boundary3dImg6Connexity.png

Attributes description

Attribute description for algorithm :

Name ToolTip Default Initializer
ipsdk::imaproc::attr::InBinImg3d [Input] binary 3d image for processing operation X
ipsdk::imaproc::attr::InOptNeighborhood3d [Input optional] neighborhood 3d type for operation X
ipsdk::imaproc::attr::OutImg [Output] image for processing operation ipsdk::imaproc::duplicateInOut (_pOutImg, _pInBinImg3d)

Global Rule description

Global rule description for algorithm :
ipsdk::imaproc::matchSizeAndType (_pInBinImg3d,_pOutImg)

Example of Python code :

Example imports

import PyIPSDK
import PyIPSDK.IPSDKIPLBasicMorphology as morpho

Code Example

# opening of input image
inImg = PyIPSDK.loadTiffImageFile(inputImgPath)
# boundary 3d image computation
outImg = morpho.boundary3dImg(inImg)

Example of C++ code :

Example informations

Associated library

IPSDKIPLBasicMorphology

Header file

Code Example

// opening input image
ImagePtr pInBinImg = loadTiffImageFile(inputImgPath);
// compute boundary on input image
ImagePtr pOutImg = boundary3dImg(pInBinImg, neighborhood3dType);
See also
Boundary3dImgLvl1
Boundary3dImgLvl2
Boundary3dImgLvl3

Function Documentation

◆ boundary3dImg() [1/3]

IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr ipsdk::imaproc::morpho::boundary3dImg ( const image::ImageConstPtr pInBinImg3d)

wrapper function for Algorithm allowing to extract boundary of a binary 3d image

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionon failure

◆ boundary3dImg() [2/3]

IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr ipsdk::imaproc::morpho::boundary3dImg ( const image::ImageConstPtr pInBinImg3d,
const eNeighborhood3dType neighborhood3dType 
)

wrapper function for Algorithm allowing to extract boundary of a binary 3d image

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionon failure

◆ boundary3dImg() [3/3]

IPSDKIPLBASICMORPHOLOGY_API void ipsdk::imaproc::morpho::boundary3dImg ( const image::ImageConstPtr pInBinImg3d,
const eNeighborhood3dType neighborhood3dType,
const image::ImagePtr pOutImg 
)

wrapper function for Algorithm allowing to extract boundary of a binary 3d image

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionon failure