IPSDK 0.2
IPSDK : Image Processing Software Development Kit
imageboundary3dImg (inBinImg3d)
imageboundary3dImg (inBinImg3d,neighborhood3dType)

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

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

Header file

#include <IPSDKIPL/IPSDKIPLBasicMorphology/Processor/Boundary3dImg/Boundary3dImg.h>

Code Example

// opening input image
ImagePtr pInBinImg = loadTiffImageFile(inputImgPath);
// compute boundary on input image
ImagePtr pOutImg = boundary3dImg(pInBinImg, neighborhood3dType);