IPSDK 0.2
IPSDK : Image Processing Software Development Kit
Voxel localization 3dSee full documentation
Voxels3dlocateVoxels3d (inBinImg3d)
Voxels3dlocateVoxels3d (inBinImg3d,inNbPoints)

Detailed Description

Build the list of the coordinates of the voxels with a value of True in the input binary image.

Given an 3D input binary image, this algorithm lists the inNbPoints first voxels where the values are true in the binary image.

Please, see Pixel localization 2d for a 2D illustration.

Example of Python code :

Example imports

import PyIPSDK
import PyIPSDK.IPSDKIPLGlobalMeasure as glbmsr

Code Example

# Pixel localization computation
voxels3d = glbmsr.locateVoxels3d(inImg, 10)

Example of C++ code :

Example informations

Header file

#include <IPSDKIPL/IPSDKIPLGlobalMeasure/Processor/LocateVoxels3d/LocateVoxels3d.h>

Code Example

// Sample with a generated output image
// ------------------------------------
// compute addition of input images
Voxels3dPtr pVoxels = locateVoxels3d(pInBinImg, nbMaxVoxels);