PANDORE Version 6 | GREYC-IMAGE |
prelabelingfromarray relabels region of the input region map rg_in from the values of the array named name given in the input collection col_in.
The label of the input region x > 0 is set with the new label name[x-1]. If the array name has less value than the label values then the remainder regions are discarded from the result region map. The region 0 is not relabeled.
Returns the maximum label value of the output region map.
Relabels regions from the vector foo in the collection col.pan:
prelabelingfromarray foo col.pan rin.pn rout.pan
Relabelisation d'une carte de régions à partir des valeurs d'un vecteur d'etiquettes.
Author: Alexandre Duret-Lutz