PANDORE Version 6 GREYC-IMAGE

pinnerselection



Selects inner regions.



Synopsis

pinnerselection [-m mask] [rg_in|-] [rg_out|-]

Description

pinnerselection selects regions that are entirely included in an other region.

A region that touches the border or that touches the background (ie., the region with label=0) is not considered as inner region.

Inputs

Outputs

Result

Returns the number of selected regions.

Examples

Selects inner regions from rin.pan:

   pinnerselection rin.pan rout.pan

See also

Region

C++ prototype

Errc PInnerSelection( const Reg2d &rg_in, Reg2d &rg_out );

Version française

Sélection des régions englobées dans une autre région.


Author: Régis Clouard