PANDORE Version 6 | GREYC-IMAGE |
plabelmerging merges two regions specified by their label value. The regions of the output region map rg_out keep the same label than the regions in the input region map rg_in. The output graph gr_out is updated with the new node that results from the merging of the two nodes and also the list of neighbors. The new seed is located at the center of mass of the new region.
Returns SUCCESS or FAILURE.
Segments the tangram.pan with a quadtree technique and then merges label 1 and 2:
puniformityquadtree 0.9 tangram.pan a.pan prg2gr a.pan b.pan plabelmerging 1 2 a.pan b.pan out1.pan out2.pan
Fusion nominative de 2 régions.
Author: Régis Clouard