VIA - Volumetric Image Analysis
|
Functions | |
VImage | VErodeImage3d (VImage src, VImage dest, VoxelList se, int nse) |
3D morphological erosion More... | |
VImage | VDilateImage3d (VImage src, VImage dest, VoxelList se, int nse) |
3D morphological dilation More... | |
VoxelList | VConvertSE3d (VImage src, int *nse) |
convert a structuring element given as a raster image into a voxel list. The voxel list representation is more efficient computationally. More... | |
VImage | VGenSphere3d (VShort radius) |
generate a sphere shaped object. The output can be used as a structuring element (after passing it through VConvertSE3d). More... | |
VImage | VGenSphere2d (VShort radius) |
generate a sphere shaped object, only the center slice is filled with foreground voxels. The output can be used as a structuring element (after passing it through VConvertSE3d). More... | |
3D binary morphology.
This file contains functions for 3D binary morphology: ersion, dilation, and generation of 3D structuring elements.
VImage VErodeImage3d | ( | VImage | src, |
VImage | dest, | ||
VoxelList | se, | ||
int | nse | ||
) |
3D morphological erosion
src | input image (bit repn) |
dest | output image (bit repn) |
se | structuring element |
nse | number of elements in the structuring element |
Performs a 3D binary morphological erosion using Minkowski addition. The structuring element must be given as an array of voxel- addresses, i.e. as SEstruct *list, together with the length of that list. A binary raster image can be converted into this structure by calling the function "ConvertSE".
VImage VDilateImage3d | ( | VImage | src, |
VImage | dest, | ||
VoxelList | se, | ||
int | nse | ||
) |
3D morphological dilation
src | input image (bit repn) |
dest | output image (bit repn) |
se | structuring element |
nse | number of elements in the structuring element |
Performs a 3D binary morphological dilation using Minkowski addition. The structuring element must be given as an array of voxel- addresses, i.e. as SEstruct *list, together with the length of that list. A binary raster image can be converted into this structure by calling the function "ConvertSE".
VoxelList VConvertSE3d | ( | VImage | src, |
int * | nse | ||
) |
convert a structuring element given as a raster image into a voxel list. The voxel list representation is more efficient computationally.
src | input image (bit repn) |
*nse | ptr to the number of elements in the voxel list. |
This function generates a structuring element that can be used as input into VDilateImage3d or VErodeImage3d.
VImage VGenSphere3d | ( | VShort | radius) |
generate a sphere shaped object. The output can be used as a structuring element (after passing it through VConvertSE3d).
radius | gives the radius of the SE |
VImage VGenSphere2d | ( | VShort | radius) |
generate a sphere shaped object, only the center slice is filled with foreground voxels. The output can be used as a structuring element (after passing it through VConvertSE3d).
radius | gives the radius of the SE |