Xmipp  v3.23.11-Nereus
Functions
Collaboration diagram for Morphology:

Functions

int BrightTopHatFloat (float *VolumeSource, float *VolumeDestination, long Nx, long Ny, long Nz, float *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention, int *Status)
 
int BrightTopHatFloatCuboid (float *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int BrightTopHatShort (short *VolumeSource, short *VolumeDestination, long Nx, long Ny, long Nz, short *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention, int *Status)
 
int BrightTopHatShortCuboid (short *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int ClosingFloat (float *VolumeSource, float *VolumeDestination, long Nx, long Ny, long Nz, float *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention, int *Status)
 
int ClosingFloatCuboid (float *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int ClosingShort (short *VolumeSource, short *VolumeDestination, long Nx, long Ny, long Nz, short *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention, int *Status)
 
int ClosingShortCuboid (short *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int DarkTopHatFloat (float *VolumeSource, float *VolumeDestination, long Nx, long Ny, long Nz, float *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention, int *Status)
 
int DarkTopHatFloatCuboid (float *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int DarkTopHatShort (short *VolumeSource, short *VolumeDestination, long Nx, long Ny, long Nz, short *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention, int *Status)
 
int DarkTopHatShortCuboid (short *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int DilateFloat (float *VolumeSource, float *VolumeDestination, long Nx, long Ny, long Nz, float *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention)
 
int DilateShort (short *VolumeSource, short *VolumeDestination, long Nx, long Ny, long Nz, short *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention)
 
int ErodeFloat (float *VolumeSource, float *VolumeDestination, long Nx, long Ny, long Nz, float *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention)
 
int ErodeShort (short *VolumeSource, short *VolumeDestination, long Nx, long Ny, long Nz, short *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention)
 
int MaxFilterFloatCuboid (float *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int MaxFilterShortCuboid (short *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int MinFilterFloatCuboid (float *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int MinFilterShortCuboid (short *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int MorphologicalGradientFloat (float *VolumeSource, float *VolumeDestination, long Nx, long Ny, long Nz, float *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention, int *Status)
 
int MorphologicalGradientFloatCuboid (float *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int MorphologicalGradientShort (short *VolumeSource, short *VolumeDestination, long Nx, long Ny, long Nz, short *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention, int *Status)
 
int MorphologicalGradientShortCuboid (short *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int OpeningFloat (float *VolumeSource, float *VolumeDestination, long Nx, long Ny, long Nz, float *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention, int *Status)
 
int OpeningFloatCuboid (float *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 
int OpeningShort (short *VolumeSource, short *VolumeDestination, long Nx, long Ny, long Nz, short *Kernel, long Kx, long Ky, long Kz, long Ox, long Oy, long Oz, enum TBoundaryConvention Convention, int *Status)
 
int OpeningShortCuboid (short *Volume, long Nx, long Ny, long Nz, long Kx, long Ky, long Kz, enum TBoundaryConvention Convention, int *Status)
 

Detailed Description

Function Documentation

◆ BrightTopHatFloat()

int BrightTopHatFloat ( float *  VolumeSource,
float *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
float *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform the grey-scale morphological operation known as bright top hat. VolumeSource is the grey-scale volume to process. VolumeDestination is the resulting grey-scale volume. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is processed. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element.

Convention is the boundary convention applied to VolumeSource before processing.

success: return(!ERROR); failure: return(ERROR)

◆ BrightTopHatFloatCuboid()

int BrightTopHatFloatCuboid ( float *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale bright top hat filter using a cuboid as structural element. Volume is the grey-scale volume to process in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before processing. success: return(!ERROR); failure: return(ERROR)

◆ BrightTopHatShort()

int BrightTopHatShort ( short *  VolumeSource,
short *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
short *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform the grey-scale morphological operation known as bright top hat. VolumeSource is the grey-scale volume to process. VolumeDestination is the resulting grey-scale volume. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is processed. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before processing. success: return(!ERROR); failure: return(ERROR)

◆ BrightTopHatShortCuboid()

int BrightTopHatShortCuboid ( short *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale bright top hat filter using a cuboid as structural element. Volume is the grey-scale volume to process in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before processing.

success: return(!ERROR); failure: return(ERROR)

◆ ClosingFloat()

int ClosingFloat ( float *  VolumeSource,
float *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
float *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform the grey-scale morphological operation known as closing. VolumeSource is the grey-scale volume to close. VolumeDestination is the resulting grey-scale volume after closing. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is closed. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before closing.

success: return(!ERROR); failure: return(ERROR)

◆ ClosingFloatCuboid()

int ClosingFloatCuboid ( float *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale closing filter using a cuboid as structural element. Volume is the grey-scale volume to close in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before closing.

success: return(!ERROR); failure: return(ERROR)

◆ ClosingShort()

int ClosingShort ( short *  VolumeSource,
short *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
short *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform the grey-scale morphological operation known as closing. VolumeSource is the grey-scale volume to close. VolumeDestination is the resulting grey-scale volume after closing. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is closed. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before closing.

success: return(!ERROR); failure: return(ERROR)

◆ ClosingShortCuboid()

int ClosingShortCuboid ( short *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale closing filter using a cuboid as structural element. Volume is the grey-scale volume to close in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before closing.

success: return(!ERROR); failure: return(ERROR)

◆ DarkTopHatFloat()

int DarkTopHatFloat ( float *  VolumeSource,
float *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
float *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform the grey-scale morphological operation known as dark top hat. VolumeSource is the grey-scale volume to process. VolumeDestination is the resulting grey-scale volume. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is processed. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before processing.

success: return(!ERROR); failure: return(ERROR)

◆ DarkTopHatFloatCuboid()

int DarkTopHatFloatCuboid ( float *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale dark top hat filter using a cuboid as structural element. Volume is the grey-scale volume to process in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before processing success: return(!ERROR); failure: return(ERROR)

◆ DarkTopHatShort()

int DarkTopHatShort ( short *  VolumeSource,
short *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
short *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform the grey-scale morphological operation known as dark top hat. VolumeSource is the grey-scale volume to process. VolumeDestination is the resulting grey-scale volume. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is processed. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before processing.

success: return(!ERROR); failure: return(ERROR)

◆ DarkTopHatShortCuboid()

int DarkTopHatShortCuboid ( short *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale dark top hat filter using a cuboid as structural element. Volume is the grey-scale volume to process in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before processing.

success: return(!ERROR); failure: return(ERROR)

◆ DilateFloat()

int DilateFloat ( float *  VolumeSource,
float *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
float *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention 
)

Perform the grey-scale morphological operation known as dilatation. VolumeSource is the grey-scale volume to dilate. VolumeDestination is the resulting grey-scale volume after dilatation. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is dilated. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before dilatation.

success: return(!ERROR); failure: return(ERROR)

◆ DilateShort()

int DilateShort ( short *  VolumeSource,
short *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
short *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention 
)

Perform the grey-scale morphological operation known as dilatation. VolumeSource is the grey-scale volume to dilate. VolumeDestination is the resulting grey-scale volume after dilatation. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is dilated. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before dilatation.

success: return(!ERROR); failure: return(ERROR)

◆ ErodeFloat()

int ErodeFloat ( float *  VolumeSource,
float *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
float *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention 
)

Perform the grey-scale morphological operation known as erosion. VolumeSource is the grey-scale volume to erode. VolumeDestination is the resulting grey-scale volume after erosion. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is eroded. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before erosion. success: return(!ERROR); failure: return(ERROR)

◆ ErodeShort()

int ErodeShort ( short *  VolumeSource,
short *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
short *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention 
)

Perform the grey-scale morphological operation known as erosion. VolumeSource is the grey-scale volume to erode. VolumeDestination is the resulting grey-scale volume after erosion. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is eroded. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before erosion.

success: return(!ERROR); failure: return(ERROR)

◆ MaxFilterFloatCuboid()

int MaxFilterFloatCuboid ( float *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale max filter using a cuboid as structural element. Volume is the grey-scale volume to dilate in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before dilatation.

success: return(!ERROR); failure: return(ERROR)

◆ MaxFilterShortCuboid()

int MaxFilterShortCuboid ( short *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale max filter using a cuboid as structural element. Volume is the grey-scale volume to dilate in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before dilatation.

success: return(!ERROR); failure: return(ERROR)

◆ MinFilterFloatCuboid()

int MinFilterFloatCuboid ( float *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale min filter using a cuboid as structural element. Volume is the grey-scale volume to erode in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before erosion.

success: return(!ERROR); failure: return(ERROR)

◆ MinFilterShortCuboid()

int MinFilterShortCuboid ( short *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale min filter using a cuboid as structural element. Volume is the grey-scale volume to erode in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before erosion.

success: return(!ERROR); failure: return(ERROR)

◆ MorphologicalGradientFloat()

int MorphologicalGradientFloat ( float *  VolumeSource,
float *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
float *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform the grey-scale morphological operation known as morphological gradient. VolumeSource is the grey-scale volume to process. VolumeDestination is the resulting grey-scale volume after the gradient operation. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is processed. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before the gradient operation.

success: return(!ERROR); failure: return(ERROR)

◆ MorphologicalGradientFloatCuboid()

int MorphologicalGradientFloatCuboid ( float *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale gradient filter using a cuboid as structural element. Volume is the grey-scale volume to process in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before processing.

success: return(!ERROR); failure: return(ERROR)

◆ MorphologicalGradientShort()

int MorphologicalGradientShort ( short *  VolumeSource,
short *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
short *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform the grey-scale morphological operation known as morphological gradient. VolumeSource is the grey-scale volume to process. VolumeDestination is the resulting grey-scale volume after the gradient operation. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is processed. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before the gradient operation.

success: return(!ERROR); failure: return(ERROR)

◆ MorphologicalGradientShortCuboid()

int MorphologicalGradientShortCuboid ( short *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale gradient filter using a cuboid as structural element. Volume is the grey-scale volume to process in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before processing.

success: return(!ERROR); failure: return(ERROR)

◆ OpeningFloat()

int OpeningFloat ( float *  VolumeSource,
float *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
float *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform the grey-scale morphological operation known as opening. VolumeSource is the grey-scale volume to open. VolumeDestination is the resulting grey-scale volume after opening. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is opened. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before opening.

success: return(!ERROR); failure: return(ERROR)

◆ OpeningFloatCuboid()

int OpeningFloatCuboid ( float *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale opening filter using a cuboid as structural element. Volume is the grey-scale volume to open in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F. The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L). Convention is the boundary convention applied to Volume before opening.

success: return(!ERROR); failure: return(ERROR)

◆ OpeningShort()

int OpeningShort ( short *  VolumeSource,
short *  VolumeDestination,
long  Nx,
long  Ny,
long  Nz,
short *  Kernel,
long  Kx,
long  Ky,
long  Kz,
long  Ox,
long  Oy,
long  Oz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform the grey-scale morphological operation known as opening. VolumeSource is the grey-scale volume to open. VolumeDestination is the resulting grey-scale volume after opening. Both VolumeSource and VolumeDestination have size (Nx, Ny, Nz). Kernel is the grey-scale structural element by which VolumeSource is opened. (Kx, Ky, Kz) is the size (bounding box) of the structural element. (Ox, Oy, Oz) is the origin of the structural element. Convention is the boundary convention applied to VolumeSource before opening.

success: return(!ERROR); failure: return(ERROR)

◆ OpeningShortCuboid()

int OpeningShortCuboid ( short *  Volume,
long  Nx,
long  Ny,
long  Nz,
long  Kx,
long  Ky,
long  Kz,
enum TBoundaryConvention  Convention,
int *  Status 
)

Perform a morphological grey-scale opening filter using a cuboid as structural element. Volume is the grey-scale volume to open in-place. Volume has size (Nx, Ny, Nz). (Kx, Ky, Kz) is the size of the structural element that is filled with the value 1.0F The origin of the structural element is ((Kx - 1L) / 2L, (Ky - 1L) / 2L, (Kz - 1L) / 2L) Convention is the boundary convention applied to Volume before opening.

success: return(!ERROR); failure: return(ERROR)