PANDORE Version 6 GREYC-IMAGE

ppan2tiff



Converts Pandore image file to TIFF image file.



Synopsis

ppan2tiff [-m mask] [im_in|-] im_out|-]

Description

ppan2tiff converts a Pandore file to TIFF image file. The conversion can generate 8 or 16 bits TIFF image that corresponds to Uchar and Long Pandore images either in gray scale or color.

In case of Long images (Img2dslm, Img3dsl, Imc2dsl or Imc3dsl), pixels are clipped to convert pixel with 4 bytes to pixel with 2 bytes (0..65535): pixel with value > 65535 is set to 65535 and pixel with value < 0 is set to 0.

In case of 3D images, ppan2tiff builds as many files s they are planes. Files are named: "im_outndep.tiff" where ndep is the number of plane of the 3D image. For example ppan2tiff a.pan img.tiff, yields files: img000.tiff, img001.tiff ...

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

   ppan2tiff tangram.pan image.tiff

See also

Conversion, ptiff2pan

C++ prototype

Errc PPan2Tiff( const Img2duc &im_in, char *im_out );

Version française

Conversion d'une image Pandore en image(s) TIFF.


Author: Régis Clouard