IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit

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

IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::Voxels3dPtr ipsdk::imaproc::glbmsr::locateVoxels3d (const image::ImageConstPtr &pInBinImg3d)
 wrapper function for Build the list of the coordinates of the voxels with a value of True in the input binary image More...
 
IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::Voxels3dPtr ipsdk::imaproc::glbmsr::locateVoxels3d (const image::ImageConstPtr &pInBinImg3d, const ipsdk::ipUInt32 inNbPoints)
 wrapper function for Build the list of the coordinates of the voxels with a value of True in the input binary image More...
 
IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::PlanIndexedVoxels3dPtr ipsdk::imaproc::glbmsr::multiSlice_locateVoxels3d (const image::ImageConstPtr &pInBinImg3d, const ipsdk::ipUInt32 inNbPoints)
 wrapper function for Build the list of the coordinates of the voxels with a value of True in the input binary image More...
 
IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::PlanIndexedVoxels3dPtr ipsdk::imaproc::glbmsr::multiSlice_locateVoxels3d (const image::ImageConstPtr &pInBinImg3d)
 wrapper function for Build the list of the coordinates of the voxels with a value of True in the input binary image More...
 

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.

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::InNbFeatures [Input] target number of features to be detected by algorithm X
ipsdk::imaproc::attr::OutPIVoxels3d [Output] plan indexed collection of positions and intensities of 3d voxels ipsdk::imaproc::fromImageButVolume (_pOutPIVoxels3d, _pInBinImg3d)

Global Rule description

Global rule description for algorithm :
ipsdk::imaproc::matchImagePlans (_pOutPIVoxels3d,_pInBinImg3d,eImagePlansMatchPolicy::eIPMP_CT)

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

Associated library

IPSDKIPLGlobalMeasure

Header file

Code Example

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

Function Documentation

◆ locateVoxels3d() [1/2]

IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::Voxels3dPtr ipsdk::imaproc::glbmsr::locateVoxels3d ( const image::ImageConstPtr pInBinImg3d)

wrapper function for Build the list of the coordinates of the voxels with a value of True in the input binary image

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionon failure

◆ locateVoxels3d() [2/2]

IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::Voxels3dPtr ipsdk::imaproc::glbmsr::locateVoxels3d ( const image::ImageConstPtr pInBinImg3d,
const ipsdk::ipUInt32  inNbPoints 
)

wrapper function for Build the list of the coordinates of the voxels with a value of True in the input binary image

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionon failure

◆ multiSlice_locateVoxels3d() [1/2]

IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::PlanIndexedVoxels3dPtr ipsdk::imaproc::glbmsr::multiSlice_locateVoxels3d ( const image::ImageConstPtr pInBinImg3d,
const ipsdk::ipUInt32  inNbPoints 
)

wrapper function for Build the list of the coordinates of the voxels with a value of True in the input binary image

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionon failure

◆ multiSlice_locateVoxels3d() [2/2]

IPSDKIPLGLOBALMEASURE_API ipsdk::imaproc::attr::PlanIndexedVoxels3dPtr ipsdk::imaproc::glbmsr::multiSlice_locateVoxels3d ( const image::ImageConstPtr pInBinImg3d)

wrapper function for Build the list of the coordinates of the voxels with a value of True in the input binary image

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionon failure