PANDORE Version 6 | GREYC-IMAGE |
pinsertregion builds a new subimage im_out with the image im_in2 and the pixels of the input image im_in1 that are inside the bounding box defined by the region map in rg_in. This is useful to insert a subimage into another image at the location specified by the regions of a region map.
For image returns SUCCESS or FAILURE.
Extract the subimage around the tangram pieces and then reinsert it in the initial image.
pbinarization 87 255 examples/tangram.pan a.pan plabeling 8 a.pan b.pan pextractregion b.pan examples/tangram.pan c.pan pinsertregion b.pan c.pan examples/tangram.pan out.pan
Insertion d'une region d'une image dans un euatre.
Author: Régis Clouard