Functions | |
| VImage | VErodeImage3d (VImage src, VImage dest, VoxelList se, int nse) |
| 3D morphological erosion | |
| VImage | VDilateImage3d (VImage src, VImage dest, VoxelList se, int nse) |
| 3D morphological dilation | |
| 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. | |
| VImage | VGenSphere3d (VShort radius) |
| generate a sphere shaped object. The output can be used as a structuring element (after passing it through VConvertSE3d). | |
| 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). | |
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 |
| 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 |
| 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. |
| 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 |
1.5.6