PANDORE Version 6 | GREYC-IMAGE |
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.
Colorizes regions of the image reg.pan with their inner mean value:
pcolorize in.pan reg.pan out.pan
Returns SUCCESS or FAILURE.
Colorization de régions à partir de sa valeur moyenne.
Author: Olivier Lezoray