PANDORE Version 6 | GREYC-IMAGE |
pextractregion builds a new subimage im_out with the pixels of the input image im_in inside the boundingbox that contains all the regions of the region map in rg_in.
The result im_out is an image with a size lower or equal to the input image.
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
Author: Régis Clouard