DIPlib Documentation - ©1995-2008 Quantitative Imaging Group, Delft University of Technology.

GradientDirection2D

Derivative filter

SYNOPSIS

#include "dip_derivatives.h"

dip_Error dip_GradientDirection2D ( in, out, boundary, ps, sigmas, tc, atanFlavour, flavour )

DATA TYPES

Depends on the underlying implementation, but expect:

binary, integer, float

FUNCTION

Computes the gradient direction of an image using the Derivative function. This functions supports only two dimensional images.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput
dip_ImageoutOutput
dip_BoundaryArrayboundaryBoundary conditions
dip_BooleanArraypsDimensions to process
dip_FloatArraysigmasSigma of Gaussian
dip_floattcTruncation of Gaussian
dip_GradientDirectionAtanFlavouratanFlavourAtan flavour
dip_DerivativeFlavourflavourDerivative flavour

The enumerator flavour parameter is one of:

NameDescription
DIP_DF_DEFAULTDefault derivative flavour (==DIP_DF_FIRGAUSS)
DIP_DF_FIRGAUSSGaussian family, FIR implementation, Gauss
DIP_DF_IIRGAUSSGaussian family, IIR implementation, GaussIIR
DIP_DF_FTGAUSSGaussian family, FT implementation, GaussFT
DIP_DF_FINITEDIFFFinite difference implementation, FiniteDifferenceEx

SEE ALSO

See section 9.5, "Derivative-based operations", in "Fundamentals of Image Processing".

Derivative, GradientMagnitude, Laplace, Dgg, LaplacePlusDgg, LaplaceMinDgg

DIPlib on-line documentation | Function reference | Global function index