PANDORE Version 6 GREYC-IMAGE

pyuv2pan



Converts a YUV image sequence file to a Pandore image file.



Synopsis

pyuv2pan width height first_frame last_frame to_rgb im_in [im_out|-]

Description

pyuv2pan converts a YUV image sequence file format (8 bits, encoding 4:2:0) to Pandore image file.

A YUV file stocks a sequence of color images with the color space YUV. Such image file format is uncompressed and without header. The output file im_out is a 3D color image (Imc3duc) or a 2D color image if the sequence is only one image (Imc2duc).

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Converts all the image sequence image.yuv to a 3D Pandore image with color space RGB:

   pyuv2pan 256 256 0 -1 1 image.yuv image.pan

See also

Conversion

C++ prototype

Errc PYUV2Pan( const char* f_in, Pobject** obj_out, const unsigned int width, const unsigned int height, const unsigned int first_frame=0, const int last_frame=-1, const bool to_rgb=false);

Version française

Conversion d'un fichier de séquence d'images au format YUV (8 bits, codage 4:2:0) en un fichier Pandore.

Important notice

The source code of this Pandore operator is governed by a specific Free-Software License (the CeCiLL License), also applying to the CImg Library. Please read it carefully, if you want to use this module in your own project (file CImg.h).

IN PARTICULAR, YOU ARE NOT ALLOWED TO USE THIS PANDORE MODULE IN A CLOSED-SOURCE PROPRIETARY PROJECT WITHOUT ASKING AN AUTHORIZATION TO THE CIMG LIBRARY AUTHOR ( http://www.greyc.ensicaen.fr/~dtschump/ )


Author: David Tschumperlé