Noob problem related to python image processing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fatality123
    New Member
    • Aug 2008
    • 1

    Noob problem related to python image processing

    hi all
    I am new to both python and image processing. My task is to use python and tk to create a tool which can convert between the difft RGb color spaces like 565,888,444 etc and difft YCbCr color spaces like 444,422,420and 411.
    I read abt PIL and installed it.I am working in Windows XP environment.
    to do this task i am facing the following problems:

    1.read and write image files in difft formats like ppm,pgm,bmp in both binary and ascii format ( i.e. p1 to p6)

    2.How to identify as to which aforementioned color space the opened image file belongs to.

    3. for rgb color space I know how to convert from lower to higher precision (zero padding ) and from higher to lower precision ( clipping or rounding ), but have no clue how to convert YCbCr 411,420,422 to 444 format.

    Can any one plz help. Suggestion regarding any of the above questions would be appreciated.
Working...