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
- connexity specifies the neighborhood relation
(4, 8 in 2D) or (6, 26 in 3D).
For graph, this parameter is ignored.
Inputs
- im_in: a grayscale image or a graph.
Outputs
- im_out: a grayscale image or a graph.
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