PANDORE Version 6 | GREYC-IMAGE |
pinsertsubimage builds a new image im_out by inserting image im_in2 into image im_in1 at coordinates (x,y, z). Insertion is done by replacing pixels of im_in1 with pixels of im_in2.
For region map, regions of im_in2 are added to image im_in1 with label values greater than the maximum label value of im_in1. Thus, the maximum label value of output image im_out is the maximum label of im_in1 + the maximum label of im_in2.
For image returns SUCCESS or FAILURE. For region map returns the maximum label of FAILURE.
Inserts image a.pan into tangram.pan:
pinsertsubimage 10 10 0 a.pan tangram.pan b.pan
Insertion d'une image dans une autre image.
Author: Régis Clouard