PANDORE Version 6 GREYC-IMAGE

pminimumselection



Selects regions from minimum grayscale value.



Synopsis

pminimumselection relation threshold [-m mask] [rg_in|-] [im_in|-][rg_out|-]

Description

pminimumselection selects regions from their minimum pixel value. The parameter relation specifies the order relation to the threshold value that is used to select or not a region.

The minimum value is calculated from the input image im_in and the region location is given in the input region map rg_in.

Parameters

Inputs

Outputs

Result

Returns the number of selected regions.

Examples

Selects the region(s) with the most minimum grayscale:

   pminimumselection -3 0 rin.pan a.pan rout.pan

See also

Region, pmaximumselection

C++ prototype

Errc PMinimumSelection( const Reg2d &rg_in, Img2duc &im_in, Reg2d &rg_out, int relation, Uchar threshold );

Version française

Sélection de régions sur leur valeur de minimum intérieur.


Author: Régis Clouard