


CYUV2PPM(1)                                           CYUV2PPM(1)


NNAAMMEE
       cyuv2ppm - Component Y Cb Cr (YUV) conversion to raw PPM

SSYYNNOOPPSSIISS
       ccyyuuvv22ppppmm  iinnffiillee oouuttffiillee [[--iiww wwiiddtthh]] [[--iihh hheeiigghhtt]] [[--zz ssuuff--
       ffiixx]]** [[--CCCCIIRR660011]]

DDEESSCCRRIIPPTTIIOONN
       _c_y_u_v_2_p_p_m is a conversion  program  between  component  yuv
       files  and  the  ppm file format.  The chrominances of the
       input are decimated by a factor of 2 in both the  horizon-
       tal and vertial dimensions.


OOPPTTIIOONNSS
       --iiww    is the image width in terms of the luminance compo-
              nent (Y).

       --iihh    is the image height in terms of the luminance  com-
              ponent (Y).

       --CCCCIIRR660011
              specifies  that  the CCIR601 YCbCr colorspace is to
              be used instead of the JFIF colorspace.

       --zz     denotes the component file suffixes  in  sequential
              order. For example
               --zz  ..yy..ccllrr  --zz ..uu..ccllrr --zz ..vv..ccllrr indicates that the
              luminance and the two chrominance files end with  a
              suffix  of  ..yy..ccllrr,,  ..uu..ccllrr,,  and  ..vv..ccllrr,,  in that
              order. If unspecified, the suffixes default to  ..YY,,
              UU,, and ..VV..


EEXXAAMMPPLLEESS
       To  convert  a  triple  set of raw raster scan YCbCr (also
       known as digital YUV)  files  with  dimension  352x240  Y,
       176x120  U,V,  with labels, hheelllloo00..YY hheelllloo00..UU hheelllloo00..VV,, to
       the file oouutt..ppppmm type

       ccyyuuvv22ppppmm hheelllloo00 oouutt..ppppmm

       There are a variety of ways to convert  the  PPM  file  to
       other formats; see Jef Poskanzer's PBMPLUS library.


FFTTPP
       _c_y_u_v_2_p_p_m   is   available  by  anonymous  ftp  from  _h_a_v_e_-
       _f_u_n_._s_t_a_n_f_o_r_d_._e_d_u_:_p_u_b_/_c_v_/_C_V_v_1_._2_._1_._t_a_r_._Z_.


BBUUGGSS
       Probably lurking somewhere.  Please inform the  author  at
       achung@cs.stanford.edu if any bugs are found.



                           14 June 1993                         1





CYUV2PPM(1)                                           CYUV2PPM(1)


AAUUTTHHOORR
       Andy Hung























































                           14 June 1993                         2


