PANDORE Version 6 GREYC-IMAGE

plabelselection



Selects region by label value.



Synopsis

plabelselection label [rg_in|-] [rg_out|-]

Description

plabelselection selects a region from its label value. The output region map rg_out is built with the unique region that has the specified label value.

The operator pthresholding can be used to select several regions from their label value.

Parameters

Inputs

Outputs

Result

Returns the number of selected regions.

Examples

Selects the region #10 from the region map rin.pan:

   plabelselection 10 rin.pan rout.pan

See also

Region

C++ prototype

Errc PLabelSelection( const Reg3d &rg_in, Reg3d &rg_out, Long label );

Version française

Sélection d'une région par son numéro de label.


Author: Régis Clouard