PANDORE Version 6 GREYC-IMAGE

pcolorize



Colorization of regions with internal average value.



Synopsis

pcolorize [-m mask] [im_in|-] [rg_in|-] [im_out|-]

Description

pcolorize builds the output image im_out from the mean color of the regions of the input image im_in an specified in the region map rg_in. Each pixel of the output image is set with the mean color of the related region.

The output image is of the same type as the input image.

Inputs

Outputs

Examples

Colorizes regions of the image reg.pan with their inner mean value:

   pcolorize in.pan reg.pan out.pan

Result

Returns SUCCESS or FAILURE.

See also

Visualization

C++ prototype

Errc PColorize( const Imc2duc &im_in, const Reg2d &rg_in, Imc2duc &im_out );

Version française

Colorization de régions à partir de sa valeur moyenne.


Author: Olivier Lezoray