A high-performance general-purpose compute library

Functions

AFAPI array erode3 (const array &in, const array &mask)
 C++ Interface for 3d for image erosion.
 
AFAPI af_err af_erode3 (af_array *out, const af_array in, const af_array mask)
 C Interface for 3D image erosion.
 

Detailed Description

Erosion(morphological operator) for volumes

Erosion for a volume is similar to the way erosion 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: Erosion (morphology)

Function Documentation

◆ af_erode3()

AFAPI af_err af_erode3 ( af_array * out,
const af_array in,
const af_array mask )

C Interface for 3D image erosion.

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

◆ erode3()

AFAPI array erode3 ( const array & in,
const array & mask )

C++ Interface for 3d for image erosion.

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