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

# MorphologicalGradientMagnitude

Morphological edge detector

## SYNOPSIS

`#include "dip_morphology.h"`

dip_Error dip_MorphologicalGradientMagnitude ( in, out, se, boundary, filterParam, shape, edgeType )

## DATA TYPES

integer, float

## FUNCTION

The same as `MorphologicalRange`.

## ARGUMENTS

Data type | Name | Description
`dip_Image` | `in` | Input
`dip_Image` | `out` | Output
`dip_Image` | `se` | Structuring element
`dip_BoundaryArray` | `boundary` | Boundary conditions
`dip_FloatArray` | `filterParam` | Filter parameters
`dip_FilterShape` | `shape` | Filter shape
`dip_MphEdgeType` | `edgeType` | edgeType

## SEE ALSO

`MorphologicalRange`, `Lee`, `MultiScaleMorphologicalGradient`, `Tophat`

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