SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Downloaden Sie, um offline zu lesen
1/26




Red Eye Removal
     y


                         Tony Meccio


       Red eye removal   17/04/2008
Overview                                                2/26



   • I t d ti
     Introduction t the Red Eye problem
                  to th R d E      bl
   • Red Eye prevention
   • Red Eye detection
      • Semi-automatic methods
      • Automatic methods
   •R dE
    Red Eye correction
                  ti
      • Desaturation
      • Inpainting techniques
   • False positives and unnatural corrections
      a    po        a du au a o           o
   • Red Eye removal examples


                                Red eye removal   17/04/2008
The Red Eye problem                                      3/26



 The Red E
 Th R d Eye phenomenon is a well-
               h            i      ll
 known problem which happens
 when taking flash-lighted p
            g        g     pictures
 of people.


 The pupils in the picture appear red
 instead of black.


 This h
 Thi happens more often when
                    ft    h
 using compact, consumer-oriented
 cameras.
  a     a




                                 Red eye removal   17/04/2008
Why the Red Eye?                                              4/26



                        Red Eye Cone
        Eye

                           α      β




   • The red eye cone shines from the flashed eye
   back at the flash with an angle α;
                               g    ;
   • Its red color is caused by the reflection of the
   flash off the blood vessels o the retina;
     a o         b ood         of           a;
   • The camera will record this red hue if the angle β
   be ee
   between the flash and the camera is not greater
             e as a d e ca e a s o g ea e
   than α.


                               Red eye removal          17/04/2008
Red Eye prevention                                           5/26


        Eye
                           Red Eye Cone

                          α
                                  β




    • If the equipment allows it, the flash can be spaced
    further away from the sensor in order to increase
                 y
    β (not possible on compact devices);
    • One o more additional flashes before picture
      O   or o add o a a              b o p u
    acquisition make the iris tighten and decrease α;
    • This methods reduce the probability of the Red
         s e ods educe e p obab y o            e ed
    Eye phenomenon but don’t remove it entirely.


                               Red eye removal         17/04/2008
Red Eye detection                                             6/26



    Most f th ti
    M t of the times, red eyes must be removed
                        d         tb         d
    during post-processing.
    For d
    F red eyes to be successfully removed, they must
                 t b          f ll      d th       t
    be first detected then corrected.


    Methods are classified according to the detection
    phase:
     h
       • Semi-automatic methods ask the user to
       manually l
             ll localize th red eyes;
                    li the d
       • Automatic methods detect the red eyes
       themselves.
       th    l



                              Red eye removal           17/04/2008
Semi-automatic methods                            7/26


             The eyes are manually selected
             using a visual interface (
                 g                    (Adobe
             Photoshop ®, Corel Paint Shop
             Pro ®, ACD See ®, etc.)
             Pros:
                • Eyes are easy to localize for
                   y          y
                men.
             Cons:
                • It may be difficult to have
                such an interface on a mobile
                device;
                • Automatic methods are easier
                   uo a         od a     a
                to use and more appealing.


                     Red eye removal     17/04/2008
Automatic methods                                          8/26



   Automatic methods attempt to find red eyes on
   A t     ti    th d tt      t t fi d d
   their own. The task is harder than it may seem:
   No “
   N “perfect” R d E
          f t” Red Eye d t ti
                       detection method has
                                   th d h
   been developed yet.
   Automatic methods extract features from images in
   A t     ti     th d    t   tf t       f    i      i
   order to identify red eyes. Different methods work
   on different features:


      • Face detection           • Skin detection
      • Eye detection            • Flash-noFlash
                                 comparison



                             Red eye removal         17/04/2008
Face-based methods                                               9/26



   •F
    Faces are looked for using a multiple feature
              l k df       i       lti l f t
   object based approach;
   •O
    Once th f
          the face features have been found then the
                   f t      h    b    f   d th   th
   research is restricted to red pixels.




       Face
     Extraction


                     Extracted           Multiple Masks
                       Area             Red-Eye
                                        Red Eye Research




                                 Red eye removal           17/04/2008
Eye-based methods                                             10/26



   Similar t face detection, but more complex
   Si il to f     d t ti     b t          l
   because the features are less evident:
   •EEyes are seeked, matching fi d t
                 k d      t hi   fixed templates at
                                             l t    t
   different resolutions with regular eyes present
   into the images, or looking for red pixels using
               g ,            g        p          g
   computed color LUTs.



      Initial           Single Eye
                            g    y          Pairingg
    Candidate
                        Verification      Verification
    Detection




                               Red eye removal           17/04/2008
Skin-based methods                                                11/26



   • Ski i d t t d first by pixel colors;
     Skin is detected fi t b i l l
   • Red circular patches near the skin are then
   looked for.
   l k df
   This approach is simpler and does not take into
   account th presence of more complex features.
          t the           f           l   f t


       Skin
     Detection         Red Circular           Pairingg
                         Patches            Verification

                        Research


                                                       Optional




                              Red eye removal              17/04/2008
Flash-noFlash methods                                       12/26


 • Two different pictures,
 one with flash and one
        ith fl h     d
 without, are acquired
 one after the other;;
 • Red eyes are detected
 as patches whose color is
    p
 red in the “flash”
 image and black in the
 “nonflash” i
 “    fl h” image.
      This approach has several drawbacks:
          • The dimension of the buffer must double;
          • The two images may be mis-aligned;
              e   o   ages ay       s a g ed;
          • The subject(s) may move between acquisitions.


                                Red eye removal        17/04/2008
An algorithm in detail                                                13/26


                                             Red Color
  Input        Skin        Morphological    Detection in
             Detection      Operators        Skin Area
  Image

                                                            Morphological
                                                             Operators


 Corrected     Red-Eye         Pairing       Single Eye
                             Verification    Verification
  Image
     g        Correction



 The Algorithm is Skin Feature Extraction based.
     • First the skin is extracted and morphologically
     modified to blob the enhanced areas;
     • Then a successive red color detection is performed to find
     red eyes in the skin areas;
     • The red regions are then dilated, eroded and analyzed
     to identify the Red-Eyes pairs.

                                      Red eye removal        17/04/2008
Example                                                                                  14/26




  Input Image            Skin Detection          Morphological       Red Color Detection
                                                  Operators
                                                                          in Skin Area




         Morphological                  Pairing                  Corrected
          Operators                   Verification
                                                                  Image




                                             Red eye removal                 17/04/2008
Input/Output comparison               15/26




               Red eye removal   17/04/2008
Algorithm drawbacks                                        16/26



   • U bl t perform single red eye detection;
     Unable to f     i l     d     d t ti


   • The skin detection is performed over the whole
   image (slow);


   • Big (
       g (slow) morphological operators p
              )    p     g      p       permit to g
                                                  get
   good results only on small images (less than 1
   Mpixels): it would require even bigger (and slower)
   operators t operate on larger images.
         t    to      t     l     i




                             Red eye removal          17/04/2008
Red eye correction                                        17/26



    Once red eyes have been detected, they must be
    O       d     h    b    d t t d th        tb
    corrected.


    Red eye correction is quite simpler than detection,
    but there are more diffi lt cases than others.
    b t th              difficult     th    th


    Correction may vary from simple desaturation to
    complete reconstruction of iris and pupil.




                              Red eye removal        17/04/2008
Desaturation                                             18/26




 Desaturation means lowering/zeroing the chrominance
 components while mantaining the luminance component
                                           component.
 It is the best way to correct “easy” red eyes.


                                  Red eye removal   17/04/2008
Washed-out irises                                             19/26




     Washed-out irises                Wrong correction


 Sometimes irises are totally washed out by reflected light.
 In these cases a simple desaturation or color correction is not
 enough.


 It is necessary to use a more complex method to reconstruct a
 realistic image of the eye.



                                 Red eye removal        17/04/2008
Inpainting techniques                                          20/26




 Some tools completely reconstruct the irises and the pupils
 to
 t replace the red eye (Jasc Paint Shop Pro ®).
      l    th    d     (J    P i t Sh   P ®)
 The results, however, are often unrealistic and look like glass
 eyes.



                                  Red eye removal        17/04/2008
False positives                                                21/26

  One of the biggest issue in red eye removal are false
  p
  positives in the detection phase.
                             p



 Unwanted
 corrections are
 much less
 desirable than
 missing ones
          ones.




                                 Red eye removal          17/04/2008
Unnatural corrections                                          22/26


 • Unnatural corrections are another
   important issue.
 • The most common ones are:
    • Partial correction: only a
                                          Partial correction
      portion of the red pupil has
                f
      been corrected;
    • Noisy correction: the presence
      of heavy noise or jpeg
      compression can introduce false
      red pixels around the pupil and     Noisy correction
      thus a strange correction is
      made over the iris;
    • Wrong luminance correction:
      in this case the disk has been
      correctly found but the
      correction is unnatural due to     Wrong luminance
      wrong luminance distribution.         correction


                               Red eye removal       17/04/2008
Red Eye removal examples                  23/26




             StopRedeyes®      AutoRemover®




                 Red eye removal    17/04/2008
Red Eye removal examples                  24/26




            StopRedeyes®        AutoRemover®




                  Red eye removal    17/04/2008
Red Eye removal examples                    25/26




     StopRedeyes®            AutoRemover®



                    Red eye removal   17/04/2008
References                                                                                     26/26

 • J.Y. Hardeberg, “Red Eye Removal using Digital Color Image Processing”, Conexant
 Systems, Inc. , Redmond, Washington, USA
 • M. Gaubatz, R. Ulichney, “Automatic Red-Eye Detection and Correction”, HP Lab, Cornell
 University,
 University ICIP 2002
 • S. Ioffe, “Red Eye Detection With Machine Learning”, Fujifilm Software, California, ICIP
 2003.
 • F Gasparini, R. Schettini “Automatic Redeye Removal for Smart Enhancement of Photos of
   F. Gasparini R Schettini, Automatic
 Unknown Origin”, DISCO University of Milano-Bicocca, VIS 2005.
 • H. Luo, J. Yen, D. Tretter, “An Efficient Redeye Detection and Correction Algorithm”, HP
 labs, Palo Alto, California, ICPR 2004.
 • A. Patti, K. Konstantinides, D. Tretter, Q. Lin, “Automatic Digital Redeye Reduction”, HP
 Labs, Palo Alto California, ICIP 1998.
 • L. Zhang, Y. Sun, M. Li, H. Zhang, “Automated Red-Eye Detection and Correction in Digital
 Photographs”,
 Photographs” Microsoft Research Asia China ICIP 2004
                                      Asia, China,
 • B. Smolka, K. Czubin, J.Y. Hardeberg, K.N. Palataniotis, M. Szczepanski, K. Wojciechowski,
 “Towars Automatic Redeye Effect Removal”, Pattern Recognition Letter 2003.
 • J S Schildkraut R T Gray “A Fully Automatic Redeye Detection and Correction Algorithm”,
   J.S. Schildkraut, R. T. Gray, A                                             Algorithm
 Kodak Company, NY, ICIP 2002.
 • R. Schettini, F. Gasparini, F. Chazli, ”A Modular Procedure for Automatic Redeye Correction
 in Digital Photos”, DISCO University of Milano-Bicocca, SPIE 2004
 • PETSCHNIGG, G., AGRAWALA, M., HOPPE, H., SZELISKI, R., COHEN, M., and TOYAMA, K.
 2004. Digital photography with flash and no-flash image pairs. ACM Transactions on Graphics
 23, 3 (Aug.), 664–672.



                                                  Red eye removal                   17/04/2008

Weitere ähnliche Inhalte

Kürzlich hochgeladen

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 

Kürzlich hochgeladen (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 

Empfohlen

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Red Eye Removal

  • 1. 1/26 Red Eye Removal y Tony Meccio Red eye removal 17/04/2008
  • 2. Overview 2/26 • I t d ti Introduction t the Red Eye problem to th R d E bl • Red Eye prevention • Red Eye detection • Semi-automatic methods • Automatic methods •R dE Red Eye correction ti • Desaturation • Inpainting techniques • False positives and unnatural corrections a po a du au a o o • Red Eye removal examples Red eye removal 17/04/2008
  • 3. The Red Eye problem 3/26 The Red E Th R d Eye phenomenon is a well- h i ll known problem which happens when taking flash-lighted p g g pictures of people. The pupils in the picture appear red instead of black. This h Thi happens more often when ft h using compact, consumer-oriented cameras. a a Red eye removal 17/04/2008
  • 4. Why the Red Eye? 4/26 Red Eye Cone Eye α β • The red eye cone shines from the flashed eye back at the flash with an angle α; g ; • Its red color is caused by the reflection of the flash off the blood vessels o the retina; a o b ood of a; • The camera will record this red hue if the angle β be ee between the flash and the camera is not greater e as a d e ca e a s o g ea e than α. Red eye removal 17/04/2008
  • 5. Red Eye prevention 5/26 Eye Red Eye Cone α β • If the equipment allows it, the flash can be spaced further away from the sensor in order to increase y β (not possible on compact devices); • One o more additional flashes before picture O or o add o a a b o p u acquisition make the iris tighten and decrease α; • This methods reduce the probability of the Red s e ods educe e p obab y o e ed Eye phenomenon but don’t remove it entirely. Red eye removal 17/04/2008
  • 6. Red Eye detection 6/26 Most f th ti M t of the times, red eyes must be removed d tb d during post-processing. For d F red eyes to be successfully removed, they must t b f ll d th t be first detected then corrected. Methods are classified according to the detection phase: h • Semi-automatic methods ask the user to manually l ll localize th red eyes; li the d • Automatic methods detect the red eyes themselves. th l Red eye removal 17/04/2008
  • 7. Semi-automatic methods 7/26 The eyes are manually selected using a visual interface ( g (Adobe Photoshop ®, Corel Paint Shop Pro ®, ACD See ®, etc.) Pros: • Eyes are easy to localize for y y men. Cons: • It may be difficult to have such an interface on a mobile device; • Automatic methods are easier uo a od a a to use and more appealing. Red eye removal 17/04/2008
  • 8. Automatic methods 8/26 Automatic methods attempt to find red eyes on A t ti th d tt t t fi d d their own. The task is harder than it may seem: No “ N “perfect” R d E f t” Red Eye d t ti detection method has th d h been developed yet. Automatic methods extract features from images in A t ti th d t tf t f i i order to identify red eyes. Different methods work on different features: • Face detection • Skin detection • Eye detection • Flash-noFlash comparison Red eye removal 17/04/2008
  • 9. Face-based methods 9/26 •F Faces are looked for using a multiple feature l k df i lti l f t object based approach; •O Once th f the face features have been found then the f t h b f d th th research is restricted to red pixels. Face Extraction Extracted Multiple Masks Area Red-Eye Red Eye Research Red eye removal 17/04/2008
  • 10. Eye-based methods 10/26 Similar t face detection, but more complex Si il to f d t ti b t l because the features are less evident: •EEyes are seeked, matching fi d t k d t hi fixed templates at l t t different resolutions with regular eyes present into the images, or looking for red pixels using g , g p g computed color LUTs. Initial Single Eye g y Pairingg Candidate Verification Verification Detection Red eye removal 17/04/2008
  • 11. Skin-based methods 11/26 • Ski i d t t d first by pixel colors; Skin is detected fi t b i l l • Red circular patches near the skin are then looked for. l k df This approach is simpler and does not take into account th presence of more complex features. t the f l f t Skin Detection Red Circular Pairingg Patches Verification Research Optional Red eye removal 17/04/2008
  • 12. Flash-noFlash methods 12/26 • Two different pictures, one with flash and one ith fl h d without, are acquired one after the other;; • Red eyes are detected as patches whose color is p red in the “flash” image and black in the “nonflash” i “ fl h” image. This approach has several drawbacks: • The dimension of the buffer must double; • The two images may be mis-aligned; e o ages ay s a g ed; • The subject(s) may move between acquisitions. Red eye removal 17/04/2008
  • 13. An algorithm in detail 13/26 Red Color Input Skin Morphological Detection in Detection Operators Skin Area Image Morphological Operators Corrected Red-Eye Pairing Single Eye Verification Verification Image g Correction The Algorithm is Skin Feature Extraction based. • First the skin is extracted and morphologically modified to blob the enhanced areas; • Then a successive red color detection is performed to find red eyes in the skin areas; • The red regions are then dilated, eroded and analyzed to identify the Red-Eyes pairs. Red eye removal 17/04/2008
  • 14. Example 14/26 Input Image Skin Detection Morphological Red Color Detection Operators in Skin Area Morphological Pairing Corrected Operators Verification Image Red eye removal 17/04/2008
  • 15. Input/Output comparison 15/26 Red eye removal 17/04/2008
  • 16. Algorithm drawbacks 16/26 • U bl t perform single red eye detection; Unable to f i l d d t ti • The skin detection is performed over the whole image (slow); • Big ( g (slow) morphological operators p ) p g p permit to g get good results only on small images (less than 1 Mpixels): it would require even bigger (and slower) operators t operate on larger images. t to t l i Red eye removal 17/04/2008
  • 17. Red eye correction 17/26 Once red eyes have been detected, they must be O d h b d t t d th tb corrected. Red eye correction is quite simpler than detection, but there are more diffi lt cases than others. b t th difficult th th Correction may vary from simple desaturation to complete reconstruction of iris and pupil. Red eye removal 17/04/2008
  • 18. Desaturation 18/26 Desaturation means lowering/zeroing the chrominance components while mantaining the luminance component component. It is the best way to correct “easy” red eyes. Red eye removal 17/04/2008
  • 19. Washed-out irises 19/26 Washed-out irises Wrong correction Sometimes irises are totally washed out by reflected light. In these cases a simple desaturation or color correction is not enough. It is necessary to use a more complex method to reconstruct a realistic image of the eye. Red eye removal 17/04/2008
  • 20. Inpainting techniques 20/26 Some tools completely reconstruct the irises and the pupils to t replace the red eye (Jasc Paint Shop Pro ®). l th d (J P i t Sh P ®) The results, however, are often unrealistic and look like glass eyes. Red eye removal 17/04/2008
  • 21. False positives 21/26 One of the biggest issue in red eye removal are false p positives in the detection phase. p Unwanted corrections are much less desirable than missing ones ones. Red eye removal 17/04/2008
  • 22. Unnatural corrections 22/26 • Unnatural corrections are another important issue. • The most common ones are: • Partial correction: only a Partial correction portion of the red pupil has f been corrected; • Noisy correction: the presence of heavy noise or jpeg compression can introduce false red pixels around the pupil and Noisy correction thus a strange correction is made over the iris; • Wrong luminance correction: in this case the disk has been correctly found but the correction is unnatural due to Wrong luminance wrong luminance distribution. correction Red eye removal 17/04/2008
  • 23. Red Eye removal examples 23/26 StopRedeyes® AutoRemover® Red eye removal 17/04/2008
  • 24. Red Eye removal examples 24/26 StopRedeyes® AutoRemover® Red eye removal 17/04/2008
  • 25. Red Eye removal examples 25/26 StopRedeyes® AutoRemover® Red eye removal 17/04/2008
  • 26. References 26/26 • J.Y. Hardeberg, “Red Eye Removal using Digital Color Image Processing”, Conexant Systems, Inc. , Redmond, Washington, USA • M. Gaubatz, R. Ulichney, “Automatic Red-Eye Detection and Correction”, HP Lab, Cornell University, University ICIP 2002 • S. Ioffe, “Red Eye Detection With Machine Learning”, Fujifilm Software, California, ICIP 2003. • F Gasparini, R. Schettini “Automatic Redeye Removal for Smart Enhancement of Photos of F. Gasparini R Schettini, Automatic Unknown Origin”, DISCO University of Milano-Bicocca, VIS 2005. • H. Luo, J. Yen, D. Tretter, “An Efficient Redeye Detection and Correction Algorithm”, HP labs, Palo Alto, California, ICPR 2004. • A. Patti, K. Konstantinides, D. Tretter, Q. Lin, “Automatic Digital Redeye Reduction”, HP Labs, Palo Alto California, ICIP 1998. • L. Zhang, Y. Sun, M. Li, H. Zhang, “Automated Red-Eye Detection and Correction in Digital Photographs”, Photographs” Microsoft Research Asia China ICIP 2004 Asia, China, • B. Smolka, K. Czubin, J.Y. Hardeberg, K.N. Palataniotis, M. Szczepanski, K. Wojciechowski, “Towars Automatic Redeye Effect Removal”, Pattern Recognition Letter 2003. • J S Schildkraut R T Gray “A Fully Automatic Redeye Detection and Correction Algorithm”, J.S. Schildkraut, R. T. Gray, A Algorithm Kodak Company, NY, ICIP 2002. • R. Schettini, F. Gasparini, F. Chazli, ”A Modular Procedure for Automatic Redeye Correction in Digital Photos”, DISCO University of Milano-Bicocca, SPIE 2004 • PETSCHNIGG, G., AGRAWALA, M., HOPPE, H., SZELISKI, R., COHEN, M., and TOYAMA, K. 2004. Digital photography with flash and no-flash image pairs. ACM Transactions on Graphics 23, 3 (Aug.), 664–672. Red eye removal 17/04/2008