PANDORE Version 6 | GREYC-IMAGE |
psuperimposition builds the output image im_out by adding the pixels of the mask image im_mask in the specified band of the input image im_in. For example, if color_mask=1 then the mask is adding in the red band.
This operator is useful to visualize contours extracted from an image directly on this image.
The output image is of the same type as the input image.
pgradient 1 examples/tangram.pan i1.pan i2.pan pbinarization 30 1e30 i1.pan i3.pan pbinarization 60 1e30 i1.pan i4.pan pgeodesicdilation 1 1 -1 i4.pan i3.pan i4.pan psuperimposition 1 examples/tangram.pan i4.pan out.pan
Returns SUCCESS or FAILURE.
Author: Régis Clouard