JP4214420B2 - 瞳色補正装置およびプログラム - Google Patents
瞳色補正装置およびプログラム Download PDFInfo
- Publication number
- JP4214420B2 JP4214420B2 JP2007067668A JP2007067668A JP4214420B2 JP 4214420 B2 JP4214420 B2 JP 4214420B2 JP 2007067668 A JP2007067668 A JP 2007067668A JP 2007067668 A JP2007067668 A JP 2007067668A JP 4214420 B2 JP4214420 B2 JP 4214420B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- pupil
- correction
- skin
- pixel
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
- H04N1/62—Retouching, i.e. modification of isolated colours only or in isolated picture areas only
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
- H04N1/62—Retouching, i.e. modification of isolated colours only or in isolated picture areas only
- H04N1/622—Retouching, i.e. modification of isolated colours only or in isolated picture areas only with simulation on a subsidiary picture reproducer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
- H04N1/62—Retouching, i.e. modification of isolated colours only or in isolated picture areas only
- H04N1/624—Red-eye correction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
- H04N1/62—Retouching, i.e. modification of isolated colours only or in isolated picture areas only
- H04N1/628—Memory colours, e.g. skin or sky
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/10—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
- H04N23/12—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths with one sensor only
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/18—Eye characteristics, e.g. of the iris
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Processing Of Color Television Signals (AREA)
Description
上記各発明によれば、赤目現象を発生している場合、本来の瞳色の明度値に比べて上昇する増加分は、主に赤色光によるものと考えられる。そこで、GとBの値を用いることで、赤目発生前の明度値を推定することができる。
画像の瞳部分に発生する異常とは、例えば赤目現象や金目現象などであり、瞳部分の一部又は全部の色について発生する異常である。
次に、例えば各色の変換関数が一次方程式で近似できると仮定する。すなわち、以下のような式(1)によって各色の変換関数が表されると仮定する。
赤味の評価は、以下の式に示すR成分割合(Rrate)によって判断する。
Rrate=R/(R+G+B)
但し:0≦R,G,B≦255
Y=0.299R+0.587G+0.114B
Lgb=0.857G+0.114B
11 記憶部
12 顔検出部
13 肌の色特定部
14 肌補正色算出部
15 瞳検出部
16 原瞳色算出部
17 補正基準色決定部
18 判断部
19 補正部
Claims (6)
- 入力された画像における被写体人物の肌の色を特定する肌の色特定手段と、
前記肌の色特定手段によって特定された肌の色に基づいて、前記画像中に表されるべき当該人物の瞳の色である肌補正色を求める肌補正色算出手段と、
前記被写体人物の瞳部分の画素の値からその画素の赤目などの色調異常が発生する前の明度を推定する明度推定手段と、
前記肌補正色に基づく補正基準色と、前記推定した明度を元に、前記被写体人物の瞳の色を補正する補正手段と、
を備え、
前記明度推定手段は、画素の色を構成するR,G,Bのうち、GとBの値に基づいて決定される明度であるGB明度を算出する機能を備え、
前記補正手段は、補正基準色のR,G,Bの値を基準に、補正基準色の前記GB明度の値が補正対象画素のGB明度の値と等しくなるように変換するものであることを特徴とする瞳色補正装置。 - 入力された画像における被写体人物の肌の色を特定する肌の色特定手段と、
前記肌の色特定手段によって特定された肌の色に基づいて、前記画像中に表されるべき当該人物の瞳の色である肌補正色を求める肌補正色算出手段と、
前記被写体人物の瞳の外周領域に含まれる画素の色からその外周領域の代表色である原瞳色を求める原瞳色算出手段と、
前記求めた肌補正色と原瞳色のいずれかにより補正基準色を決定する補正基準色決定手段と、
前記被写体人物の瞳部分の画素の値からその画素の赤目などの色調異常が発生する前の明度を推定する明度推定手段と、
前記補正基準色と、前記推定した明度を元に、前記被写体人物の瞳の色を補正する補正手段と、
を備え
前記明度推定手段は、画素の色を構成するR,G,Bのうち、GとBの値に基づいて決定される明度であるGB明度を算出する機能を備え、
前記補正手段は、補正基準色のR,G,Bの値を基準に、補正基準色の前記GB明度の値が補正対象画素のGB明度の値と等しくなるように変換するものであることを特徴とする瞳色補正装置。 - 入力された画像における被写体人物の顔の一部又は全体を含む顔領域を検出する顔検出手段と、
前記顔検出手段によって検出された当該人物の瞳の一部又は全体を含む瞳領域を検出する瞳検出手段と、を備え、
前記肌の色特定手段は、前記顔検出手段で検出された顔領域に含まれる画素の色に基づいて肌の色を特定するものであることを特徴とする請求項1または2に記載の瞳色補正装置。 - 前記肌補正色算出手段によって求められた肌補正色と前記瞳検出手段によって検出された瞳領域から特定される色とを比較することにより、前記画像における当該人物の瞳の色に異常が発生しているか否か判断する判断手段を備え、
前記補正手段は、判断手段にて異常と判定された場合に補正処理を実行することを特徴とする請求項3に記載の瞳色補正装置。 - 前記判断手段は、前記瞳色推定手段によって推定された瞳の色における赤みと、前記瞳検出手段によって検出された瞳領域から特定される色における赤みとを比較することにより、前記画像における当該人物の瞳部分が赤目になっているか否か判断する請求項4に記載の瞳色補正装置。
- コンピュータを、
入力された画像における被写体人物の肌の色を特定する肌の色特定手段、
前記肌の色特定手段によって特定された肌の色に基づいて、前記画像中に表されるべき当該人物の瞳の色である肌補正色を求める肌補正色算出手段、
前記被写体人物の瞳部分の画素の値からその画素の赤目などの色調異常が発生する前の明度を推定するものであって、画素の色を構成するR,G,Bのうち、GとBの値に基づいて決定される明度であるGB明度を算出する機能を有する明度推定手段、
前記肌補正色に基づく補正基準色と、前記推定した明度を元に、前記被写体人物の瞳の色を補正するものであって、補正基準色のR,G,Bの値を基準に、補正基準色の前記GB明度の値が補正対象画素のGB明度の値と等しくなるように変換する機能を有する補正手段、
として機能させるためのプログラム。
Priority Applications (8)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007067668A JP4214420B2 (ja) | 2007-03-15 | 2007-03-15 | 瞳色補正装置およびプログラム |
| TW097107818A TWI368181B (en) | 2007-03-15 | 2008-03-06 | Device for correcting pupil color and recording medium |
| GB0901415A GB2453890B (en) | 2007-03-15 | 2008-03-12 | Iris colour correction device and program |
| KR1020087031395A KR100931752B1 (ko) | 2007-03-15 | 2008-03-12 | 눈동자 색 보정 장치 및 프로그램이 기록된 기록 매체 |
| DE112008000021.2T DE112008000021B4 (de) | 2007-03-15 | 2008-03-12 | Vorrichtung und Programm zur Korrektur der Irisfarbe |
| US12/375,645 US7853048B2 (en) | 2007-03-15 | 2008-03-12 | Pupil color correction device and program |
| CN2008800004645A CN101542521B (zh) | 2007-03-15 | 2008-03-12 | 眼睛颜色校正装置 |
| PCT/JP2008/054461 WO2008126583A1 (ja) | 2007-03-15 | 2008-03-12 | 瞳色補正装置およびプログラム |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007067668A JP4214420B2 (ja) | 2007-03-15 | 2007-03-15 | 瞳色補正装置およびプログラム |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008226194A JP2008226194A (ja) | 2008-09-25 |
| JP4214420B2 true JP4214420B2 (ja) | 2009-01-28 |
Family
ID=39844670
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007067668A Expired - Fee Related JP4214420B2 (ja) | 2007-03-15 | 2007-03-15 | 瞳色補正装置およびプログラム |
Country Status (8)
| Country | Link |
|---|---|
| US (1) | US7853048B2 (ja) |
| JP (1) | JP4214420B2 (ja) |
| KR (1) | KR100931752B1 (ja) |
| CN (1) | CN101542521B (ja) |
| DE (1) | DE112008000021B4 (ja) |
| GB (1) | GB2453890B (ja) |
| TW (1) | TWI368181B (ja) |
| WO (1) | WO2008126583A1 (ja) |
Families Citing this family (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8559668B2 (en) * | 2009-06-01 | 2013-10-15 | Apple Inc. | Red-eye reduction using facial detection |
| JP5284994B2 (ja) * | 2010-02-09 | 2013-09-11 | 株式会社沖データ | 画像処理装置 |
| TWI455043B (zh) * | 2011-03-01 | 2014-10-01 | Hon Hai Prec Ind Co Ltd | 防紅眼人像拍攝系統及方法 |
| US8818091B2 (en) | 2011-03-21 | 2014-08-26 | Apple Inc. | Red-eye removal using multiple recognition channels |
| US8837827B2 (en) | 2011-03-21 | 2014-09-16 | Apple Inc. | Red-eye removal using multiple recognition channels |
| US8837822B2 (en) | 2011-03-21 | 2014-09-16 | Apple Inc. | Red-eye removal using multiple recognition channels |
| US8837785B2 (en) | 2011-03-21 | 2014-09-16 | Apple Inc. | Red-eye removal using multiple recognition channels |
| US8786735B2 (en) | 2011-03-21 | 2014-07-22 | Apple Inc. | Red-eye removal using multiple recognition channels |
| US8811683B2 (en) | 2011-06-02 | 2014-08-19 | Apple Inc. | Automatic red-eye repair using multiple recognition channels |
| JP2014021782A (ja) * | 2012-07-19 | 2014-02-03 | Canon Inc | 画像処理装置、その制御方法及びプログラム |
| GB2537296B (en) * | 2014-01-16 | 2018-12-26 | Bartco Traffic Equipment Pty Ltd | System and method for event reconstruction |
| JP6311345B2 (ja) * | 2014-02-21 | 2018-04-18 | 大日本印刷株式会社 | 画像処理装置及びプログラム |
| WO2015125711A1 (ja) * | 2014-02-21 | 2015-08-27 | 大日本印刷株式会社 | 画像処理装置及びプログラム |
| JP2016019104A (ja) * | 2014-07-07 | 2016-02-01 | 富士通株式会社 | 基準色選択装置、色補正装置、基準色選択方法及び基準色選択プログラム |
| JP6327071B2 (ja) * | 2014-09-03 | 2018-05-23 | オムロン株式会社 | 画像処理装置および画像処理方法 |
| CN107302662A (zh) * | 2017-07-06 | 2017-10-27 | 维沃移动通信有限公司 | 一种拍照的方法、装置及移动终端 |
| CN110648296B (zh) * | 2019-09-24 | 2022-10-11 | Oppo广东移动通信有限公司 | 一种瞳孔颜色修正方法、修正装置、终端设备及存储介质 |
Family Cites Families (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0816925B2 (ja) | 1986-02-20 | 1996-02-21 | キヤノン株式会社 | カラ−画像処理装置 |
| JPH0797402B2 (ja) | 1986-11-19 | 1995-10-18 | キヤノン株式会社 | 画像修正方法 |
| JPH0264532A (ja) | 1988-08-30 | 1990-03-05 | Nikon Corp | 撮影情報を記録可能なカメラおよび被写体情報を可視化する情報出力装置 |
| JPH02114253A (ja) | 1988-10-25 | 1990-04-26 | Nikon Corp | プリンター装置 |
| JP2634511B2 (ja) | 1991-07-15 | 1997-07-30 | 富士写真フイルム株式会社 | 写真プリントの赤目修正方法及びピクトリアルハードコピー装置 |
| JP3510040B2 (ja) | 1996-03-26 | 2004-03-22 | コニカミノルタホールディングス株式会社 | 画像処理方法 |
| US7116820B2 (en) * | 2003-04-28 | 2006-10-03 | Hewlett-Packard Development Company, Lp. | Detecting and correcting red-eye in a digital image |
| JP4345622B2 (ja) * | 2003-11-05 | 2009-10-14 | オムロン株式会社 | 瞳色推定装置 |
| JP4384897B2 (ja) | 2003-11-20 | 2009-12-16 | アールテック有限会社 | ファントム要素及び水ファントム |
| JP4078334B2 (ja) * | 2004-06-14 | 2008-04-23 | キヤノン株式会社 | 画像処理装置および画像処理方法 |
| JP4537142B2 (ja) | 2004-07-30 | 2010-09-01 | キヤノン株式会社 | 画像処理方法及びその装置、撮像装置、プログラム |
| JP4498224B2 (ja) * | 2005-06-14 | 2010-07-07 | キヤノン株式会社 | 画像処理装置およびその方法 |
| US7567707B2 (en) * | 2005-12-20 | 2009-07-28 | Xerox Corporation | Red eye detection and correction |
-
2007
- 2007-03-15 JP JP2007067668A patent/JP4214420B2/ja not_active Expired - Fee Related
-
2008
- 2008-03-06 TW TW097107818A patent/TWI368181B/zh active
- 2008-03-12 CN CN2008800004645A patent/CN101542521B/zh not_active Expired - Fee Related
- 2008-03-12 WO PCT/JP2008/054461 patent/WO2008126583A1/ja not_active Ceased
- 2008-03-12 DE DE112008000021.2T patent/DE112008000021B4/de not_active Expired - Fee Related
- 2008-03-12 GB GB0901415A patent/GB2453890B/en not_active Expired - Fee Related
- 2008-03-12 US US12/375,645 patent/US7853048B2/en active Active
- 2008-03-12 KR KR1020087031395A patent/KR100931752B1/ko active Active
Also Published As
| Publication number | Publication date |
|---|---|
| TW200844896A (en) | 2008-11-16 |
| GB2453890A (en) | 2009-04-22 |
| WO2008126583A1 (ja) | 2008-10-23 |
| KR100931752B1 (ko) | 2009-12-14 |
| KR20090065480A (ko) | 2009-06-22 |
| CN101542521A (zh) | 2009-09-23 |
| GB0901415D0 (en) | 2009-03-11 |
| US20100008567A1 (en) | 2010-01-14 |
| CN101542521B (zh) | 2011-12-21 |
| TWI368181B (en) | 2012-07-11 |
| JP2008226194A (ja) | 2008-09-25 |
| DE112008000021T5 (de) | 2009-10-08 |
| GB2453890B (en) | 2009-12-16 |
| DE112008000021B4 (de) | 2020-02-27 |
| US7853048B2 (en) | 2010-12-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4214420B2 (ja) | 瞳色補正装置およびプログラム | |
| JP4175425B2 (ja) | 瞳色補正装置およびプログラム | |
| JP4345622B2 (ja) | 瞳色推定装置 | |
| US7539342B2 (en) | Image correction apparatus | |
| US8520089B2 (en) | Eye beautification | |
| US6728401B1 (en) | Red-eye removal using color image processing | |
| CN107945135B (zh) | 图像处理方法、装置、存储介质和电子设备 | |
| US9135726B2 (en) | Image generation apparatus, image generation method, and recording medium | |
| CN102027505A (zh) | 使用脸部检测的自动脸部和皮肤修饰 | |
| JP2007503030A (ja) | デジタル画像から赤目現象を除去するシステム及びその方法 | |
| CN107368806B (zh) | 图像矫正方法、装置、计算机可读存储介质和计算机设备 | |
| US20180047186A1 (en) | Image processing method for correcting dark circle under human eye | |
| CN109035151A (zh) | 图像处理装置、图像处理方法和存储介质 | |
| JP4148903B2 (ja) | 画像処理装置、画像処理方法およびデジタルカメラ | |
| JP6098133B2 (ja) | 顔構成部抽出装置、顔構成部抽出方法及びプログラム | |
| JP2009200900A (ja) | 撮像装置 | |
| JP2012085083A (ja) | 画像処理装置、撮像装置および画像処理プログラム | |
| JP4946913B2 (ja) | 撮像装置および画像処理プログラム | |
| US20200118304A1 (en) | Image processing apparatus, image processing method, and recording medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080630 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20081008 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081021 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4214420 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111114 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121114 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121114 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131114 Year of fee payment: 5 |
|
| LAPS | Cancellation because of no payment of annual fees |