DIPlib Documentation - ©1995-2005 Pattern Recognition Group, Delft University of Technology.

Derivative

Derivative filter

SYNOPSIS

#include "dip_derivatives.h"

dip_Error dip_Derivative ( in, out, boundary, ps, sigmas, order, truncation, flavour )

DATATYPES

Depends on the underlying implementation, but expect:

binary, integer, float

FUNCTION

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.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput
dip_ImageoutOutput
dip_BoundaryArraybcBoundary conditions
dip_BooleanArrayps (0)Dimensions to process
dip_FloatArraysigmasSigma of Gaussian
dip_intorder (0)Derivative order
dip_floattruncationTruncation
dip_DerivativeFlavourflavourFlavour

The enumerator flavour parameter is one of:

NameDescription
DIP_DF_DEFAULTDefault derivative flavour
DIP_DF_FIRGAUSSGaussian family, FIR implementation
DIP_DF_IIRGAUSSGaussian family, IIR implementation
DIP_DF_FTGAUSSGaussian family, FT implementation

SEE ALSO

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