PANDORE Version 6 GREYC-IMAGE

psizeselection



Selects regions from size measures.



Synopsis

psizeselection relation width height depth [-m mask] [rg_in|-] [rg_out|-]

Description

psizeselection selects regions from their size measures (depth, height, and width). The parameter relation specifies the order relation on the size values that are used to select or not a region.

If one of size parameter =-1 then this size feature is not taken into account to select regions.

Parameters

Inputs

Outputs

Result

Returns the number of selected regions.

Examples

Selects all regions with width = 50 pixels in the input region map rin.pan:

   psizeselection 0 50 -1 0 rin.pan rout.pan

See also

Region

C++ prototype

Errc PSizeSelection( const Reg2d &rg_in, Reg2d &rg_out, int relation, long width, long height, long depth );

Version française

Sélection de régions sur leur taille.


Author: Régis Clouard