PANDORE Version 6 | GREYC-IMAGE |
pim2sl builds a new unsigned char image from an image of any type. Each pixel of the input image is converted to unsigned char by using only a casting operation. There is no interpolation of the pixel values:
pixel(im_out)=(unsigned char)pixel(im_in);
Returns SUCCESS or FAILURE.
Converts the float image a.pan to Uchar image b.pan:
pim2uc a.pan b.pan
Conversion automatique d'une image de n'importe quel type en type unsigned char.
Author: Régis Clouard