JP2007174482A - Imaging apparatus, image processing method, and image processing program - Google Patents

Imaging apparatus, image processing method, and image processing program Download PDF

Info

Publication number
JP2007174482A
JP2007174482A JP2005371845A JP2005371845A JP2007174482A JP 2007174482 A JP2007174482 A JP 2007174482A JP 2005371845 A JP2005371845 A JP 2005371845A JP 2005371845 A JP2005371845 A JP 2005371845A JP 2007174482 A JP2007174482 A JP 2007174482A
Authority
JP
Japan
Prior art keywords
dodging
parameter
image
processing
correction amount
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.)
Pending
Application number
JP2005371845A
Other languages
Japanese (ja)
Inventor
Tetsuya Katagiri
哲也 片桐
Koichi Kanbe
幸一 掃部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2005371845A priority Critical patent/JP2007174482A/en
Publication of JP2007174482A publication Critical patent/JP2007174482A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To obtain an excellent image of which contrast or saturation is preferentially adjusted and lightness/darkness is also adjusted by dodging processing. <P>SOLUTION: When a dodging parameter is defined as a first image processing parameter, the dodging parameter is determined by the dodging parameter setting means (control section 3) based on a predetermined second image processing parameter (contrast correction amount or saturation correction amount) other than the first image processing parameter, and dodging processing is performed by a dodging processing means (dodging processing section 61) on the basis of the dodging parameter determined by the dodging parameter setting means. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、デジタルカメラ等の撮像装置、特に、ダイナミックレンジ圧縮機能を有する撮像装置に関するものである。また、本発明はデジタルカメラ等の撮像装置によって得られた画像データに対してダイナミックレンジ圧縮を行う画像処理方法及び画像処理プログラムに関するものである。   The present invention relates to an imaging apparatus such as a digital camera, and more particularly to an imaging apparatus having a dynamic range compression function. The present invention also relates to an image processing method and an image processing program for performing dynamic range compression on image data obtained by an imaging apparatus such as a digital camera.

近年、デジタルカメラ等の撮像装置においては、高画質化の要請に伴い、撮像センサが扱うことのできる被写体の輝度範囲(ダイナミックレンジ:DR)の拡大、すなわち撮像系の広ダイナミックレンジ化が進んでいる。しかしながら、現状ではモニタ等の表示系の広ダイナミックレンジ化は撮像系ほど進んでおらず、たとえ入力画像の広ダイナミックレンジ化が図られたとしても、表示系においてその効果を充分に発揮できないことになる。したがって、広ダイナミックレンジの入力画像が表示系のダイナミックレンジに収まるように入力画像のダイナミックレンジを圧縮させる必要がある。   In recent years, in an imaging apparatus such as a digital camera, in response to a demand for higher image quality, the luminance range (dynamic range: DR) of an object that can be handled by an imaging sensor has been expanded, that is, the imaging system has a wider dynamic range. Yes. However, at present, the wide dynamic range of a display system such as a monitor has not progressed as much as that of an imaging system, and even if the input image has a wide dynamic range, the effect cannot be fully exhibited in the display system. Become. Therefore, it is necessary to compress the dynamic range of the input image so that the input image with a wide dynamic range falls within the dynamic range of the display system.

上記“ダイナミックレンジの圧縮”には、主に、画像の照明成分を圧縮することで局所的に画像の明暗を調整する意味と、画像全体の明暗の関係をそのまま維持した状態で、文字通り、帯域(ダイナミックレンジ)を圧縮する意味(局所的に明暗調整を行うという意味とは無関係)との2つの意味があるが、これらを区別するべく、前者を「覆い焼き処理」、後者を単に「DR圧縮」と称するものとする。覆い焼き処理では、具体的には、画像から照明成分を抽出し(このとき反射率成分も抽出する)、この照明成分に対してDR圧縮を行い、DR圧縮後の照明成分と反射率成分とから、局所的に画像の明暗が調整された新たな画像が生成される(例えば非特許文献1参考)。   The above-mentioned “dynamic range compression” mainly includes the meaning of adjusting the brightness and darkness of the image locally by compressing the illumination component of the image and literally the band while maintaining the relationship between the brightness and darkness of the entire image. There are two meanings of compressing (dynamic range) (regardless of the meaning of performing local contrast adjustment). In order to distinguish these, the former is “dodging” and the latter is simply “DR”. It shall be referred to as “compression”. Specifically, in the dodging process, an illumination component is extracted from the image (a reflectance component is also extracted at this time), DR compression is performed on the illumination component, and an illumination component and a reflectance component after DR compression are performed. Thus, a new image in which the contrast of the image is locally adjusted is generated (for example, see Non-Patent Document 1).

ところで、良好(高画質)な画像を得るための画像処理としては、上記覆い焼き処理による画像の明暗調整だけでなく、例えばコントラスト補正や彩度補正がある。コントラスト補正は、一般的には例えば階調変換手段を備え、所謂ガンマ;γ(ガンマ特性、階調変換特性)を変化させることで、画像の低輝度部つまり主被写体領域画像のコントラストを調整する。この場合、例えば図8に示すように、コントラストを好適なものにしようとガンマ特性を符号710で示す曲線から符号720で示す曲線に変化させることで低輝度部701のコントラストを高めると、高輝度部702の階調がつぶれ、高輝度部702のコントラストが低下してしまう。一方、彩度補正は、画像における色の冴え(鮮やかさ)、鈍さといった色の彩やかさである彩度を調整する。一般的には、例えば彩度補正手段を備え、画像を輝度(輝度信号)と色差(色信号)とに分離して扱い、当該輝度、色差間で所定の変換処理を行うことで彩度調整を行う。
画像のダイナミックレンジ圧縮技術 画像ラボ(2004.6)24〜28頁
By the way, as image processing for obtaining a good (high image quality) image, there are not only the brightness adjustment of the image by the above-described dodging process but also, for example, contrast correction and saturation correction. The contrast correction generally includes, for example, gradation conversion means, and adjusts the contrast of the low-luminance portion of the image, that is, the main subject area image by changing so-called gamma; γ (gamma characteristic, gradation conversion characteristic). . In this case, for example, as shown in FIG. 8, when the contrast of the low-luminance portion 701 is increased by changing the gamma characteristic from the curve indicated by reference numeral 710 to the curve indicated by reference numeral 720 in order to achieve a favorable contrast, The gradation of the portion 702 is crushed, and the contrast of the high luminance portion 702 is lowered. On the other hand, the saturation correction adjusts the saturation, which is the color saturation such as the color tone (brightness) and dullness in the image. In general, for example, a saturation correction unit is provided, and the image is separated into luminance (luminance signal) and color difference (color signal), and saturation adjustment is performed by performing predetermined conversion processing between the luminance and color difference. I do.
Image Dynamic Range Compression Technology Image Lab (2004. 4) 24-28

このような覆い焼き処理、コントラスト補正処理(階調変換処理)及び彩度補正処理を行うに際して、従来では、覆い焼き処理(DR圧縮)が優先され、コントラスト補正処理及び彩度補正処理はこれに従う、すなわち、覆い焼き処理のパラメータ(以降、覆い焼きパラメータという)に応じてコントラスト補正量や彩度補正量が決定されるものであった(例えば彩度補正では、覆い焼きを行うと一般的に彩度が高くなるので、覆い焼きパラメータに応じて彩度を抑制するように調整する)。そのため、画像処理においてコントラスト補正や彩度補正を覆い焼き処理(階調変換処理)よりも優先させるような場合に対応することができなかった。   When performing such dodging processing, contrast correction processing (gradation conversion processing), and saturation correction processing, conventionally, dodging processing (DR compression) is given priority, and contrast correction processing and saturation correction processing follow this. That is, the contrast correction amount and the saturation correction amount are determined in accordance with the dodging process parameters (hereinafter referred to as the dodging parameter) (for example, in the case of saturation correction, generally, dodging is performed. (Saturation increases, so adjust to suppress saturation according to dodging parameters.) For this reason, it has not been possible to deal with cases where priority is given to contrast correction or saturation correction over dodging processing (gradation conversion processing) in image processing.

本発明は上記事情に鑑みてなされたもので、コントラスト補正処理(階調変換処理)や彩度補正処理を優先して行いつつ覆い焼き処理も行うことができる、すなわち所要のコントラストや彩度が得られるようにこれらが優先して調整され、且つ、覆い焼き処理によって明暗調整もなされた良好(高画質)な画像を得ることができる撮像装置、画像処理方法、及び画像処理プログラムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and can perform dodging processing while giving priority to contrast correction processing (gradation conversion processing) and saturation correction processing, that is, required contrast and saturation are achieved. To provide an imaging apparatus, an image processing method, and an image processing program that can obtain a good (high image quality) image that is preferentially adjusted so as to be obtained, and that is also subjected to brightness adjustment by dodging processing. With the goal.

本発明に係る撮像装置は、画像を取得する画像取得手段と、前記画像に対する覆い焼き処理を行う覆い焼き処理手段と、前記覆い焼き処理に関する覆い焼きパラメータを設定する覆い焼きパラメータ設定手段とを備え、前記覆い焼きパラメータを第1の画像処理パラメータとすると、前記覆い焼きパラメータ設定手段は、前記第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータを決定し、前記覆い焼き処理手段は、前記覆い焼きパラメータ設定手段により決定された覆い焼きパラメータに基づいて覆い焼き処理を行うことを特徴とする。   An imaging apparatus according to the present invention includes an image acquisition unit that acquires an image, a dodging processing unit that performs a dodging process on the image, and a dodging parameter setting unit that sets a dodging parameter related to the dodging process. When the dodging parameter is the first image processing parameter, the dodging parameter setting means determines the dodging parameter based on a predetermined second image processing parameter other than the first image processing parameter, The dodging processing unit performs dodging processing based on the dodging parameter determined by the dodging parameter setting unit.

上記構成によれば、画像取得手段によって画像が取得され、覆い焼き処理手段によって画像に対する覆い焼き処理が行われ、覆い焼きパラメータ設定手段によって覆い焼き処理に関する覆い焼きパラメータが設定される。そして、覆い焼きパラメータが第1の画像処理パラメータとされ、覆い焼きパラメータ設定手段によって第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータが決定され、覆い焼き処理手段によって、覆い焼きパラメータ設定手段により決定された覆い焼きパラメータに基づいて覆い焼き処理が行われる。   According to the above configuration, the image is acquired by the image acquisition unit, the dodging process is performed on the image by the dodging processing unit, and the dodging parameter related to the dodging process is set by the dodging parameter setting unit. Then, the dodging parameter is set as the first image processing parameter, and the dodging parameter is determined by the dodging parameter setting unit based on a predetermined second image processing parameter other than the first image processing parameter, and the dodging processing is performed. The means performs a dodging process based on the dodging parameter determined by the dodging parameter setting means.

また、上記構成において、前記画像に対するコントラスト補正処理に関するコントラスト補正量を入力するコントラスト補正量入力手段をさらに備え、前記第2の画像処理パラメータは、前記コントラスト補正量であり、前記覆い焼きパラメータ設定手段は、前記コントラスト補正量入力手段により入力されたコントラスト補正量に基づいて覆い焼きパラメータを決定するようにしてもよい。   In the above configuration, the image processing apparatus further includes contrast correction amount input means for inputting a contrast correction amount relating to contrast correction processing for the image, wherein the second image processing parameter is the contrast correction amount, and the dodging parameter setting means. The dodging parameter may be determined based on the contrast correction amount input by the contrast correction amount input means.

これによれば、コントラスト補正量入力手段によって画像に対するコントラスト補正処理に関するコントラスト補正量が入力され、第2の画像処理パラメータがコントラスト補正量とされ、覆い焼きパラメータ設定手段によって、コントラスト補正量入力手段により入力されたコントラスト補正量に基づいて覆い焼きパラメータが決定される。   According to this, the contrast correction amount related to the contrast correction processing for the image is input by the contrast correction amount input means, the second image processing parameter is set as the contrast correction amount, and the dodging parameter setting means by the contrast correction amount input means. A dodging parameter is determined based on the input contrast correction amount.

また、上記構成において、前記覆い焼き処理は、前記画像から抽出された照明成分を圧縮し、該圧縮された照明成分と前記画像から抽出された反射率成分とから新たな画像を生成する処理であり、前記覆い焼きパラメータは、前記画像から照明成分を抽出するフィルタのサイズであり、該サイズは前記コントラスト補正量に応じて異なるサイズであるようにしてもよい。   In the above configuration, the dodging process is a process of compressing the illumination component extracted from the image and generating a new image from the compressed illumination component and the reflectance component extracted from the image. The dodging parameter may be a size of a filter that extracts an illumination component from the image, and the size may be different depending on the contrast correction amount.

これによれば、覆い焼き処理において、画像から抽出された照明成分が圧縮され、該圧縮された照明成分と画像から抽出された反射率成分とから新たな画像が生成される。また、覆い焼きパラメータが画像から照明成分を抽出するフィルタのサイズとされ、該サイズがコントラスト補正量に応じて異なるサイズとされる。   According to this, in the dodging process, the illumination component extracted from the image is compressed, and a new image is generated from the compressed illumination component and the reflectance component extracted from the image. Also, the dodging parameter is the size of the filter that extracts the illumination component from the image, and the size is different depending on the contrast correction amount.

また、上記構成において、前記覆い焼き処理は、前記画像から抽出された照明成分を圧縮し、該圧縮された照明成分と前記画像から抽出された反射率成分とから新たな画像を生成する処理であり、前記覆い焼きパラメータは、前記照明成分の圧縮特性であり、該圧縮特性は前記コントラスト補正量に応じて異なる圧縮特性であるようにしてもよい。   In the above configuration, the dodging process is a process of compressing the illumination component extracted from the image and generating a new image from the compressed illumination component and the reflectance component extracted from the image. The dodging parameter may be a compression characteristic of the illumination component, and the compression characteristic may be a different compression characteristic depending on the contrast correction amount.

これによれば、覆い焼き処理において、画像から抽出された照明成分が圧縮され、該圧縮された照明成分と画像から抽出された反射率成分とから新たな画像が生成される。また、覆い焼きパラメータが照明成分の圧縮特性とされ、該圧縮特性がコントラスト補正量に応じて異なる圧縮特性とされる。   According to this, in the dodging process, the illumination component extracted from the image is compressed, and a new image is generated from the compressed illumination component and the reflectance component extracted from the image. The dodging parameter is the compression characteristic of the illumination component, and the compression characteristic is a compression characteristic that varies depending on the contrast correction amount.

また、上記構成において、前記画像に対する彩度補正処理に関する彩度補正量を入力する彩度補正量入力手段をさらに備え、前記第2の画像処理パラメータは、前記彩度補正量であり、前記覆い焼きパラメータ設定手段は、前記彩度補正量入力手段により入力された彩度補正量に基づいて覆い焼きパラメータを決定するようにしてもよい。   Further, in the above configuration, the image processing apparatus further includes a saturation correction amount input unit that inputs a saturation correction amount related to the saturation correction processing for the image, and the second image processing parameter is the saturation correction amount, and the covering is performed. The baking parameter setting unit may determine the dodging parameter based on the saturation correction amount input by the saturation correction amount input unit.

これによれば、彩度補正量入力手段によって、画像に対する彩度補正処理に関する彩度補正量が入力され、第2の画像処理パラメータが彩度補正量とされ、覆い焼きパラメータ設定手段によって、彩度補正量入力手段により入力された彩度補正量に基づいて覆い焼きパラメータが決定される。   According to this, the saturation correction amount related to the saturation correction processing for the image is input by the saturation correction amount input unit, the second image processing parameter is set as the saturation correction amount, and the dodging parameter setting unit sets the saturation correction amount. The dodging parameter is determined based on the saturation correction amount input by the degree correction amount input means.

また、上記構成において、前記覆い焼き処理は、前記画像から抽出された照明成分を圧縮し、該圧縮された照明成分と前記画像から抽出された反射率成分とから新たな画像を生成する処理であり、前記覆い焼きパラメータは、前記照明成分の圧縮における圧縮輝度範囲の所定の上限値であり、該上限値は前記彩度補正量に応じて異なる値であるようにしてもよい。   In the above configuration, the dodging process is a process of compressing the illumination component extracted from the image and generating a new image from the compressed illumination component and the reflectance component extracted from the image. The dodging parameter may be a predetermined upper limit value of a compression luminance range in the compression of the illumination component, and the upper limit value may be a value that varies depending on the saturation correction amount.

これによれば、覆い焼き処理において、画像から抽出された照明成分が圧縮され、該圧縮された照明成分と画像から抽出された反射率成分とから新たな画像が生成される。また、覆い焼きパラメータが照明成分の圧縮における圧縮輝度範囲の所定の上限値とされ、該上限値が彩度補正量に応じて異なる値とされる。   According to this, in the dodging process, the illumination component extracted from the image is compressed, and a new image is generated from the compressed illumination component and the reflectance component extracted from the image. Further, the dodging parameter is set to a predetermined upper limit value of the compression luminance range in the compression of the illumination component, and the upper limit value is set to a different value depending on the saturation correction amount.

また、本発明に係る画像処理方法は、画像データに対して覆い焼き処理を行う覆い焼き処理段階と、前記覆い焼き処理に関する覆い焼きパラメータを設定する覆い焼きパラメータ設定段階とを有し、前記覆い焼きパラメータを第1の画像処理パラメータとしたとき、前記覆い焼きパラメータ設定段階では、前記第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータを決定し、前記覆い焼き処理段階では、前記覆い焼きパラメータ設定段階で決定された覆い焼きパラメータに基づいて覆い焼き処理を行うことを特徴とする。   The image processing method according to the present invention includes a dodging process stage for performing dodging processing on image data, and a dodging parameter setting stage for setting a dodging parameter related to the dodging process, and When the printing parameter is the first image processing parameter, in the dodging parameter setting stage, the dodging parameter is determined based on a predetermined second image processing parameter other than the first image processing parameter, and the covering is performed. In the baking process stage, the dodging process is performed based on the dodging parameter determined in the dodging parameter setting stage.

上記構成によれば、覆い焼き処理段階において、画像データに対して覆い焼き処理が行われ、覆い焼きパラメータ設定段階において、覆い焼き処理に関する覆い焼きパラメータが設定される。覆い焼きパラメータを第1の画像処理パラメータとしたとき、覆い焼きパラメータ設定段階において、第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータが決定され、覆い焼き処理段階において、覆い焼きパラメータ設定段階で決定された覆い焼きパラメータに基づいて覆い焼き処理が行われる。   According to the above configuration, the dodging process is performed on the image data in the dodging process stage, and the dodging parameters related to the dodging process are set in the dodging parameter setting stage. When the dodging parameter is the first image processing parameter, the dodging parameter is determined based on a predetermined second image processing parameter other than the first image processing parameter in the dodging parameter setting stage, and the dodging process is performed. In the stage, dodging processing is performed based on the dodging parameter determined in the dodging parameter setting stage.

また、本発明に係る画像処理プログラムは、画像データに対する覆い焼き処理に関する覆い焼きパラメータを第1の画像処理パラメータとしたとき、該第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータを決定する第1の手順と、該第1の手順で決定された覆い焼きパラメータに基づいて覆い焼き処理を行う第2の手順とをコンピュータに実行させることを特徴とする。   Further, the image processing program according to the present invention sets a predetermined second image processing parameter other than the first image processing parameter when the dodging parameter related to the dodging processing for the image data is the first image processing parameter. The computer is caused to execute a first procedure for determining a dodging parameter based on the second procedure for performing a dodging process based on the dodging parameter determined in the first procedure.

上記構成によれば、画像データに対する覆い焼き処理に関する覆い焼きパラメータを第1の画像処理パラメータとしたとき、該第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータを決定する第1の手順と、該第1の手順で決定された覆い焼きパラメータに基づいて覆い焼き処理を行う第2の手順とがコンピュータによって実行される。   According to the above configuration, when the dodging parameter related to the dodging process for the image data is the first image processing parameter, the dodging parameter is set based on the predetermined second image processing parameter other than the first image processing parameter. A first procedure for determining the dodging process and a second procedure for performing the dodging process based on the dodging parameter determined in the first procedure are executed by the computer.

請求項1に係る撮像装置によれば、覆い焼きパラメータ設定手段によって第2の画像処理パラメータに基づいて覆い焼きパラメータが決定され、覆い焼き処理手段によって、覆い焼きパラメータ設定手段により決定された覆い焼きパラメータに基づいて覆い焼き処理が行われる構成であるので、第2の画像処理パラメータによる画像処理例えばコントラスト補正処理(階調変換処理)や彩度補正処理を優先して行いつつ覆い焼き処理も行うことができる、すなわち所要のコントラストや彩度等が得られるようにこれらが優先して調整され、且つ、覆い焼き処理によって明暗調整もなされた良好(高画質)な画像を得ることができる。   According to the imaging apparatus according to claim 1, the dodging parameter is determined by the dodging parameter setting unit based on the second image processing parameter, and the dodging parameter determined by the dodging parameter setting unit is determined by the dodging processing unit. Since the dodging process is performed based on the parameters, the dodging process is also performed while giving priority to the image processing based on the second image processing parameter, such as contrast correction processing (gradation conversion processing) and saturation correction processing. In other words, it is possible to obtain a good (high quality) image in which these are preferentially adjusted so as to obtain required contrast, saturation, and the like, and light and dark are adjusted by the dodging process.

請求項2に係る撮像装置によれば、覆い焼きパラメータ設定手段によって、コントラスト補正量入力手段により入力されたコントラスト補正量に基づいて覆い焼きパラメータが決定される構成であるので、コントラスト補正量に基づくコントラスト補正処理(階調変換処理)を優先して行いつつ覆い焼き処理も行うことができる、すなわち所要のコントラストが得られるようにこれが優先して調整され、且つ、覆い焼き処理によって明暗調整もなされた良好な画像を得ることができる。   According to the imaging apparatus of the second aspect, the dodging parameter setting unit determines the dodging parameter based on the contrast correction amount input by the contrast correction amount input unit. The dodging process can also be performed while giving priority to the contrast correction process (gradation conversion process), that is, this is prioritized to obtain a required contrast, and the brightness adjustment is also performed by the dodging process. A good image can be obtained.

請求項3に係る撮像装置によれば、覆い焼きパラメータとしての照明成分を抽出するフィルタのサイズがコントラスト補正量に応じて異なるサイズとされることから、照明成分抽出用のフィルタのサイズをコントラスト補正量に応じて変更することができる。当該フィルタサイズが変更されることで反射率成分の抽出量が変化し、反射率成分の抽出量が変化することでコントラストが変化するため、低輝度/高輝度に関係なくコントラスト補正を行うことが可能となる(コントラスト強調を行っても従来のように高輝度のコントラストが低下しない)。また、覆い焼き処理手段による覆い焼き処理によってコントラスト補正が可能となり(覆い焼き処理手段によって覆い焼き処理とコントラスト補正とを同時に行うことができ)、従来のコントラスト補正手段を別途備える必要がないことから、処理の高速化、装置の低コスト化(簡略化)を図ることができる。   According to the image pickup apparatus according to claim 3, since the size of the filter for extracting the illumination component as the dodging parameter is different depending on the contrast correction amount, the size of the filter for extracting the illumination component is contrast corrected. It can be changed according to the amount. By changing the filter size, the extraction amount of the reflectance component changes, and by changing the extraction amount of the reflectance component, the contrast changes. Therefore, contrast correction can be performed regardless of low luminance / high luminance. (Contrast emphasis does not reduce high-brightness contrast as in the prior art). Further, contrast correction can be performed by dodging processing by the dodging processing means (the dodging processing and contrast correction can be performed simultaneously by the dodging processing means), and it is not necessary to separately provide a conventional contrast correction means. Therefore, the processing speed can be increased and the cost of the apparatus can be reduced (simplified).

請求項4に係る撮像装置によれば、覆い焼きパラメータとしての照明成分の圧縮特性がコントラスト補正量に応じて異なる圧縮特性とされることから、照明成分の圧縮特性をコントラスト補正量に応じて変更することができ、すなわち、コントラスト補正量に応じて圧縮特性を変更して所要のコントラストが得られるように照明成分を圧縮することができるため、覆い焼き処理手段による覆い焼き処理によってコントラスト補正が可能となり(覆い焼き処理手段によって覆い焼き処理とコントラスト補正とを同時に行うことができ)、従来のコントラスト補正手段を別途備える必要がないことから、処理の高速化、装置の低コスト化(簡略化)を図ることができる。   According to the imaging apparatus of the fourth aspect, since the compression characteristic of the illumination component as the dodging parameter is different depending on the contrast correction amount, the compression characteristic of the illumination component is changed according to the contrast correction amount. In other words, the illumination component can be compressed so that the required contrast can be obtained by changing the compression characteristics according to the contrast correction amount, so that contrast correction is possible by dodging processing by the dodging processing means. (Dodge processing and contrast correction can be performed simultaneously by the dodging processing means), and it is not necessary to provide a conventional contrast correction means separately, so the processing speed is increased and the cost of the apparatus is reduced (simplification). Can be achieved.

請求項5に係る撮像装置によれば、覆い焼きパラメータ設定手段によって、彩度補正量入力手段により入力された彩度補正量に基づいて覆い焼きパラメータが決定される構成であるので、彩度補正量に基づく彩度補正処理を優先して行いつつ覆い焼き処理も行うことができる、すなわち所要の彩度が得られるようにこれが優先して調整され、且つ、覆い焼き処理によって明暗調整もなされた良好な画像を得ることができる。   According to the imaging apparatus of the fifth aspect, the dodging parameter setting unit determines the dodging parameter based on the saturation correction amount input by the saturation correction amount input unit. The dodging process can be performed while giving priority to the saturation correction process based on the amount, that is, the adjustment is performed with priority so that the required saturation is obtained, and the brightness adjustment is also performed by the dodging process. A good image can be obtained.

請求項6に係る撮像装置によれば、覆い焼きパラメータとしての圧縮輝度範囲の所定の上限値が彩度補正量に応じて異なる値とされることから、圧縮輝度範囲の所定の上限値を彩度補正量に応じて変更することができる。当該上限値が変更されることで照明成分の圧縮率が変化し、照明成分の圧縮率が変化することで彩度が変化するため、覆い焼き処理手段による覆い焼き処理によって彩度補正が可能となり(覆い焼き処理手段によって覆い焼き処理と彩度補正とを同時に行うことができ)、従来の彩度補正手段を別途備える必要がないことから、処理の高速化、装置の低コスト化(簡略化)を図ることができる。   According to the imaging device of the sixth aspect, the predetermined upper limit value of the compressed luminance range as the dodging parameter is set to a different value depending on the saturation correction amount. It can be changed according to the degree correction amount. Changing the upper limit changes the compression ratio of the illumination component, and the saturation changes by changing the compression ratio of the illumination component, so saturation correction is possible by dodging processing by the dodging processing means. (Dodge processing and saturation correction can be performed simultaneously by the dodging processing means), and it is not necessary to provide a conventional saturation correction means separately, so the processing speed is increased and the cost of the apparatus is reduced (simplification). ).

請求項7に係る画像処理方法によれば、覆い焼きパラメータ設定段階において、第2の画像処理パラメータに基づいて覆い焼きパラメータが決定され、覆い焼き処理段階において、覆い焼きパラメータ設定段階で決定された覆い焼きパラメータに基づいて覆い焼き処理が行われる構成であるので、第2の画像処理パラメータによる画像処理例えばコントラスト補正処理(階調変換処理)や彩度補正処理を優先して行いつつ覆い焼き処理も行うことができる、すなわち所要のコントラストや彩度等が得られるようにこれらが優先して調整され、且つ、覆い焼き処理によって明暗調整もなされた良好(高画質)な画像を得ることができる。   According to the image processing method of claim 7, the dodging parameter is determined based on the second image processing parameter in the dodging parameter setting stage, and is determined in the dodging parameter setting stage in the dodging process stage. Since the dodging process is performed based on the dodging parameter, the dodging process is performed while giving priority to the image processing based on the second image processing parameter, such as contrast correction processing (gradation conversion processing) and saturation correction processing. In other words, it is possible to obtain a good (high quality) image that is preferentially adjusted so that required contrast, saturation, and the like can be obtained, and that brightness is adjusted by dodging processing. .

請求項8に係る画像処理プログラムによれば、第1の手順において、第2の画像処理パラメータに基づいて覆い焼きパラメータが決定され、第2の手順において、第1の手順で決定された覆い焼きパラメータに基づいて覆い焼き処理が行われる構成であるので、第2の画像処理パラメータによる画像処理例えばコントラスト補正処理(階調変換処理)や彩度補正処理を優先して行いつつ覆い焼き処理も行うことができる、すなわち所要のコントラストや彩度等が得られるようにこれらが優先して調整され、且つ、覆い焼き処理によって明暗調整もなされた良好(高画質)な画像を得ることができる。   According to the image processing program of the eighth aspect, the dodging parameter is determined based on the second image processing parameter in the first procedure, and the dodging determined in the first procedure is performed in the second procedure. Since the dodging process is performed based on the parameters, the dodging process is also performed while giving priority to the image processing based on the second image processing parameter, such as contrast correction processing (gradation conversion processing) and saturation correction processing. In other words, it is possible to obtain a good (high quality) image in which these are preferentially adjusted so as to obtain required contrast, saturation, and the like, and light and dark are adjusted by the dodging process.

(実施形態1)
図1は、第1の実施形態に係る撮像装置の一例であるデジタルカメラ1の主に撮像処理に関する概略的なブロック構成図を示している。図1に示すように、デジタルカメラ1は、画像入力部2、制御部3、画像メモリ4、ユーザI/F部5及び画像処理部6を備えている。
(Embodiment 1)
FIG. 1 is a schematic block diagram illustrating mainly an imaging process of a digital camera 1 which is an example of an imaging apparatus according to the first embodiment. As shown in FIG. 1, the digital camera 1 includes an image input unit 2, a control unit 3, an image memory 4, a user I / F unit 5, and an image processing unit 6.

画像入力部2は、デジタルカメラ1に対して画像を入力するものであり、レンズ部21、撮像センサ22、アンプ23及びA/D変換部24等を備えている。レンズ部21は、被写体光像を取り込むレンズ窓として機能するとともに、この被写体光を撮像センサ22へ導くための光学系(被写体光の光軸Lに沿って直列的に配置される例えばズームレンズやフォーカスレンズ、その他の固定レンズブロック)を構成するものである。レンズ部21は、当該レンズの透過光量を調節するための絞り(図略)やシャッタ(図略)を備えており、制御部3によって絞りやシャッタの駆動制御がなされる構成とされている。   The image input unit 2 inputs an image to the digital camera 1, and includes a lens unit 21, an image sensor 22, an amplifier 23, an A / D conversion unit 24, and the like. The lens unit 21 functions as a lens window that captures a subject light image, and an optical system for guiding the subject light to the imaging sensor 22 (for example, a zoom lens or the like arranged in series along the optical axis L of the subject light) Focus lens, and other fixed lens blocks). The lens unit 21 includes a diaphragm (not shown) and a shutter (not shown) for adjusting the amount of light transmitted through the lens, and the controller 3 controls the driving of the diaphragm and the shutter.

撮像センサ22は、被写体光像を撮像するものであり、レンズ部21で結像された被写体光像の光量に応じ、R、G、B各成分の画像信号に光電変換して後段のアンプ23へ出力する。本実施形態では、撮像センサ22として、センサ入射輝度が低い場合(暗時)に出力画素信号(光電変換により発生する出力電気信号)が線形的に変換されて出力される線形特性領域と、センサ入射輝度が高い場合(明時)に出力画素信号が対数的に変換されて出力される対数特性領域とからなる光電変換特性、換言すれば低輝度側が線形、高輝度側が対数である異なる複数の光電変換特性を有するCMOSセンサやCCDセンサ等のイメージセンサ(以降、適宜、リニアログセンサと表現する)が用いられる。このリニアログセンサによる撮影によって、広いダイナミックレンジ(DR)を有する広DR画像の取得が可能となる。このように、撮像センサ22によって広DR画像を得ることができれば、後述の図3、4で説明するように、照明成分の所定レベルLdに対する出力が適正輝度OdとなるA点を通るような照明圧縮特性を容易に得ることができる。   The imaging sensor 22 captures a subject light image, and photoelectrically converts it into image signals of R, G, and B components according to the amount of light of the subject light image formed by the lens unit 21, and an amplifier 23 at the subsequent stage. Output to. In the present embodiment, as the imaging sensor 22, a linear characteristic region in which an output pixel signal (an output electrical signal generated by photoelectric conversion) is linearly converted and output when the sensor incident luminance is low (in the dark), and the sensor A photoelectric conversion characteristic composed of a logarithmic characteristic region that is output logarithmically when the output pixel signal is logarithmically converted when the incident luminance is high (during light), in other words, a plurality of different low-linearity is linear and high-luminance side is logarithmic An image sensor (hereinafter, referred to as a linear log sensor as appropriate) such as a CMOS sensor or a CCD sensor having photoelectric conversion characteristics is used. A wide DR image having a wide dynamic range (DR) can be acquired by photographing with the linear log sensor. In this way, if a wide DR image can be obtained by the imaging sensor 22, as will be described later with reference to FIGS. 3 and 4, the illumination passes through point A where the output of the illumination component with respect to the predetermined level Ld becomes the appropriate luminance Od. Compression characteristics can be easily obtained.

なお、上記リニアログセンサから得られる線形特性領域及び対数特性領域を有した画像のことを、適宜、線形/対数画像と表現する。また、上記光電変換特性における線形特性領域と対数特性領域との切り替り点(変曲点)は、撮像センサ22の各画素回路に対する所定の制御信号により任意に制御可能とされている。撮像センサ22は、当該リニアログセンサに限定されず、傾きの異なる複数の線形領域を有するリニアセンサや、通常のDRが狭い例えば線形特性領域のみのリニアセンサ等、種々のイメージセンサが採用可能である。因みに、リニアログセンサでなくとも、例えばシャッタスピードや絞り値が異なる条件での撮影により得られた複数の画像を合成することによっても、或いはシャッタスピードを高速にして撮影して得られたアンダー気味の画像であっても広DR画像を得ることは可能である。   An image having a linear characteristic region and a logarithmic characteristic region obtained from the linear log sensor is appropriately expressed as a linear / logarithmic image. The switching point (inflection point) between the linear characteristic region and the logarithmic characteristic region in the photoelectric conversion characteristic can be arbitrarily controlled by a predetermined control signal for each pixel circuit of the image sensor 22. The image sensor 22 is not limited to the linear log sensor, and various image sensors such as a linear sensor having a plurality of linear regions with different inclinations and a linear sensor having a narrow normal DR, for example, only a linear characteristic region can be used. is there. By the way, even if it is not a linear log sensor, for example, by combining a plurality of images obtained by shooting under conditions with different shutter speeds and aperture values, or underexperience obtained by shooting at a high shutter speed It is possible to obtain a wide DR image even for the above image.

アンプ23は、撮像センサ22から出力された画像信号を増幅するものであり、例えばAGC(オートゲインコントロール)回路を備え、当該出力信号のゲイン(増幅率)調整を行う。A/D変換部24は、アンプ23にて増幅されたアナログ値の画像信号(アナログ信号)をデジタル値の画像信号(デジタル信号)に変換するものであり、撮像センサ22の各画素で受光して得られる画素信号をそれぞれ例えば12ビットの画素データに変換する。   The amplifier 23 amplifies the image signal output from the imaging sensor 22 and includes, for example, an AGC (auto gain control) circuit, and adjusts the gain (amplification factor) of the output signal. The A / D converter 24 converts the analog image signal (analog signal) amplified by the amplifier 23 into a digital image signal (digital signal), and the light is received by each pixel of the image sensor 22. Each pixel signal obtained in this way is converted into, for example, 12-bit pixel data.

制御部3は、各種制御プログラム等を記憶するROM、一時的にデータを格納するRAM及び制御プログラム(後述の画像処理プログラムを含む)等をROMから読み出して実行する中央演算処理装置(CPU)等からなり、デジタルカメラ1全体の動作制御を司るものである。制御部3は、撮像センサ22等の装置各部からの各種信号に基づき装置各部が必要とする制御パラメータ等を算出し、これに基づいて覆い焼き処理部61等の装置各部の動作を制御する。   The control unit 3 includes a ROM that stores various control programs, a RAM that temporarily stores data, a central processing unit (CPU) that reads and executes control programs (including image processing programs described later), and the like from the ROM. And controls the overall operation of the digital camera 1. The control unit 3 calculates control parameters and the like required by each unit of the device based on various signals from each unit of the device such as the image sensor 22, and controls the operation of each unit of the device such as the dodging processing unit 61 based on this.

画像メモリ4は、ROM(Read Only Memory)やRAM(Random Access Memory)等のメモリからなり、画像入力部2により入力された画像データ或いは画像処理部6において所定の画像処理が施された画像データ等を格納するものである。   The image memory 4 includes a memory such as a ROM (Read Only Memory) or a RAM (Random Access Memory). The image data input by the image input unit 2 or the image data subjected to predetermined image processing by the image processing unit 6. Etc. are stored.

ユーザI/F(インターフェース)部5は、ユーザからの各種の操作指示(コマンド)が入力される入力キーとして機能したり、或いは所定の情報を表示するものであり、モニタ部51及び操作部52を備えている。モニタ部51は、画像入力部2により入力された画像や画像メモリ4に保存された画像等、或いは所定の操作情報や設定情報等をモニタ表示するものであり、例えばカラー液晶表示素子からなる液晶表示器(LCD;Liquid Crystal Display)等からなる。操作部52は、デジタルカメラ1に対するユーザによる操作指示入力を行うものであり、レリーズスイッチ、撮影モード設定スイッチ或いはメニュー選択スイッチ等の各種スイッチ群(ボタン群)からなる。例えばレリーズスイッチが押下(オン)されることで、撮像動作、すなわち撮像センサ22により被写体光が撮像され、この撮像により得られた画像データに対して所要の画像処理が施された後、この画像データが画像メモリ4に記録されるといった一連の撮影動作が実行される。   The user I / F (interface) unit 5 functions as an input key for inputting various operation instructions (commands) from the user, or displays predetermined information. The monitor unit 51 and the operation unit 52 It has. The monitor unit 51 monitors and displays an image input by the image input unit 2, an image stored in the image memory 4, or predetermined operation information or setting information, for example, a liquid crystal display composed of a color liquid crystal display element. It consists of a display (LCD; Liquid Crystal Display). The operation unit 52 is used to input operation instructions to the digital camera 1 by a user, and includes various switch groups (button groups) such as a release switch, a shooting mode setting switch, and a menu selection switch. For example, when the release switch is pressed (turned on), the subject light is imaged by the imaging operation, that is, the imaging sensor 22, and the image data obtained by the imaging is subjected to necessary image processing, and then this image A series of photographing operations such as data being recorded in the image memory 4 are executed.

ところで、ユーザI/F部5は、例えば図6(a)、(b)に示すデジタルカメラ1の背面図のように、コントラスト補正量、彩度補正量及びシャープネス補正量といった画像処理に関する各パラメータ(画像処理パラメータという)を設定(入力)することが可能に構成されている。各画像処理パラメータは、例えば−2〜+2の5段階の調整が可能とされている。実際の入力動作としては、例えば操作部52によるボタン操作等によってモニタ画面上で選択フレーム511を所要の画像処理パラメータの位置まで移動させて(図6(a)参照)、補正しようとする画像処理パラメータを選択すなわちアクティブにした後(図6ではコントラストが選択されている)、ポインタ512をデフォルト位置(ここではゼロ)から、低輝度重視側である−2から高輝度重視側である+2の範囲における所要のレベル位置まで移動させる(図6(b)参照)ことで、各画像処理パラメータの補正量を設定する(図6(b)ではコントラスト補正量が「+2」のレベルに設定されている)。   By the way, the user I / F unit 5 uses various parameters relating to image processing such as contrast correction amount, saturation correction amount, and sharpness correction amount as shown in the rear view of the digital camera 1 shown in FIGS. It is possible to set (input) (referred to as an image processing parameter). Each image processing parameter can be adjusted in five stages, for example, -2 to +2. As an actual input operation, for example, the selected frame 511 is moved to the position of a required image processing parameter on the monitor screen by a button operation by the operation unit 52 (see FIG. 6A), and image processing to be corrected is performed. After selecting or activating the parameter (contrast is selected in FIG. 6), the pointer 512 is set from the default position (here, zero) to a range from -2 on the low luminance side to +2 on the high luminance side. Is moved to a required level position (see FIG. 6B) to set the correction amount of each image processing parameter (in FIG. 6B, the contrast correction amount is set to a level of “+2”). ).

画像処理部6は、画像入力部2により入力された撮影画像データ(A/D変換部24により得られたデジタル画像信号)に対する色補間処理や色補正処理、ホワイトバランス(WB)補正処理等の各種画像処理を行うものであり、特に本実施形態では、後述するように画像処理パラメータに応じた覆い焼き処理が行われる。なお、画像処理部6には、上記各機能部の他に、画像のシャープネスを補正するシャープネス補正部、画像信号の固定パターンノイズ(FPN;Fixed Pattern Noise)を除去するFPN補正部、或いは画像の黒レベルを基準の値に補正する黒基準補正部等(いずれも図示略)が備えられていてもよい。   The image processing unit 6 performs color interpolation processing, color correction processing, white balance (WB) correction processing, etc., on the captured image data (digital image signal obtained by the A / D conversion unit 24) input by the image input unit 2. Various image processes are performed. In particular, in the present embodiment, a dodging process according to an image processing parameter is performed as described later. In addition to the above functional units, the image processing unit 6 includes a sharpness correction unit that corrects image sharpness, an FPN correction unit that removes fixed pattern noise (FPN) of an image signal, or an image A black reference correction unit or the like (all not shown) for correcting the black level to a reference value may be provided.

ここで、上記画像処理パラメータに応じた覆い焼き処理方法について説明する。当該処理に関し、画像処理部6は覆い焼き処理部61を備えており、また、制御部3は画像処理パラメータ設定部31、覆い焼きパラメータ演算部32及び変換情報記憶部33を備えている。   Here, the dodging processing method according to the image processing parameter will be described. Regarding the processing, the image processing unit 6 includes a dodging processing unit 61, and the control unit 3 includes an image processing parameter setting unit 31, a dodging parameter calculation unit 32, and a conversion information storage unit 33.

覆い焼き処理部61は、画像入力部2から入力された画像すなわち撮像センサ22により撮像されて得られた画像(線形/対数画像、広DR画像);(基画像Iとする)に対する覆い焼き処理を行うものである。基画像Iは、所謂Retinex理論によれば、該基画像Iにおける照明成分(主に低周波成分からなる)を照明成分L、反射率成分(主に高周波成分からなる)を反射率成分Rとすると、以下の(1)式で表される。覆い焼き処理部61は、基画像Iに対してメディアンフィルタやイプシロン(ε)フィルタ等の所謂エッジ維持フィルタ(非線形フィルタ;照明抽出フィルタ)を適用することでこの照明成分Lを抽出する(照明成分Lが抽出されることで残りの成分が反射率成分Rとして抽出される)。
I=L*R ・・・(1)
但し、記号「*」は乗算を示す(以降同様)。
The dodging processing unit 61 performs the dodging processing on the image input from the image input unit 2, that is, the image obtained by the imaging sensor 22 (linear / logarithmic image, wide DR image); Is to do. According to the so-called Retinex theory, the base image I has an illumination component (mainly composed of low frequency components) in the base image I as an illumination component L and a reflectance component (mainly composed of high frequency components) as a reflectance component R. Then, it is expressed by the following equation (1). The dodging processing unit 61 extracts the illumination component L by applying a so-called edge maintenance filter (nonlinear filter; illumination extraction filter) such as a median filter or an epsilon (ε) filter to the base image I (illumination component). The remaining components are extracted as the reflectance component R by extracting L).
I = L * R (1)
However, the symbol “*” indicates multiplication (the same applies hereinafter).

したがって、覆い焼き処理は、基画像Iから照明成分L及び反射率成分Rを抽出し、これら各成分に対して所要の処理を施した後、当該処理後の照明成分L及び処理後の反射率成分Rを乗算して新たな画像(画像I’とする)を生成する処理(照明成分Lと反射率成分Rとを扱う処理)であるとも言える。ただし、必ずしも照明成分Lと反射率成分Rとに対して処理を行わなくともよく、例えば一方の照明成分Lに対してのみ処理(後述のDR圧縮)が施され、他方の反射率成分Rは抽出時そのままで、当該処理された照明成分L’と反射率成分Rとが乗算されて画像I’が生成されるような処理でもよい。   Therefore, in the dodging process, after the illumination component L and the reflectance component R are extracted from the base image I, and each of these components is subjected to necessary processing, the illumination component L after the processing and the reflectance after the processing are performed. It can also be said that this is a process of generating a new image (image I ′) by multiplying the component R (a process for handling the illumination component L and the reflectance component R). However, it is not always necessary to perform processing on the illumination component L and the reflectance component R. For example, processing (DR compression described later) is performed only on one illumination component L, and the other reflectance component R is A process in which the processed illumination component L ′ and the reflectance component R are multiplied and the image I ′ is generated as it is at the time of extraction may be used.

覆い焼き処理部61は、ユーザI/F部5から指示入力された画像処理パラメータ、すなわち本実施形態1では画像処理パラメータとしてのコントラスト補正量(コントラスト補正量(係数)Cntとする)に応じて、上記(1)式に示す照明成分L又は反射率成分Rに対する所定の処理に関する各パラメータ(覆い焼きパラメータという)を制御(設定)することで、基画像Iに対する覆い焼き処理を行う。実際の処理としては、以下で述べるように、コントラスト補正量に応じて反射率成分Rに関する覆い焼きパラメータを制御する場合(これを「コントラスト補正を反射率成分Rに反映する場合」と表現する)、或いはコントラスト補正量に応じて照明成分Lに関する覆い焼きパラメータを制御する場合(これを「コントラスト補正を照明成分Lに反映する場合」と表現する)がある。   The dodging processing unit 61 is responsive to the image processing parameter input from the user I / F unit 5, that is, the contrast correction amount (contrast correction amount (coefficient) Cnt) as the image processing parameter in the first embodiment. The dodging process for the base image I is performed by controlling (setting) each parameter (referred to as a dodging parameter) relating to the predetermined process for the illumination component L or the reflectance component R shown in the above equation (1). As actual processing, as described below, when the dodging parameter relating to the reflectance component R is controlled according to the contrast correction amount (this is expressed as “when contrast correction is reflected in the reflectance component R”). Alternatively, the dodging parameter related to the illumination component L may be controlled according to the contrast correction amount (this is expressed as “when contrast correction is reflected in the illumination component L”).

<コントラスト補正を反射率成分Rに反映する場合>
この場合、ユーザI/F部5から指示入力されたコントラスト補正量Cntに応じて、照明成分Lを抽出するための上記エッジ維持フィルタのフィルタサイズ(フィルタサイズSfとする)が変更され、このフィルタサイズSfが変更されることで反射率成分Rつまり基画像Iからの反射率成分Rの抽出量(或いは反射率成分Rの特性グラフの傾き;図示略)が変化し、さらに、反射率成分Rが変化することでコントラストが変化する。当該変化の方向としては、フィルタサイズSfはコントラスト補正量Cntの単調増加関数(直線的に増加せずともよく要は減少しなければよい)で与えられ、コントラスト補正量Cntを大きくすると、フィルタサイズSfが大きくなるように変更される。また、フィルタサイズSfが大きくなると反射率成分Rは大きくなり、反射率成分Rが大きくなるとコントラストも大きくなる。コントラスト補正量Cntを小さくする場合はこの逆に、フィルタサイズSf及び反射率成分Rが小さくなり、コントラストも小さくなる。なお、上記フィルタサイズとは、画像のフィルタ処理に際して何画素分の画素に対して平均処理を行うかといったことに関する当該複数画素で構成される画像サイズに相当するものであり、例えばフィルタサイズが10画素、20画素などと与えられる。
<When contrast correction is reflected in the reflectance component R>
In this case, the filter size of the edge maintenance filter for extracting the illumination component L (referred to as filter size Sf) is changed according to the contrast correction amount Cnt input from the user I / F unit 5, and this filter By changing the size Sf, the extraction amount of the reflectance component R, that is, the reflectance component R from the base image I (or the slope of the characteristic graph of the reflectance component R; not shown) is changed. The contrast changes by changing. As the direction of the change, the filter size Sf is given by a monotonically increasing function of the contrast correction amount Cnt (it does not need to increase linearly and need not decrease), and when the contrast correction amount Cnt is increased, the filter size It is changed so that Sf becomes large. Further, the reflectance component R increases as the filter size Sf increases, and the contrast increases as the reflectance component R increases. Conversely, when the contrast correction amount Cnt is decreased, the filter size Sf and the reflectance component R are decreased, and the contrast is also decreased. The filter size corresponds to an image size composed of a plurality of pixels related to the number of pixels to be averaged during image filtering. For example, the filter size is 10 Pixels, 20 pixels, etc.

上記動作・処理に関する構成例として、制御部3における画像処理パラメータ設定部31では、ユーザI/F部5から指示入力された画像処理パラメータ(ここではコントラスト補正量Cnt)の情報を受け付けて設定する。また、覆い焼きパラメータ演算部32では、画像処理パラメータ設定部31に設定されたコントラスト補正量Cntの情報に基づいて、上記照明成分Lを抽出するためのエッジ維持フィルタのフィルタサイズSf(覆い焼きパラメータ)を算出する。当該コントラスト補正量Cntに応じたフィルタサイズSfの算出は、例えば、コントラスト補正量CntとフィルタサイズSfとの関係が記述されたテーブル(LUT;ルックアップテーブル(これを第1LUTと表現する))を用いたデータ変換によって行う。覆い焼きパラメータ演算部32は、この算出したフィルタサイズSfの情報を覆い焼き処理部61に送信して該覆い焼き処理部61に設定する。覆い焼き処理部61は、当該設定されたフィルタサイズSfの情報を用いて覆い焼き処理を行う。なお、変換情報記憶部33には、上記第1LUT等のデータ変換情報が記憶されており、必要に応じて参照される。   As an example of the configuration related to the above-described operation / processing, the image processing parameter setting unit 31 in the control unit 3 receives and sets information on image processing parameters (here, contrast correction amount Cnt) input from the user I / F unit 5. . Further, the dodging parameter calculation unit 32 uses the filter size Sf (dodging parameter) of the edge maintaining filter for extracting the illumination component L based on the information of the contrast correction amount Cnt set in the image processing parameter setting unit 31. ) Is calculated. The filter size Sf corresponding to the contrast correction amount Cnt is calculated by, for example, using a table (LUT; lookup table (this is expressed as the first LUT)) describing the relationship between the contrast correction amount Cnt and the filter size Sf. This is done by the data conversion used. The dodging parameter calculation unit 32 transmits information of the calculated filter size Sf to the dodging processing unit 61 and sets the information in the dodging processing unit 61. The dodging processing unit 61 performs dodging processing using the information of the set filter size Sf. The conversion information storage unit 33 stores data conversion information such as the first LUT and is referred to as necessary.

一方、照明成分Lに対しては、覆い焼き処理部61において、上記コントラスト補正量Cntに関わらず、以下の(1)式に示す変換式を用いたDR圧縮が行われる。このDR圧縮によって、照明成分Lは照明成分L’に変換される。
L’=exp(log(L)*c)*n ・・・(1)
但し、「c」は圧縮率、「n」は正規化項である。
On the other hand, for the illumination component L, the dodging processing unit 61 performs DR compression using the conversion equation shown in the following equation (1) regardless of the contrast correction amount Cnt. By this DR compression, the illumination component L is converted into an illumination component L ′.
L ′ = exp (log (L) * c) * n (1)
However, “c” is a compression rate and “n” is a normalization term.

上記(1)式によるL’は、図3のように符号210で示す照明成分の圧縮特性(照明圧縮特性210)で表される。同図に示すように、照明圧縮特性210は、例えば、照明成分Lの所定レベルLd(例えば主被写体輝度Ld)に対する出力が適正輝度Od(例えば撮像センサ22による出力画像が0〜255階調を有する8ビット画像の場合で、128階調程度の出力値;階調値)となるような、すなわち主被写体画像例えば人物の顔が好適な明るさとなるような符号211で示す点A(Ld、Od)と、照明成分Lの上限値Lmaxに対する出力が出力最大値Omax(同じく例えば8ビット画像の場合で255階調の出力値)となる符号212で示す点B(Lmax、Omax)との2点を通過するものとして与えられる。したがって、上記(1)式の未知数である圧縮率c及び正規化項nは、これら2点の座標値をそれぞれ代入して得られる連立方程式から算出される。   L ′ in the above equation (1) is represented by the illumination component compression characteristic (illumination compression characteristic 210) indicated by reference numeral 210 as shown in FIG. As shown in the figure, the illumination compression characteristic 210 is such that, for example, the output of the illumination component L with respect to a predetermined level Ld (for example, the main subject luminance Ld) is an appropriate luminance Od (for example, the output image from the image sensor 22 has 0 to 255 gradations) In the case of an 8-bit image, a point A (Ld, which is denoted by reference numeral 211 such that an output value (gradation value) of about 128 gradations, that is, a main subject image such as a human face has a suitable brightness. Od) and a point B (Lmax, Omax) indicated by reference numeral 212 in which the output with respect to the upper limit value Lmax of the illumination component L becomes the output maximum value Omax (for example, an output value of 255 gradations in the case of an 8-bit image). Given as passing through a point. Therefore, the compression ratio c and the normalization term n, which are unknowns in the above equation (1), are calculated from simultaneous equations obtained by substituting the coordinate values of these two points, respectively.

上記Lmaxは、いずれの明るさまで覆い焼き処理を行うか、つまり圧縮する照明成分Lとしてどこまでの範囲を入れるかを決めるための所定の上限値として設定されるものであり、通常は、基画像I(広DR画像)のR、G、Bの輝度最大値が用いられるが、これに限らず、照明成分Lの最大値又はこの最大値のY%(コントラストを上げるためにLmaxを照明成分の最大値よりも小さい値に設定することもあり得る)、前記R、G、B輝度最大値のX%値、或いはユーザの指定する値等、任意な値が採用可能である。なお、このLmaxの情報は、予め固定値として変換情報記憶部33に記憶されていてもよいし、ユーザI/F部5からの指示入力等に基づいて画像処理パラメータ設定部31や覆い焼きパラメータ演算部32において設定(取得)又は算出されたものでもよい。制御部3は、このLmax情報を覆い焼き処理部61に送信して覆い焼き処理部61に設定し、覆い焼き処理部61ではこの設定されたLmax情報を用いた上記照明圧縮特性210に基づくDR圧縮を行う。   The above-mentioned Lmax is set as a predetermined upper limit value for determining to which brightness the dodging process is performed, that is, the range to be included as the illumination component L to be compressed. The maximum brightness values of R, G, and B of (wide DR image) are used, but not limited thereto, the maximum value of the illumination component L or Y% of the maximum value (Lmax is the maximum of the illumination component to increase the contrast) An arbitrary value such as the X% value of the R, G, and B luminance maximum values, or a value designated by the user can be adopted. The Lmax information may be stored in advance in the conversion information storage unit 33 as a fixed value, or the image processing parameter setting unit 31 or the dodging parameter based on an instruction input from the user I / F unit 5 or the like. It may be set (acquired) or calculated by the calculation unit 32. The control unit 3 transmits the Lmax information to the dodging processing unit 61 and sets the Lmax information in the dodging processing unit 61. The dodging processing unit 61 performs DR based on the illumination compression characteristic 210 using the set Lmax information. Perform compression.

上述の各処理が施された後、さらに覆い焼き処理部61において、コントラスト補正量Cntに応じて抽出量が変化した反射率成分Rと、DR圧縮された照明成分L’とから、以下の(2)式を用いて画像I’が生成(出力)される。
I’=L’*R ・・・(2)
なお、上記(2)式は、I’=L’/L*Iと考えてもよい。但し、記号「/」は除算を示す(以降同様)。
After the above-described processes are performed, in the dodging processing unit 61, from the reflectance component R whose extraction amount is changed according to the contrast correction amount Cnt and the DR-compressed illumination component L ′, the following ( 2) An image I ′ is generated (output) using the equation.
I '= L' * R (2)
The above formula (2) may be considered as I ′ = L ′ / L * I. The symbol “/” indicates division (the same applies hereinafter).

このように、先ずコントラスト補正量Cnt(コントラスト補正パラメータ;画像処理パラメータ)に応じてフィルタサイズSf(覆い焼きパラメータ)を決定することで、この決定したフィルタサイズSfに応じて反射率成分R(反射率成分の抽出量)が変化し、覆い焼き処理において、当該反射率成分Rの変化によりコントラストも変化する構成となるので、コントラスト補正パラメータの設定を覆い焼きパラメータの設定よりも優先させる、すなわちコントラスト補正処理を覆い焼き処理よりも優先させることができ、また、画像の低輝度/高輝度に関係なくコントラスト補正が可能となる(コントラスト強調を行っても従来のように高輝度のコントラストが低下しない)とともに、覆い焼き処理の主目的である明暗調整がなされた、特に上述したように照明圧縮特性が点Aを通るような低輝度部(主被写体)の明るさが適正に調整された良好な画像を得ることが可能となる。なお、この構成により、従来一般的にコントラスト補正が行われる階調変換部(コントラスト補正部)を備えることなく、覆い焼き処理部61における処理だけで済むため(覆い焼き処理においてコントラスト補正が可能となるため)、演算処理の高速化、及び装置の低コスト化を図ることができる。   In this manner, first, by determining the filter size Sf (dodging parameter) according to the contrast correction amount Cnt (contrast correction parameter; image processing parameter), the reflectance component R (reflection) is determined according to the determined filter size Sf. In the dodging process, the contrast also changes due to the change in the reflectance component R. Therefore, the contrast correction parameter setting has priority over the dodging parameter setting. The correction process can be prioritized over the dodging process, and contrast correction can be performed regardless of the low brightness / high brightness of the image (even if contrast enhancement is performed, the high brightness contrast is not lowered as in the past). ) And the lightness and darkness adjustment, which is the main purpose of the dodging process, Lighting compression characteristics as described above it is possible to obtain a good image brightness of the low-intensity portion (main subject) is properly adjusted, such as to pass through the point A. Note that this configuration eliminates the need for a gradation conversion unit (contrast correction unit) that generally performs contrast correction in the past, and only requires processing in the dodging processing unit 61 (contrast correction can be performed in the dodging processing). Therefore, it is possible to speed up the arithmetic processing and reduce the cost of the apparatus.

<コントラスト補正を照明成分Lに反映する場合>
この場合、ユーザI/F部5から指示入力されたコントラスト補正量Cntに応じて、照明成分Lに対する複数種類の照明圧縮特性を切り替えることで、コントラスト補正量Cntに応じた照明成分Lに関する覆い焼きパラメータの制御を行う。この複数種類の照明圧縮特性とは、例えば図4に示すような、低輝度重視(Cnt<0)の場合の符号310で示す、低、中輝度部の傾き(コントラスト)が大きい照明圧縮特性310、或いは高輝度重視(Cnt>0)の場合の符号320で示す、高輝度部の傾き(コントラスト)が大きい照明圧縮特性320等で与えられる。ただし、いずれの照明圧縮特性も上記と同様、例えば主被写体輝度Ldが適正な明るさ(適正輝度Od)となるような符号311で示す点Aを通過するものとすることが好ましい。ここでは、上記照明圧縮特性210と同様に符号312で示す点B(Lmax、Omax)も通るように設定している。なお、照明圧縮特性は、このように低輝度重視か高輝度重視かの場合に分けた2種類に限定されず、例えば−2〜+2の5段階に対応させるなど、さらに場合分けされた3種類以上としてもよい。
<When contrast correction is reflected in the illumination component L>
In this case, dodging for the illumination component L corresponding to the contrast correction amount Cnt is performed by switching a plurality of types of illumination compression characteristics for the illumination component L according to the contrast correction amount Cnt input from the user I / F unit 5. Control parameters. The plurality of types of illumination compression characteristics are, for example, as shown in FIG. 4, illumination compression characteristics 310 having a large slope (contrast) of the low and medium luminance portions, which is indicated by reference numeral 310 in the case of low luminance emphasis (Cnt <0). Alternatively, it is given by the illumination compression characteristic 320 or the like having a large inclination (contrast) of the high luminance portion, indicated by reference numeral 320 when high luminance is emphasized (Cnt> 0). However, it is preferable that all the illumination compression characteristics pass the point A indicated by reference numeral 311 such that the main subject brightness Ld becomes appropriate brightness (appropriate brightness Od), for example. Here, similarly to the illumination compression characteristic 210, a point B (Lmax, Omax) indicated by reference numeral 312 is also set to pass. Note that the illumination compression characteristics are not limited to the two types divided in the case of emphasizing the low luminance or the high luminance in this way, and are further classified into three types, for example, corresponding to five levels of −2 to +2. It is good also as above.

ここでの具体的な動作・処理として、例えば図2に示す制御部3の画像処理パラメータ設定部31は、ユーザI/F部5から指示入力されたコントラスト補正量Cntの情報を受け付けて設定し、覆い焼きパラメータ演算部32は、当該設定された或るコントラスト補正量Cntに対応する照明圧縮特性(後述の第2LUT)を選択するとともに、この選択した照明圧縮特性の情報を覆い焼き処理部61に送信して設定する。覆い焼き処理部61では、基画像Iから照明成分Lを抽出するとともに、抽出した照明成分Lに対し、当該選択された照明圧縮特性を用いて以下の(3)式に示す変換式によるDR圧縮を行う。
L’=LUT(L) ・・・(3)
As a specific operation / process here, for example, the image processing parameter setting unit 31 of the control unit 3 shown in FIG. 2 receives and sets the information of the contrast correction amount Cnt input from the user I / F unit 5. The dodging parameter calculation unit 32 selects an illumination compression characteristic (second LUT described later) corresponding to the set contrast correction amount Cnt, and information on the selected illumination compression characteristic is applied to the dodging processing unit 61. Send to and set. The dodging processing unit 61 extracts the illumination component L from the base image I, and uses the selected illumination compression characteristic for the extracted illumination component L to perform DR compression by the conversion equation shown in the following equation (3). I do.
L ′ = LUT (L) (3)

ただし、上記(3)式中の“LUT”は、上記複数種類の照明圧縮特性のうちの1つの 照明圧縮特性が記述されたテーブル(LUT;これを第2LUTと表現する)を示している。この第2LUTの情報は上述のように制御部3から受け取る。この場合、変換情報記憶部33には、複数種類の照明圧縮特性に対応する複数の第2LUTが記憶されており、覆い焼きパラメータ演算部32によって、所定のコントラスト補正量Cntに対応する第2LUTが選択されて(読み出されて)覆い焼き処理部61に送信される。なお、ここでは、覆い焼き処理部61は、照明成分Lを抽出するに際して用いるフィルタサイズSfの情報を制御部3(覆い焼きパラメータ演算部32)から受け取る。この場合のフィルタサイズSfは、コントラスト補正量Cntとは関係のない、予め設定された所定値(任意の値でよい)として与えられる。   However, “LUT” in the equation (3) indicates a table (LUT; this is expressed as a second LUT) in which one of the plurality of types of illumination compression characteristics is described. Information on the second LUT is received from the control unit 3 as described above. In this case, the conversion information storage unit 33 stores a plurality of second LUTs corresponding to a plurality of types of illumination compression characteristics, and the dodging parameter calculation unit 32 determines the second LUT corresponding to the predetermined contrast correction amount Cnt. It is selected (read out) and transmitted to the dodging processor 61. Here, the dodging processing unit 61 receives information on the filter size Sf used when extracting the illumination component L from the control unit 3 (the dodging parameter calculation unit 32). The filter size Sf in this case is given as a predetermined value (which may be an arbitrary value) that is not related to the contrast correction amount Cnt.

一方、反射率成分Rについては、コントラスト補正量Cntに関わらず、上記予め設定された所定値としてのフィルタサイズSfに応じて基画像Iから抽出された反射率成分R(実際には、このフィルタサイズSfに応じて照明成分Lが抽出され、結果として残りの反射率成分R抽出量が決まる)が用いられる。   On the other hand, for the reflectance component R, regardless of the contrast correction amount Cnt, the reflectance component R extracted from the base image I according to the preset filter size Sf as the predetermined value (in practice, this filter The illumination component L is extracted according to the size Sf, and the remaining reflectance component R extraction amount is determined as a result).

上述の各処理が施された後、覆い焼き処理部61において、上記と同様、以下の(4)式により、照明成分L’と反射率成分Rとから画像I’が生成(出力)される。
I’=L’*R ・・・(4)
但し、この(4)式におけるL’は、上記(3)式のL’を示している。この場合も(4)式はI’=L’/L*Iと考えてもよい。
After the above-described processes are performed, the dodging processing unit 61 generates (outputs) an image I ′ from the illumination component L ′ and the reflectance component R according to the following equation (4), as described above. .
I '= L' * R (4)
However, L ′ in the equation (4) indicates L ′ in the equation (3). In this case as well, equation (4) may be considered as I ′ = L ′ / L * I.

このように、コントラスト補正量Cntに応じて、覆い焼き処理における照明圧縮特性を変化させることができるので、コントラスト補正パラメータ(コントラスト補正量)に応じて覆い焼きパラメータを制御することができ、すなわちコントラスト補正を覆い焼き処理よりも優先して行うことができ、また、覆い焼き処理部61での処理においてコントラスト補正が可能となるとともに、覆い焼き処理の主目的である明暗調整がなされた、特に上述したように照明圧縮特性が点Aを通るような低輝度部(主被写体)の明るさが適正に調整された良好な画像を得ることが可能となる。なお、この構成により、従来一般的にコントラスト補正が行われる階調変換部を備えることなく、覆い焼き処理部61における覆い焼き処理だけで済むため、演算処理の高速化、及び装置の低コスト化を図ることができる。   Thus, since the illumination compression characteristic in the dodging process can be changed according to the contrast correction amount Cnt, the dodging parameter can be controlled according to the contrast correction parameter (contrast correction amount), that is, the contrast. The correction can be performed in preference to the dodging process, and contrast correction can be performed in the process in the dodging processing unit 61, and the light and dark adjustments, which are the main purpose of the dodging process, are performed. As described above, it is possible to obtain a good image in which the brightness of the low luminance part (main subject) whose illumination compression characteristic passes through the point A is appropriately adjusted. With this configuration, since only a dodging process in the dodging processing unit 61 is required without providing a gradation conversion unit that generally performs contrast correction in the past, the calculation processing speed is increased and the cost of the apparatus is reduced. Can be achieved.

図5は、第1の実施形態におけるデジタルカメラ1による画像処理パラメータに応じた覆い焼き処理に関する動作の一例を示すフローチャートである。先ず、画像処理パラメータ設定部31によって、ユーザI/F部5から指示入力されたコントラスト補正量Cnt(画像処理パラメータ)の情報が設定される(ステップS1)。レリーズスイッチが押下されるなどして撮像センサ22によって撮影画像が取得され、この撮影画像データが制御部3に入力される(例えば画像メモリ4に保存される)(ステップS2)。次に、画像処理パラメータ設定部31に設定されたコントラスト補正量Cntの情報に応じて、制御部3(覆い焼きパラメータ演算部32)によって覆い焼きパラメータ(例えばフィルタサイズSf、第2LUT)が算出(選択)されるとともに、覆い焼き処理部61に当該覆い焼きパラメータが設定される(ステップS3)。そして、覆い焼き処理部61によって、当該設定された覆い焼きパラメータに基づいて、覆い焼き処理(基画像Iから照明成分Lを抽出してこれにDR圧縮を行い、照明成分L’と反射率成分Rとから新たな画像I’を生成する処理)が行われ(ステップS4)、この覆い焼き処理により得られた画像データ(画像I’)が画像メモリ4に記憶される(ステップS5)。   FIG. 5 is a flowchart illustrating an example of an operation related to dodging processing according to image processing parameters by the digital camera 1 in the first embodiment. First, the information of the contrast correction amount Cnt (image processing parameter) input by the user I / F unit 5 is set by the image processing parameter setting unit 31 (step S1). A captured image is acquired by the imaging sensor 22 by pressing the release switch or the like, and this captured image data is input to the control unit 3 (for example, stored in the image memory 4) (step S2). Next, the dodging parameters (for example, filter size Sf, second LUT) are calculated by the control unit 3 (the dodging parameter calculation unit 32) according to the information of the contrast correction amount Cnt set in the image processing parameter setting unit 31 ( And the dodging parameters are set in the dodging processing unit 61 (step S3). Then, the dodging processing unit 61 performs dodging processing (extracts the illumination component L from the base image I and performs DR compression on the dodging processing based on the set dodging parameter, and the illumination component L ′ and the reflectance component. A process of generating a new image I ′ from R) is performed (step S4), and image data (image I ′) obtained by the dodging process is stored in the image memory 4 (step S5).

(実施形態2)
上記第1の実施形態では、コントラスト補正量に応じて覆い焼きパラメータを制御する場合について説明したが、第2の実施形態では、彩度補正量に応じて覆い焼きパラメータを制御する場合について説明する。本実施形態におけるデジタルカメラのブロック構成は図1、図2と同じであり、ユーザI/F部5により指示入力された画像処理パラメータとしての彩度補正量(彩度補正量(係数)Chとする)の情報に基づいて、覆い焼き処理部61(及び制御部3)による覆い焼き処理が行われる。
(Embodiment 2)
Although the case where the dodging parameter is controlled according to the contrast correction amount has been described in the first embodiment, the case where the dodging parameter is controlled according to the saturation correction amount is described in the second embodiment. . The block configuration of the digital camera in the present embodiment is the same as in FIGS. 1 and 2, and the saturation correction amount (saturation correction amount (coefficient) Ch) as the image processing parameter input by the user I / F unit 5 is designated. The dodging process is performed by the dodging processing unit 61 (and the control unit 3).

ここでの具体的な動作・処理として、例えば制御部3の画像処理パラメータ設定部31は、ユーザI/F部5から指示入力された彩度補正量Chの情報を受け付けて設定し、覆い焼きパラメータ演算部32は、画像処理パラメータ設定部31に設定された彩度補正量Chに応じて上記照明成分Lの上限値Lmax(図3に示すLmax)を変更する、つまり彩度補正量Chに応じたLmax値を算出する。ただし、Lmaxは、彩度補正量Chの単調増加関数で与えられる。一般的に、DR圧縮の圧縮率(上記圧縮率cに相当)と彩度とは比例関係にあることから、Lmaxが大きいほど圧縮率が高くなり、これによって彩度が高くなる。制御部3は、当該Lmax情報を覆い焼き処理部61に送信して該覆い焼き処理部61に設定し、覆い焼き処理部61は、例えば所定のフィルタサイズSf(彩度補正量Chと関係なく予め設定されたフィルタサイズ値)を有するエッジ維持フィルタにより基画像Iから抽出した照明成分Lに対して、このLmax情報を用いて、上記(1)式に示す変換式(照明圧縮特性210)に基づくDR圧縮を行う。   As a specific operation / process here, for example, the image processing parameter setting unit 31 of the control unit 3 receives and sets information on the saturation correction amount Ch input from the user I / F unit 5 and performs dodging. The parameter calculation unit 32 changes the upper limit value Lmax (Lmax shown in FIG. 3) of the illumination component L according to the saturation correction amount Ch set in the image processing parameter setting unit 31, that is, the saturation correction amount Ch. The corresponding Lmax value is calculated. However, Lmax is given by a monotonically increasing function of the saturation correction amount Ch. In general, since the compression rate of DR compression (corresponding to the compression rate c) and the saturation are in a proportional relationship, the greater the Lmax, the higher the compression rate, and the higher the saturation. The control unit 3 transmits the Lmax information to the dodging processing unit 61 and sets the Lmax information in the dodging processing unit 61. The dodging processing unit 61, for example, has a predetermined filter size Sf (regardless of the saturation correction amount Ch). With respect to the illumination component L extracted from the base image I by the edge maintaining filter having a preset filter size value), this Lmax information is used to convert to the conversion equation (illumination compression characteristic 210) shown in the above equation (1). Based on DR compression.

上記覆い焼きパラメータ演算部32による彩度補正量Chに応じたLmax値の算出は、例えば彩度補正量ChとLmaxとの関係が記述されたテーブル(LUT;これを第3LUTと表現する)を用いたデータ変換により行ってもよく、この場合、変換情報記憶部33に第3LUTが記憶されていてもよい。また、このLmaxは、彩度補正量Chに応じて好適な彩度の画像が得られるような任意な値が設定可能である。   The calculation of the Lmax value according to the saturation correction amount Ch by the dodging parameter calculation unit 32 is performed by, for example, a table (LUT; this is expressed as a third LUT) in which the relationship between the saturation correction amount Ch and Lmax is described. The conversion may be performed by the data conversion used, and in this case, the third LUT may be stored in the conversion information storage unit 33. Further, this Lmax can be set to an arbitrary value such that an image with suitable saturation can be obtained according to the saturation correction amount Ch.

一方、反射率成分Rについては、彩度補正量Chに関わらず、上記所定のフィルタサイズSfに応じて基画像Iから抽出された反射率成分R(実際には、このフィルタサイズSfに応じて照明成分Lが抽出され、結果として残りの反射率成分R抽出量が決まる)が用いられる。   On the other hand, for the reflectance component R, regardless of the saturation correction amount Ch, the reflectance component R extracted from the base image I according to the predetermined filter size Sf (in practice, according to the filter size Sf). The illumination component L is extracted, and as a result, the remaining reflectance component R extraction amount is determined).

なお、本実施形態の場合も上記と同様、図7(a)に示すように、操作部52によるボタン操作等によってモニタ画面上で選択フレーム511を“彩度”の位置まで移動させて彩度補正量の画像処理パラメータを選択し、図7(b)に示すように、ポインタ512をデフォルト位置から、低輝度重視側である−2から高輝度重視側である+2の範囲における所要のレベル位置まで移動させて(図7(b)では彩度補正量が「−1」のレベルに設定されている)、彩度補正量Chの指示入力を行う。   In the case of the present embodiment as well, as described above, as shown in FIG. 7A, the selected frame 511 is moved to the “saturation” position on the monitor screen by a button operation by the operation unit 52 or the like. As shown in FIG. 7B, a correction level image processing parameter is selected, and as shown in FIG. 7B, a required level position in the range from −2 on the low-luminance emphasis side to +2 on the low-luminance emphasis side from the default position. (In FIG. 7B, the saturation correction amount is set to a level of “−1”), and an instruction input of the saturation correction amount Ch is performed.

上述の各処理が施された後、覆い焼き処理部61において、彩度補正量Chに応じて変更されたLmaxが反映された照明圧縮特性に基づいて照明成分LがDR圧縮されてなる照明成分L’と、反射率成分Rとから、同様に上記(2)式によって新たな画像I’が生成(出力)される。   After the above-described processes are performed, the dodging processing unit 61 performs the DR compression of the illumination component L based on the illumination compression characteristic in which Lmax changed according to the saturation correction amount Ch is reflected. Similarly, a new image I ′ is generated (output) from L ′ and the reflectance component R by the above equation (2).

このように、彩度補正量Ch(彩度補正パラメータ;画像処理パラメータ)に応じて、覆い焼き処理における照明圧縮特性(圧縮率;覆い焼きパラメータ)を変化させることができる構成であるので、彩度補正パラメータの設定を覆い焼きパラメータの設定よりも優先させる、すなわち彩度補正処理を覆い焼き処理よりも優先させることができ、また、覆い焼き処理部61での処理において彩度補正が可能となるとともに、覆い焼き処理の主目的である明暗調整がなされた、特に上述したように照明圧縮特性が点Aを通るような低輝度部(主被写体)の明るさが適正に調整された良好な画像を得ることが可能となる。なお、この構成により、彩度補正部を備えることなく、覆い焼き処理部61における覆い焼き処理だけで済むため、演算処理の高速化、及び装置の低コスト化を図ることができる。   Thus, the illumination compression characteristic (compression rate: dodging parameter) in the dodging process can be changed according to the saturation correction amount Ch (saturation correction parameter; image processing parameter). The setting of the degree correction parameter can be prioritized over the setting of the dodging parameter, that is, the saturation correction process can be given priority over the dodging process, and the saturation correction can be performed in the dodging processing unit 61. In addition, the brightness adjustment which is the main purpose of the dodging process has been performed, and particularly, as described above, the brightness of the low luminance part (main subject) where the illumination compression characteristic passes through the point A is appropriately adjusted. An image can be obtained. With this configuration, since only the dodging processing in the dodging processing unit 61 is required without providing a saturation correction unit, it is possible to increase the speed of arithmetic processing and reduce the cost of the apparatus.

第2の実施形態における画像処理パラメータに応じた覆い焼き処理に関する動作フローは、図5に示すフローチャートと同様、先ず、画像処理パラメータ設定部31によって、ユーザI/F部5から指示入力された彩度補正量Ch(画像処理パラメータ)の情報が設定される(ステップS11)。レリーズスイッチが押下されるなどして撮像センサ22によって撮影画像が取得され、この撮影画像データが制御部3に入力される(例えば画像メモリ4に保存される)(ステップS12)。次に、画像処理パラメータ設定部31に設定された彩度補正量Chの情報に応じて、制御部3によって覆い焼きパラメータ(例えばLmax値)が算出されるとともに、覆い焼き処理部61に当該覆い焼きパラメータが設定される(ステップS13)。そして、覆い焼き処理部61によって、当該設定された覆い焼きパラメータに基づいて、覆い焼き処理(基画像Iから照明成分Lを抽出してこれにDR圧縮を行い、照明成分L’と反射率成分Rとから新たな画像I’を生成する処理)が行われ(ステップS14)、この覆い焼き処理により得られた画像データ(画像I’)が画像メモリ4に記憶される(ステップS15)。   The operation flow related to the dodging process according to the image processing parameter in the second embodiment is similar to the flowchart shown in FIG. 5, first, the color inputted by the image processing parameter setting unit 31 from the user I / F unit 5 is instructed. Information on degree correction amount Ch (image processing parameter) is set (step S11). A captured image is acquired by the image sensor 22 by pressing the release switch, and the captured image data is input to the control unit 3 (for example, stored in the image memory 4) (step S12). Next, the dodging parameter (for example, Lmax value) is calculated by the control unit 3 according to the information of the saturation correction amount Ch set in the image processing parameter setting unit 31, and the dodging processing unit 61 performs the covering. A baking parameter is set (step S13). Then, the dodging processing unit 61 performs dodging processing (extracts the illumination component L from the base image I and performs DR compression on the dodging processing based on the set dodging parameter, and the illumination component L ′ and the reflectance component. A process of generating a new image I ′ from R) is performed (step S14), and image data (image I ′) obtained by the dodging process is stored in the image memory 4 (step S15).

以上のように、第1及び第2の実施形態に係る撮像装置(デジタルカメラ1)によれば、画像入力部2或いは撮像センサ22(画像取得手段)によって画像が取得され、覆い焼き処理部61(覆い焼き処理手段)によって画像に対する覆い焼き処理が行われ、制御部3すなわち覆い焼きパラメータ演算部32(覆い焼きパラメータ設定手段)によって覆い焼き処理に関する覆い焼きパラメータが設定される。そして、覆い焼きパラメータを第1の画像処理パラメータとすると、覆い焼きパラメータ演算部32によって第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータが決定され、覆い焼き処理部61によって、覆い焼きパラメータ演算部32により決定された覆い焼きパラメータに基づいて覆い焼き処理が行われる。   As described above, according to the imaging device (digital camera 1) according to the first and second embodiments, an image is acquired by the image input unit 2 or the imaging sensor 22 (image acquisition unit), and the dodging processing unit 61 is obtained. The dodging process is performed on the image by the (dodging processing unit), and the dodging parameter related to the dodging process is set by the control unit 3, that is, the dodging parameter calculation unit 32 (dodging parameter setting unit). If the dodging parameter is the first image processing parameter, the dodging parameter calculation unit 32 determines the dodging parameter based on a predetermined second image processing parameter other than the first image processing parameter, and the dodging parameter is calculated. The processing unit 61 performs a dodging process based on the dodging parameter determined by the dodging parameter calculation unit 32.

これによれば、覆い焼きパラメータ演算部32によって第2の画像処理パラメータに基づいて覆い焼きパラメータが決定され、覆い焼き処理部61によって、覆い焼きパラメータ演算部32により決定された覆い焼きパラメータに基づいて覆い焼き処理が行われる構成であるので、第2の画像処理パラメータによる画像処理例えばコントラスト補正処理(階調変換処理)や彩度補正処理を優先して行いつつ覆い焼き処理も行うことができる、すなわち所要のコントラストや彩度等が得られるようにこれらが優先して調整され、且つ、覆い焼き処理によって明暗調整もなされた良好(高画質)な画像を得ることができる。   According to this, the dodging parameter calculation unit 32 determines the dodging parameter based on the second image processing parameter, and the dodging processing unit 61 determines based on the dodging parameter determined by the dodging parameter calculation unit 32. Therefore, the dodging process can be performed while giving priority to the image processing based on the second image processing parameter, for example, the contrast correction process (gradation conversion process) and the saturation correction process. That is, it is possible to obtain a good (high quality) image in which these are preferentially adjusted so as to obtain required contrast, saturation, and the like, and light and dark adjustments are made by dodging processing.

また、ユーザI/F部5(コントラスト補正量入力手段)によって画像に対するコントラスト補正処理に関するコントラスト補正量Cntが入力され、上記第2の画像処理パラメータがコントラスト補正量Cntとされ、覆い焼きパラメータ演算部32によって、ユーザI/F部5により入力されたコントラスト補正量に基づいて覆い焼きパラメータ(例えば後述のフィルタサイズSf)が決定される。   Further, the user I / F unit 5 (contrast correction amount input means) inputs a contrast correction amount Cnt related to the contrast correction processing for the image, the second image processing parameter is set as the contrast correction amount Cnt, and a dodging parameter calculation unit. 32, a dodging parameter (for example, a filter size Sf described later) is determined based on the contrast correction amount input by the user I / F unit 5.

これによれば、覆い焼きパラメータ演算部32によって、ユーザI/F部5により入力されたコントラスト補正量に基づいて覆い焼きパラメータが決定される構成であるので、コントラスト補正量に基づくコントラスト補正処理(階調変換処理)を優先して行いつつ覆い焼き処理も行うことができる、すなわち所要のコントラストが得られるようにコントラストが優先して調整され、且つ、覆い焼き処理によって明暗調整もなされた良好な画像を得ることができる。   According to this, since the dodging parameter calculation unit 32 determines the dodging parameter based on the contrast correction amount input by the user I / F unit 5, the contrast correction processing based on the contrast correction amount ( The dodging process can be performed while giving priority to the tone conversion process, that is, the contrast is preferentially adjusted so as to obtain the required contrast, and the brightness is adjusted by the dodging process. An image can be obtained.

また、覆い焼き処理において、基画像Iから抽出された照明成分Lが圧縮され、該圧縮された照明成分L’と画像から抽出された反射率成分Rとから新たな画像I’が生成される。また、覆い焼きパラメータが、基画像Iから照明成分を抽出するフィルタ(例えばエッジ維持フィルタ)のサイズ(フィルタサイズSf)とされ、該サイズがコントラスト補正量に応じて異なるサイズとされる。   In the dodging process, the illumination component L extracted from the base image I is compressed, and a new image I ′ is generated from the compressed illumination component L ′ and the reflectance component R extracted from the image. . Also, the dodging parameter is the size (filter size Sf) of the filter (for example, edge maintaining filter) that extracts the illumination component from the base image I, and the size is different depending on the contrast correction amount.

これによれば、覆い焼きパラメータとしてのフィルタサイズSfがコントラスト補正量に応じて異なるサイズとされることから、フィルタサイズSfをコントラスト補正量に応じて変更することができる。当該フィルタサイズSfが変更されることで反射率成分Rの抽出量が変化し、反射率成分Rの抽出量が変化することでコントラストが変化するため、低輝度/高輝度に関係なくコントラスト補正を行うことが可能となる(コントラスト強調を行っても従来のように高輝度のコントラストが低下しない)。また、覆い焼き処理部61による覆い焼き処理によってコントラスト補正が可能となり(覆い焼き処理部61によって覆い焼き処理とコントラスト補正とを同時に行うことができ)、従来のコントラスト補正手段を別途備える必要がないことから、処理の高速化、装置の低コスト化(簡略化)を図ることができる。   According to this, since the filter size Sf as the dodging parameter is a different size according to the contrast correction amount, the filter size Sf can be changed according to the contrast correction amount. Since the extraction amount of the reflectance component R is changed by changing the filter size Sf, and the contrast is changed by changing the extraction amount of the reflectance component R, contrast correction is performed regardless of low luminance / high luminance. (Contrast emphasis does not reduce high-brightness contrast as in the prior art). Further, the contrast correction can be performed by the dodging processing by the dodging processing unit 61 (the dodging processing and the contrast correction can be performed simultaneously by the dodging processing unit 61), and it is not necessary to separately provide a conventional contrast correction unit. Therefore, it is possible to increase the processing speed and reduce the cost (simplification) of the apparatus.

また、覆い焼きパラメータが照明成分Lの圧縮特性とされ、該圧縮特性がコントラスト補正量に応じて異なる圧縮特性(照明圧縮特性310、320)とされる。これによれば、覆い焼きパラメータとしての圧縮特性がコントラスト補正量に応じて異なる圧縮特性とされることから、当該圧縮特性をコントラスト補正量に応じて変更することができ、すなわち、コントラスト補正量に応じて圧縮特性を変更して所要のコントラストが得られるように照明成分を圧縮することができるため、覆い焼き処理部61による覆い焼き処理によってコントラスト補正が可能となり(覆い焼き処理部61によって覆い焼き処理とコントラスト補正とを同時に行うことができ)、従来のコントラスト補正手段を別途備える必要がないことから、処理の高速化、装置の低コスト化(簡略化)を図ることができる。   Also, the dodging parameter is the compression characteristic of the illumination component L, and the compression characteristic is a compression characteristic (illumination compression characteristic 310, 320) that varies depending on the contrast correction amount. According to this, since the compression characteristics as the dodging parameters are different compression characteristics according to the contrast correction amount, the compression characteristics can be changed according to the contrast correction amount, that is, the contrast correction amount. Accordingly, the illumination component can be compressed so that the required contrast can be obtained by changing the compression characteristics, so that the contrast correction can be performed by the dodging processing by the dodging processing unit 61 (the dodging processing unit 61 performs the dodging process). The processing and the contrast correction can be performed at the same time, and it is not necessary to separately provide the conventional contrast correction means, so that the processing speed can be increased and the cost of the apparatus can be reduced (simplified).

また、ユーザI/F部5(彩度補正量入力手段)によって、画像に対する彩度補正処理に関する彩度補正量Chが入力され、上記第2の画像処理パラメータが彩度補正量Chとされ、覆い焼きパラメータ演算部32(覆い焼きパラメータ設定手段)によって、ユーザI/F部5により入力された彩度補正量に基づいて覆い焼きパラメータが決定される。   Further, the user I / F unit 5 (saturation correction amount input means) inputs a saturation correction amount Ch related to the saturation correction processing for the image, and the second image processing parameter is set as the saturation correction amount Ch. A dodging parameter is determined based on the saturation correction amount input by the user I / F unit 5 by the dodging parameter calculation unit 32 (dodging parameter setting means).

これによれば、覆い焼きパラメータ演算部32によって、ユーザI/F部5により入力された彩度補正量に基づいて覆い焼きパラメータが決定される構成であるので、彩度補正量に基づく彩度補正処理を優先して行いつつ覆い焼き処理も行うことができる、すなわち所要の彩度が得られるように彩度が優先して調整され、且つ、覆い焼き処理によって明暗調整もなされた良好な画像を得ることができる。   According to this, since the dodging parameter calculation unit 32 determines the dodging parameter based on the saturation correction amount input by the user I / F unit 5, the saturation based on the saturation correction amount is determined. The dodging process can be performed while giving priority to the correction process, that is, a good image in which the saturation is prioritized to obtain the required saturation and the brightness is adjusted by the dodging process. Can be obtained.

また、覆い焼きパラメータが照明成分Lの圧縮における圧縮輝度範囲の所定の上限値(図3に示すLmax)とされ、該上限値が彩度補正量に応じて異なる値とされる。これによれば、覆い焼きパラメータとしての圧縮輝度範囲の所定の上限値Lmaxが彩度補正量に応じて異なる値とされることから、圧縮輝度範囲の所定の上限値を彩度補正量に応じて変更することができる。当該上限値が変更されることで照明成分の圧縮率cが変化し、照明成分の圧縮率が変化することで彩度が変化するため、覆い焼き処理部61による覆い焼き処理によって彩度補正が可能となり(覆い焼き処理部61によって覆い焼き処理と彩度補正とを同時に行うことができ)、従来の彩度補正手段を別途備える必要がないことから、処理の高速化、装置の低コスト化(簡略化)を図ることができる。   Further, the dodging parameter is set to a predetermined upper limit value (Lmax shown in FIG. 3) of the compression luminance range in the compression of the illumination component L, and the upper limit value is set to a different value according to the saturation correction amount. According to this, since the predetermined upper limit value Lmax of the compressed luminance range as the dodging parameter is set to a different value according to the saturation correction amount, the predetermined upper limit value of the compressed luminance range is set according to the saturation correction amount. Can be changed. When the upper limit value is changed, the compression rate c of the illumination component changes, and the saturation changes when the compression rate of the illumination component changes. Therefore, saturation correction is performed by dodging processing by the dodging processing unit 61. (Dodge processing and saturation correction can be performed at the same time by the dodging processing unit 61), and it is not necessary to provide a conventional saturation correction means separately, so that the processing speed is increased and the cost of the apparatus is reduced. (Simplification) can be achieved.

また、第1及び第2の実施形態に係る画像処理方法によれば、覆い焼き処理段階において、画像データに対して覆い焼き処理が行われ、覆い焼きパラメータ設定段階において、覆い焼き処理に関する覆い焼きパラメータが設定される。覆い焼きパラメータを第1の画像処理パラメータとしたとき、覆い焼きパラメータ設定段階において、第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータが決定され、覆い焼き処理段階において、覆い焼きパラメータ設定段階で決定された覆い焼きパラメータに基づいて覆い焼き処理が行われる。   Further, according to the image processing methods according to the first and second embodiments, dodging processing is performed on image data in the dodging processing stage, and dodging processing related to the dodging processing is performed in the dodging parameter setting stage. The parameter is set. When the dodging parameter is the first image processing parameter, the dodging parameter is determined based on a predetermined second image processing parameter other than the first image processing parameter in the dodging parameter setting stage, and the dodging process is performed. In the stage, dodging processing is performed based on the dodging parameter determined in the dodging parameter setting stage.

これによれば、覆い焼きパラメータ設定段階において、第2の画像処理パラメータに基づいて覆い焼きパラメータが決定され、覆い焼き処理段階において、覆い焼きパラメータ設定段階で決定された覆い焼きパラメータに基づいて覆い焼き処理が行われる構成であるので、第2の画像処理パラメータによる画像処理例えばコントラスト補正処理(階調変換処理)や彩度補正処理を優先して行いつつ覆い焼き処理も行うことができる、すなわち所要のコントラストや彩度等が得られるようにこれらが優先して調整され、且つ、覆い焼き処理によって明暗調整もなされた良好(高画質)な画像を得ることができる。   According to this, the dodging parameter is determined based on the second image processing parameter in the dodging parameter setting stage, and the dodging parameter is determined based on the dodging parameter determined in the dodging parameter setting stage in the dodging process stage. Since the burning process is performed, the dodging process can be performed while giving priority to the image process based on the second image processing parameter, for example, the contrast correction process (gradation conversion process) and the saturation correction process. It is possible to obtain a good (high quality) image in which these are preferentially adjusted so as to obtain required contrast, saturation, and the like, and brightness adjustment is also performed by dodging processing.

また、第1及び第2の実施形態に係る画像処理プログラムによれば、画像データに対する覆い焼き処理に関する覆い焼きパラメータを第1の画像処理パラメータとしたとき、該第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータを決定する第1の手順と、該第1の手順で決定された覆い焼きパラメータに基づいて覆い焼き処理を行う第2の手順とがコンピュータによって実行される。   Further, according to the image processing program according to the first and second embodiments, when the dodging parameter related to the dodging process for the image data is the first image processing parameter, a predetermined parameter other than the first image processing parameter is set. A first procedure for determining the dodging parameter based on the second image processing parameter and a second procedure for performing the dodging process based on the dodging parameter determined in the first procedure are performed by the computer. Executed.

これによれば、第1の手順において、第2の画像処理パラメータに基づいて覆い焼きパラメータが決定され、第2の手順において、第1の手順で決定された覆い焼きパラメータに基づいて覆い焼き処理が行われる構成であるので、第2の画像処理パラメータによる画像処理例えばコントラスト補正処理(階調変換処理)や彩度補正処理を優先して行いつつ覆い焼き処理も行うことができる、すなわち所要のコントラストや彩度等が得られるようにこれらが優先して調整され、且つ、覆い焼き処理によって明暗調整もなされた良好(高画質)な画像を得ることができる。   According to this, the dodging parameter is determined based on the second image processing parameter in the first procedure, and the dodging process is performed based on the dodging parameter determined in the first procedure in the second procedure. Therefore, dodging processing can be performed while giving priority to image processing based on the second image processing parameter, for example, contrast correction processing (gradation conversion processing) and saturation correction processing. It is possible to obtain a good (high quality) image in which these are preferentially adjusted so as to obtain contrast, saturation, and the like, and light and dark are adjusted by dodging processing.

なお、本発明は、以下の変形態様をとることができる。
(A)上記第1の実施形態においては、コントラスト補正を反射率成分Rに反映する場合と、コントラスト補正を照明成分Lに反映する場合とを説明したが、コントラスト補正を反射率成分Rと照明成分Lとの双方に反映してもよい。すなわち、コントラスト補正量Cntに応じてフィルタサイズSfを変更し、反射率成分Rひいてはコントラストを変化させるとともに、同コントラスト補正量Cntに応じて複数種類の照明圧縮特性を切り替える構成としてもよい。これによって、コントラスト補正量に応じた覆い焼き処理の自由度がより高くなる。
In addition, this invention can take the following deformation | transformation aspects.
(A) In the first embodiment, the case where the contrast correction is reflected in the reflectance component R and the case where the contrast correction is reflected in the illumination component L have been described. However, the contrast correction is reflected in the reflectance component R and the illumination. It may be reflected in both of the component L. In other words, the filter size Sf may be changed according to the contrast correction amount Cnt to change the reflectance component R and thus the contrast, and a plurality of types of illumination compression characteristics may be switched according to the contrast correction amount Cnt. Thereby, the degree of freedom of the dodging process according to the contrast correction amount becomes higher.

(B)上記第1及び第2の実施形態においては、コントラスト補正量或いは彩度補正量に応じた覆い焼き処理を、デジタルカメラ1内(制御部3及び覆い焼き処理部61)で行う構成としているが、これに限らず、デジタルカメラ1外の所定の処理部において実行する構成としてもよい。具体的には、例えばUSB等を用いてデジタルカメラ1と直接接続(有線)又は無線LAN等によるネットワーク接続がなされた、或いはメモリカードといったストレージメディア等を用いて情報伝達可能に構成されたユーザーインターフェイスを備える所定のホスト(例えばPC(Personal Computer)やPDA(Personal Digital Assistant等のコンピュータ内蔵機器)において当該処理をホスト内のコンピュータに実行させる構成としてもよい。   (B) In the first and second embodiments, the dodging process according to the contrast correction amount or the saturation correction amount is performed in the digital camera 1 (the control unit 3 and the dodging processing unit 61). However, the present invention is not limited to this, and the configuration may be such that the processing is executed in a predetermined processing unit outside the digital camera 1. Specifically, for example, a user interface configured to be directly connected (wired) to the digital camera 1 using a USB or the like, or connected to a network by a wireless LAN or the like, or to be able to transmit information using a storage medium such as a memory card. In a predetermined host (for example, a PC (Personal Computer) or a PDA (Personal Digital Assistant or the like)), the computer in the host may execute the process.

第1の実施形態に係る撮像装置の一例であるデジタルカメラの主に撮像処理に関する概略的なブロック構成図である。1 is a schematic block configuration diagram mainly relating to imaging processing of a digital camera which is an example of an imaging apparatus according to a first embodiment. FIG. 上記デジタルカメラの制御部の機能ブロック図である。It is a functional block diagram of the control part of the digital camera. 覆い焼き処理における照明成分の圧縮特性の一例を示すグラフ図である。It is a graph which shows an example of the compression characteristic of the illumination component in a dodging process. 覆い焼き処理における照明成分の圧縮特性の一例を示すグラフ図である。It is a graph which shows an example of the compression characteristic of the illumination component in a dodging process. 第1の実施形態におけるデジタルカメラによる画像処理パラメータに応じた覆い焼き処理に関する動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement regarding the dodging process according to the image processing parameter by the digital camera in 1st Embodiment. 上記デジタルカメラのユーザI/F部を示す背面図であり、(a)はコントラストが選択された状態を示す図であり、(b)はポインタが+2のレベル位置まで移動された状態を示す図である。It is a rear view which shows the user I / F part of the said digital camera, (a) is a figure which shows the state by which contrast was selected, (b) is a figure which shows the state by which the pointer was moved to the level position of +2. It is. 上記デジタルカメラのユーザI/F部を示す背面図であり、(a)は彩度が選択された状態を示す図であり、(b)はポインタが−1のレベル位置まで移動された状態を示す図である。It is a rear view which shows the user I / F part of the said digital camera, (a) is a figure which shows the state by which saturation was selected, (b) is the state by which the pointer was moved to the level position of -1. FIG. 従来のガンマによる階調変換処理について説明するためのグラフ図である。It is a graph for demonstrating the gradation conversion process by the conventional gamma.

符号の説明Explanation of symbols

1 デジタルカメラ(撮像装置)
2 画像入力部(画像取得手段)
22 撮像センサ(画像取得手段)
3 制御部
31 画像処理パラメータ設定部
32 覆い焼きパラメータ演算部(覆い焼きパラメータ設定手段)
33 変換情報記憶部
5 ユーザI/F部(コントラスト補正量入力手段、彩度補正量入力手段)
6 画像処理部
61 覆い焼き処理部(覆い焼き処理手段)
210 照明圧縮特性
310 照明圧縮特性(請求項4記載のコントラスト補正量に応じて異なる圧縮特性)
320 照明圧縮特性(請求項4記載のコントラスト補正量に応じて異なる圧縮特性)
1 Digital camera (imaging device)
2 Image input unit (image acquisition means)
22 Imaging sensor (image acquisition means)
3 Control Unit 31 Image Processing Parameter Setting Unit 32 Dodging Parameter Calculation Unit (Dodging Parameter Setting Unit)
33 Conversion information storage unit 5 User I / F unit (contrast correction amount input means, saturation correction amount input means)
6 Image processing unit 61 Dodging processing unit (Dodging processing means)
210 Illumination compression characteristics 310 Illumination compression characteristics (compression characteristics that differ depending on the contrast correction amount according to claim 4)
320 Illumination compression characteristics (compression characteristics that differ depending on the contrast correction amount according to claim 4)

Claims (8)

画像を取得する画像取得手段と、
前記画像に対する覆い焼き処理を行う覆い焼き処理手段と、
前記覆い焼き処理に関する覆い焼きパラメータを設定する覆い焼きパラメータ設定手段とを備え、
前記覆い焼きパラメータを第1の画像処理パラメータとすると、
前記覆い焼きパラメータ設定手段は、前記第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータを決定し、
前記覆い焼き処理手段は、前記覆い焼きパラメータ設定手段により決定された覆い焼きパラメータに基づいて覆い焼き処理を行うことを特徴とする撮像装置。
Image acquisition means for acquiring images;
Dodging processing means for performing dodging processing on the image;
Dodging parameter setting means for setting dodging parameters for the dodging process,
When the dodging parameter is the first image processing parameter,
The dodging parameter setting means determines a dodging parameter based on a predetermined second image processing parameter other than the first image processing parameter;
The image pickup apparatus, wherein the dodging processing unit performs dodging processing based on the dodging parameter determined by the dodging parameter setting unit.
前記画像に対するコントラスト補正処理に関するコントラスト補正量を入力するコントラスト補正量入力手段をさらに備え、
前記第2の画像処理パラメータは、前記コントラスト補正量であり、
前記覆い焼きパラメータ設定手段は、前記コントラスト補正量入力手段により入力されたコントラスト補正量に基づいて覆い焼きパラメータを決定することを特徴とする請求項1記載の撮像装置。
Contrast correction amount input means for inputting a contrast correction amount related to the contrast correction processing for the image,
The second image processing parameter is the contrast correction amount,
The imaging apparatus according to claim 1, wherein the dodging parameter setting unit determines a dodging parameter based on a contrast correction amount input by the contrast correction amount input unit.
前記覆い焼き処理は、前記画像から抽出された照明成分を圧縮し、該圧縮された照明成分と前記画像から抽出された反射率成分とから新たな画像を生成する処理であり、
前記覆い焼きパラメータは、前記画像から照明成分を抽出するフィルタのサイズであり、該サイズは前記コントラスト補正量に応じて異なるサイズであることを特徴とする請求項2記載の撮像装置。
The dodging process is a process of compressing the illumination component extracted from the image and generating a new image from the compressed illumination component and the reflectance component extracted from the image,
The imaging apparatus according to claim 2, wherein the dodging parameter is a size of a filter that extracts an illumination component from the image, and the size is a size that varies depending on the contrast correction amount.
前記覆い焼き処理は、前記画像から抽出された照明成分を圧縮し、該圧縮された照明成分と前記画像から抽出された反射率成分とから新たな画像を生成する処理であり、
前記覆い焼きパラメータは、前記照明成分の圧縮特性であり、該圧縮特性は前記コントラスト補正量に応じて異なる圧縮特性であることを特徴とする請求項2記載の撮像装置。
The dodging process is a process of compressing the illumination component extracted from the image and generating a new image from the compressed illumination component and the reflectance component extracted from the image,
The imaging apparatus according to claim 2, wherein the dodging parameter is a compression characteristic of the illumination component, and the compression characteristic is a compression characteristic that varies depending on the contrast correction amount.
前記画像に対する彩度補正処理に関する彩度補正量を入力する彩度補正量入力手段をさらに備え、
前記第2の画像処理パラメータは、前記彩度補正量であり、
前記覆い焼きパラメータ設定手段は、前記彩度補正量入力手段により入力された彩度補正量に基づいて覆い焼きパラメータを決定することを特徴とする請求項1記載の撮像装置。
Further comprising a saturation correction amount input means for inputting a saturation correction amount related to the saturation correction processing for the image,
The second image processing parameter is the saturation correction amount,
The imaging apparatus according to claim 1, wherein the dodging parameter setting unit determines a dodging parameter based on a saturation correction amount input by the saturation correction amount input unit.
前記覆い焼き処理は、前記画像から抽出された照明成分を圧縮し、該圧縮された照明成分と前記画像から抽出された反射率成分とから新たな画像を生成する処理であり、
前記覆い焼きパラメータは、前記照明成分の圧縮における圧縮輝度範囲の所定の上限値であり、該上限値は前記彩度補正量に応じて異なる値であることを特徴とする請求項5記載の撮像装置。
The dodging process is a process of compressing the illumination component extracted from the image and generating a new image from the compressed illumination component and the reflectance component extracted from the image,
The imaging according to claim 5, wherein the dodging parameter is a predetermined upper limit value of a compressed luminance range in compression of the illumination component, and the upper limit value is a value that varies depending on the saturation correction amount. apparatus.
画像データに対して覆い焼き処理を行う覆い焼き処理段階と、
前記覆い焼き処理に関する覆い焼きパラメータを設定する覆い焼きパラメータ設定段階とを有し、
前記覆い焼きパラメータを第1の画像処理パラメータとしたとき、前記覆い焼きパラメータ設定段階では、前記第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータを決定し、
前記覆い焼き処理段階では、前記覆い焼きパラメータ設定段階で決定された覆い焼きパラメータに基づいて覆い焼き処理を行うことを特徴とする画像処理方法。
A dodging process stage for performing dodging processing on image data;
A dodging parameter setting step for setting a dodging parameter for the dodging process,
When the dodging parameter is the first image processing parameter, the dodging parameter setting step determines the dodging parameter based on a predetermined second image processing parameter other than the first image processing parameter,
In the dodging processing step, dodging processing is performed based on the dodging parameter determined in the dodging parameter setting step.
画像データに対する覆い焼き処理に関する覆い焼きパラメータを第1の画像処理パラメータとしたとき、該第1の画像処理パラメータ以外の所定の第2の画像処理パラメータに基づいて覆い焼きパラメータを決定する第1の手順と、該第1の手順で決定された覆い焼きパラメータに基づいて覆い焼き処理を行う第2の手順とをコンピュータに実行させることを特徴とする画像処理プログラム。   When the dodging parameter related to the dodging process for the image data is the first image processing parameter, a first dodging parameter is determined based on a predetermined second image processing parameter other than the first image processing parameter. An image processing program that causes a computer to execute a procedure and a second procedure for performing dodging processing based on the dodging parameter determined in the first procedure.
JP2005371845A 2005-12-26 2005-12-26 Imaging apparatus, image processing method, and image processing program Pending JP2007174482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005371845A JP2007174482A (en) 2005-12-26 2005-12-26 Imaging apparatus, image processing method, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005371845A JP2007174482A (en) 2005-12-26 2005-12-26 Imaging apparatus, image processing method, and image processing program

Publications (1)

Publication Number Publication Date
JP2007174482A true JP2007174482A (en) 2007-07-05

Family

ID=38300419

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005371845A Pending JP2007174482A (en) 2005-12-26 2005-12-26 Imaging apparatus, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP2007174482A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009044242A (en) * 2007-08-06 2009-02-26 Nikon Corp Electronic camera
JP2011086976A (en) * 2009-10-13 2011-04-28 Victor Co Of Japan Ltd Image processor and image processing method
WO2013145365A1 (en) * 2012-03-30 2013-10-03 Eizo 株式会社 Image display device and/or method therefor
US8743231B2 (en) 2007-08-06 2014-06-03 Nikon Corporation Electronic camera
JP2017037622A (en) * 2015-08-10 2017-02-16 富士ゼロックス株式会社 Image processing device and program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009044242A (en) * 2007-08-06 2009-02-26 Nikon Corp Electronic camera
US8743231B2 (en) 2007-08-06 2014-06-03 Nikon Corporation Electronic camera
US8810679B2 (en) 2007-08-06 2014-08-19 Nikon Corporation Electronic camera
JP2011086976A (en) * 2009-10-13 2011-04-28 Victor Co Of Japan Ltd Image processor and image processing method
WO2013145365A1 (en) * 2012-03-30 2013-10-03 Eizo 株式会社 Image display device and/or method therefor
JP2013210709A (en) * 2012-03-30 2013-10-10 Eizo Corp Image display apparatus and method for the same
CN104221051A (en) * 2012-03-30 2014-12-17 Eizo株式会社 Image display device and/or method therefor
US10134359B2 (en) 2012-03-30 2018-11-20 Eizo Corporation Device or method for displaying image
JP2017037622A (en) * 2015-08-10 2017-02-16 富士ゼロックス株式会社 Image processing device and program

Similar Documents

Publication Publication Date Title
JP4720537B2 (en) Imaging device
JP5157753B2 (en) Image processing apparatus, image processing method, and image processing program
US8334914B2 (en) Gradation correcting apparatus, and recording medium storing a program recorded therein
KR101099401B1 (en) Image processing apparatus and computer-readable medium
US8773551B2 (en) Signal processing apparatus, solid-state image capturing apparatus, electronic information device, signal processing method, control program and storage medium
EP2645705A2 (en) Image capturing apparatus and control method thereof
JP5223742B2 (en) Edge-enhanced image processing apparatus
JP4736939B2 (en) Imaging apparatus and image processing method
JP2009044208A (en) Image processor, imaging apparatus, and image processing program
JP2006081037A (en) Image pickup device
JP4433883B2 (en) White balance correction device, white balance correction method, program, and electronic camera device
JP2007028088A (en) Imaging apparatus and image processing method
JP2007082181A (en) Imaging apparatus and image processing method
WO2016111020A1 (en) Image processing device, image capturing device, image processing method, and image processing program
JP2007174482A (en) Imaging apparatus, image processing method, and image processing program
JP6071440B2 (en) Imaging apparatus and control method thereof
JP4415172B2 (en) Image processing apparatus, image processing method, and image processing program
JP6243629B2 (en) Image processing apparatus and method, and imaging apparatus
JP2006333113A (en) Imaging device
JP2008219230A (en) Imaging apparatus, and image processing method
JP2009296210A (en) Image processor and image processing method
JP2017102393A (en) Imaging apparatus
JP2009081526A (en) Imaging apparatus
JP4833669B2 (en) Imaging apparatus and signal processing method thereof
JP5520135B2 (en) Image processing device