PANDORE Version 6 | GREYC-IMAGE |
pmask applies the mask im_in2 on the input im_in1.
For image, masking is applied on each pixel:
if pixel(im_in2) pixel(im_out) = pixel(im_in1) else pixel(im_out) = 0
For color or multispectral image, the "mask" operator is computed separately on each band.
For graph, masking is applied on each node value.
For region map, masking is applied on label. All masked label are set to 0 in the result, and other labels are copied onto the output im_out.
Returns SUCCESS or FAILURE.
pbinarization 100 1e30 examples/tangram.pan a.pan pand examples/tangram.pan a.pan b.pan
Author: Régis Clouard