JP4293469B2 - 画像処理装置、画像処理方法及びコンピュータ・プログラム - Google Patents
画像処理装置、画像処理方法及びコンピュータ・プログラム Download PDFInfo
- Publication number
- JP4293469B2 JP4293469B2 JP2007080247A JP2007080247A JP4293469B2 JP 4293469 B2 JP4293469 B2 JP 4293469B2 JP 2007080247 A JP2007080247 A JP 2007080247A JP 2007080247 A JP2007080247 A JP 2007080247A JP 4293469 B2 JP4293469 B2 JP 4293469B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- determination
- type
- processing
- correction
- 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
- 238000012545 processing Methods 0.000 title claims description 127
- 238000004590 computer program Methods 0.000 title claims description 5
- 238000003672 processing method Methods 0.000 title claims description 4
- 238000012937 correction Methods 0.000 claims description 92
- 230000003044 adaptive effect Effects 0.000 claims description 6
- 238000000034 method Methods 0.000 description 51
- 238000006243 chemical reaction Methods 0.000 description 37
- 230000006870 function Effects 0.000 description 27
- 238000004364 calculation method Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 13
- 230000001186 cumulative effect Effects 0.000 description 11
- 238000005259 measurement Methods 0.000 description 7
- 230000002093 peripheral effect Effects 0.000 description 5
- 229920006395 saturated elastomer Polymers 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 238000013139 quantization Methods 0.000 description 4
- 238000003384 imaging method Methods 0.000 description 3
- 238000000926 separation method Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000010287 polarization Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Picture Signal Circuits (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
通常撮影:順光状態の屋外撮影や室内での一般的な撮影
逆光撮影:被写体の後ろに光源が存在する状態での撮影
夜間ポートレート撮影:夜間、屋外でフラッシュを用いた撮影
夜景撮影:イルミネーション等、自己発光している被写体の撮影。
《実施例1》
図1は本発明の実施例1の構成を示すブロック図であり、図2は本実施例における処理手順を示すフローチャートである。
h(i)=(f(i+δ)-f(i))/δ (i=0,1,2,,,,,255-δ,δ>0) … (1)
Th1=C*N
Th2=f(i)*D
但し、C,Dは定数 … (2)
Z=(1/N)Σ((Y(j)/ave(Y(j))/S(Y(j)))^3 … (3)
ただし、Nは総画素数であり、Y(j)はj番目の画素の輝度、Σの和はj=1からNについてとる。また、ave(Y(j))はY(j)の平均値、S(Y(j))は標準偏差である。
背景の明るさ≪被写体の明るさ
もしくは
背景の明るさ≫被写体の明るさ … (4)
この条件判定は、具体的には、例えば、
背景の輝度平均値/被写体の輝度平均値 > Th4
もしくは、
背景の輝度中央値/被写体の輝度中央値 > Th5
の場合にAタイプ(逆光撮影画像)とし、また、
背景の輝度平均値/被写体の輝度平均値 < Th4
もしくは、
背景の輝度中央値/被写体の輝度中央値 < Th5
の場合にAタイプ(夜間ポートレート撮影画像)とすることができる。
つまり、全度数をN、レベルiの頻度をz(i)(i=,1,2...255)とする場合、
N=Σz(i)、(和はi=0,1,2...255、についてとる)と表せ、
ハイライトポイントは(0.5*N)/100≦Σz(i)(i=255,254,....の順にとる)となるiの最大値とすることができる。
((R>240 && G>240 && B>240) && (|G-R|<10 && |G-B|<10)) … (5)
を満たす領域である。ここで、G−R,G−Bは彩度を表わす。
α=(255−0)/(Range_Max−Range_Min)
β=(1-α)・(255・Range_Min−0・Range_Max)/
((255−0)−(Range_Max−Range_Min)) … (6)
C0(j)=Y1(j)/Yin(j) … (7)
そして、算出された補正係数C0(j)を色成分(Rin(j),Gin(j),Bin(j))に乗じることにより、コントラスト補正された色成分(R1(j),G1(j),B1(j))を得る。
(R1(j),G1(j),B1(j))=C0(j)・(Rin(j),Gin(j),Bin(j)) … (8)
図13は本発明の実施例2の構成を示すブロック図である。ここに示す画像出力システムは複数のパソコン(PC)131a,131bと複数のプリンタ136a,136bを有し、任意のパソコンより任意のプリンタに画像を出力することができる。この画像出力システムは、各プリンタ136a,136bに対応した画像処理装置132a,132bも備える。
K=α・min(C,M,Y)
C1=Cβ・K
M1=Mβ・K
Y1=Yβ・K … (9)
図17は本発明の実施例3の構成を示すブロック図であり、図18は本実施例における処理手順を示すフローチャートである。
まず、第一の判定手段202(図18、ステップS201)について説明する。第一の判定手段202では、入力画像が逆光画像(Dタイプ)か否かを判定する。Dタイプと判定される画像とは、背景領域が主に高輝度白色光に属する画像であり、その主な撮影状況は背景が白飛びを起こしている真逆光画像である。この判定には様々な方法を用いることができるが、その2つの例について次に説明する。
Y=0.299・R+0.587・G+0.114・B … (10)
f0(x)={(x/255)^δ}・255 … (11)
Oave=Σ(lj−255)/K … (12)
但し、Σはj=1,2...Kについてとる。
そして、飽和度がある閾値以上の場合に、飽和度合すなわち階調つぶれが許容されないと判断する。
に対し、階調補正テーブルfn(x)による補正後の出力輝度値Y2(j)を定義し、階調補正係数C1(j)を算出する。
C1(j)=Y2(j)/Y1(j)
=fn(Y1(j))/Y1(j) … (13)
そして、この階調補正係数を用いてカラー画像信号(R1(j),G1(j),B1(j))を変換し、出力カラー信号(R2(j),G2(j),B2(j))を得る。
以上説明した画像処理装置201は、独立した装置として実現することも、他の機器の組み込み装置として実現することもでき、また、ハードウェア、ソフトウェア、その組み合わせのいずれによっても実現できる。
図25は本発明の実施例3の構成を示すブロック図である。ここに示す画像出力システムは複数のパソコン(PC)231a,231bと複数のプリンタ236a,236bを有し、任意のパソコンより任意のプリンタに画像を出力することができる。画像出力システムは、各プリンタ236a,236bに対応した画像処理装置232a,132bも備える。
2 判定手段
3 対象領域情報獲得手段
4 ダイナミックレンジ設定手段
5 処理手段
21 二極化測定手段
22 輝度ヒストグラム歪度算出手段
23 領域別明るさ検出手段
24 付随情報参照手段
25 タイプ決定手段
101 画像処理システム
107 コンピュータ
117 補正プログラム
118 画像処理アプリケーション
132 画像処理装置
133 色変換手段
134 描画手段
135 画像記憶手段
150 コントラスト補正手段
151 補間演算部
152 色変換テーブル記憶部
201 画像処理装置
202 第一の判定手段
203 第二の判定手段
204 処理手段
232 画像処理装置
233 色変換手段
234 描画手段
235 画像記憶手段
250 補正処理手段
251 補間演算部
252 色変換テーブル記憶部
Claims (4)
- 画像が逆光画像であるか否かを判定する第一の判定手段と、
前記画像の背景領域と被写体領域との相対的な明暗関係を判定する第二の判定手段と、
前記第一の判定手段による判定結果及び前記第二の判定手段による判定結果に応じて適応的な階調補正を前記画像に施す処理手段とを有し、
前記第一の判定手段は、前記画像の背景領域に、所定以上の輝度を持ち、かつ、所定以下の彩度を持つ領域が所定割合以上存在する場合に逆光画像と判定することを特徴とする画像処理装置。 - 画像が逆光画像であるか否かを判定する第一の判定ステップと、
前記画像の背景領域と被写体領域との相対的な明暗関係を判定する第二の判定ステップと、
前記第一の判定ステップによる判定結果及び前記第二の判定ステップによる判定結果に応じて適応的な階調補正を前記画像に施す処理ステップとを有し、
前記第一の判定ステップは、画像の背景領域に、所定以上の輝度を持ち、かつ、所定以下の彩度を持つ領域が所定割合以上存在する場合に逆光画像と判定することを特徴とする画像処理方法。 - 請求項1記載の画像処理装置の各手段の機能をコンピュータに実行させるためのコンピュータ・プログラム。
- 請求項2記載の画像処理方法の各ステップの処理をコンピュータに実行させるためのコンピュータ・プログラム。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007080247A JP4293469B2 (ja) | 2007-03-26 | 2007-03-26 | 画像処理装置、画像処理方法及びコンピュータ・プログラム |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007080247A JP4293469B2 (ja) | 2007-03-26 | 2007-03-26 | 画像処理装置、画像処理方法及びコンピュータ・プログラム |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001363785A Division JP3992177B2 (ja) | 2001-11-29 | 2001-11-29 | 画像処理装置、画像処理方法及びコンピュータ・プログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007215220A JP2007215220A (ja) | 2007-08-23 |
JP4293469B2 true JP4293469B2 (ja) | 2009-07-08 |
Family
ID=38493173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007080247A Expired - Lifetime JP4293469B2 (ja) | 2007-03-26 | 2007-03-26 | 画像処理装置、画像処理方法及びコンピュータ・プログラム |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4293469B2 (ja) |
-
2007
- 2007-03-26 JP JP2007080247A patent/JP4293469B2/ja not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2007215220A (ja) | 2007-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3992177B2 (ja) | 画像処理装置、画像処理方法及びコンピュータ・プログラム | |
US10412296B2 (en) | Camera using preview image to select exposure | |
US7421120B2 (en) | Apparatus correcting image by luminance histogram | |
US7251056B2 (en) | Image processing apparatus, image processing method and information recording medium | |
JP5113514B2 (ja) | ホワイトバランス制御装置およびホワイトバランス制御方法 | |
US7945109B2 (en) | Image processing based on object information | |
JP4978378B2 (ja) | 画像処理装置 | |
JP2008271574A (ja) | 画像生成履歴情報を用いた画像の逆光処理 | |
JP5782311B2 (ja) | 撮像装置及びその制御方法 | |
JP4154128B2 (ja) | 画像処理装置、画像処理方法およびその方法を実施するためのプログラムを記録した記録媒体 | |
JP4367821B2 (ja) | 画像処理装置、画像処理方法および記録媒体 | |
KR101754425B1 (ko) | 이미지 촬영 장치의 밝기를 자동으로 조절하는 장치 및 방법 | |
JP6611543B2 (ja) | 画像処理装置、画像処理方法、およびプログラム | |
JP5215775B2 (ja) | ホワイトバランス制御装置およびそれを用いた撮像装置並びにホワイトバランス制御方法 | |
JP4107812B2 (ja) | 画像処理装置および画像処理方法および記録媒体 | |
JP4219577B2 (ja) | 画像処理装置と画像出力装置と画像処理方法及び記憶媒体 | |
JP4293469B2 (ja) | 画像処理装置、画像処理方法及びコンピュータ・プログラム | |
JP2009070099A (ja) | 画像処理装置、画像処理方法、プログラムおよび記録媒体 | |
JP2007221678A (ja) | 撮像装置、画像処理装置、画像処理方法及び画像処理プログラム | |
JP2007293686A (ja) | 撮像装置、画像処理装置、画像処理方法及び画像処理プログラム | |
JP2004112494A (ja) | 画像処理装置、画像処理方法および記録媒体 | |
JP2007235204A (ja) | 撮像装置、画像処理装置、画像処理方法及び画像処理プログラム | |
JP2007243556A (ja) | 撮像装置、画像処理方法及び画像処理プログラム | |
JP2007318320A (ja) | 画像処理装置、撮影装置、画像処理方法及び画像処理プログラム | |
JP2007258890A (ja) | 撮像装置、画像処理装置、画像処理方法及び画像処理プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070326 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070919 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071119 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081008 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081114 |
|
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: 20090401 |
|
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: 20090402 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120417 Year of fee payment: 3 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4293469 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120417 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130417 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140417 Year of fee payment: 5 |
|
EXPY | Cancellation because of completion of term |