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

Functions

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

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

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.
AFAPI array af::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