JP4447520B2 - 画像処理装置および画像処理方法 - Google Patents
画像処理装置および画像処理方法 Download PDFInfo
- Publication number
- JP4447520B2 JP4447520B2 JP2005189916A JP2005189916A JP4447520B2 JP 4447520 B2 JP4447520 B2 JP 4447520B2 JP 2005189916 A JP2005189916 A JP 2005189916A JP 2005189916 A JP2005189916 A JP 2005189916A JP 4447520 B2 JP4447520 B2 JP 4447520B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- value
- light source
- image
- average
- 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 - Lifetime
Links
Images
Landscapes
- Color Television Image Signal Generators (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Image Processing (AREA)
Description
前記第1の領域に近接し前記第1の画素位置よりも暗い第2の画素位置での画素値を検出する第2画素値検出手段と、
前記第1画素値検出手段にて検出された画素値と前記第2画素値検出手段にて検出された画素値との差分により、前記画像に照射される光源の光源色を特定する光源色特定手段と、を備えることを特徴とする画像処理装置が提供される。
A=fa*S+D …(1)
B=fb*S+D …(2)
ここで、faはAの位置での乱反射に対する鏡面反射の比率を表し、fbはBの位置での乱反射に対する鏡面反射の比率を表している。
A=(A.R,A.G,A.B) …(3)
B=(B.R,B.G,B.B) …(4)
D=(D.R,D.G,D.B) …(5)
S=(S.R,S.G,S.B) …(6)
なお、光線を4刺激値C,M,Y,Gでサンプルした場合、A値、B値、D値およびS値は四次元ベクトルになる。
GainR=20/10=2.0 …(7)
GainB=20/40=0.5 …(8)
A=fs*S+fd*D …(9)
ここで、fa=fs/fdとおいて、fd=1となるように正規化を行うと、(1)式と同じ式が得られる。B値も同様に正規化を行うことにより、(2)式が得られる。
A−B=(fa−fb)*S …(11)
GainR=(fa−fb)*S.G/(fa−fb)*S.R …(12)
GainB=(fa−fb)*S.G/(fa−fb)*S.B …(13)
(12)および(13)式とも、分母と分子の(fa−fb)が打ち消されて、(14)および(15)式のようになる。
GainR=S.G/S.R …(14)
GainB=S.G/S.B …(15)
これら(14)および(15)式は、以下の(16)および(17)式と等価である。
GainR=(A.G−B.G)/(A.R−B.R) …(16)
GainB=(A.G−B.G)/(A.B−B.B) …(17)
これら(16)および(17)式からわかるように、ホワイトバランスゲインには、光源色の明るさは関係ないため、上述した(fa−fb)を無視することができる。
A.R = 最も明るい段階のSum.R/Cnt …(18)
A.G =最も明るい段階のSum.G/Cnt …(19)
A.B =最も明るい段階のSum.B/Cnt …(20)
B.R = 二番目に明るい段階のSum.R/Cnt …(21)
B.G =二番目に明るい段階のSum.G/Cnt …(22)
B.B =二番目に明るい段階のSum.B/Cnt …(23)
R値のホワイトバランスゲイン=0.9*Gc*Rc …(25)
G値のホワイトバランスゲイン=Gc/Gc=1 …(26)
B値のホワイトバランスゲイン=1.1*Gc/Bc …(27)
R値のホワイトバランスゲイン=Gc/Rc …(28)
G値のホワイトバランスゲイン=Gc/Gc=1 …(29)
B値のホワイトバランスゲイン=Gc/Bc …(30)
R値=R値*(R値のホワイトバランスゲイン) …(31)
B値=B値*(B値のホワイトバランスゲイン) …(32)
これにより、ホワイトバランス調整を行った最終的な画像データが得られる。
2 ホワイトバランス算出部
3 ホワイトバランス補正部
11 スキャン結果蓄積バッファ
12 AB値バッファ
Claims (5)
- 画像の中で該画像の画素値の平均よりも明るい、該画像中の任意の位置に設けられる第1の画素位置での画素値を検出する第1画素値検出手段と、
前記第1の領域に近接し前記第1の画素位置よりも暗い第2の画素位置での画素値を検出する第2画素値検出手段と、
前記第1画素値検出手段にて検出された画素値と前記第2画素値検出手段にて検出された画素値との差分により、前記画像に照射される光源の光源色を特定する光源色特定手段と、を備えることを特徴とする画像処理装置。 - 画像をそれぞれが複数画素からなる複数のブロックに分割して、各ブロック内の各画素の輝度を複数段階に分類する輝度分類手段を備え、
前記第1画素値検出手段は、各ブロックごとに、最も明るい段階に分類された画素の平均画素値をそれぞれ検出し、
前記第2画素値検出手段は、各ブロックごとに、二番目に明るい段階に分類された画素の平均画素値をそれぞれ検出し、
前記光源色特定手段は、前記第1画素値検出手段にて検出されたブロックごとの画素値の平均値の少なくとも一部と、前記第2画素値検出手段にて検出されたブロックごとの画素値の平均値の少なくとも一部との差分に基づいて、前記光源色を特定することを特徴とする請求項1に記載の画像処理装置。 - 画像をそれぞれが複数画素からなる複数のブロックに分割して、各ブロック内の各画素の輝度を複数段階に分類する輝度分類手段を備え、
前記第1画素値検出手段にて検出されたブロックごとの画素値の平均値のうち、平均値の大きい順に所定個のブロックのそれぞれに対応する所定個の平均値を検出する第1の画素平均値検出手段と、
前記第2画素値検出手段にて検出されたブロックごとの画素値の平均値のうち、平均値の大きい順に所定個のブロックのそれぞれに対応する所定個の平均値を検出する第2の画素平均値検出手段と、を備え、
前記光源色特定手段は、前記第1の画素平均値検出手段にて検出された平均値と前記第2の画素平均値検出手段にて検出された平均値との差分に基づいて、前記光源色を特定することを特徴とする請求項1に記載の画像処理装置。 - 前記光源色特定手段にて検出された光源色に基づいてホワイトバランス調整を行うホワイトバランス調整手段と、
前記光源色特定手段にて検出された光源色を構成する複数の色成分に基づいて、ホワイトバランス調整を行うためのホワイトバランスゲインを算出するホワイトバランス算出手段と、を備え、
前記ホワイトバランス調整手段は、前記ホワイトバランスゲインに基づいてホワイトバランス調整を行うことを特徴とする請求項1乃至3のいずれかに記載の画像処理装置。 - 画像の中で該画像の画素値の平均よりも明るい、該画像中の任意の位置に設けられる第1の画素位置での画素値を検出するステップと、
前記第1の領域に近接し前記第1の画素位置よりも暗い第2の画素位置での画素値を検出するステップと、
前記第1画素位置で検出された画素値と前記第2画素位置で検出された画素値との差分に基づいて、前記画像に照射される光源の光源色を特定するステップと、を備えることを特徴とする画像処理方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005189916A JP4447520B2 (ja) | 2005-06-29 | 2005-06-29 | 画像処理装置および画像処理方法 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005189916A JP4447520B2 (ja) | 2005-06-29 | 2005-06-29 | 画像処理装置および画像処理方法 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007013415A JP2007013415A (ja) | 2007-01-18 |
| JP4447520B2 true JP4447520B2 (ja) | 2010-04-07 |
Family
ID=37751352
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005189916A Expired - Lifetime JP4447520B2 (ja) | 2005-06-29 | 2005-06-29 | 画像処理装置および画像処理方法 |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4447520B2 (ja) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8970728B2 (en) | 2012-05-16 | 2015-03-03 | Canon Kabushiki Kaisha | Image pickup apparatus and image processing method |
| US8988549B2 (en) | 2012-06-22 | 2015-03-24 | Canon Kabushiki Kaisha | Image processing apparatus and control method therefor |
| US9129188B2 (en) | 2012-06-22 | 2015-09-08 | Canon Kabushiki Kaisha | Image processing apparatus and control method thereof |
| US10212780B2 (en) | 2015-12-14 | 2019-02-19 | Olympus Corporation | Light source device |
| US12581204B2 (en) | 2021-03-19 | 2026-03-17 | Sony Group Corporation | Information processing apparatus, information processing method, and program |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5956844B2 (ja) * | 2012-06-22 | 2016-07-27 | キヤノン株式会社 | 画像処理装置およびその制御方法 |
| JP5941351B2 (ja) * | 2012-06-25 | 2016-06-29 | キヤノン株式会社 | 画像処理装置及びその制御方法 |
| JP5973804B2 (ja) * | 2012-06-25 | 2016-08-23 | キヤノン株式会社 | 画像処理装置及びその制御方法 |
| JP6261430B2 (ja) | 2014-04-01 | 2018-01-17 | キヤノン株式会社 | 撮像装置及び画像処理システム |
| JP6415139B2 (ja) * | 2014-07-02 | 2018-10-31 | キヤノン株式会社 | 焦点検出装置、撮像装置、焦点検出方法および焦点検出プログラム |
| CN107801013B (zh) | 2017-10-30 | 2019-05-17 | Oppo广东移动通信有限公司 | 白平衡处理方法及装置、电子装置和计算机可读存储介质 |
| CN107635123B (zh) | 2017-10-30 | 2019-07-19 | Oppo广东移动通信有限公司 | 白平衡处理方法及装置、电子装置和计算机可读存储介质 |
| CN107801012B (zh) | 2017-10-30 | 2019-05-17 | Oppo广东移动通信有限公司 | 白平衡处理方法及装置、电子装置和计算机可读存储介质 |
| CN112150563B (zh) * | 2019-06-28 | 2024-03-26 | 浙江宇视科技有限公司 | 光源颜色的确定方法、装置、存储介质及电子设备 |
| CN113709438B (zh) * | 2020-05-22 | 2024-02-27 | 浙江宇视科技有限公司 | 一种图像的白平衡校正方法、装置、存储介质及设备 |
| JP7583898B1 (ja) * | 2023-11-17 | 2024-11-14 | アキュートロジック株式会社 | オートホワイトバランス処理方法および装置、撮影装置、記憶媒体 |
-
2005
- 2005-06-29 JP JP2005189916A patent/JP4447520B2/ja not_active Expired - Lifetime
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8970728B2 (en) | 2012-05-16 | 2015-03-03 | Canon Kabushiki Kaisha | Image pickup apparatus and image processing method |
| US8988549B2 (en) | 2012-06-22 | 2015-03-24 | Canon Kabushiki Kaisha | Image processing apparatus and control method therefor |
| US9129188B2 (en) | 2012-06-22 | 2015-09-08 | Canon Kabushiki Kaisha | Image processing apparatus and control method thereof |
| US9338419B2 (en) | 2012-06-22 | 2016-05-10 | Canon Kabushiki Kaisha | Image processing apparatus and control method therefor |
| US10212780B2 (en) | 2015-12-14 | 2019-02-19 | Olympus Corporation | Light source device |
| US12581204B2 (en) | 2021-03-19 | 2026-03-17 | Sony Group Corporation | Information processing apparatus, information processing method, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007013415A (ja) | 2007-01-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4447520B2 (ja) | 画像処理装置および画像処理方法 | |
| US11080831B2 (en) | Image data conversion device, image data conversion method, image data conversion program, POS terminal device, and server | |
| CN101283604B (zh) | 具有自动白平衡的图像处理设备 | |
| US8295606B2 (en) | Device and method for detecting shadow in image | |
| US8169504B2 (en) | Image processing device and image processing method | |
| JP5056780B2 (ja) | 画像処理装置 | |
| US7072507B2 (en) | Image processing apparatus and method | |
| JP2008035518A (ja) | シャドウ領域補償方法、媒体およびシステム | |
| JP6520919B2 (ja) | 画像補正装置、画像補正方法およびプログラム | |
| US8976174B2 (en) | Bi-illuminant dichromatic reflection model for image manipulation | |
| US20080025601A1 (en) | Image processing apparatus and method | |
| JP4707450B2 (ja) | 画像処理装置及びホワイトバランス調整装置 | |
| JP4728265B2 (ja) | ノイズ特性測定装置及びノイズ特性測定方法 | |
| US9235773B2 (en) | Image processing device capable of determining types of images accurately | |
| US20170374239A1 (en) | Image processing device and image processing method | |
| JP4851624B2 (ja) | 指定色領域画定回路、検出回路及びそれを用いた画像処理装置 | |
| JP2010198476A (ja) | 欠陥検出装置、欠陥検出方法および欠陥検出プログラム | |
| JP4539964B2 (ja) | 画像の領域分割 | |
| KR101491334B1 (ko) | 영상에서 컬러차트 검출 방법 및 장치 | |
| CN110351542A (zh) | 一种针对视频帧的色彩校正方法及装置 | |
| JPH11304589A (ja) | 環境光測定システム | |
| WO2018189772A1 (ja) | 相関値演算装置 | |
| JP3801177B2 (ja) | 画像処理装置、画像処理プログラム、および画像処理方法 | |
| JP6774004B2 (ja) | 変化度合い導出装置、変化度合い導出方法及びプログラム | |
| JP6718171B2 (ja) | 画像処理装置、画像処理システムおよび画像処理方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080509 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091002 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091201 |
|
| 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: 20091222 |
|
| 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: 20100120 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130129 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4447520 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130129 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140129 Year of fee payment: 4 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term |