Derivative filter
#include "dip_derivatives.h"
dip_Error dip_Derivative ( in, out, boundary, ps, sigmas, order, truncation, flavour )
Depends on the underlying implementation, but expect:
binary, integer, float
This function provides a common interface to different families of regularised derivative operators. Which family is used, is specified by the flavour parameter. The order of the derivative operator along each of the cartesian axes may be specified independently.
Be sure to read the documentation on the underlying implementation to learn about the properties and limitations of the various families.
Limitations:
Currently only one family of derivative operators has been implemented, the Gaussian family. There are two different implementations, the FIR (Finite Impulse Response) and the IIR (Infinite Impulse Response) implementation.
Data type | Name | Description |
dip_Image | in | Input |
dip_Image | out | Output |
dip_BoundaryArray | bc | Boundary conditions |
dip_BooleanArray | ps (0) | Dimensions to process |
dip_FloatArray | sigmas | Sigma of Gaussian |
dip_int | order (0) | Derivative order |
dip_float | truncation | Truncation |
dip_DerivativeFlavour | flavour | Flavour |
The enumerator flavour parameter is one of:
Name | Description |
DIP_DF_DEFAULT | Default derivative flavour |
DIP_DF_FIRGAUSS | Gaussian family, FIR implementation |
DIP_DF_IIRGAUSS | Gaussian family, IIR implementation |
DIP_DF_FTGAUSS | Gaussian family, FT implementation |
See section 9.5, "Derivative-based operations", in "Fundamentals of Image Processing".
Gauss, GaussIIR, GradientMagnitude, GradientDirection2D, Laplace, Dgg, LaplacePlusDgg, LaplaceMinDgg
DIPlib on-line documentation | Function reference | Global function index