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)=(float)pixel(im_in);
Returns SUCCESS or FAILURE.
Converts tangram.pan to float image:
pim2sf a.pan out.pan
Conversion automatique d'une image de n'importe quel type en type float.
Author: Régis Clouard