PANDORE Version 6 GREYC-IMAGE

psuperimposition



Superimposition of contours onto an image.



Synopsis

psuperimposition color_mask [im_in|-] [mk_in|-] [im_out|-]

Description

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.

Parameters

Inputs

Outputs

Examples

Result

Returns SUCCESS or FAILURE.

See also

Visualization

C++ prototype

Errc PSuperimposition( const Imc2duc &im_in, const Img2duc &mk_in, Imc2duc &im_out, int color_mask);

Author: Régis Clouard