Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Remove red eyes

Remove red eyes

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 852 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    samdol
    wrote on last edited by
    #1

    Hi,
    I have a jpg image file and created QPixmap to show on screen. It contains red eyes. I need to remove red eyes after selecting the region around eyes.
    Any help how I can achieve this?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bnogal
      wrote on last edited by bnogal
      #2

      I did that in the university and i couldnt choose where the red eyes were. If it is a task. Think. Take care with the jar with two red dots the teacher will try out

      1 Reply Last reply
      0
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        First i would check out rubberband class
        http://doc.qt.io/qt-5/qrubberband.html
        for selecting area.
        Also I might play with this
        https://japskua.wordpress.com/2010/08/04/detecting-eyes-with-python-opencv/
        for auto detection

        Then I would read
        http://stackoverflow.com/questions/133675/red-eye-reduction-algorithm
        and try the mini implementation.

        Also read the paper on it
        http://graphicon.ru/html/2007/proceedings/Papers/Paper_11.pdf
        http://research.microsoft.com/en-us/um/people/leizhang/paper/icip04-lei.pdf

        If not good enough , i would go look for a library like openvc or maybe peek at
        https://www.gimp.org/source/
        as it has red eye removal too.

        1 Reply Last reply
        3
        • BaehtiHB Offline
          BaehtiHB Offline
          BaehtiH
          Banned
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          -1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved