Results 1 to 3 of 3

Thread: image proccessing using GTK

  1. #1
    Join Date
    Sep 2013
    Beans
    1

    image proccessing using GTK

    Hello,

    I am beginner in field of image processing using GTK library. I am trying to convert image from RGB to YUV. I have applied standard equation for the same, but after converting it in YUV format, i dont know how to save the image in YUV format. I have read that GTK currently support only RGB colour space. if anyone know about solution to this than please reply. thank you in advance.

  2. #2
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,050
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: image proccessing using GTK

    I don't think there are any GTK libraries that will do that, but ffmpeg might: http://stackoverflow.com/questions/1...ng-in-adobe-pr

    So you could write most of your routine in GTK and call ffmpeg with the appropriate switches to save back to YUV. There do seem to be some bugs though when going from RGB to YUV, so you will have to test it extensively.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  3. #3
    Join Date
    Jun 2013
    Beans
    9

    Re: image proccessing using GTK

    Quote Originally Posted by devang2 View Post
    Hello,

    I am beginner in field of image processing using GTK library. I am trying to convert image from RGB to YUV. I have applied standard equation for the same, but after converting it in YUV format, i dont know how to save the image in YUV format. I have read that GTK currently support only RGB colour space. if anyone know about solution to this than please reply. thank you in advance.
    I did not find a solution yet, but I found two related posts. If you have found a solution, please share with us.

    http://stackoverflow.com/questions/9...ame-in-android
    http://stackoverflow.com/questions/9...channels-image

    But since GTK only supports 24-depth RGB, I do not think you can save image in YUV format under GTK interface.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •