PANDORE Version 6 | GREYC-IMAGE |
poutborderselection builds the new region map rg_out from the region of the input region map rg_in that do not touch the border of the region map. The border is specified from the depth p, the height h and the width l dimensions.
Regions are not relabeled, they keep the same label as in the input region map.
Returns the number of selected regions.
Discards regions that touch the border of the 2D region map:
poutborderselection 1 1 0 rin.pan rout.pan
Sélection des régions qui ne touchent pas le bord de l'image.
Author: Régis Clouard