PANDORE Version 6 GREYC-IMAGE

plocalminima



Computes local minimum values of grayscale image or graph.



Synopsis

plocalminima connexity [-m mask] [im_in|-] [im_out|-]

Description

plocalminima builds the new image im_out with the local minimum pixels of the input image im_in. The value of the minimum pixel is the same as in the input image. All other pixels are set to 0.

A point is a minimum if no neighbor is lower than it.

For graph, the minima are computed from the node values.

Parameters

Inputs

Outputs

Examples

Locates the local minima in tangram.pan:

   plocalminima 8 tangram.pan a.pan

Result

Returns SUCCESS or FAILURE.

See also

Image Features Extraction, plocalmaxima

C++ prototype

Errc PLocalMinima( const Img2duc &im_in, Img2duc &im_out, int connexity );

Version française

Localisation des points constituant un minimum local.


Author: Régis Clouard