Horus Doc ||
Global Function Guide ||
General documentation |
Function documentation
HxConvGauss3d
Synopsis
HxImageRep HxConvGauss3d (HxImageRep img, double sigmax, int orderDerivx, double truncationx, double sigmay, int orderDerivy, double truncationy, double sigmaz, int orderDerivz, double truncationz)
Input
HxImageRep img
- The image you want to convolve with a Gaussian kernel. The used Gaussian kernel is composed from three seperate kernels, one for the x-direction, one for the y-direction and one for the z-direction.
double sigmax
- The sigma of the Gaussian kernel in the x-direction.
int orderDerivx
- The order of the derivative of the Gaussian kernel in the x-direction.
double trunctationx
- This parameter determines at how many sigma the Gaussian filter is clipped in the x-direction.
double sigmay
- The sigma of the Gaussian kernel in the y-direction.
int orderDerivy
- The order of the derivative of the Gaussian kernel in the y-direction.
double truncationy
- This parameter determines at how many sigma the Gaussian filter is clipped in the y-direction.
double sigmaz
- The sigma of the Gaussian kernel in the z-direction.
int orderDerivz
- The order of the derivative of the Gaussian kernel in the z-direction.
double truncationz
- This parameter determines at how many sigma the Gaussian filter is clipped in the z-direction.
Return value
HxImageRep
- The result of convolving the input image with a Gaussian kernel as described by the parameters sigmax, orderDerivx, truncationx, sigmay, orderDerivy, trunctiony, sigmaz, orderDerivz and truncationz.
Description
The function HxConvGauss3d convolves 3D-images with a Gaussian filter funtion. The filter function is separated in the x-, y- and z-direction, where the sigma and the order of the derivative in both directions can be given separately. The truncation (in all directions) determines the size of the filter in sigma (of the particular direction), where the filter size, in sigma, is 2 times the truncation plus 1. For vector images, each channel is convolved separately with the Gaussian kernel.
Remarks
- Valid image types
- All 3D types of images are allowed for this function.
- Valid values for the parameters
- sigmax, sigmay, sigmaz, truncationx, truncationy and truncationz should all be greater than zero. orderDerivx, orderDerivy and orderDerivz should be larger or equal to zero.
- Border handling
- This function uses MIRRORED border handling, see the section on Border handling.
See also
HxGaussDerivative3d, HxConvolution, HxGauss, HxConvGauss2d,
Keywords
Filter, Convolution, Gauss,
Generated on Tue Feb 3 14:20:26 2004 for GlobalFunctionGuide by
1.2.12 written by Dimitri van Heesch,
© 1997-2001