JP6624895B2 - Image processing apparatus, imaging apparatus, control method, and program - Google Patents

Image processing apparatus, imaging apparatus, control method, and program Download PDF

Info

Publication number
JP6624895B2
JP6624895B2 JP2015220704A JP2015220704A JP6624895B2 JP 6624895 B2 JP6624895 B2 JP 6624895B2 JP 2015220704 A JP2015220704 A JP 2015220704A JP 2015220704 A JP2015220704 A JP 2015220704A JP 6624895 B2 JP6624895 B2 JP 6624895B2
Authority
JP
Japan
Prior art keywords
correction
gamma
image signal
signal
image
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.)
Active
Application number
JP2015220704A
Other languages
Japanese (ja)
Other versions
JP2017092718A (en
JP2017092718A5 (en
Inventor
貴之 須藤
貴之 須藤
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2015220704A priority Critical patent/JP6624895B2/en
Publication of JP2017092718A publication Critical patent/JP2017092718A/en
Publication of JP2017092718A5 publication Critical patent/JP2017092718A5/ja
Application granted granted Critical
Publication of JP6624895B2 publication Critical patent/JP6624895B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は画像処理装置、撮像装置、制御方法及びプログラムに関し、特に色収差の影響により生じる色滲みを補正する画像処理技術に関する。   The present invention relates to an image processing apparatus, an imaging apparatus, a control method, and a program, and more particularly to an image processing technique for correcting color blur caused by the influence of chromatic aberration.

近年、撮像素子の多画素化(撮像空間分解能の増加)や撮像光学系の小型化に伴い、色収差に起因する色滲みが撮像により得られた画像に生じ得る。これは、光の波長ごとに撮像素子上の結像位置が変化することによるものであり、特に輝度が高い領域において色滲みの発生は知覚されやすくなる。特許文献1には、輝度範囲ごとに色滲みの知覚されやすさが異なることに着目し、彩度を低減させる色滲み抑圧処理の適用度を輝度範囲に応じて制御する画像処理装置が開示されている。   In recent years, with an increase in the number of pixels of an imaging element (increase in spatial resolution of imaging) and a reduction in the size of an imaging optical system, color blur due to chromatic aberration may occur in an image obtained by imaging. This is due to the fact that the imaging position on the image sensor changes for each wavelength of light, and the occurrence of color bleeding is easily perceived particularly in a region with high luminance. Patent Literature 1 discloses an image processing apparatus that focuses on the perceived ease of color bleeding for each luminance range, and controls the applicability of the color bleed suppression processing for reducing saturation according to the luminance range. ing.

ところで、撮像された画像信号に対しては表示装置に表示される際の色再現性等を考慮して、入力信号を予め定められたガンマ特性に基づく出力信号に変換するガンマ補正が適用される。特許文献1にも開示されるよう、従来の一般的なガンマ補正では信号レベルが高い範囲ほど出力信号において割り当てられるレベルが圧縮される、図4の実線401で示されるようなガンマ特性が用いられている。即ち、高輝度部の入力信号レベルを圧縮する所謂ニー処理が、ガンマ補正処理において適用される。   By the way, gamma correction for converting an input signal into an output signal based on a predetermined gamma characteristic is applied to a captured image signal in consideration of, for example, color reproducibility when displayed on a display device. . As disclosed in Patent Document 1, the conventional general gamma correction uses a gamma characteristic as shown by a solid line 401 in FIG. 4, in which the level assigned to the output signal is compressed as the signal level increases. ing. That is, the so-called knee processing for compressing the input signal level of the high luminance portion is applied in the gamma correction processing.

一方、金属の輝き、水の透明感、青空や雲の立体感、スキントーン等、被写体の質感や物理特性を表現しようとすると、高輝度部に係る圧縮度合いを低減した、あるいは、圧縮しないガンマ補正を行う必要がある。   On the other hand, in order to express the texture and physical characteristics of the subject, such as the brightness of metal, the transparency of water, the three-dimensional appearance of blue sky and clouds, and the skin tone, the degree of compression related to the high-brightness part is reduced or the gamma is not compressed. It is necessary to make corrections.

例えば図9に示されるような夜景シーンの点光源901等は、従来の手法のガンマ補正ではニー処理により光源周囲の領域における光の拡散に係る段階的な階調表現がなされにくく、点光源が実際の形状よりも拡大したように出力信号に現れうる。一方で、高輝度部の圧縮度合いを低減した、あるいは、圧縮しないガンマ補正では、点光源と周囲の領域との間で好適に階調表現がなされるため、点光源は実際に近い形状で出力信号に現れる。   For example, in a point light source 901 in a night scene scene as shown in FIG. 9, it is difficult to perform stepwise gradation expression related to light diffusion in an area around the light source due to knee processing in the gamma correction according to the conventional method. It may appear in the output signal as if it were larger than the actual shape. On the other hand, in the gamma correction in which the degree of compression of the high-brightness part is reduced or not compressed, the gradation expression is appropriately performed between the point light source and the surrounding area, so that the point light source is output in a shape close to the actual one. Appear on signal.

具体的には、例えば図9のような夜景シーンを撮像して得られた画像信号において、点光源像の周辺領域の画素位置に応じた輝度レベルが図10の破線1001のように現れている場合を例に考える。破線1001は、点光源自体に相当するA2〜A3の範囲の輝度が高く、光源の周辺にあたるA1〜A2及びA3〜A4の領域1004、A1以下、及びA4以上において、光源から離れるほど光が拡散して輝度が低減している様子を示している。このとき、従来の手法のガンマ補正では、実線1003で示されるように、光源周囲の領域1004の輝度と光源に相当するA2〜A3の輝度との差がガンマ補正後の輝度表現に反映されにくく、結果点光源がA1〜A4の範囲の形状のように出力信号に現れる。一方、高輝度部の圧縮度合いを低減したした、あるいは、圧縮しないガンマ補正では、一点鎖線1002で示されるように、光源周囲の領域1004においても光の拡散を示すよう段階的な輝度変化が表現される。   Specifically, for example, in an image signal obtained by imaging a night scene as shown in FIG. 9, a luminance level corresponding to a pixel position in a peripheral area of a point light source image appears as a broken line 1001 in FIG. Consider the case as an example. A dashed line 1001 indicates that the brightness in the range of A2 to A3 corresponding to the point light source itself is high, and in the areas 1004 of A1 to A2 and A3 to A4 around the light source, A1 and below, and A4 and above, the light is diffused as the distance from the light source increases. This shows how the luminance is reduced. At this time, in the gamma correction of the conventional method, as indicated by a solid line 1003, the difference between the luminance of the area 1004 around the light source and the luminance of A2 to A3 corresponding to the light source is hardly reflected in the luminance expression after the gamma correction. As a result, the point light source appears in the output signal as a shape in the range of A1 to A4. On the other hand, in the gamma correction in which the degree of compression of the high-brightness part is reduced or not compressed, a stepwise change in luminance is expressed in the area 1004 around the light source so as to indicate diffusion of light, as indicated by a dashed line 1002. Is done.

特開2011−010268号公報JP 2011-010268 A

しかしながら、ガンマ補正において高輝度部の圧縮度合いを低減する場合、かえって色滲みが知覚されやすくなる可能性がある。上述した図9のような夜景シーンの点光源を例に挙げると、従来の手法では、光源周囲の領域1004において光源自体が拡大されたように表現され、輝度差が現れないため色滲みが知覚されにくい。即ち、色滲みが目立ちやすい光源の淵やその周囲における、コントラスト差が大きい階調表現がガンマ補正におけるニー処理によって圧縮されるため、色滲みは目立ちにくくなる。一方、高輝度部の圧縮度合いを低減した場合や、圧縮しない場合には、表示の際の明るさ補正も相まって、点光源の光学像の結像位置が波長ごとに異なることに起因する色滲みが、従来の手法よりも知覚されやすくなり得る。即ち、コントラスト差がガンマ補正後も表現されており、かつ表示装置によりA2〜A3の範囲のピーク輝度が従来手法のピーク輝度相当となるよう引き上げられるため、光源周囲の領域1004において色滲みが目立ちやすくなる。   However, when reducing the degree of compression of the high-luminance part in the gamma correction, color blur may be more easily perceived. Taking the point light source of the night scene scene as shown in FIG. 9 as an example, in the conventional method, the light source itself is expressed as being enlarged in the area 1004 around the light source, and since there is no luminance difference, color blur is perceived. It is hard to be done. That is, the gradation expression having a large contrast difference at or near the edge of the light source where the color blur is conspicuous is compressed by the knee processing in the gamma correction, so that the color blur is less conspicuous. On the other hand, when the degree of compression of the high-brightness part is reduced or not compressed, the color blur caused by the fact that the imaging position of the optical image of the point light source differs for each wavelength is combined with the brightness correction at the time of display. May be more perceptible than conventional approaches. That is, since the contrast difference is expressed even after the gamma correction, and the display device raises the peak luminance in the range of A2 to A3 so as to be equivalent to the peak luminance of the conventional method, the color blur is conspicuous in the area 1004 around the light source. It will be easier.

本発明は、上述の問題点に鑑みてなされたものであり、ガンマ補正で採用されるガンマ特性に応じて好適に色滲みを抑圧した画像信号を出力する画像処理装置、撮像装置、制御方法及びプログラムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and has been made in consideration of the above-described problems, and has been made in view of the above circumstances, and has been made in consideration of the above-described problem, and has been made in view of the above. The purpose is to provide the program.

前述の目的を達成するために、本発明の画像処理装置は、補正対象の画像に係る第1の画像信号を取得する取得手段と、取得手段により取得された第1の画像信号について、色滲みを抑圧する補正を行い第2の画像信号を生成する第1の補正手段と、第1の補正手段における補正量を制御する制御手段と、各々異なる特性を示す複数のガンマ特性のいずれかに基づいて、第2の画像信号についてガンマ補正を行い第3の画像信号を生成する第2の補正手段と、を有し、制御手段は、ガンマ補正に用いられるガンマ特性、及び、第1の画像信号から導出されるコントラスト値に応じて補正量を異ならせることを特徴とする。 In order to achieve the above object, an image processing apparatus according to the present invention includes an acquiring unit for acquiring a first image signal related to an image to be corrected, and a color blur for the first image signal acquired by the acquiring unit. Correction means for performing a correction for suppressing the noise and generating a second image signal, control means for controlling a correction amount in the first correction means, and one of a plurality of gamma characteristics showing different characteristics. And a second correction unit that performs gamma correction on the second image signal to generate a third image signal, wherein the control unit includes a gamma characteristic used for the gamma correction , and a first image signal. Is characterized in that the correction amount is made different according to the contrast value derived from .

このような構成により本発明によれば、ガンマ補正で採用されるガンマ特性に応じて好適に色滲みを抑圧した画像信号を出力することが可能となる。   According to the present invention having such a configuration, it is possible to output an image signal in which color bleeding is suitably suppressed in accordance with the gamma characteristic employed in gamma correction.

本発明の実施形態に係るデジタルビデオカメラ100の外観を示した図FIG. 1 is a diagram illustrating an appearance of a digital video camera 100 according to an embodiment of the present invention. 本発明の実施形態に係るデジタルビデオカメラ100の機能構成を示したブロック図FIG. 1 is a block diagram showing a functional configuration of a digital video camera 100 according to an embodiment of the present invention. 本発明の実施形態に係る画像処理部24の詳細構成を示したブロック図FIG. 2 is a block diagram showing a detailed configuration of the image processing unit 24 according to the embodiment of the present invention. 本発明の実施形態に係る通常撮影モードにおける用いられるガンマ特性を説明するための図FIG. 4 is a diagram for explaining gamma characteristics used in a normal shooting mode according to the embodiment of the present invention. 本発明の実施形態に係る高輝度優先モードにおける用いられるガンマ特性を説明するための図FIG. 4 is a diagram for explaining a gamma characteristic used in a high brightness priority mode according to the embodiment of the present invention. 本発明の実施形態に係る補正量決定処理を例示したフローチャート7 is a flowchart illustrating a correction amount determination process according to the embodiment of the present invention. 本発明の実施形態に係るモード毎の色滲みの補正に係る抑圧係数を示した図FIG. 7 is a diagram illustrating a suppression coefficient according to correction of color blur for each mode according to the embodiment of the present invention. 本発明の実施形態に係るモード毎の色滲みの補正量を示した図FIG. 4 is a diagram illustrating a correction amount of color blur for each mode according to the embodiment of the present invention. 色滲みの知覚されやすさを説明するための図Diagram for explaining how easily color blur is perceived モード毎のガンマ補正処理における信号レベルの変換特性を説明するための図Diagram for explaining signal level conversion characteristics in gamma correction processing for each mode

[実施形態]
以下、本発明の例示的な実施形態について、図面を参照して詳細に説明する。なお、以下に説明する一実施形態は、画像処理装置の一例としての、撮像して得られた画像信号に対して色滲みの抑圧及びガンマ補正を行った出力信号を生成可能な撮像装置(デジタルビデオカメラ)に、本発明を適用した例を説明する。しかし、本発明は、入力された画像信号に対して色滲みの抑圧及びガンマ補正を行った出力信号を生成することが可能な任意の機器に適用可能である。
[Embodiment]
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings. Note that one embodiment described below is an example of an image processing apparatus that can generate an output signal obtained by performing color blur suppression and gamma correction on an image signal obtained by imaging (digital An example in which the present invention is applied to a video camera will be described. However, the present invention is applicable to any device that can generate an output signal obtained by performing color blur suppression and gamma correction on an input image signal.

また、本実施形態では課題となるガンマ特性の違いによる色滲みの補正結果の差が顕在化し得る態様として、ダイナミックレンジが拡張された画像信号を撮像する撮影モードを例に説明する。より詳しくは、ITU-R BT.709等で規格化されたガンマ特性で対象とされるようなダイナミックレンジ(図4及び図5(a)においてx1以下で示される範囲)よりも拡張されたレンジを撮像するモードを例に説明する。 Further, in the present embodiment, a shooting mode for capturing an image signal with an extended dynamic range will be described as an example of a mode in which a difference in a correction result of color bleeding due to a difference in a gamma characteristic, which is a problem, can become apparent. More particularly, it has been extended than the dynamic range as the target gamma characteristic which has been standardized by ITU-R BT.709 or the like (the range indicated by x 1 below 4 and FIG. 5 (a)) A mode for imaging a range will be described as an example.

図4に実線401で示されるガンマ特性は、例えば上記規格化されたガンマ特性(一点鎖線402)を基に規定されたものであり、x1よりも大きいx2までのダイナミックレンジが撮像信号(入力信号)において表現される。図示されるように実線401で示されるガンマ特性(第1のガンマ特性)は、中輝度から高輝度の領域のコントラストを圧縮(ニー処理)する特性を示す。本実施形態では、x2までのダイナミックレンジの画像信号を撮像可能で、かつ該画像信号に対して第1のガンマ特性を用いたガンマ補正を適用した信号を出力する撮影モードを「通常モード」として言及する。 Gamma characteristic indicated by the solid line 401 in FIG. 4, for example, those described above normalized gamma characteristic (dashed line 402) defined based on the dynamic range imaging signal to large x 2 than x 1 ( Input signal). As shown, a gamma characteristic (first gamma characteristic) indicated by a solid line 401 indicates a characteristic of compressing (knee processing) the contrast in a region of medium luminance to high luminance. In the present embodiment, it can capture an image signal of the dynamic range of up to x 2, and the shooting mode for outputting the applied signal the gamma correction using the first gamma characteristic with respect to the image signal "normal mode" Referred to as.

一方、図5(a)に実線501で示されるガンマ特性は、通常モードと同様にx2までのダイナミックレンジが撮像信号において表現される。実線501で示されるガンマ特性(第2のガンマ特性)は、規格化されたガンマ特性(一点鎖線502)と比較して、所定のダイナミックレンジに対してガンマ補正による変換後に割り当てられる輝度信号のレベル範囲が拡張されている。この第2のガンマ特性は、中輝度から高輝度の領域において圧縮をしない特性を有する。本実施形態では、x2までのダイナミックレンジの画像信号を撮像可能で、かつ該画像信号に対して第2のガンマ特性を用いたガンマ補正を適用した信号を出力する撮影モードを「高輝度優先モード」として言及する。該手法により出力された画像信号は、従来の手法で出力された画像信号に比べて全体的な明るさが低下し得るが、表示装置のピーク輝度値を上昇させて明るさを担保させることで、低輝度部から高輝度部に渡って自然な階調性、色再現性、鮮鋭度を表現できる。この場合、従来の手法では圧縮されてしまっていた高輝度部における分解能を担保しつつ、より自然な階調表現の画像を提示することができる。 On the other hand, the gamma characteristic indicated by the solid line 501 in FIG. 5 (a), similarly to the normal mode dynamic range up to x 2 is expressed in the imaging signal. The gamma characteristic (second gamma characteristic) indicated by the solid line 501 is the level of the luminance signal assigned after the conversion by the gamma correction with respect to the predetermined dynamic range, as compared with the standardized gamma characteristic (dashed-dotted line 502). The range has been extended. The second gamma characteristic has a characteristic that compression is not performed in a region from middle luminance to high luminance. In the present embodiment, it can capture an image signal of the dynamic range of up to x 2, and the shooting mode for outputting the applied signal the gamma correction using the second gamma characteristic with respect to the image signal "high luminance priority Mode ". Although the overall brightness of the image signal output by the method may be lower than that of the image signal output by the conventional method, the brightness may be ensured by increasing the peak brightness value of the display device. In addition, natural gradation, color reproducibility, and sharpness can be expressed from a low luminance portion to a high luminance portion. In this case, it is possible to present an image with a more natural gradation expression while ensuring the resolution in the high-luminance portion that has been compressed by the conventional method.

なお、本実施形態のデジタルビデオカメラでは「高輝度優先モード」において撮像されてガンマ補正後の出力信号を後述の表示部に表示する際に、さらに表示用画像信号に変換するためのガンマ特性(表示ガンマ特性)に基づく調整を行うよう表示制御される。該表示ガンマ特性に基づく調整は、撮像信号に係るガンマ補正が適用された出力信号について、通常モードと高輝度優先モードとの間で所定のダイナミックレンジの被写体の明るさ(見え)を一定に保つために行われる。図5(b)に示されるように、本実施形態の高輝度優先モードに係る第2のガンマ特性は、このような表示ガンマ特性を加味した際に、撮像信号と表示用画像信号との間で線形の変換特性が実現されるように設定されるものとして説明する。即ち、デジタルビデオカメラにおける撮像、画像変換、表示の動作トータルで、補正対象の入力信号と表示される表示用画像信号との間でリニアなガンマ特性を実現する。しかしながら、本発明の実施において色滲みに係る補正量の調整を行う第2のガンマ特性はこれに限られるものではない。第2のガンマ特性は、ガンマ補正の補正対象である画像信号につき、所定の入力信号のレベル範囲についてガンマ補正後に割り当てられる出力信号のレベル範囲が、第1のガンマ特性を用いる場合よりも大きい変換特性を有するものであればよい。また本発明の実施において、ガンマ補正用に設けられるガンマ特性は第1のガンマ特性及び第2のガンマ特性の2種類に限定されず、異なる種類の複数のガンマ特性が適用可能に設けられるものであってよく、第1及び第2のガンマ特性はこれらの例示にすぎない。   In the digital video camera according to the present embodiment, when an output signal that has been captured in the “high brightness priority mode” and has been subjected to gamma correction is displayed on a display unit, which will be described later, a gamma characteristic for further converting the output signal into a display image signal ( The display is controlled so as to perform adjustment based on the display gamma characteristic). The adjustment based on the display gamma characteristic maintains the brightness (appearance) of the subject in a predetermined dynamic range between the normal mode and the high-brightness priority mode for the output signal to which the gamma correction related to the imaging signal is applied. Done for. As shown in FIG. 5B, the second gamma characteristic according to the high-brightness priority mode of the present embodiment is such that, when such a display gamma characteristic is taken into consideration, a difference between the imaging signal and the display image signal is obtained. In the following description, the setting is made so that a linear conversion characteristic is realized. That is, a linear gamma characteristic is realized between the input signal to be corrected and the display image signal to be displayed in the total operation of imaging, image conversion, and display in the digital video camera. However, in the embodiment of the present invention, the second gamma characteristic for adjusting the correction amount relating to color blur is not limited to this. The second gamma characteristic is such that the level range of the output signal assigned to the image signal to be corrected by the gamma correction after the gamma correction for the predetermined input signal level range is larger than the case where the first gamma characteristic is used. Any material having characteristics may be used. In the embodiment of the present invention, the gamma characteristics provided for gamma correction are not limited to the two types of the first gamma characteristic and the second gamma characteristic, and a plurality of different types of gamma characteristics are provided so as to be applicable. The first and second gamma characteristics may be just examples of these.

《デジタルビデオカメラ100の構成》
図1は、本発明の実施形態に係るデジタルビデオカメラ100の外観を示した図である。
<< Configuration of Digital Video Camera 100 >>
FIG. 1 is a diagram showing an appearance of a digital video camera 100 according to an embodiment of the present invention.

図1において表示部28が、上述した通常モード及び高輝度優先モードを含む複数の撮影モードにより撮影され記録された画像信号や各種の情報を表示するために設けられた表示装置である。またデジタルビデオカメラ100には、撮影指示を行うための録画スイッチ61、各種モードを切り替えるためのモード切替スイッチ60、及び電源オン/電源オフを切り替えるための電源スイッチ72が設けられる。またこの他、各種ボタンや十字キー等のユーザーからの各種操作を受け付ける操作部材が操作部70として設けられる。   In FIG. 1, a display unit 28 is a display device provided to display image signals and various information shot and recorded in a plurality of shooting modes including the above-described normal mode and high-brightness mode. Further, the digital video camera 100 is provided with a recording switch 61 for giving a shooting instruction, a mode switch 60 for switching various modes, and a power switch 72 for switching power on / off. In addition, an operation member that receives various operations from the user, such as various buttons and a cross key, is provided as the operation unit 70.

コネクタ112は、デジタルビデオカメラ100と外部機器とを接続する際の接続ケーブル用のコネクタである。また記録媒体200は、メモリカードやハードディスク等の着脱可能に接続される記録媒体であり、記録媒体スロット201に収納されることでデジタルビデオカメラ100と接続され、情報の送受信が可能となる。   The connector 112 is a connector for a connection cable for connecting the digital video camera 100 to an external device. The recording medium 200 is a detachably connected recording medium such as a memory card or a hard disk. The recording medium 200 is connected to the digital video camera 100 by being accommodated in the recording medium slot 201, and can transmit and receive information.

次にデジタルビデオカメラ100の機能構成について、図2のブロック図を用いて説明する。図示されるように本実施形態のデジタルビデオカメラ100では、撮像信号を得るために、バリア102、撮影レンズ103、絞り101、ND104を介して被写体からの光が撮像部22に導かれる。撮影レンズ103は、例えばズームレンズ、フォーカスレンズを含むレンズ群であり、被写体像を結像させる。絞り101は、光量調整に使用する絞りである。ND104は、減光用に使用するフィルタである。撮像部22は、結像された光学像を電気信号(アナログ画像信号)に変換するCCDやCMOS素子等で構成される撮像素子である。また撮像部22は、電子シャッターによる電荷蓄積量/時間の制御や、アナログゲインの適用制御、読み出し速度の変更等の機能も備える。A/D変換器23は、撮像部22から出力されたアナログ信号をデジタル信号に変換する。なお、バリア102は、これらの撮影レンズ103を含む撮像光学系を覆うことにより、撮影レンズ103、絞り101、撮像部22を含む撮像系統部材の汚れや破損を防止する。   Next, the functional configuration of the digital video camera 100 will be described with reference to the block diagram of FIG. As shown in the figure, in the digital video camera 100 of the present embodiment, light from a subject is guided to the imaging unit 22 through the barrier 102, the imaging lens 103, the aperture 101, and the ND 104 in order to obtain an imaging signal. The photographing lens 103 is a lens group including, for example, a zoom lens and a focus lens, and forms a subject image. The diaphragm 101 is a diaphragm used for adjusting the amount of light. The ND 104 is a filter used for dimming. The imaging unit 22 is an imaging device including a CCD, a CMOS device, or the like that converts the formed optical image into an electric signal (analog image signal). The imaging unit 22 also has functions such as control of the amount / time of charge accumulation by the electronic shutter, control of application of analog gain, and change of readout speed. The A / D converter 23 converts an analog signal output from the imaging unit 22 into a digital signal. Note that the barrier 102 covers the imaging optical system including the imaging lens 103, thereby preventing the imaging system members including the imaging lens 103, the aperture 101, and the imaging unit 22 from being stained or damaged.

画像処理部24は、A/D変換器23から出力されたデジタル画像信号(以下、単に画像信号または画像データ)またはメモリ制御部15により取得された画像データに対して色変換処理、ガンマ補正処理、デジタルゲインの付加等の処理を行う。また画像処理部24は、撮像した画像信号を用いて露出制御等に係る所定の演算処理を行い、演算結果をシステム制御部50に伝送する。システム制御部50は、該演算結果に基づいて露出制御、測距制御、ホワイトバランス制御等を行う。このように動作することで、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理等が実現される。   The image processing unit 24 performs a color conversion process and a gamma correction process on the digital image signal (hereinafter simply referred to as an image signal or image data) output from the A / D converter 23 or the image data acquired by the memory control unit 15. And processing such as addition of digital gain. Further, the image processing unit 24 performs a predetermined calculation process related to exposure control or the like using the captured image signal, and transmits the calculation result to the system control unit 50. The system control unit 50 performs exposure control, distance measurement control, white balance control, and the like based on the calculation result. By operating in this manner, TTL (through the lens) type AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, and the like are realized.

〈画像処理部24の詳細構成〉
ここで、画像処理部24の構成について図3のブロック図を用いてさらに詳細に説明する。なお、画像処理部24に含まれる各ブロックは、システム制御部50を通じて、絞り量、ND情報、シャッタ速度等の各種露出パラメータを含む、デジタルビデオカメラ100内の各ブロックの動作に係る種々のデータを取得可能に構成されているものとする。
<Detailed Configuration of Image Processing Unit 24>
Here, the configuration of the image processing unit 24 will be described in more detail with reference to the block diagram of FIG. Note that each block included in the image processing unit 24 receives various data related to the operation of each block in the digital video camera 100 including various exposure parameters such as an aperture amount, ND information, and a shutter speed through the system control unit 50. Is configured to be obtainable.

ゲイン制御部301及びホワイトバランス制御部302は、入力された画像信号に対して、主として信号レベルの調整を行う。ゲイン制御部301は、入力された画像信号に対して所定のデジタルゲインの適用を行い、信号レベルの増幅を行う。ホワイトバランス制御部302は、ホワイトバランスゲインであるRゲイン、Bゲインを制御し、画像信号全体の色味の補正を行う。   The gain control unit 301 and the white balance control unit 302 mainly adjust the signal level of the input image signal. The gain control unit 301 applies a predetermined digital gain to an input image signal, and amplifies a signal level. The white balance control unit 302 controls R gain and B gain, which are white balance gains, and corrects the color of the entire image signal.

輝度信号変換部306は、ゲイン制御部301及びホワイトバランス制御部302による各種のゲイン調整がなされた画像信号から輝度信号(Y信号)を生成する。より詳しくは輝度信号変換部306は、画像信号のうちのG成分の信号を抽出し、該G成分の信号に適応補間処理を適用することで輝度信号を生成する。輝度信号変換部306は、生成した輝度信号をガンマ補正部304及び明るさ情報生成部307に伝送する。   The luminance signal conversion unit 306 generates a luminance signal (Y signal) from the image signal subjected to various gain adjustments by the gain control unit 301 and the white balance control unit 302. More specifically, the luminance signal conversion unit 306 generates a luminance signal by extracting a G component signal from the image signal and applying an adaptive interpolation process to the G component signal. The luminance signal conversion unit 306 transmits the generated luminance signal to the gamma correction unit 304 and the brightness information generation unit 307.

明るさ情報生成部307は、画像処理部24に入力された画像信号に係る画像内の部分領域ごとに平均値を求め、これら複数の平均値の最大値及び最小値(輝度信号変換部306により生成された輝度信号の複数の平均値の最大値及び最小値)を特定する。部分領域は、例えば画像信号に係る画像の全体を等しい面積の矩形領域に分割するよう定められたメッシュ枠により定義される領域であってよい。本実施形態の画像処理部24では、後述の色滲みの補正量の決定に用いる明るさ情報として、各部分領域のそれぞれから得られた輝度値の複数の平均値の最大値及び最小値を用いるものとする。明るさ情報生成部307は、生成した明るさ情報を色滲み補正量決定部308に出力する。   The brightness information generation unit 307 calculates an average value for each partial region in the image related to the image signal input to the image processing unit 24, and calculates the maximum value and the minimum value of the plurality of average values (by the luminance signal conversion unit 306). (A maximum value and a minimum value of a plurality of average values of the generated luminance signal). The partial region may be, for example, a region defined by a mesh frame determined to divide the entire image related to the image signal into rectangular regions having the same area. In the image processing unit 24 of the present embodiment, the maximum value and the minimum value of a plurality of average values of the luminance values obtained from each of the partial areas are used as the brightness information used for determining the correction amount of the color blur described later. Shall be. The brightness information generation unit 307 outputs the generated brightness information to the color blur correction amount determination unit 308.

色滲み補正量決定部308は、色滲み補正部303において実行される、画像信号に生じている色滲みの抑圧処理について、該処理における補正量(抑圧量)の決定を行う。具体的には色滲み補正量決定部308は、入力された各部分領域における明るさ情報から算出されるコントラスト値、及び後述のガンマ補正部304においてガンマ補正に用いられるガンマ特性に基づいて、色滲みの補正量を決定する。ガンマ補正部304におけるガンマ補正に用いられるガンマ特性の情報は、例えばシステム制御部50またはガンマ補正部304から取得可能な情報であってよく、本実施形態では画像信号の撮像時に設定されていた撮影モードに応じて決定される。即ち、画像信号が通常モードにおいて撮像されたものであれば第1のガンマ特性を示す情報が、画像信号が高輝度優先モードにおいて撮像されたものであれば第2のガンマ特性を示す情報が取得される。   The color blur correction amount determination unit 308 determines a correction amount (amount of suppression) in the color blur correction process performed by the color blur correction unit 303 in the color blur generated in the image signal. Specifically, the color blur correction amount determination unit 308 determines a color based on a contrast value calculated from brightness information in each of the input partial areas and a gamma characteristic used for gamma correction in a gamma correction unit 304 described later. The amount of blur correction is determined. The information of the gamma characteristic used for the gamma correction in the gamma correction unit 304 may be, for example, information that can be acquired from the system control unit 50 or the gamma correction unit 304. Determined according to the mode. That is, information indicating the first gamma characteristic is obtained if the image signal is captured in the normal mode, and information indicating the second gamma characteristic is obtained if the image signal is captured in the high brightness priority mode. Is done.

色滲み補正部303は、ゲイン制御部301及びホワイトバランス制御部302による各種のゲイン調整がなされた画像信号について、発生している色滲みを低減する補正処理を行う。より詳しくは色滲み補正部303はまず、入力された画像信号に係る画像の部分領域のうちから、R成分、B成分の信号それぞれについて隣接画素(もしくは周囲の画素)とのコントラスト値が所定値以上である色滲みの補正対象の画素を抽出する。そして色滲み補正部303は、抽出した各成分の画素について、各色成分についてのコントラスト(R/G、B/G)に応じて、色滲み補正量決定部308により決定された補正量に基づいて色滲みを低減する抑圧処理を行う。色滲みを低減する処理は、補正対象の画素の彩度を低減する処理であってよく、補正量は該低減度合いを定める(補正量が大きいほど彩度を低減させる)ものとする。   The color blur correction unit 303 performs a correction process for reducing the generated color blur on the image signal on which various gain adjustments have been performed by the gain control unit 301 and the white balance control unit 302. More specifically, the color bleeding correction unit 303 first sets the contrast value between adjacent pixels (or surrounding pixels) of each of the R component and B component signals from a partial region of the image related to the input image signal to a predetermined value. Pixels to be corrected for color blur described above are extracted. Then, the color bleeding correction unit 303 calculates the pixel of each extracted component based on the correction amount determined by the color bleeding correction amount determination unit 308 according to the contrast (R / G, B / G) of each color component. A suppression process for reducing color blur is performed. The process of reducing color bleeding may be a process of reducing the saturation of the pixel to be corrected, and the amount of correction determines the degree of reduction (saturation decreases as the amount of correction increases).

従来は、予め定められた抑圧係数に基づいて色滲みの補正量を固定的に決定するものであったため、上述したような色滲みの抑圧が好適に行えない可能性があった。しかしながら本実施形態の画像処理部24では、補正対象の画像のコントラスト、及び行われるガンマ補正のガンマ特性に基づいて色滲み補正量決定部308が補正量の制御を行う。即ち、本実施形態の画像処理部24では明るさ情報生成部307及び色滲み補正量決定部308の構成を有することにより、撮像モードについて定められたガンマ特性を考慮し、特性に応じた好適な補正量で色滲みの補正を動的に行うことができる。   Conventionally, the correction amount of color blur is fixedly determined based on a predetermined suppression coefficient, so that the above-described suppression of color blur may not be performed appropriately. However, in the image processing unit 24 of the present embodiment, the color blur correction amount determination unit 308 controls the correction amount based on the contrast of the image to be corrected and the gamma characteristics of the gamma correction to be performed. That is, since the image processing unit 24 of the present embodiment has the configuration of the brightness information generation unit 307 and the color blur correction amount determination unit 308, the image processing unit 24 considers the gamma characteristics defined for the imaging mode, and is suitable for the characteristics. The color blur can be dynamically corrected by the correction amount.

ガンマ補正部304は、色滲み補正部303において抑圧処理が適用された画像信号、及び輝度信号変換部306により生成された輝度信号に対して、対応する画像信号の撮像時に設定されていた撮影モードに応じてガンマ補正を行う。即ち、ガンマ補正部304が行うガンマ補正は、撮影モードについて定められていた入出力特性であるガンマ特性に基づいて画像信号(輝度信号、R成分・G成分・B成分の画像信号)の変換を行う。なお、本実施形態では補正対象の画像信号が撮像された際に、撮影時の撮影モードについて予め定められたガンマ特性に従ってガンマ補正を行って得られた画像信号を記録するものとして説明する。しかしながら本発明の実施はこれに限られるものでなく、入力された画像信号について適用するガンマ特性が、撮影モードに依らず選択可能なように構成されるものであってもよい。   The gamma correction unit 304 sets the shooting mode set when the corresponding image signal is captured with respect to the image signal subjected to the suppression processing in the color blur correction unit 303 and the luminance signal generated by the luminance signal conversion unit 306. Gamma correction is performed according to. That is, the gamma correction performed by the gamma correction unit 304 converts image signals (luminance signals, R component, G component, and B component image signals) based on gamma characteristics, which are input / output characteristics determined for the shooting mode. Do. In this embodiment, when an image signal to be corrected is captured, an image signal obtained by performing gamma correction according to a gamma characteristic predetermined for a shooting mode at the time of shooting is recorded. However, the embodiment of the present invention is not limited to this, and may be configured so that a gamma characteristic applied to an input image signal can be selected regardless of a shooting mode.

輝度色差信号生成部305は、ガンマ補正部304におけるガンマ補正のなされた画像信号に基づき、出力信号を生成する。出力信号は、例えばYRYBY空間に係る輝度色差信号であってよく、輝度色差信号生成部305はガンマ補正後の輝度信号(Y信号)に基づき、RY(R成分の画像信号−輝度信号)信号、BY(B成分の画像信号−輝度信号)信号を生成する。   The luminance / color difference signal generation unit 305 generates an output signal based on the image signal on which the gamma correction has been performed by the gamma correction unit 304. The output signal may be, for example, a luminance / chrominance signal related to the YRYBY space. The luminance / chrominance signal generation unit 305 outputs a RY (R component image signal−luminance signal) signal based on the luminance signal (Y signal) after the gamma correction. A BY (B component image signal-luminance signal) signal is generated.

このように、画像処理部24により生成された出力信号は、メモリ制御部15を介してメモリ32に直接書き込まれる。メモリ32は、撮像部22により撮像されてA/D変換器23により変換されたデジタル画像信号を一時的に格納する格納領域である。メモリ32は、所定時間の動画像および音声を格納するのに十分な記憶容量を備えている。また、メモリ32は表示部28に係る表示用の画像信号を格納するための記憶装置(ビデオメモリ)を兼ねている。この場合、D/A変換器13がメモリ32に格納されている表示用の画像信号をアナログ信号に変換して表示部28に供給する。このようにすることで、メモリ32に書き込まれた表示用の画像信号が、表示部28に表示される。   As described above, the output signal generated by the image processing unit 24 is directly written to the memory 32 via the memory control unit 15. The memory 32 is a storage area for temporarily storing a digital image signal captured by the imaging unit 22 and converted by the A / D converter 23. The memory 32 has a sufficient storage capacity for storing moving images and sounds for a predetermined time. The memory 32 also serves as a storage device (video memory) for storing image signals for display relating to the display unit 28. In this case, the D / A converter 13 converts the display image signal stored in the memory 32 into an analog signal and supplies the analog signal to the display unit 28. In this manner, the display image signal written in the memory 32 is displayed on the display unit 28.

表示部28は、例えばLCD等の表示装置であり、D/A変換器13から出力されたアナログ画像信号に応じて表示を行う。またA/D変換器23によって一度A/D変換されメモリ32に蓄積された画像信号を、D/A変換器13においてアナログ変換して表示部28に逐次転送して表示することで、表示部28は電子ビューファインダとして機能し、スルー画像表示を実現できる。   The display unit 28 is a display device such as an LCD, for example, and performs display according to the analog image signal output from the D / A converter 13. Further, the image signal once A / D converted by the A / D converter 23 and stored in the memory 32 is converted into an analog signal by the D / A converter 13 and sequentially transferred to the display unit 28 for display. Reference numeral 28 functions as an electronic viewfinder, and can realize through image display.

不揮発性メモリ56は、例えば電気的に消去・記録可能なメモリであり、例えばEEPROMが用いられる。不揮発性メモリ56には、システム制御部50の動作用の定数、デジタルビデオカメラ100が有する各ブロックの動作プログラム等が記憶される。   The non-volatile memory 56 is, for example, an electrically erasable / recordable memory, for example, an EEPROM. The non-volatile memory 56 stores constants for operation of the system control unit 50, operation programs of each block of the digital video camera 100, and the like.

システム制御部50は、例えばCPU等の制御回路であり、デジタルビデオカメラ100が有する各ブロックの動作を制御する。システム制御部50は、例えば不揮発性メモリ56に記録された各ブロックの動作プログラムを読み出し、システムメモリ52に展開して実行することにより、各ブロックの動作を制御する。システムメモリ52は、例えばRAM等であり、動作プログラムの展開領域としてだけでなく、各ブロックの動作により出力された中間データ等を格納するための格納領域としても機能する。また、システム制御部50は、メモリ32、D/A変換器13、表示部28等を制御することにより表示制御も行う。システムタイマー53は各種制御に用いる時間や内蔵時計に係る時間の計測を行うための計時機能に用いられ、システム制御部50は必要に応じて該計時機能を用いて各種処理の制御を行う。   The system control unit 50 is a control circuit such as a CPU, for example, and controls the operation of each block included in the digital video camera 100. The system control unit 50 controls the operation of each block by reading, for example, the operation program of each block recorded in the non-volatile memory 56, and developing and executing the program in the system memory 52. The system memory 52 is, for example, a RAM or the like, and functions not only as a development area for an operation program but also as a storage area for storing intermediate data and the like output by the operation of each block. The system control unit 50 also performs display control by controlling the memory 32, the D / A converter 13, the display unit 28, and the like. The system timer 53 is used for a timekeeping function for measuring the time used for various controls and the time related to the built-in clock, and the system control unit 50 controls various processes using the timekeeping function as needed.

モード切替スイッチ60は、システム制御部50の動作モードを、動画記録モード、静止画記録モード、再生モード等のいずれかに切り替えるための操作入力を受け付ける。動画記録モードや静止画記録モードに含まれるモードとして、上述した通常モード及び高輝度優先モードを含む。またこの他、オート撮影モード、オートシーン判別モード、マニュアルモード、撮影シーン別の撮影設定となる各種シーンモード、プログラムAEモード、カスタムモード等を含むものであってもよい。モード切替スイッチ60になされたモード変更の情報は、所定の制御信号としてシステム制御部50に伝送される。録画スイッチ61は撮影待機状態と撮影状態を切り替えるための操作入力を受け付ける。システム制御部50は、録画スイッチ61になされた操作入力に係る制御信号の受信に応じて、撮像部22からの信号読み出しから記録媒体200への動画データの書き込みまでの一連の動作を開始する。   The mode switch 60 receives an operation input for switching the operation mode of the system control unit 50 to one of a moving image recording mode, a still image recording mode, a reproduction mode, and the like. The modes included in the moving image recording mode and the still image recording mode include the above-described normal mode and high brightness priority mode. In addition, it may include an auto shooting mode, an auto scene determination mode, a manual mode, various scene modes for setting shooting for each shooting scene, a program AE mode, a custom mode, and the like. Information on the mode change made by the mode changeover switch 60 is transmitted to the system control unit 50 as a predetermined control signal. The recording switch 61 receives an operation input for switching between a shooting standby state and a shooting state. The system control unit 50 starts a series of operations from signal reading from the imaging unit 22 to writing of moving image data to the recording medium 200 in response to receiving a control signal related to an operation input made to the recording switch 61.

操作部70の各操作部材は、表示部28に表示される種々の機能アイコンを選択操作すること等により、場面ごとに適宜機能が割り当てられ、各種機能に係る操作入力を受け付ける。ボタンが割り当てられる各種機能には、例えば終了、戻る、画像送り、ジャンプ、絞込み、属性変更等が含まれてよい。例えば、メニューボタンに係る操作入力が行われた場合には、各種の設定可能なメニュー画面が表示部28に表示され、操作部70の各操作部材について受け付ける操作入力の割り当てが変更される。操作者は、表示部28に表示されたメニュー画面に基づき、上下左右4方向の十字キーやSETボタンを用いて直感的に各種設定を行うことができる。   Each operation member of the operation unit 70 is appropriately assigned a function for each scene by, for example, selecting and operating various function icons displayed on the display unit 28, and receives operation inputs related to various functions. The various functions to which the buttons are assigned may include, for example, end, return, image advance, jump, refinement, attribute change, and the like. For example, when an operation input related to the menu button is performed, a menu screen on which various settings can be made is displayed on the display unit 28, and the assignment of the operation input received for each operation member of the operation unit 70 is changed. The operator can intuitively perform various settings based on the menu screen displayed on the display unit 28 using the four-way up / down / left / right cross keys and the SET button.

電源制御部80は、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成され、電池の装着の有無、電池の種類、電池残量の検出を行う。また、電源制御部80は、その検出結果及びシステム制御部50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体200を含む各部へ供給する。電源部30は、アルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Liイオン電池等の二次電池、ACアダプター等からなる。   The power control unit 80 includes a battery detection circuit, a DC-DC converter, a switch circuit for switching a block to be energized, and the like, and detects whether or not a battery is mounted, the type of the battery, and the remaining battery level. Further, the power control unit 80 controls the DC-DC converter based on the detection result and the instruction of the system control unit 50, and supplies a necessary voltage to each unit including the recording medium 200 for a necessary period. The power supply unit 30 includes a primary battery such as an alkaline battery and a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, and a Li-ion battery, and an AC adapter.

記録媒体I/F18は、メモリカードやハードディスク等の記録媒体200とのインターフェースである。記録媒体200は、撮影された画像を記録するためのメモリカード等の記録媒体であり、半導体メモリや磁気ディスク等から構成される。本実施形態では撮影モードにおいて行われた撮影動作に係り、画像処理部24から出力された画像信号が記録媒体200に記録される。   The recording medium I / F 18 is an interface with a recording medium 200 such as a memory card or a hard disk. The recording medium 200 is a recording medium such as a memory card for recording a captured image, and includes a semiconductor memory, a magnetic disk, and the like. In the present embodiment, the image signal output from the image processing unit 24 is recorded on the recording medium 200 in relation to the photographing operation performed in the photographing mode.

《補正量決定処理》
このような構成をもつ本実施形態の画像処理部24において実行される補正量決定処理について、図6のフローチャートを用いて具体的な処理を説明する。該フローチャートに対応する処理は、システム制御部50が、例えば不揮発性メモリ56に記憶されている対応する処理プログラムを読み出し、システムメモリ52に展開して実行することにより画像処理部24に実現させることができるものであってよい。あるいは、画像処理部24に画像信号(入力信号)が入力されたことに応じて、画像処理部24の有する各機能に係る処理回路が連動し、本補正量決定処理を実現するものであってもよい。本補正量決定処理は、例えば撮影指示に基づいて撮像が開始され、色滲み補正部303における該撮像に係る入力信号に対する色滲みの抑圧処理の実行に先立って開始されるものとして説明する。
<< Correction amount determination processing >>
The specific processing of the correction amount determination processing executed in the image processing unit 24 of the present embodiment having such a configuration will be described with reference to the flowchart of FIG. The processing corresponding to the flowchart is realized by the image processing unit 24 by the system control unit 50 reading out a corresponding processing program stored in, for example, the non-volatile memory 56, expanding the program in the system memory 52, and executing the program. It can be something that can be. Alternatively, in response to an image signal (input signal) being input to the image processing unit 24, processing circuits relating to each function of the image processing unit 24 work together to realize the correction amount determination processing. Is also good. The correction amount determination process will be described assuming that imaging is started based on, for example, a shooting instruction, and is started before the color blur correction unit 303 executes the color blur suppression process on the input signal related to the imaging.

S601で、色滲み補正量決定部308は、設定されている撮影モードが高輝度優先モードであるか否かを判断する。色滲み補正量決定部308は、設定されている撮影モードが高輝度優先モードであると判断した場合は処理をS602に移し、通常モードである(高輝度優先モードではない)と判断した場合は処理をS606に移す。   In step S601, the color blur correction amount determination unit 308 determines whether the set shooting mode is the high brightness priority mode. If the color blur correction amount determination unit 308 determines that the set shooting mode is the high brightness priority mode, the process proceeds to S602, and if it determines that the mode is the normal mode (not the high brightness priority mode). The process moves to S606.

S602で、色滲み補正量決定部308は、明るさ情報生成部307から入力された明るさ情報に含まれる最大の輝度値に基づき、色滲みの補正量の算出に用いる抑圧係数を決定する。本実施形態では図7に示されるように、色滲みの抑圧係数は最大の被写体輝度に応じて決定される。図7では実線701が高輝度優先モードにおける抑圧係数を示し、破線702が通常モードにおける抑圧係数を示している。図示されるように高輝度優先モードではx1からx2の範囲で抑圧係数が輝度値に比例して上昇しており、色滲みの補正量が大きくなることを示している。即ち、図8に示されるように、高輝度優先モードでは最大の輝度値がx1に満たない領域では通常モードと同様に色滲みの補正量が破線801により定められる。一方、最大の輝度値がx1以上となる領域では実線802で定められるように、同一のコントラスト値であっても通常モードよりも大きい値に補正量が制御される。図8では、最大の輝度値がx2である場合の抑圧係数に対応する、コントラスト値と補正量との関係を示しているため、最大の輝度値がx1からx2の範囲にある場合は破線801と実線802との間の傾きを有する線分に基づいて補正量が決定される。 In step S <b> 602, the color blur correction amount determination unit 308 determines a suppression coefficient used for calculating a color blur correction amount based on the maximum luminance value included in the brightness information input from the brightness information generation unit 307. In the present embodiment, as shown in FIG. 7, the color blur suppression coefficient is determined according to the maximum subject luminance. In FIG. 7, a solid line 701 indicates the suppression coefficient in the high brightness priority mode, and a broken line 702 indicates the suppression coefficient in the normal mode. Suppression coefficient in the range of x 1 in x 2 in the high luminance priority mode as shown has risen in proportion to the luminance value, indicating that correction of color fringing increases. That is, as shown in FIG. 8, the correction amount of the normal mode as well as color blur in a region where the maximum luminance value is less than x 1 is defined by the dashed line 801 in the high luminance priority mode. On the other hand, so that the maximum luminance value is determined by the solid line 802 in the region where the x 1 or more, the correction amount to a value larger than the normal mode is controlled even with the same contrast value. In Figure 8, the maximum luminance value corresponds to the suppression coefficient when it is x 2, since showing the relationship between contrast value and the correction amount, if the maximum luminance value is in the range of x 1 in x 2 The correction amount is determined based on a line segment having an inclination between the broken line 801 and the solid line 802.

従来の固定的な補正量決定に基づく色滲みの抑圧処理では、通常モードと高輝度優先モードとの間の色滲みの補正残りに係る画質劣化は、第1のガンマ特性においてニー処理が適用される領域の信号が存在するか否かによる。即ち、ニー処理の適用範囲となる輝度範囲の画像信号については、通常モードではコントラストの圧縮によって色滲みの影響が緩和されて目立ちにくくなるのに対し、高輝度優先モードでは圧縮率が低減されているため色滲みの影響が顕著に現れ得る。本実施形態では、x1及びx2は図4及び図5に示したx1及びx2と一致させ、ニー処理が行われる信号レベルの輝度範囲について、図7及び8に示されるように色滲みの補正量が高くなるように抑圧係数の制御を行う。なお、x1及びx2における抑圧係数は、予め様々な周波数成分、コントラストを有する複数の被写体について色収差の特性を測定し、該測定結果に基づき定められるものであってよい。 In the conventional color bleeding suppression processing based on the fixed correction amount determination, the image quality deterioration related to the remaining color bleeding correction between the normal mode and the high brightness priority mode is subjected to knee processing in the first gamma characteristic. It depends on whether or not there is a signal in the region of interest. That is, with respect to the image signal in the luminance range to which the knee processing is applied, in the normal mode, the influence of the color blur is reduced by the compression of the contrast and becomes less noticeable, whereas in the high luminance priority mode, the compression ratio is reduced. Therefore, the influence of color bleeding can be remarkably exhibited. In the present embodiment, x 1 and x 2 are matched with x 1 and x 2 shown in FIGS. 4 and 5, and the luminance range of the signal level at which the knee processing is performed, as shown in FIGS. The suppression coefficient is controlled so that the amount of bleeding correction is increased. Incidentally, the suppression coefficient in x 1 and x 2 are preliminarily various frequency components, the chromatic aberration of the characteristics are measured for a plurality of subjects having a contrast, it may be those determined on the basis of the measurement results.

S603で、色滲み補正量決定部308は、明るさ情報に基づいて画像のコントラスト値を算出する。本実施形態では色滲み補正量決定部308は、画像のコントラスト値を、複数の部分領域から得られた輝度値の平均値の最大値と最小値の差分であるものとして算出する。しかしながら本発明の実施において画像のコントラストの導出は輝度信号に限られるものである必要はなく、画像のコントラストを導出可能であれば、異なる定義に基づく明るさの情報やヒストグラム等に基づくものであってもよいことは言うまでもない。   In step S603, the color blur correction amount determination unit 308 calculates a contrast value of the image based on the brightness information. In the present embodiment, the color blur correction amount determination unit 308 calculates the contrast value of the image as a difference between the maximum value and the minimum value of the average value of the luminance values obtained from the plurality of partial regions. However, in the embodiment of the present invention, the derivation of the contrast of the image does not need to be limited to the luminance signal. If the contrast of the image can be derived, it is based on brightness information based on a different definition, a histogram, or the like. Needless to say, this may be done.

S604で、色滲み補正量決定部308は、S603において算出されたコントラスト値が閾値を上回るか否かを判断する。閾値は、通常モード(第1のガンマ特性を用いる場合)において適用する色滲みの補正量と同一の補正量を、第2のガンマ特性を用いる場合においても使用した際に、色滲みによる画質劣化が許容可否に応じて予め定められるコントラスト値であってよい。即ち、コントラストが低ければ色滲みによる影響が目立ちにくいとの観点に基づき、色滲み補正量決定部308は本ステップにおいて補正量を低減可能であるか否かを判断する。なお、閾値は様々な周波数成分についての色収差の発生を測定し、これに基づき定められるものであってもよい。色滲み補正量決定部308は、コントラスト値が閾値を上回ると判断した場合にはS605に移して補正量の決定を行い、閾値以下であると判断した場合にはS606に移して通常モードと同様に補正量の決定を行う。   In step S604, the color blur correction amount determination unit 308 determines whether the contrast value calculated in step S603 exceeds a threshold. When the same correction amount as the correction amount of the color blur applied in the normal mode (when the first gamma characteristic is used) is used also in the case where the second gamma characteristic is used, the image quality deterioration due to the color blur is determined. May be a contrast value that is determined in advance depending on whether or not it is allowable. That is, the color blur correction amount determination unit 308 determines whether or not the correction amount can be reduced in this step, from the viewpoint that the influence of color blur is less noticeable if the contrast is low. The threshold value may be determined based on the measurement of the occurrence of chromatic aberration for various frequency components. If the color blur correction amount determination unit 308 determines that the contrast value exceeds the threshold, the process proceeds to S605 to determine the correction amount, and if it is determined that the contrast value is equal to or less than the threshold, the process proceeds to S606 to perform the same as in the normal mode. The amount of correction is determined.

S605で、色滲み補正量決定部308は、S602において決定した抑圧係数、即ち図7の実線701に係る抑圧係数、及びコントラスト値に基づいて色滲みの補正量の決定を行い、色滲み補正部303に伝送する。一方、S606で色滲み補正量決定部308は、S602において決定した抑圧係数から図7の破線702に係る抑圧係数に変更し、変更後の抑圧係数及びコントラスト値に基づいて色滲みの補正量の決定を行う。   In step S605, the color blur correction amount determination unit 308 determines the color blur correction amount based on the suppression coefficient determined in step S602, that is, the suppression coefficient according to the solid line 701 in FIG. 7, and the contrast value. Transmit to 303. On the other hand, in step S606, the color blur correction amount determination unit 308 changes the suppression coefficient determined in step S602 to the suppression coefficient according to the broken line 702 in FIG. 7, and calculates the color blur correction amount based on the changed suppression coefficient and contrast value. Make a decision.

このようにすることで、高輝度優先モードにおける色収差等に基づく色滲みの発生量を低減し、ニー処理が行われるレベル範囲の信号についても、通常モードと同様の見えを担保する補正量を決定することができる。なお、本実施形態においては、ガンマ補正において用いられるガンマ特性と、被写体のコントラストとに基づいて色滲みの補正量を変更するものとして説明した。しかしながら、ガンマ特性と被写体の明るさの平均値等、色滲みの補正量は異なるパラメータに基づいて決定されるものであってもよい。   By doing so, the amount of occurrence of color bleeding based on chromatic aberration or the like in the high-brightness priority mode is reduced, and the correction amount for ensuring the same appearance as in the normal mode is determined for signals in the level range where knee processing is performed. can do. In the present embodiment, the description has been made assuming that the correction amount of the color blur is changed based on the gamma characteristic used in the gamma correction and the contrast of the subject. However, the amount of correction for color blur, such as the average value of the gamma characteristic and the brightness of the subject, may be determined based on different parameters.

[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other embodiments]
The present invention supplies a program for realizing one or more functions of the above-described embodiments to a system or an apparatus via a network or a storage medium, and one or more processors in a computer of the system or the apparatus read and execute the program. It can also be realized by the following processing. Further, it can be realized by a circuit (for example, an ASIC) that realizes one or more functions.

24:画像処理部、303:色滲み補正部、304:ガンマ補正部、305:輝度色差信号生成部、306:輝度信号変換部、307:明るさ情報生成部、308:色滲み補正量決定部、22:撮像部、100:デジタルビデオカメラ   24: image processing unit, 303: color blur correction unit, 304: gamma correction unit, 305: luminance color difference signal generation unit, 306: luminance signal conversion unit, 307: brightness information generation unit, 308: color blur correction amount determination unit , 22: imaging unit, 100: digital video camera

Claims (12)

補正対象の画像に係る第1の画像信号を取得する取得手段と、
前記取得手段により取得された前記第1の画像信号について、色滲みを抑圧する補正を行い第2の画像信号を生成する第1の補正手段と、
前記第1の補正手段における補正量を制御する制御手段と、
各々異なる特性を示す複数のガンマ特性のいずれかに基づいて、前記第2の画像信号についてガンマ補正を行い第3の画像信号を生成する第2の補正手段と、を有し、
前記制御手段は、前記ガンマ補正に用いられるガンマ特性、及び、前記第1の画像信号から導出されるコントラスト値に応じて前記補正量を異ならせる
ことを特徴とする画像処理装置。
Acquiring means for acquiring a first image signal relating to an image to be corrected;
A first correction unit configured to correct the first image signal acquired by the acquisition unit to suppress color blur and generate a second image signal;
Control means for controlling a correction amount in the first correction means;
A second correction unit configured to perform gamma correction on the second image signal based on any one of a plurality of gamma characteristics indicating different characteristics to generate a third image signal,
The image processing apparatus according to claim 1, wherein the control unit changes the correction amount according to a gamma characteristic used for the gamma correction and a contrast value derived from the first image signal .
前記複数のガンマ特性は、所定の入力信号のレベル範囲が異なる大きさの出力信号のレベル範囲に変換されるガンマ特性を含み、
前記制御手段は、用いられるガンマ特性による前記変換後の出力信号のレベル範囲が大きいほど、前記所定の入力信号のレベル範囲に対応する前記色滲みの補正量を大きい値に制御する
ことを特徴とする請求項1に記載の画像処理装置。
The plurality of gamma characteristics include a gamma characteristic in which a level range of a predetermined input signal is converted into a level range of an output signal having a different magnitude,
The control means controls the correction amount of the color blur corresponding to the level range of the predetermined input signal to a larger value as the level range of the output signal after the conversion based on the gamma characteristic used is larger. The image processing device according to claim 1.
前記所定の入力信号のレベル範囲は、明るさに係る信号レベルが所定値以上の範囲であることを特徴とする請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the predetermined input signal level range is a range in which a signal level related to brightness is equal to or more than a predetermined value. 前記複数のガンマ特性は、前記変換後の出力信号のレベル範囲が異なる第1のガンマ特性と第2のガンマ特性を含み、
前記第2のガンマ特性は、前記第1のガンマ特性よりも前記ガンマ補正後に割り当てられる出力信号のレベル範囲が大きいガンマ特性であり、
前記制御手段は、前記第2の画像信号に対して前記第2のガンマ特性を用いた前記ガンマ補正が行われる場合に、前記第1の画像信号の明るさに係る信号レベルに応じて前記補正量を変更する
ことを特徴とする請求項2または3に記載の画像処理装置。
The plurality of gamma characteristics include a first gamma characteristic and a second gamma characteristic in which the level range of the output signal after the conversion is different,
The second gamma characteristic is a gamma characteristic in which a level range of an output signal assigned after the gamma correction is larger than the first gamma characteristic,
When the gamma correction using the second gamma characteristic is performed on the second image signal, the control unit may perform the correction in accordance with a signal level related to the brightness of the first image signal. The image processing apparatus according to claim 2, wherein the amount is changed.
前記制御手段は、前記第2の画像信号に対して前記第2のガンマ特性を用いた前記ガンマ補正が行われる場合、前記コントラスト値が閾値を上回る場合に、前記補正量を前記第1のガンマ特性を用いた前記ガンマ補正が行われる場合よりも大きい値に制御することを特徴とする請求項4に記載の画像処理装置。 Wherein, when the said gamma correction using the second gamma characteristic with respect to the second image signal is performed, before when Kiko contrast value exceeds the threshold value, the correction amount of the first The image processing apparatus according to claim 4, wherein the value is controlled to a value larger than when the gamma correction using the gamma characteristic is performed. 前記制御手段は、前記第2の画像信号に対して前記第2のガンマ特性を用いた前記ガンマ補正が行われる場合、前記コントラスト値が前記閾値以下である場合に、前記補正量を前記第1のガンマ特性を用いた前記ガンマ補正が行われる場合と同一の値に制御することを特徴とする請求項に記載の画像処理装置。 Wherein, when the said gamma correction using the second gamma characteristic with respect to the second image signal is performed, prior to when Kiko contrast value is below the threshold value, the said correction amount 6. The image processing apparatus according to claim 5 , wherein the control is performed to the same value as when the gamma correction using the first gamma characteristic is performed. 前記コントラスト値は、前記第1の画像信号が有する明るさに係る信号レベルの差に基づいて決定されることを特徴とする請求項5または6に記載の画像処理装置。   The image processing apparatus according to claim 5, wherein the contrast value is determined based on a difference in signal level related to brightness of the first image signal. 前記制御手段は、前記第1の画像信号が有する明るさに係る信号レベルの最大値が大きいほど前記補正量を大きくすることを特徴とする請求項4乃至7のいずれか1項に記載の画像処理装置。   8. The image according to claim 4, wherein the control unit increases the correction amount as a maximum value of a signal level related to brightness of the first image signal increases. 9. Processing equipment. 前記第2のガンマ特性は、前記出力信号を表示する表示手段において適用されるガンマ補正に係る表示ガンマ特性と合わせた場合に、前記入力信号と前記表示手段に表示された前記出力信号との間で線形の変換特性を示すことを特徴とする請求項4乃至8のいずれか1項に記載の画像処理装置。   When the second gamma characteristic is combined with a display gamma characteristic relating to gamma correction applied in a display unit that displays the output signal, the second gamma characteristic is between the input signal and the output signal displayed on the display unit. The image processing apparatus according to claim 4, wherein the image processing apparatus exhibits a linear conversion characteristic. 撮像により得られた画像に係る第1の画像信号を取得する撮像手段と、
前記撮像手段により取得された前記第1の画像信号について、色滲みを抑圧する補正を行い第2の画像信号を生成する第1の補正手段と、
前記第1の補正手段における補正量を制御する制御手段と、
各々異なる特性を示す複数のガンマ特性のいずれかに基づいて、前記第2の画像信号についてガンマ補正を行い第3の画像信号を生成する第2の補正手段と、を有し、
前記制御手段は、前記ガンマ補正に用いられるガンマ特性、及び、前記第1の画像信号から導出されるコントラスト値に応じて前記補正量を異ならせる
ことを特徴とする撮像装置。
Imaging means for acquiring a first image signal related to an image obtained by imaging;
A first correction unit configured to perform a correction to suppress color blur and generate a second image signal for the first image signal acquired by the imaging unit;
Control means for controlling a correction amount in the first correction means;
A second correction unit configured to perform gamma correction on the second image signal based on any one of a plurality of gamma characteristics indicating different characteristics to generate a third image signal,
The imaging apparatus according to claim 1, wherein the control unit changes the correction amount according to a gamma characteristic used for the gamma correction and a contrast value derived from the first image signal .
補正対象の画像に係る第1の画像信号を取得する取得工程と、
前記取得工程において取得された前記第1の画像信号について、色滲みを抑圧する補正を行い第2の画像信号を生成する第1の補正工程と、
前記第1の補正工程における補正量を制御する制御工程と、
各々異なる特性を示す複数のガンマ特性のいずれかに基づいて、前記第2の画像信号についてガンマ補正を行い第3の画像信号を生成する第2の補正工程と、を有し、
前記制御工程において、前記ガンマ補正に用いられるガンマ特性、及び、前記第1の画像信号から導出されるコントラスト値に応じて前記補正量を異ならせる
ことを特徴とする画像処理装置の制御方法。
An obtaining step of obtaining a first image signal related to an image to be corrected;
A first correction step of performing a correction for suppressing color blur on the first image signal obtained in the obtaining step to generate a second image signal;
A control step of controlling a correction amount in the first correction step;
A second correction step of performing gamma correction on the second image signal to generate a third image signal based on one of a plurality of gamma characteristics each showing a different characteristic,
The control method of an image processing apparatus according to claim 1, wherein, in the control step, the correction amount is changed according to a gamma characteristic used for the gamma correction and a contrast value derived from the first image signal .
コンピュータを、請求項1乃至のいずれか1項に記載の画像処理装置の各手段として機能させるためのプログラム。 Program for causing a computer to function as each unit of the image processing apparatus according to any one of claims 1 to 9.
JP2015220704A 2015-11-10 2015-11-10 Image processing apparatus, imaging apparatus, control method, and program Active JP6624895B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015220704A JP6624895B2 (en) 2015-11-10 2015-11-10 Image processing apparatus, imaging apparatus, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015220704A JP6624895B2 (en) 2015-11-10 2015-11-10 Image processing apparatus, imaging apparatus, control method, and program

Publications (3)

Publication Number Publication Date
JP2017092718A JP2017092718A (en) 2017-05-25
JP2017092718A5 JP2017092718A5 (en) 2018-12-13
JP6624895B2 true JP6624895B2 (en) 2019-12-25

Family

ID=58768456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015220704A Active JP6624895B2 (en) 2015-11-10 2015-11-10 Image processing apparatus, imaging apparatus, control method, and program

Country Status (1)

Country Link
JP (1) JP6624895B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4963598B2 (en) * 2006-12-08 2012-06-27 キヤノン株式会社 Image processing apparatus, imaging apparatus, image processing method, and program
JP2009118052A (en) * 2007-11-05 2009-05-28 Fujifilm Corp Image signal processing method and apparatus
JP2011041094A (en) * 2009-08-14 2011-02-24 Canon Inc Image processing apparatus, imaging apparatus, and method of processing image
JP5909206B2 (en) * 2013-03-25 2016-04-26 株式会社ジャパンディスプレイ Display device and electronic device

Also Published As

Publication number Publication date
JP2017092718A (en) 2017-05-25

Similar Documents

Publication Publication Date Title
US20180041691A1 (en) Camera using preview image to select exposure
KR101633460B1 (en) Method and Apparatus for controlling multi-exposure
JP2018056702A (en) Image processing device, image processing method and program
US20190327423A1 (en) Image processing apparatus and control method thereof
JP5076650B2 (en) Imaging apparatus and image processing program
JP6741881B2 (en) Image processing device, imaging device, image processing method, and program
JP6108680B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP6883971B2 (en) Image processing equipment and image processing methods, programs, and storage media
JP2019057794A (en) Imaging apparatus, control method of the same, program, and recording medium
JP2015211233A (en) Image processing apparatus and control method for image processing apparatus
US10325355B2 (en) Video signal processing apparatus, video signal processing method, and program
JP2012090041A (en) Image processing device, method, and program
JP6765919B2 (en) Image processing device, its control method, program
JP2022066385A (en) Image processing apparatus and image processing method, and program
JP2017126920A (en) Imaging apparatus
JP7257768B2 (en) Image processing device, its control method, and program
JP6624895B2 (en) Image processing apparatus, imaging apparatus, control method, and program
US10298865B2 (en) Image processing apparatus, image capturing apparatus, method for controlling image processing apparatus, and non-transitory computer-readable storage medium for correcting image corresponding to change in state of an optical member
JP2017163339A (en) Video processing apparatus, video processing method and program
JP6573392B2 (en) Video signal processing apparatus, video signal processing method, and program
JP2020048139A (en) Image processing system
JP6670110B2 (en) Image processing apparatus, imaging apparatus, control method, and program
JP7273642B2 (en) Image processing device and its control method and program
JP7214484B2 (en) VIDEO SIGNAL PROCESSING DEVICE, VIDEO SIGNAL PROCESSING METHOD, AND PROGRAM
US11778308B2 (en) Image processing apparatus, image processing method, and image capturing apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181102

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181102

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190823

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191017

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191028

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191126

R151 Written notification of patent or utility model registration

Ref document number: 6624895

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151