JP2012085360A - 画像処理方法、装置及びプログラム並びに撮像装置 - Google Patents
画像処理方法、装置及びプログラム並びに撮像装置 Download PDFInfo
- Publication number
- JP2012085360A JP2012085360A JP2012007330A JP2012007330A JP2012085360A JP 2012085360 A JP2012085360 A JP 2012085360A JP 2012007330 A JP2012007330 A JP 2012007330A JP 2012007330 A JP2012007330 A JP 2012007330A JP 2012085360 A JP2012085360 A JP 2012085360A
- Authority
- JP
- Japan
- Prior art keywords
- correction
- pixel
- value
- exposure
- white balance
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims description 23
- 238000003384 imaging method Methods 0.000 title claims description 22
- 238000012937 correction Methods 0.000 claims abstract description 250
- 238000012545 processing Methods 0.000 claims abstract description 60
- 238000000034 method Methods 0.000 claims description 26
- 230000008569 process Effects 0.000 claims description 21
- 229920006395 saturated elastomer Polymers 0.000 claims description 8
- 239000003086 colorant Substances 0.000 claims description 5
- 238000012905 input function Methods 0.000 claims description 2
- 238000000586 desensitisation Methods 0.000 abstract description 21
- 238000010586 diagram Methods 0.000 description 16
- 238000011161 development Methods 0.000 description 14
- 238000012546 transfer Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 12
- 230000000875 corresponding effect Effects 0.000 description 7
- 238000004364 calculation method Methods 0.000 description 6
- 238000004040 coloring Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 6
- 230000001965 increasing effect Effects 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000009825 accumulation Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 238000007781 pre-processing Methods 0.000 description 3
- WFKWXMTUELFFGS-UHFFFAOYSA-N tungsten Chemical compound [W] WFKWXMTUELFFGS-UHFFFAOYSA-N 0.000 description 3
- 229910052721 tungsten Inorganic materials 0.000 description 3
- 239000010937 tungsten Substances 0.000 description 3
- 206010070834 Sensitisation Diseases 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 230000006837 decompression Effects 0.000 description 2
- 238000003702 image correction Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 230000008313 sensitization Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 108010076504 Protein Sorting Signals Proteins 0.000 description 1
- 238000003705 background correction Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000001678 irradiating effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Color Television Image Signal Generators (AREA)
- Processing Of Color Television Signals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Studio Devices (AREA)
Abstract
【解決手段】ホワイトバランス補正されたR、G、Bデータのうち、アンダー露出に補正(減感処理)しなければ、白とびする画素を検出し、その画素の画素値が大きくなるように補正した後(ステップS62)、情報復元可能な最大の露出補正値で減感処理を行う(ステップS64)。その後、γ2カーブにより通常のガンマ補正よりも中間調が大きくなるように階調補正するとともに、高輝度部分を圧縮するように階調補正する(ステップS66)。これにより、ダイナミックレンジが拡大され、通常露光では使用されない高輝度部分の情報を復元可能にするとともに、適正な明るさの画像が得られるようにしている。
【選択図】 図16
Description
図1は本発明に係る撮像装置の実施の形態を示すブロック図である。
図3は本発明に係る画像処理装置としての機能を備えたパソコンのハードウェア構成例を示すブロック図である。
図4は本発明に係る画像処理プログラムでの処理内容を示す機能ブロック図である。
次に、図4に示した画素値補正部230について詳説する。
本発明はこの白とび部の減感処理時に色付きを防止するために、本発明の第1の実施の形態では、白とび画素と判断された画素(白とび画素フラグがONに設定された補正対象画素)の画素値を、補正対象画素の画素値とその周囲の他の色の画素の画素値のうちの最大の画素値になるように補正する(画素値補正工程)。
次に、白とび部の減感処理時に色付きを防止する本発明の第2の実施の形態について説明する。
画素値補正部230の画素補間部234(図4)は、以下に示す補間最大値を決定する。
B”=Rave*(Rg/Bg)
また、補正対象画素が三番色の画素の場合には、補正対象画素に隣接する一番色の画素と二番色の画素の画素値から参照する画素値を取得する(ステップS30)。例えば、三番色がG画素で、一番色がR画素、二番色がB画素の場合には、上記と同様に補正対象画素の周囲の一番色の画素と二番色の画素の画素値からそれぞれ参照する画素値Rave、Baveを求める。
G”=α*Gtmp1+β*Gtmp2
但し、Gtmp1=Rave*(Rg/Bg)
Gtmp2=Bave*(Bg/Gg)
α+β=1.0
尚、本例では、参照する画素値を、補正対象画素の周囲の同一色の複数の画素の画素値を平均した値としたが、これに限らず、複数の画素の画素値のうちの最大値を参照画素値としてもよい。また、上記のようにして二番色、三番色の補正対象画素に対して求めた補間最大値が、その補正対象画素の画素値以下となる場合には、その補正対象画素は、補正対象画素から除外される。
画素値補正部230の補間値調整部236(図4)は、補正対象画素の画素値、補間最大値等に基づいて以下に示す補間値を算出し、補正対象画素の画素値の代わりにその算出した補間値を露出補正部240に出力する。
[数3]
ExRatio(0.0〜1.0)={(I−B)/(W−B)}2
により算出する。
補間値OutValue=I*(1−ExRatio)+M*ExRatio
上記[数3]式、及び[数4]式からも明らかなように、混合比率ExRatioは、入力値Iが大きいほど(出力最大値Wに近づくほど)1に近づき、補間値OutValueは、補間最大値Mに近づく。
図14は本発明に係る画像処理方法の第3の実施の形態を示すフローチャートである。
MaxEV=LOG2(1/MaxGain)
そして、前記算出した情報復元可能な最大の露出補正値MaxEVと、現在設定されている露出補正値との関係を、パソコン100のモニタ装置120に視認可能に表示させる(ステップS54、表示手段に表示させる工程)。
図16は本発明に係る画像処理方法の第4の実施の形態を示すフローチャートである。
Claims (9)
- カラーのデジタル画像を入力する入力工程と、
前記入力したデジタル画像のホワイトバランスを補正するホワイトバランス補正工程と、
前記ホワイトバランスが補正されたデジタル画像を露出補正する工程であって、前記ホワイトバランスが補正されたデジタル画像が飽和しないようにアンダーに露出補正する露出補正工程と、
前記アンダーになるように露出補正されたデジタル画像に対して、前記アンダーになるように露出補正されていないデジタル画像に対する通常のガンマ補正よりも中間調が大きくなるように階調補正するとともに、高輝度部分を圧縮するように階調補正する広ダイナミックレンジ用のガンマ補正を行うガンマ補正工程と、
を含む画像処理方法。 - 前記露出補正工程は、前記ホワイトバランス補正に使用したR、G、Bのゲイン値のうちの最大値に基づいて前記ホワイトバランスが補正されたデジタル画像の情報復元可能な最大の露出補正値を算出する工程を含み、この最大の露出補正値に応じて前記ホワイトバランスが補正されたデジタル画像を露出補正する請求項1に記載の画像処理方法。
- 前記最大の露出補正値を算出する工程は、前記ホワイトバランス補正に使用したR、G、Bのゲイン値のうちの最大値を、MaxGainとすると、情報復元可能な最大の露出補正値MaxEVを、次式、
MaxEV=LOG2(1/MaxGain)
によって算出する請求項2に記載の画像処理方法。 - 前記ホワイトバランスが補正されたデジタル画像の各画素のうち前記露出補正によってアンダー露出になるように補正しなければ出力する画素値が飽和する画素を判別する判別工程と、
前記判別された飽和する画素のみを補正対象画素とし、該補正対象画素の画素値をその画素値以上の値となるように補正する画素値補正工程と、
を有する請求項1から3のいずれかに記載の画像処理方法。 - 前記画素値補正工程は、前記補正対象画素の画素値を、その画素値と該補正対象画素の周囲の異なる色の画素の画素値のうちの最大の画素値に補正する請求項4に記載の画像処理方法。
- 前記画素値補正工程は、前記補正対象画素の画素値に対して該画素値以上の補間最大値を求める工程と、前記補正対象画素の画素値と前記補間最大値とを補間処理して補間値を計算する補間処理工程とを含み、前記補正対象画素の画素値を前記計算した補間値に補正する請求項4に記載の画像処理方法。
- カラーのデジタル画像を入力する入力手段と、
前記入力したデジタル画像のホワイトバランスを補正するホワイトバランス補正手段と、
前記ホワイトバランスが補正されたデジタル画像を露出補正する工程であって、前記ホワイトバランスが補正されたデジタル画像が飽和しないようにアンダーに露出補正する露出補正手段と、
前記アンダーになるように露出補正されたデジタル画像に対して、前記アンダーになるように露出補正されていないデジタル画像に対する通常のガンマ補正よりも中間調が大きくなるように階調補正するとともに、高輝度部分を圧縮するように階調補正する広ダイナミックレンジ用のガンマ補正を行うガンマ補正手段と、
を備えたことを特徴とする画像処理装置。 - 被写体を撮像してカラーのデジタル画像を示すRAWデータを取得する撮像手段と、
少なくとも前記RAWデータを記録媒体に記録する機能を有する記録手段と、
請求項7に記載の画像処理装置と、を備え、
前記入力手段は、前記撮像手段が取得したRAWデータを示すデジタル画像、又は前記記録媒体から読み出したRAWデータを示すデジタル画像を入力する撮像装置。 - カラーのデジタル画像を入力する入力工機能と、
前記入力したデジタル画像のホワイトバランスを補正するホワイトバランス補正機能と、
前記ホワイトバランスが補正されたデジタル画像を露出補正する工程であって、前記ホワイトバランスが補正されたデジタル画像が飽和しないようにアンダーに露出補正する露出補正機能と、
前記アンダーになるように露出補正されたデジタル画像に対して、前記アンダーになるように露出補正されていないデジタル画像に対する通常のガンマ補正よりも中間調が大きくなるように階調補正するとともに、高輝度部分を圧縮するように階調補正する広ダイナミックレンジ用のガンマ補正を行うガンマ補正機能と、
をコンピュータに実現させることを特徴とする画像処理プログラム。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012007330A JP5259844B2 (ja) | 2012-01-17 | 2012-01-17 | 画像処理方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012007330A JP5259844B2 (ja) | 2012-01-17 | 2012-01-17 | 画像処理方法 |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007009556A Division JP4932504B2 (ja) | 2007-01-18 | 2007-01-18 | 画像処理方法、装置及びプログラム並びに撮像装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012085360A true JP2012085360A (ja) | 2012-04-26 |
JP5259844B2 JP5259844B2 (ja) | 2013-08-07 |
Family
ID=46243631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012007330A Expired - Fee Related JP5259844B2 (ja) | 2012-01-17 | 2012-01-17 | 画像処理方法 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5259844B2 (ja) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9420197B2 (en) | 2012-12-26 | 2016-08-16 | Samsung Electronics Co., Ltd. | Imaging device, imaging method and imaging program |
US9565412B2 (en) | 2014-02-21 | 2017-02-07 | Canon Kabushiki Kaisha | Image processing apparatus that develops photographed data, image processing method, and recording medium |
US9652687B2 (en) | 2014-02-21 | 2017-05-16 | Canon Kabushiki Kaisha | Image processing apparatus that performs development by adjusting saturation level of each color signal, image processing method, and storage medium |
CN111028165A (zh) * | 2019-11-29 | 2020-04-17 | 郑州轻工业大学 | 一种基于raw数据抵抗相机抖动的高动态图像恢复方法 |
CN115004106A (zh) * | 2020-01-28 | 2022-09-02 | 富士胶片株式会社 | 信息处理方法 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000354250A (ja) * | 1999-06-11 | 2000-12-19 | Ricoh Co Ltd | 撮像装置 |
JP2002033956A (ja) * | 2000-07-14 | 2002-01-31 | Olympus Optical Co Ltd | 撮像装置 |
JP2004363726A (ja) * | 2003-06-02 | 2004-12-24 | Fuji Photo Film Co Ltd | 画像処理方法及びデジタルカメラ |
-
2012
- 2012-01-17 JP JP2012007330A patent/JP5259844B2/ja not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000354250A (ja) * | 1999-06-11 | 2000-12-19 | Ricoh Co Ltd | 撮像装置 |
JP2002033956A (ja) * | 2000-07-14 | 2002-01-31 | Olympus Optical Co Ltd | 撮像装置 |
JP2004363726A (ja) * | 2003-06-02 | 2004-12-24 | Fuji Photo Film Co Ltd | 画像処理方法及びデジタルカメラ |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9420197B2 (en) | 2012-12-26 | 2016-08-16 | Samsung Electronics Co., Ltd. | Imaging device, imaging method and imaging program |
US9565412B2 (en) | 2014-02-21 | 2017-02-07 | Canon Kabushiki Kaisha | Image processing apparatus that develops photographed data, image processing method, and recording medium |
US9652687B2 (en) | 2014-02-21 | 2017-05-16 | Canon Kabushiki Kaisha | Image processing apparatus that performs development by adjusting saturation level of each color signal, image processing method, and storage medium |
CN111028165A (zh) * | 2019-11-29 | 2020-04-17 | 郑州轻工业大学 | 一种基于raw数据抵抗相机抖动的高动态图像恢复方法 |
CN111028165B (zh) * | 2019-11-29 | 2023-03-21 | 郑州轻工业大学 | 一种基于raw数据抵抗相机抖动的高动态图像恢复方法 |
CN115004106A (zh) * | 2020-01-28 | 2022-09-02 | 富士胶片株式会社 | 信息处理方法 |
CN115004106B (zh) * | 2020-01-28 | 2024-04-05 | 富士胶片株式会社 | 信息处理方法 |
Also Published As
Publication number | Publication date |
---|---|
JP5259844B2 (ja) | 2013-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4932504B2 (ja) | 画像処理方法、装置及びプログラム並びに撮像装置 | |
US20040169751A1 (en) | Image processing apparatus, method, and program | |
JP4677391B2 (ja) | 画像処理装置、画像処理装置の制御方法、コンピュータプログラム、及び記憶媒体 | |
JP2004128809A (ja) | 画像処理方法及び装置、及び撮像装置 | |
JP4444218B2 (ja) | 動画用明るさ補正装置ならびにその制御方法およびその制御プログラム | |
JP5259844B2 (ja) | 画像処理方法 | |
JP2006081037A (ja) | 撮像装置 | |
EP1675063A2 (en) | Image pickup apparatus and control method of the apparatus | |
US8957991B2 (en) | Imaging apparatus, image processing method and computer program for smoothing dynamic range of luminance of an image signal, color conversion process | |
JP2005347811A (ja) | ホワイトバランス補正装置及びホワイトバランス補正方法、プログラム、電子カメラ装置 | |
US8334910B2 (en) | Image capturing apparatus, information processing apparatus, and control methods thereof | |
JP4752421B2 (ja) | 画像レタッチ方法、画像レタッチ装置及び画像レタッチプログラム | |
JP2006217169A (ja) | 画像処理装置及びカラー撮像装置 | |
JP4812282B2 (ja) | 画像処理方法及び装置並びに撮像装置 | |
JP4239218B2 (ja) | ホワイトバランス調整方法及び電子カメラ | |
JP2006333113A (ja) | 撮像装置 | |
JP4028395B2 (ja) | デジタルカメラ | |
JP4735820B2 (ja) | 撮像装置の信号処理方法及び撮像装置 | |
JP2006186931A (ja) | カメラ装置、ホワイトバランスブラケティング撮影方法 | |
KR101298638B1 (ko) | 디지털 영상 처리 방법 | |
JP4538742B2 (ja) | 撮像装置の信号処理方法及び撮像装置 | |
JP2007142978A (ja) | 画像処理方法及び撮像装置 | |
JP2009206801A (ja) | 撮像システムおよびその調整方法 | |
JP4850966B2 (ja) | 画像処理装置、画像処理装置の制御方法、コンピュータプログラム、及び記憶媒体 | |
JP2006180112A (ja) | 画像処理装置及び撮像装置並びに画像処理プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120213 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130218 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130227 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130328 |
|
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: 20130412 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130424 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160502 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5259844 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
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 |
|
LAPS | Cancellation because of no payment of annual fees |