GaussianDerivative3d
Approximates the convolution of a three-dimensional image with a Gaussian kernel or its derivative.
Access to parameter description
This algorithm independently applies, on each axis, an approximation of:
Using this mode, the computation time is independent of the standard deviation.
Reference
R.Deriche. "Fast algorithms for low-level vision". IEEE Transactions on Pattern Analysis and Machine Intelligence, vol.12, no 1, pp. 78-87, Jan. 1990.
See also
Access to parameter description
This algorithm independently applies, on each axis, an approximation of:
- a Gaussian filter
- the derivative of a Gaussian filter
- the second derivative of a Gaussian filter
Using this mode, the computation time is independent of the standard deviation.
Reference
R.Deriche. "Fast algorithms for low-level vision". IEEE Transactions on Pattern Analysis and Machine Intelligence, vol.12, no 1, pp. 78-87, Jan. 1990.
See also
Function Syntax
This function returns outputImage.
// Function prototype
std::shared_ptr< iolink::ImageView > gaussianDerivative3d( std::shared_ptr< iolink::ImageView > inputImage, iolink::Vector3i32 orderDerivative, iolink::Vector3d standardDeviation, std::shared_ptr< iolink::ImageView > outputImage = NULL );
Class Syntax
Parameters
Parameter Name | Description | Type | Supported Values | Default Value | |
---|---|---|---|---|---|
![]() |
inputImage |
The input image. | Image | Binary, Label, Grayscale or Multispectral | nullptr |
![]() |
standardDeviation |
The sigma value of the Gaussian filter for each direction X, Y, and Z. Each value must be greater than or equal to 0.1. | Vector3d | >=0.1 | {1.f, 1.f, 1.f} |
![]() |
orderDerivative |
The derivation order for each direction X, Y, and Z. Each value must be 0, 1 or 2. | Vector3i32 | [0, 2] | {0, 0, 0} |
![]() |
outputImage |
The output image. Its dimensions, calibration and interpretation are forced to the same values as the input image. Its type is forced to float. | Image | nullptr |
Object Examples
auto foam = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam.vip" ); GaussianDerivative3d gaussianDerivative3dAlgo; gaussianDerivative3dAlgo.setInputImage( foam ); gaussianDerivative3dAlgo.setOrderDerivative( {0, 0, 0} ); gaussianDerivative3dAlgo.setStandardDeviation( {1.0, 1.0, 1.0} ); gaussianDerivative3dAlgo.execute(); std::cout << "outputImage:" << gaussianDerivative3dAlgo.outputImage()->toString();
Function Examples
auto foam = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam.vip" ); auto result = gaussianDerivative3d( foam, {0, 0, 0}, {1.0, 1.0, 1.0} ); std::cout << "outputImage:" << result->toString();