PANDORE Version 6 | GREYC-IMAGE |
prelabelingwithgraph relabels regions of the input region map rg_in and the related nodes in the input graph gr_in. Each region of the output region map is set with a new label so as to use all labels between 0 and the number of regions. The related graph nodes of the output graph graph_out are set with the same label value.
Remarque: To relabel a region map without a graph use operator plabeling.
Returns the maximum label value in the region map.
Relabels regions of the rin.pan region map and updates the related graph g.pan:
relabelingwithgraph rin.pan g.pan rut.pn
Renumérotation des régions d'une carte et des sommets du graphe associé.
Author: Régis Clouard