A high-performance general-purpose compute library

Dilation(morphological operator) for volumes. More...

Functions

AFAPI array dilate3 (const array &in, const array &mask)
 C++ Interface for 3D image dilation. More...
 
AFAPI af_err af_dilate3 (af_array *out, const af_array in, const af_array mask)
 C Interface for 3d image dilation. More...
 

Detailed Description

Dilation(morphological operator) for volumes.

Dilation for a volume is similar to the way dilation works on an image. Only difference is that the masking operation is performed on a volume instead of a rectangular region.

For further reference, see: Dilation (morphology)

Function Documentation

◆ af_dilate3()

AFAPI af_err af_dilate3 ( af_array out,
const af_array  in,
const af_array  mask 
)

C Interface for 3d image dilation.

Parameters
[out]outarray is the dilated volume
[in]inarray is the input volume
[in]maskis the neighborhood delta volume
Returns
AF_SUCCESS if the dilated successfully, otherwise an appropriate error code is returned.

◆ dilate3()

AFAPI array dilate3 ( const array in,
const array mask 
)

C++ Interface for 3D image dilation.

Parameters
[in]inarray is the input volume
[in]maskis the neighborhood delta volume
Returns
the dilated volume