PANDORE Version 6 GREYC-IMAGE

pelongationselection



Selects regions from elongation factor.



Synopsis

pelongationselection relation threshold [-m mask] [rg_in|-] [rg_out|-]

Description

pelongationselection selects regions from their elongation factor. The parameter relation specifies the order relation to the threshold value that is used to select or not a region.

Elongation is the ratio between the length and the width of the bounding box (the length is the longest side and width the shortest side:

elongation = width(bounding box)/length(bounding box).

Parameters

Inputs

Outputs

Result

Returns the number of selected regions.

Examples

Selects the most elongated regions:

   pelongationselection 3 0 rin.pan rout.pan

See also

Region

C++ prototype

Errc PElongationSelection( const Reg2d &rg_in, Reg2d &rg_out, int relation, float threshold );

Version française

Sélection de régions sur leur valeur d'élongation.


Author: Régis Clouard