PANDORE Version 6 GREYC-IMAGE

plabelsselection



Selects regions in the first region map that are also in the second region map.



Synopsis

plabelsselection [rg_in1|-] [rg_in2|-] [rg_out|-]

Description

The operateur plabelsselection builds the region map rg_out with the regions of the region map rg_in1 that have a label in the map rg_in2.

Caveat: Only the region labels are considered, not the region location.

Inputs

Outputs

Result

Returns the number of selected regions.

Examples

Select the regions of the map rin1.pan that are also in the map rin2:

   plabelsselection rin.pan rin.pan rout.pan

See also

Region

C++ prototype

Errc PLabelsSelection( const Reg2d &rg_in1, const Reg2d &rg_in2, Reg2d &rg_out );

Author: Régis Clouard