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

Minima

Detects local minima

SYNOPSIS

#include "dip_filtering.h"

dip_Error dip_Minima ( in, out, se, boundary, filterParam, shape )

DATA TYPES

binary, integer, float

FUNCTION

This function determines whether the pixel under investigation has the minimum value in a local neighbourhood, which is determined by filterParam and shape. This is implemented with the following operation:

   out = Threshold[ Erosion[ in ] - in, 0 ]

The se, boundary, filterParam and shape parameters are passed to Erosion. This function will output a binary image with the local minima pixels having the value DIP_TRUE.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput image
dip_ImageoutBinary output image
dip_ImageseStructuring element
dip_BoundaryArrayboundaryBoundary conditions
dip_FloatArrayfilterParamFilter parameters
dip_FilterShapeshapeFilter shape

SEE ALSO

LocalMinima, Maxima, Threshold, Erosion

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