FR3113536A3 - Process for eliminating red eyes in a photographic portrait with flash - Google Patents
Process for eliminating red eyes in a photographic portrait with flash Download PDFInfo
- Publication number
- FR3113536A3 FR3113536A3 FR2008637A FR2008637A FR3113536A3 FR 3113536 A3 FR3113536 A3 FR 3113536A3 FR 2008637 A FR2008637 A FR 2008637A FR 2008637 A FR2008637 A FR 2008637A FR 3113536 A3 FR3113536 A3 FR 3113536A3
- Authority
- FR
- France
- Prior art keywords
- image
- additional light
- light source
- red
- images
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims description 17
- 241000593989 Scardinius erythrophthalmus Species 0.000 claims description 6
- 201000005111 ocular hyperemia Diseases 0.000 claims description 6
- 238000009432 framing Methods 0.000 claims description 4
- 230000008030 elimination Effects 0.000 claims 1
- 238000003379 elimination reaction Methods 0.000 claims 1
- 238000005286 illumination Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30216—Redeye defect
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
Abstract
La présente invention consiste à déterminer l’emplacement des yeux dans une photographie prise avec une source de lumière additionnelle comme un flash, en déterminant les zones dont la couleur rouge augmente le plus lorsque la source de lumière additionnelle est allumée. On prend deux photos à intervalle rapproché, et on diminue dans l’image prise avec lumière additionnelle la luminosité des pixels correspondant à ces zones. A la différence de l’art antérieur, l’opération est faite automatiquement lors de la prise de vue.The present invention consists in determining the location of the eyes in a photograph taken with an additional light source such as a flash, by determining the areas whose red color increases the most when the additional light source is turned on. Two photos are taken at close intervals, and in the image taken with additional light, the brightness of the pixels corresponding to these areas is reduced. Unlike the prior art, the operation is done automatically when shooting.
Description
L’invention est un procédé d’élimination des yeux rouges lors un portrait photographique avec flash.The invention is a process for eliminating red eyes during a photographic portrait with flash.
La méthode consistant à prendre deux photographies avec et sans flash, pour en faire la différence afin de “tuer la lumière ambiante”, est connue depuis longtemps. Le livre de Bryan Peterson intitulé « Flash Photography » publié pour la première fois en 1952 et republié en 2011, expose comment « tuer la lumière ambiante » en soustrayant une photographie sans flash d’une photographie avec flash.The method of taking two photographs with and without flash, to make the difference in order to “kill the ambient light”, has been known for a long time. Bryan Peterson's book "Flash Photography" first published in 1952 and republished in 2011, outlines how to "kill ambient light" by subtracting a photograph without flash from a photograph with flash.
Le brevet US20080158258A1 du 27 décembre 2006 (David B. Lazarus [US] et John D. Ogden [US] – General Instrument Corporation) expose une méthode comportant l’acquisition d’une pluralité d'images numériques à au moins deux niveaux d'éclairage différents à partir d'une source de lumière contrôlée, et l'analyse de la pluralité d'images numériques pour obtenir une image représentant la contribution d'éclairage fournie par la source de lumière contrôlée.Patent US20080158258A1 of December 27, 2006 (David B. Lazarus [US] and John D. Ogden [US] – General Instrument Corporation) describes a method comprising the acquisition of a plurality of digital images at at least two levels of different illumination from a controlled light source, and analyzing the plurality of digital images to obtain an image representing the illumination contribution provided by the controlled light source.
Le brevet US7590344B2 du 15 septembre 2009 (Georg Petschnigg [US] – Microsoft) décrit un processus pour améliorer les images prises avec flash, consistant à acquérir une première image capturée avec le flash et la lumière ambiante, puis une deuxième image, correspondant à la première image, capturée avec la lumière ambiante, et à utiliser la première image et la deuxième image pour créer une troisième image avec flash uniquement.Patent US7590344B2 of September 15, 2009 (Georg Petschnigg [US] – Microsoft) describes a process for improving images taken with flash, consisting of acquiring a first image captured with flash and ambient light, then a second image, corresponding to the first image, captured with ambient light, and using the first image and the second image to create a third image with flash only.
Problème techniqueTechnical problem
Lorsqu’on prend une photo de visage en utilisant un flash, la lumière de ce dernier éclaire le fond de l’œil, qui apparait en rouge sur la photographie.When taking a photo of the face using a flash, the light from the latter illuminates the fundus of the eye, which appears in red in the photograph.
L’objectif de la présente invention est de supprimer automatiquement ce défaut lors d’un portrait photographique réalisé avec un flash.The objective of the present invention is to automatically eliminate this defect during a photographic portrait made with a flash.
La présente invention est un procédé d’élimination des yeux rouges lors d‘une acquisition photographique avec source additionnelle de lumière d’une image comportant les yeux d’un sujet, caractérisé en ce qu’il comporte l’acquisition successive de deux images, l’une avec ladite lumière additionnelle et l’autre avec un éclairage moindre, puis la détermination d’au moins une zone dite yeux rouges dans laquelle les pixels de ladite image avec source additionnelle de lumière sont plus rouges que dans ladite autre image, et ensuite la diminution de la luminosité de ladite zone yeux rouges dans ladite image acquise avec une source additionnelle de lumière.The present invention is a method for eliminating red eyes during photographic acquisition with an additional light source of an image comprising the eyes of a subject, characterized in that it comprises the successive acquisition of two images, one with said additional light and the other with less illumination, then determining at least one so-called red-eye zone in which the pixels of said image with additional light source are redder than in said other image, and then decreasing the luminosity of said red-eye zone in said image acquired with an additional light source.
Description détaillée de l’inventionDetailed description of the invention
La lumière additionnelle comme celle d’un flash éclaire le fond de l’œil, et les zones de la photographie comportant le fond de l’œil ainsi rougi sont donc plus lumineuses que les autres parties de l’image dans les longueurs d’onde proche du rouge. La réalisation d’une soustraction entre les luminosités des pixels de l’image acquise avec source de lumière additionnelle et les pixels correspondants d’une image réalisée sans flash ou avec un éclairage moindre de la source de lumière additionnelle, permet de déterminer les pixels de l’image avec source de lumière additionnelle qui sont plus rouges que ceux de l’autre image. Il est alors facile de diminuer la luminosité de ces pixels dans l’image prise avec source de lumière additionnelle.The additional light such as that from a flash illuminates the fundus of the eye, and the areas of the photograph comprising the fundus of the eye thus reddened are therefore brighter than the other parts of the image in the wavelengths close to red. Performing a subtraction between the brightnesses of the pixels of the image acquired with additional light source and the corresponding pixels of an image taken without flash or with less illumination from the additional light source, makes it possible to determine the pixels of image with additional light source that are redder than those in the other image. It is then easy to reduce the brightness of these pixels in the image taken with an additional light source.
A la différence de l’art antérieur, l’opération est faite automatiquement lors de la prise de vue, ce qui constitue deux avantages particulièrement importants.Unlike the prior art, the operation is done automatically when shooting, which constitutes two particularly important advantages.
La couleur rouge est avantageusement celle qui est proche de celle qui augmente le plus la luminosité d’un fond d’œil. L’homme de l’art peut facilement la déterminer, par calcul ou par tâtonnements successifs.The red color is advantageously the one that is close to that which most increases the luminosity of a fundus. Those skilled in the art can easily determine it, by calculation or by successive trial and error.
Une solution particulièrement simple, lorsqu’une photo est prise à l’aide de trois capteurs rouge vert et bleu consiste à analyser comme couleur rouge celle qui est captée par le capteur rouge.A particularly simple solution, when a photo is taken using three red, green and blue sensors, consists in analyzing as red the color that is captured by the red sensor.
On peut évidemment déterminer plusieurs séries de pixels correspondant à des augmentations plus ou moins importantes de luminosité de l’image avec source de lumière additionnelle dans ces longueurs d’onde, et corriger la luminosité des pixels considérés en tenant compte de l’augmentation de la luminosité constatée. Avantageusement la diminution de luminosité de pixels de l’image prise avec source de lumière additionnelle est d’autant plus importante que ces pixels sont plus rouges dans cette image que dans l’autre image.It is obviously possible to determine several series of pixels corresponding to more or less significant increases in brightness of the image with an additional light source in these wavelengths, and to correct the brightness of the pixels considered by taking into account the increase in the observed luminosity. Advantageously, the reduction in luminosity of pixels of the image taken with an additional light source is all the greater as these pixels are redder in this image than in the other image.
Il est avantageux de comparer l’augmentation de luminosité de l’image avec source de lumière additionnelle dans ces longueurs d’onde avec l’augmentation de luminosité de l’image avec source de lumière additionnelle dans d’autres longueur d’onde, pour ne diminuer la luminosité que des pixels dont la luminosité a plus augmenté dans la couleur rouge que dans les autres couleurs.It is advantageous to compare the increase in brightness of the image with additional light source in these wavelengths with the increase in brightness of the image with additional light source in other wavelengths, for decrease the brightness only of the pixels whose brightness has increased more in the color red than in the other colors.
Il est avantageux de prendre les deux images dans un temps très court, par exemple dans un temps de moins d’une demie seconde, pour éviter que le sujet, ou le cadrage aient trop bougé entre les deux images, ou que la caméra ait trop bougé ou changé de cadrage.It is advantageous to take the two images in a very short time, for example in a time of less than half a second, to prevent the subject, or the framing, having moved too much between the two images, or the camera having too much moved or changed framing.
L’homme de l’art peut avantageusement modifier le cadrage de l’une des deux images après son acquisition pour que les éléments des deux images soient situés au même endroit dans chacune des deux images.The person skilled in the art can advantageously modify the framing of one of the two images after its acquisition so that the elements of the two images are located at the same place in each of the two images.
L’image dite autre image n’est pas nécessairement prise sans flash. Il peut s‘agir d’une image prise lorsque la source de lumière additionnelle n’est pas totalement allumée ou pas totalement éteinte. L’important est de pouvoir déterminer l’effet de la source de lumière additionnelle sur l’augmentation de lumière dans les yeux.The so-called other image is not necessarily taken without flash. This may be an image taken when the additional light source is not fully on or not fully off. The important thing is to be able to determine the effect of the additional light source on the increase in light in the eyes.
La solution la plus avantageuse consiste à acquérir deux images au rythme le plus rapide auquel le moyen d’acquisition permet de prendre deux images l’une après l’autre, et à acquérir une image avec source de lumière additionnelle et l’autre image juste avant ou juste après que cette source de lumière additionnelle est totalement allumée.The most advantageous solution consists in acquiring two images at the fastest rate at which the acquisition means makes it possible to take two images one after the other, and in acquiring an image with an additional light source and the other image just before or just after this additional light source is fully lit.
Avec des algorithmes connus de reconnaissance d’image, l’homme de l’art peut utiliser la présente invention pour réaliser des vidéos dans lesquelles les yeux rouges seront corrigés dans toutes les images successives.With known image recognition algorithms, those skilled in the art can use the present invention to produce videos in which red eyes will be corrected in all successive images.
Il est également avantageux de diminuer la force de la source de lumière additionnelle pendant un très court instant, par exemple lors du temps nécessaire à l’acquisition d’une image de la séquence vidéo, pour mettre en œuvre le procédé selon l’invention à une fréquence régulière pendant le tournage d’une vidéo. Cela peut rester pratiquement imperceptible par le spectateur de la vidéo.It is also advantageous to reduce the strength of the additional light source for a very short time, for example during the time required to acquire an image of the video sequence, to implement the method according to the invention at a regular frequency while shooting a video. This can remain virtually imperceptible to the viewer of the video.
Il est avantageux dans ce cas de corriger dans une seconde étape la luminosité des images de la vidéo acquises avec un éclairage moindre, pour que la luminosité des images reste constante malgré les modifications temporaires de l’éclairage.It is advantageous in this case to correct in a second step the brightness of the images of the video acquired with less lighting, so that the brightness of the images remains constant despite the temporary changes in the lighting.
ApplicationsApps
La présente invention s’applique aux logiciels équipant les appareils photographiques numériques, et aux appareils eux-mêmes. Elle concerne en particulier tous les smartphones.The present invention applies to software equipping digital cameras, and to the devices themselves. It concerns in particular all smartphones.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
FR2008637A FR3113536A3 (en) | 2020-08-24 | 2020-08-24 | Process for eliminating red eyes in a photographic portrait with flash |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
FR2008637 | 2020-08-24 | ||
FR2008637A FR3113536A3 (en) | 2020-08-24 | 2020-08-24 | Process for eliminating red eyes in a photographic portrait with flash |
Publications (1)
Publication Number | Publication Date |
---|---|
FR3113536A3 true FR3113536A3 (en) | 2022-02-25 |
Family
ID=80442696
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
FR2008637A Withdrawn FR3113536A3 (en) | 2020-08-24 | 2020-08-24 | Process for eliminating red eyes in a photographic portrait with flash |
Country Status (1)
Country | Link |
---|---|
FR (1) | FR3113536A3 (en) |
-
2020
- 2020-08-24 FR FR2008637A patent/FR3113536A3/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5530440B2 (en) | In-camera based method for detecting defects with high accuracy | |
JP4041687B2 (en) | Method and apparatus for removing flash artifacts | |
TWI444041B (en) | Image processing apparatus, image processing method, and storage medium thereof | |
US8780232B2 (en) | System and method for analyzing a digital image | |
FR2861936A1 (en) | SYSTEM AND METHOD FOR COMPENSATING THE WHITE BALANCE OF SEIZED IMAGES | |
US9497433B2 (en) | Imaging device with color adjustment function, imaging method using the same, and non-transitory storage medium in which imaging program is stored | |
JP2008527852A5 (en) | ||
FR3005543A1 (en) | SCINTILULATION COMPENSATION METHOD USING TWO IMAGES | |
EP2133839A1 (en) | Image treatment method to prevent copying | |
US9105105B2 (en) | Imaging device, imaging system, and imaging method utilizing white balance correction | |
JP5899894B2 (en) | Imaging apparatus, image processing apparatus, image processing program, and image processing method | |
FR3113536A3 (en) | Process for eliminating red eyes in a photographic portrait with flash | |
JP4029206B2 (en) | Imaging device | |
FR3113759A3 (en) | Process for eliminating red eyes in a photographic portrait with flash | |
FR2918239A1 (en) | METHOD FOR SELECTING TATOO IMAGE PIXELS AND TATTOO PROCESS USING THE SELECTION | |
FR3113968A3 (en) | Detection of artefacts in a photograph due to an additional light source | |
CA2491660A1 (en) | Method and device for selecting shade of a colour coding ring | |
US9495584B1 (en) | System and method for facial recognition using images captured from a target illuminated with infrared light | |
JP6501868B2 (en) | Imaging device, signal processing device, and skin diagnosis system | |
JP2005167444A (en) | Image processing apparatus performing spectral characteristic estimation | |
KR101367103B1 (en) | Apparatus and method for determining back light | |
FR2937209A1 (en) | Image correcting method for camera of mobile phone, involves obtaining three correction information by adding luminous intensity values associated to selected pixels, and determining blank deviation correction based on information | |
TWI594630B (en) | Night photography system and its method | |
KR20090080610A (en) | An intellectual flash apparatus of digital imaging device and flash methods thereof | |
FR3129803A1 (en) | Image capture system and imaging assembly comprising such a system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ST | Notification of lapse |
Effective date: 20220405 |