PANDORE Version 6 GREYC-IMAGE

prgb2yuv



Converts RGB color image to YUV color image.



Synopsis

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

Description

prgb2yuv converts color image from the color space RGB (Red, Gren, Blue) to the color space YUV (television standard).

YUV is adopted by the PAL television standard.

The color conversion is a linear transformation:

    |  0.299   0.587   0.114 |
    | -0.147  -0.289   0.437 |
    |  0.615  -0.515  -0.10 |

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

   prgb2yuv parrot.pan a.pan

See also

pyuv2rgb, Color

C++ prototype

Errc PRGB2YUV( const Imc2duc &im_in, Imc2dsf &im_out );

Version française

Changement d'espace couleur de RVB vers YUV.


Author: Olivier Lezoray