JP2010187350A - Image capturing system, video signal processing program, and image capturing method - Google Patents

Image capturing system, video signal processing program, and image capturing method Download PDF

Info

Publication number
JP2010187350A
JP2010187350A JP2009031910A JP2009031910A JP2010187350A JP 2010187350 A JP2010187350 A JP 2010187350A JP 2009031910 A JP2009031910 A JP 2009031910A JP 2009031910 A JP2009031910 A JP 2009031910A JP 2010187350 A JP2010187350 A JP 2010187350A
Authority
JP
Japan
Prior art keywords
signal
video signal
color difference
correction
difference signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009031910A
Other languages
Japanese (ja)
Other versions
JP5307572B2 (en
Inventor
Junichi Koga
隼一 古賀
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.)
Olympus Corp
Original Assignee
Olympus Corp
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 Olympus Corp filed Critical Olympus Corp
Priority to JP2009031910A priority Critical patent/JP5307572B2/en
Publication of JP2010187350A publication Critical patent/JP2010187350A/en
Application granted granted Critical
Publication of JP5307572B2 publication Critical patent/JP5307572B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image capturing system in which tone correction is improved. <P>SOLUTION: A second exposure condition different from a first exposure condition set when acquiring a first video signal is set to acquire a second video signal. The first video signal is separated into a first luminance signal and a first color difference signal, and the second video signal is separated into a second luminance signal and a second color difference signal. Then, a tone changing curve for making an amplification factor of a signal value indicating a region other than a black region larger than an amplification factor of a signal value indicating the black region in the first video signal is created based on the first color difference signal of the first video signal and the second color difference signal of the second video signal to correct the tone of the first video signal. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は撮像システム、映像処理信号プログラム、および撮像方法に関するものである。   The present invention relates to an imaging system, a video processing signal program, and an imaging method.

現在、デジタルスチルカメラやビデオカメラ等の撮像系の信号処理において、映像信号を階調変換するという処理がしばしば行われる。階調変換処理の一つの方法として、映像信号の輝度成分や色差成分により補正量を算出し、階調変換する方法がある。   Currently, in the signal processing of an imaging system such as a digital still camera or a video camera, a process of gradation conversion of a video signal is often performed. As one method of gradation conversion processing, there is a method of performing gradation conversion by calculating a correction amount based on a luminance component and a color difference component of a video signal.

例えば、特許文献1では、入力された映像信号から対象領域を検出し、対象領域と非対象領域のそれぞれにおいて、輝度成分や色差成分の頻度に基づいて補正テーブルを作成し階調変換を行うことで、対象領域と非対象領域のそれぞれを適切に階調変換することを可能としている。
特開2007−124604号公報
For example, in Patent Document 1, a target area is detected from an input video signal, and a correction table is created based on the frequency of a luminance component and a color difference component in each of the target area and the non-target area, and gradation conversion is performed. Thus, each of the target area and the non-target area can be appropriately subjected to gradation conversion.
JP 2007-124604 A

しかしながら、上記の発明では、映像信号内に色差信号成分を含む暗い領域と色差信号成分をほとんど含まない黒い領域とがあった場合、撮像系の信号処理や暗部のノイズ等の影響により、黒い領域と暗い領域との色差成分に差が生じない可能性があるため、両領域において同様の階調補正が行われてしまう。そのため、黒い領域に対しては黒が浮いてしまいメリハリのない映像となってしまう。黒い領域とは、黒色を示す領域、さらには黒色に近い色を示す領域を含む領域である。また、暗い領域とは、本来黒色または黒色に近い色を示す領域とは異なる色を示す領域である。暗い領域は、例えば陰などにより暗くなり、本来の色を示していない領域である。   However, in the above invention, when there are a dark region including a color difference signal component and a black region including almost no color difference signal component in the video signal, the black region is affected by the signal processing of the imaging system, noise in the dark portion, and the like. Since there is a possibility that no difference occurs in the color difference component between the dark area and the dark area, the same gradation correction is performed in both areas. As a result, black appears in the black area, resulting in a sharp image. The black region is a region including a region showing black and a region showing a color close to black. In addition, the dark region is a region that exhibits a color different from a region that originally exhibits black or a color close to black. The dark area is an area that becomes dark due to, for example, shade and does not show the original color.

本発明はこのような課題に鑑みてなされたものであり、露出を変更した複数の映像信号の色差成分に基づいて暗い領域および黒い領域を区別して階調補正を行うことで、映像信号に対して最適な階調補正を行うことが可能な撮像システムを提供することを目的としている。   The present invention has been made in view of such problems, and by performing gradation correction by distinguishing dark areas and black areas based on color difference components of a plurality of video signals whose exposures have been changed, It is an object of the present invention to provide an imaging system capable of performing optimum gradation correction.

本発明のある態様は、映像信号を階調変換し、出力する撮像システムであって、映像信号を取得する撮像部と、 第1の映像信号を取得した時の第1の露出条件とは異なる第2の露出条件を設定する露出条件設定部と、第1の映像信号を第1の輝度信号と第1の色差信号とに分離し、第2の露出条件によって取得された第2の映像信号を第2の輝度信号と第2の色差信号とに分離する分離部と、第1の色差信号と第2の色差信号とに基づいて、第1の映像信号または第2の映像信号中の黒い領域を示す信号値の増幅率よりも、黒い領域以外の領域を示す信号値の増幅率を大きくする階調変換曲線を設定する階調変換曲線設定部と、階調変換曲線に基づいて、第1の映像信号または第2の映像信号の階調補正を行う階調補正部と、を備える。   An aspect of the present invention is an imaging system that performs gradation conversion and output of a video signal, and is different from an imaging unit that acquires the video signal and a first exposure condition when the first video signal is acquired. An exposure condition setting unit for setting a second exposure condition, and a second video signal obtained by separating the first video signal into a first luminance signal and a first color difference signal and obtained by the second exposure condition On the basis of the first color difference signal and the second color difference signal, and the black portion in the first video signal or the second video signal based on the first color difference signal and the second color difference signal. Based on the gradation conversion curve, a gradation conversion curve setting unit for setting a gradation conversion curve for setting the amplification factor of the signal value indicating a region other than the black region to be larger than the amplification factor of the signal value indicating the region, A gradation correction unit that performs gradation correction of the first video signal or the second video signal.

本発明の別の態様は、映像信号を階調変換する映像信号処理プログラムであって、コンピュータに、第1の露出条件により撮影された第1の映像信号を取得する第1の取得手順と、第1の露出条件とは異なる第2の露出条件により撮影された第2の映像信号を取得する第2の取得手順と、第1の映像信号を第1の輝度信号と第1の色差信号とに分離し、第2の映像信号を第2の輝度信号と第2の色差信号とに分離する分離手順と、第1の色差信号と第2の色差信号とに基づいて、第1の映像信号または第2の映像信号中の黒い領域を示す信号値の増幅率よりも、黒い領域以外の領域を示す信号値の増幅率を大きくする階調変換曲線を設定する階調変換曲線設定手順と、階調変換曲線に基づいて、第1の映像信号または第2の映像信号の階調補正を行う階調補正手順と、を実行させる。   Another aspect of the present invention is a video signal processing program that performs gradation conversion of a video signal, and a computer obtains a first acquisition procedure for acquiring a first video signal photographed under a first exposure condition; A second acquisition procedure for acquiring a second video signal imaged under a second exposure condition different from the first exposure condition; a first luminance signal; a first color difference signal; And the first video signal based on the separation procedure for separating the second video signal into the second luminance signal and the second color difference signal, and the first color difference signal and the second color difference signal. Or a gradation conversion curve setting procedure for setting a gradation conversion curve for increasing the amplification factor of the signal value indicating a region other than the black region, rather than the amplification factor of the signal value indicating the black region in the second video signal; Based on the gradation conversion curve, the gradation compensation of the first video signal or the second video signal is performed. And gradation correction procedure for, is the execution.

本発明のさらに別の態様は、映像信号を階調変換し、出力する撮像方法であって、映像信号を取得し、 第1の映像信号を取得した時の第1の露出条件とは異なる第2の露出条件を設定し、第1の映像信号を第1の輝度信号と第1の色差信号とに分離し、第2の露出条件によって取得された第2の映像信号を第2の輝度信号と第2の色差信号とに分離し、第1の色差信号と第2の色差信号とに基づいて、階調補正のための補正係数を算出し、第1の色差信号と第2の色差信号とに基づいて、第1の映像信号または第2の映像信号中の黒い領域を示す信号値の増幅率よりも、黒い領域以外の領域を示す信号値の増幅率を大きくする階調変換曲線を設定し、階調変換曲線に基づいて、第1の映像信号または前記第2の映像信号の階調補正を行う。   Yet another aspect of the present invention is an imaging method for converting a gradation of a video signal and outputting the image signal, wherein the first exposure condition is different from the first exposure condition when the video signal is acquired and the first video signal is acquired. 2 exposure conditions are set, the first video signal is separated into the first luminance signal and the first color difference signal, and the second video signal acquired by the second exposure condition is used as the second luminance signal. And a second color difference signal, a correction coefficient for gradation correction is calculated based on the first color difference signal and the second color difference signal, and the first color difference signal and the second color difference signal are calculated. Based on the above, a gradation conversion curve for increasing the amplification factor of the signal value indicating the region other than the black region is larger than the amplification factor of the signal value indicating the black region in the first video signal or the second video signal. Based on the gradation conversion curve, gradation correction of the first video signal or the second video signal is performed.

これらの態様によれば、第1の映像信号と第2の映像信号とにおける色差信号に基づいて、黒い領域を示す信号値の増幅率よりも、黒い領域以外の領域を示す信号値の増幅率を大きくする階調変換曲線を設定することで、映像信号中の暗い領域と黒い領域とを正確に区別することができ、最適な階調変換を行うことができる。   According to these aspects, based on the color difference signals in the first video signal and the second video signal, the amplification factor of the signal value indicating the region other than the black region is higher than the amplification factor of the signal value indicating the black region. By setting a gradation conversion curve that increases the image quality, a dark area and a black area in the video signal can be accurately distinguished, and optimal gradation conversion can be performed.

本発明によると、階調変換を向上させることができる。   According to the present invention, gradation conversion can be improved.

本発明の第1実施形態の構成について図1を用いて説明する。図1は、第1実施形態の撮像システムのブロック図である。   The configuration of the first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram of an imaging system according to the first embodiment.

第1実施形態の撮像システムは、レンズ系100と、絞り101と、カラーフィルタ102と、CCD103(撮像部)と、AEセンサ(光強度検出部)104と、A/D105と、バッファ106と、露出制御部(露出条件設定部)107と、信号処理部108と、色差信号分離部(分離部)109と、補正係数算出部110と、補正部111と、圧縮部112と、出力部113と、制御部114と、外部I/F部115と、を備える。   The imaging system of the first embodiment includes a lens system 100, a diaphragm 101, a color filter 102, a CCD 103 (imaging unit), an AE sensor (light intensity detection unit) 104, an A / D 105, a buffer 106, An exposure control unit (exposure condition setting unit) 107, a signal processing unit 108, a color difference signal separation unit (separation unit) 109, a correction coefficient calculation unit 110, a correction unit 111, a compression unit 112, and an output unit 113 A control unit 114 and an external I / F unit 115.

露出制御部107は絞り101と、CCD103と、AEセンサ104と接続している。信号処理部108は色差信号分離部109と、補正係数算出部110と、補正部111と接続している。色差信号分離部109は、補正係数算出部110へ接続している。補正係数算出部110は補正部111へ接続している。補正部111は圧縮部112へ接続している。マイクロコンピュータなどの制御部114は露出制御部107と、信号処理部108と、色差信号分離部109と、補正係数算出部110と、補正部111および圧縮部112と双方向に接続している。さらに外部I/F部115も制御部114と双方向に接続している。   The exposure control unit 107 is connected to the diaphragm 101, the CCD 103, and the AE sensor 104. The signal processing unit 108 is connected to the color difference signal separation unit 109, the correction coefficient calculation unit 110, and the correction unit 111. The color difference signal separation unit 109 is connected to the correction coefficient calculation unit 110. The correction coefficient calculation unit 110 is connected to the correction unit 111. The correction unit 111 is connected to the compression unit 112. A control unit 114 such as a microcomputer is bi-directionally connected to the exposure control unit 107, the signal processing unit 108, the color difference signal separation unit 109, the correction coefficient calculation unit 110, the correction unit 111, and the compression unit 112. Further, the external I / F unit 115 is also connected to the control unit 114 in both directions.

レンズ系100は、複数のレンズによって構成される。絞り101は、単位時間当たりにCCD103の受光面へ到達する光量を調整する。   The lens system 100 includes a plurality of lenses. The diaphragm 101 adjusts the amount of light reaching the light receiving surface of the CCD 103 per unit time.

CCD103は、RGB原色系の単板CCDである。CCD103よりも被写体側にカラーフィルタ102が配置される。また、本実施形態では、電子シャッタのシャッタ速度を制御することで、電荷蓄積時間(露光時間)を制御するが、メカニカルシャッタを用いて露光時間を制御してもよい。   The CCD 103 is an RGB primary color single-plate CCD. A color filter 102 is disposed closer to the subject than the CCD 103. In this embodiment, the charge accumulation time (exposure time) is controlled by controlling the shutter speed of the electronic shutter. However, the exposure time may be controlled using a mechanical shutter.

レンズ系100、絞り101、カラーフィルタ102、CCD103は、光軸に沿って配置される。   The lens system 100, the diaphragm 101, the color filter 102, and the CCD 103 are arranged along the optical axis.

A/D105は、CCD103を介して撮影したアナログの映像信号をデジタルの映像信号に変換する。デジタルの映像信号はバッファ106に転送される。また、バッファ106内の映像信号は、信号処理部108に転送される。   The A / D 105 converts an analog video signal photographed via the CCD 103 into a digital video signal. The digital video signal is transferred to the buffer 106. Further, the video signal in the buffer 106 is transferred to the signal processing unit 108.

露出制御部107について、図2を用いて説明する。図2は、露出制御部107のブロック図である。   The exposure control unit 107 will be described with reference to FIG. FIG. 2 is a block diagram of the exposure control unit 107.

露出制御部107は、ヒストグラム算出部200と、露出算出部(累積値算出部、露出値算出部)201と、パラメータ制御部202と、を備える。ヒストグラム算出部200は露出算出部201へ接続し、露出算出部201はパラメータ制御部202へ接続している。AEセンサ104はヒストグラム算出部200へ接続している。制御部114はヒストグラム算出部200、露出算出部201およびパラメータ制御部202と双方向に接続する。パラメータ制御部202は絞り101およびCCD103へ接続している。   The exposure control unit 107 includes a histogram calculation unit 200, an exposure calculation unit (cumulative value calculation unit, exposure value calculation unit) 201, and a parameter control unit 202. The histogram calculation unit 200 is connected to the exposure calculation unit 201, and the exposure calculation unit 201 is connected to the parameter control unit 202. The AE sensor 104 is connected to the histogram calculation unit 200. The control unit 114 is bi-directionally connected to the histogram calculation unit 200, the exposure calculation unit 201, and the parameter control unit 202. The parameter control unit 202 is connected to the diaphragm 101 and the CCD 103.

ヒストグラム算出部200は、撮影時にAEセンサ104によって検出した輝度値のヒストグラムを算出する。ヒストグラム算出部200によって算出したヒストグラムは、例えば図3(a)のようになる。   The histogram calculation unit 200 calculates a histogram of luminance values detected by the AE sensor 104 during shooting. The histogram calculated by the histogram calculation unit 200 is, for example, as shown in FIG.

露出算出部201は、ヒストグラム算出部200によって算出したヒストグラムから映像信号の輝度値の平均値M1を算出する。そして、第1の映像信号の露出値EV1 ISOを式(1)により算出する。 The exposure calculation unit 201 calculates the average value M 1 of the luminance values of the video signal from the histogram calculated by the histogram calculation unit 200. Then, the exposure value EV 1 ISO of the first video signal is calculated by equation (1).

Figure 2010187350
Figure 2010187350

なお、第1の映像信号を取得した時の絞り値をF1、露光時間をT1、ISO感度をISOとする。また、bitは映像信号をデジタル信号に変換する際のビット精度である。iおよびpは映像信号をEV値に変換するための係数である。以下、絞り値F1、露光時間T1とした第1の露出条件によって得られた映像信号を第1の映像信号とする。 It is assumed that the aperture value when the first video signal is acquired is F 1 , the exposure time is T 1 , and the ISO sensitivity is ISO. In addition, bit is bit precision when converting a video signal into a digital signal. i and p are coefficients for converting the video signal into an EV value. Hereinafter, the video signal obtained under the first exposure condition with the aperture value F 1 and the exposure time T 1 is referred to as a first video signal.

また、露出算出部201は、ヒストグラムに基づいて、輝度値が所定の閾値(第1所定値)t以下となる画素数の頻度を積算値A1として積算する。閾値tは予め設定される値である。   Further, the exposure calculation unit 201 integrates the frequency of the number of pixels whose luminance value is equal to or less than a predetermined threshold value (first predetermined value) t as the integrated value A1 based on the histogram. The threshold value t is a preset value.

そして、積算値A1が所定値(第2所定値)以上である場合には、平均値をΔmだけ輝度値が大きくなるように移動させる。所定値は予め設定される値である。本実施形態では、積算値A1が所定値よりも大きい場合には、撮像した映像が、黒い領域を多く含んでいる、もしくは暗い領域が多いと判定する。図3(a)におけるヒストグラムをΔmだけ移動させたヒストグラムが図3(b)である。Δmは、閾値t以下となる画素数の頻度の積算値A2が所定値よりも小さくなるように設定される。   When the integrated value A1 is equal to or greater than a predetermined value (second predetermined value), the average value is moved so that the luminance value increases by Δm. The predetermined value is a value set in advance. In the present embodiment, when the integrated value A1 is larger than the predetermined value, it is determined that the captured image includes many black areas or many dark areas. FIG. 3B shows a histogram obtained by moving the histogram in FIG. 3A by Δm. Δm is set so that the integrated value A2 of the frequency of the number of pixels that is equal to or less than the threshold t is smaller than a predetermined value.

Δm移動させた場合に、露出値EV1 ISOとなる絞り値F2、露光時間T2の関係は、式(2)のように表すことができる。 When moved by Δm, the relationship between the aperture value F 2 and the exposure time T 2 that become the exposure value EV 1 ISO can be expressed as in Expression (2).

Figure 2010187350
Figure 2010187350

式(2)を変形させると、式(3)のように表すことができる。   When Expression (2) is transformed, it can be expressed as Expression (3).

Figure 2010187350
Figure 2010187350

式(3)の露出値EV2 ISOは、積算値A2が所定値以下となり、輝度値の平均値がM1であり、絞り値がF2であり、露出時間がT2となるような露出値である。露出値EV2 ISOは露出値EV1 ISOよりも小さい値である。そのため、同じ被写体を撮影した場合でも、式(1)の条件により撮影を行って得られた映像よりも、式(3)の条件により撮影を行って得られた映像の方が、明るい映像となる。 The exposure value EV 2 ISO of the expression (3) is an exposure in which the integrated value A2 is equal to or less than a predetermined value, the average value of the luminance value is M 1 , the aperture value is F 2 , and the exposure time is T 2 Value. The exposure value EV 2 ISO is smaller than the exposure value EV 1 ISO . Therefore, even when the same subject is photographed, the image obtained by photographing under the condition of the expression (3) is brighter than the image obtained by photographing under the condition of the expression (1). Become.

露出算出部201は、式(3)に基づいて、露出値EV2 ISOにおける絞り値F2と露光時間T2とを算出する。 The exposure calculation unit 201 calculates the aperture value F 2 and the exposure time T 2 at the exposure value EV 2 ISO based on the formula (3).

パラメータ制御部202は、露出算出部201によって算出した絞り値F2および露光時間T2となるように、絞り101の絞り値およびCCD103のシャッタ速度を制御する。 The parameter control unit 202 controls the aperture value of the aperture 101 and the shutter speed of the CCD 103 so that the aperture value F 2 and the exposure time T 2 calculated by the exposure calculation unit 201 are obtained.

上記するように、露出制御部107によって、第1の映像信号に対して、絞りF2および露光時間T2となるように第2の露出条件を設定し、絞り101の絞り値およびCCD103のシャッタ速度を制御して撮影された映像信号を取得する。以下、第2の露出条件により得られた映像信号を、第2の映像信号とする。また、第1の映像信号、および第2の映像信号を区別しない映像信号について説明する場合には、映像信号と記載する。 As described above, the exposure control unit 107 sets the second exposure condition such that the aperture F 2 and the exposure time T 2 are set for the first video signal, and the aperture value of the aperture 101 and the shutter of the CCD 103. Acquire a video signal shot by controlling the speed. Hereinafter, the video signal obtained under the second exposure condition is referred to as a second video signal. In addition, when the video signal that does not distinguish the first video signal and the second video signal is described, it is referred to as a video signal.

信号処理部108は、制御部114の制御に基づき、バッファ106上の単板状態の映像信号を読み込む。そして、公知の補間処理(デモザイキング処理)、ホワイトバランス処理などを行い、各画素においてRGBのフルカラーの映像信号を生成する。生成された映像信号のうち第1の映像信号は、色差信号分離部109、補正係数算出部110および補正部111へ転送される。また、第2の映像信号は、色差信号分離部109、補正係数算出部110へ転送される。   The signal processing unit 108 reads a single-panel video signal on the buffer 106 based on the control of the control unit 114. Then, known interpolation processing (demosaicing processing), white balance processing, and the like are performed, and RGB full-color video signals are generated at each pixel. Among the generated video signals, the first video signal is transferred to the color difference signal separation unit 109, the correction coefficient calculation unit 110, and the correction unit 111. Further, the second video signal is transferred to the color difference signal separation unit 109 and the correction coefficient calculation unit 110.

色差信号分離部109は、信号処理部108から転送された映像信号を輝度信号と色差信号に分離する。分離は例えば、以下に示す式(4)のような計算を行う。   The color difference signal separation unit 109 separates the video signal transferred from the signal processing unit 108 into a luminance signal and a color difference signal. For example, the calculation is performed as shown in the following formula (4).

Figure 2010187350
Figure 2010187350

ここで、RGBは映像信号のRGB値を表し、Yは輝度信号、Cb、Crは色差信号を表す。色差信号分離部109において得られた色差信号は補正係数算出部110へ転送される。   Here, RGB represents an RGB value of the video signal, Y represents a luminance signal, and Cb and Cr represent color difference signals. The color difference signal obtained in the color difference signal separation unit 109 is transferred to the correction coefficient calculation unit 110.

補正係数算出部110について、図4を用いて説明する。図4は補正係数算出部110のブロック図である。   The correction coefficient calculation unit 110 will be described with reference to FIG. FIG. 4 is a block diagram of the correction coefficient calculation unit 110.

補正係数算出部110は、フレームメモリ301と、移動量算出部302と、係数算出部(第1の位置合わせ部)304と、フレームメモリ303と、を備える。フレームメモリ301は移動量算出部302へ接続している。移動量算出部302およびフレームメモリ303は係数算出部304へ接続している。信号処理部108はフレームメモリ301へ接続している。色差信号分離部109はフレームメモリ303へ接続している。制御部114は移動量算出部302および係数算出部304と双方向に接続している。係数算出部304は補正部111に接続している。   The correction coefficient calculation unit 110 includes a frame memory 301, a movement amount calculation unit 302, a coefficient calculation unit (first alignment unit) 304, and a frame memory 303. The frame memory 301 is connected to the movement amount calculation unit 302. The movement amount calculation unit 302 and the frame memory 303 are connected to the coefficient calculation unit 304. The signal processing unit 108 is connected to the frame memory 301. The color difference signal separation unit 109 is connected to the frame memory 303. The control unit 114 is bi-directionally connected to the movement amount calculation unit 302 and the coefficient calculation unit 304. The coefficient calculation unit 304 is connected to the correction unit 111.

フレームメモリ301は、信号処理部108から転送される映像信号を蓄積する。   The frame memory 301 stores the video signal transferred from the signal processing unit 108.

フレームメモリ303は、色差信号分離部109から転送される色差信号を蓄積する。   The frame memory 303 stores the color difference signal transferred from the color difference signal separation unit 109.

移動量算出部302は、フレームメモリ301に蓄積された第1の映像信号と第2の映像信号を抽出する。そして、第1の映像信号に対する第2の映像信号の移動量を算出する。移動量の算出方法としては、公知の動きベクトルやブロックマッチングなどを用いる。   The movement amount calculation unit 302 extracts the first video signal and the second video signal accumulated in the frame memory 301. Then, the movement amount of the second video signal with respect to the first video signal is calculated. As a method for calculating the movement amount, a known motion vector, block matching, or the like is used.

係数算出部304は、フレームメモリ303から色差信号を抽出する。そして、移動量算出部302によって算出した移動量に基づいて、第1の色差信号に対する第2の色差信号の座標変換を行い、位置合わせを行う。例えばカメラを正位置とした場合の横方向をx方向とし、縦方向をy方向とした場合に、x軸方向にa、y軸方向にbの移動量が算出されたとする。この場合には、第2の色差信号はx軸方向に−a、y軸方向に−bだけ平行移動する。これによって、第1の色差信号と第2の色差信号との位置合わせが行われる。なお、平行移動の他にも、回転や拡大、縮小などの座標変換処理が可能である。   The coefficient calculation unit 304 extracts a color difference signal from the frame memory 303. Then, based on the movement amount calculated by the movement amount calculation unit 302, coordinate conversion of the second color difference signal with respect to the first color difference signal is performed, and alignment is performed. For example, it is assumed that the movement amount of a in the x-axis direction and b in the y-axis direction is calculated when the horizontal direction when the camera is in the normal position is the x direction and the vertical direction is the y direction. In this case, the second color difference signal is translated by -a in the x-axis direction and by -b in the y-axis direction. As a result, the first color difference signal and the second color difference signal are aligned. In addition to translation, coordinate conversion processing such as rotation, enlargement, and reduction is possible.

係数算出部304は、位置合わせを行った後に、対応する画素ごとに補正係数αを算出する。補正係数αは、例えば式(5)に示すように、第1の色差信号から算出される彩度S1と、第2の色差信号から算出される彩度S2と、の比として算出される。 The coefficient calculation unit 304 calculates the correction coefficient α for each corresponding pixel after performing alignment. The correction coefficient α is calculated as a ratio between the saturation S 1 calculated from the first color difference signal and the saturation S 2 calculated from the second color difference signal, for example, as shown in Equation (5). The

Figure 2010187350
Figure 2010187350

ここで、kは規格化係数であり、Cr1およびCb1は第1の色差信号であり、Cr2およびCb2は第2の色差信号である。ただし、露出値EV1 ISOが露出値EV2 ISOよりも大きい値であると仮定している。 Here, k is a normalization coefficient, C r1 and C b1 are first color difference signals, and C r2 and C b2 are second color difference signals. However, it is assumed that the exposure value EV 1 ISO is larger than the exposure value EV 2 ISO .

また、補正係数αは、式(6)に示すように、第1の色差信号から算出される彩度S1と第2の色差信号から算出される彩度S2との差から算出してもよい。 The correction coefficient α is calculated from the difference between the saturation S 1 calculated from the first chrominance signal and the saturation S 2 calculated from the second chrominance signal, as shown in Equation (6). Also good.

Figure 2010187350
Figure 2010187350

係数算出部304によって算出された補正係数αは、補正部111へ転送される。   The correction coefficient α calculated by the coefficient calculation unit 304 is transferred to the correction unit 111.

補正部111について、図5を用いて説明する。図5は、補正部111のブロック図である。   The correction unit 111 will be described with reference to FIG. FIG. 5 is a block diagram of the correction unit 111.

補正部111は、階調変換曲線作成部(階調変換曲線設定部)401と、変換曲線適用部(階調補正部)403と、を備える。階調変換曲線作成部401は変換曲線適用部403へ接続している。補正係数算出部110は階調変換曲線作成部401へ接続している。信号処理部108は変換曲線適用部403へ接続している。制御部114は階調変換曲線作成部401および変換曲線適用部403と双方向に接続している。変換曲線適用部403は圧縮部112へ接続している。   The correction unit 111 includes a gradation conversion curve creation unit (tone conversion curve setting unit) 401 and a conversion curve application unit (tone correction unit) 403. The gradation conversion curve creation unit 401 is connected to the conversion curve application unit 403. The correction coefficient calculation unit 110 is connected to the gradation conversion curve creation unit 401. The signal processing unit 108 is connected to the conversion curve application unit 403. The control unit 114 is bidirectionally connected to the gradation conversion curve creation unit 401 and the conversion curve application unit 403. The conversion curve application unit 403 is connected to the compression unit 112.

階調変換曲線作成部401は、補正係数算出部110により転送された補正係数αを用いて、階調変換曲線を作成する。階調変換曲線は、例えば式(7)を用いて作成される。xは階調補正前の信号値、yは階調補正後の信号値である。   The tone conversion curve creation unit 401 creates a tone conversion curve using the correction coefficient α transferred by the correction coefficient calculation unit 110. The gradation conversion curve is created using, for example, Expression (7). x is a signal value before gradation correction, and y is a signal value after gradation correction.

Figure 2010187350
Figure 2010187350

ここでxは8ビットの信号としているため、階調変換曲線を規格化するための係数として255を用いている。   Here, since x is an 8-bit signal, 255 is used as a coefficient for normalizing the gradation conversion curve.

変換曲線適用部403は、式(7)に示される階調変換を用いて、信号処理部108により転送された第1の映像信号のRGB値について、それぞれ階調補正を行う。   The conversion curve application unit 403 performs tone correction on each of the RGB values of the first video signal transferred by the signal processing unit 108 using the tone conversion represented by Expression (7).

第1の映像信号の彩度S1と、第2の映像信号の彩度S2と、がほぼ等しい場合は、補正係数αは、式(5)により略1となる。そのため、式(7)に示す階調変換曲線を用いた階調補正の前後で信号値はほとんど変わらない。つまり露出により彩度が変化しない黒い領域は、階調補正による入力信号値の増幅率が小さく、階調補正が行われても入力信号値と出力信号値がほぼ等しくなる。 And the saturation S 1 of the first video signal, and the saturation S 2 of the second video signal, if but substantially equal to, the correction coefficient α becomes substantially 1 by equation (5). Therefore, the signal value hardly changes before and after tone correction using the tone conversion curve shown in Expression (7). That is, in a black region where the saturation does not change due to exposure, the amplification factor of the input signal value by gradation correction is small, and the input signal value and the output signal value are almost equal even when gradation correction is performed.

一方、第1の映像信号の彩度S1と、第2の映像信号の彩度S2と、に差がある場合は、補正係数αは、式(5)により1以上となる。そのため、式(6)により、階調補正後の信号値yは、階調補正前の信号値xよりも大きくなり、暗い領域の信号値は増幅される。つまり、露出条件により彩度が変化する暗い領域は、階調補正による入力信号値の増幅率が大きく、階調補正により入力信号値は増幅されて出力される。階調補正された第1の映像信号は、圧縮部112に転送される。 On the other hand, a saturation S 1 of the first video signal, if the saturation S 2 of the second video signal, there is a difference, the correction coefficient α becomes 1 or more by Equation (5). Therefore, according to the equation (6), the signal value y after gradation correction is larger than the signal value x before gradation correction, and the signal value in the dark region is amplified. That is, in a dark region where the saturation changes depending on the exposure condition, the amplification factor of the input signal value by gradation correction is large, and the input signal value is amplified and output by gradation correction. The first video signal whose tone has been corrected is transferred to the compression unit 112.

圧縮部112は、変換曲線適用部403から転送された階調補正後の第1の映像信号に対して、公知のJPEG等の圧縮処理を行い、出力部113へ転送する。   The compression unit 112 performs a known compression process such as JPEG on the first video signal after gradation correction transferred from the conversion curve application unit 403, and transfers it to the output unit 113.

出力部113は、メモリカードなどへ圧縮信号を記録保存あるいは外部表示ディスプレイに階調補正後の第1の映像信号を表示する。   The output unit 113 records and stores the compressed signal on a memory card or the like, or displays the first video signal after gradation correction on an external display.

外部I/F115は、電源スイッチ、シャッターボタン、撮影時の各種モードの切り替えを行うためのインターフェースを備える。   The external I / F 115 includes a power switch, a shutter button, and an interface for switching various modes during shooting.

本実施形態ではハードウェアによる処理を前提としているが、このような構成に限定される必要はない。例えば、CCD103からの映像信号を映像信号サイズ、撮影条件(露出、焦点距離)などのヘッダ情報を付加したRawデータとして出力し、別途ソフトウェアにて処理する構成も可能である。ソフトウェアによって処理を行う場合には、例えば制御部114に含まれるCPUがメモリに記憶された制御プログラムに基づいて演算処理を実行することにより、信号処理部108などが機能する。   This embodiment is premised on processing by hardware, but is not necessarily limited to such a configuration. For example, a configuration in which the video signal from the CCD 103 is output as raw data to which header information such as the video signal size and shooting conditions (exposure, focal length) and the like is added and processed by software separately is also possible. When processing is performed by software, for example, the CPU included in the control unit 114 executes arithmetic processing based on a control program stored in the memory, whereby the signal processing unit 108 and the like function.

ソフトウェアによって処理を行う場合について、図6のフローチャートを用いて説明する。   A case where processing is performed by software will be described with reference to a flowchart of FIG.

ステップS1では、ヘッダ情報を読み出す。   In step S1, header information is read.

ステップS2では、第1の映像信号を取得し、バッファ106に記憶させる。また、第2の映像信号を取得すると第2の映像信号をバッファ106に記憶させる。   In step S <b> 2, the first video signal is acquired and stored in the buffer 106. Further, when the second video signal is acquired, the second video signal is stored in the buffer 106.

信号処理部108に相当するステップS3では、RGBのフルカラーの映像信号を作成する。   In step S3 corresponding to the signal processing unit 108, an RGB full-color video signal is created.

色差信号分離部109に相当するステップS4では、第1の映像信号を第1の輝度信号と第1の色差信号とに分離する。また、第2の映像信号を第2の輝度信号と第2の色差信号とに分離する。   In step S4 corresponding to the color difference signal separation unit 109, the first video signal is separated into a first luminance signal and a first color difference signal. The second video signal is separated into a second luminance signal and a second color difference signal.

補正係数算出部110に相当するステップS5では、第1の色差信号と第2の色差信号とに基づいて、補正係数αを算出する。   In step S5 corresponding to the correction coefficient calculation unit 110, the correction coefficient α is calculated based on the first color difference signal and the second color difference signal.

補正部111に相当するステップS6では、補正係数αに基づいて、階調変換曲線を算出し、階調変換曲線を用いて第1の映像信号に対して階調補正を行う。   In step S6 corresponding to the correction unit 111, a gradation conversion curve is calculated based on the correction coefficient α, and gradation correction is performed on the first video signal using the gradation conversion curve.

本実施形態では、第1の映像信号に対して階調補正を行ったが、第2の映像信号に対して階調補正を行ってもよい。   In this embodiment, tone correction is performed on the first video signal, but tone correction may be performed on the second video signal.

また、露出条件として、絞り値、シャッタ速度を設定し、露出を制御したが、これに限られることはなく、ISO感度、ストロボなどを調整して、露出を制御してもよい。また、第2の露出条件を、第1の露出条件に対して、例えば絞り値を所定値だけ広げる、シャッタ速度を所定値だけ遅くする、など決められた値だけ変更することで、設定しても良い。   Further, although the aperture value and shutter speed are set as the exposure conditions and the exposure is controlled, the present invention is not limited to this, and the exposure may be controlled by adjusting the ISO sensitivity, the strobe and the like. Further, the second exposure condition is set by changing the predetermined exposure value, for example, by widening the aperture value by a predetermined value or by decreasing the shutter speed by a predetermined value with respect to the first exposure condition. Also good.

本発明の第1実施形態の効果について説明する。   The effect of 1st Embodiment of this invention is demonstrated.

第1の露出条件による撮影で得られた第1の映像信号を第1の輝度信号と第1の色差信号とに分離する。また、第1の露出条件とは異なる第2の露出条件による撮影で得られた第2の映像信号を第2の輝度信号と第2の色差信号とに分離する。第1の色差信号と第2の色差信号とに基づいて、黒い領域を示す信号値の増幅率よりも、黒い領域以外の領域を示す信号値の増幅率を大きくする階調変換曲線を設定する。そして、階調変換曲線に基づいて、第1の映像信号を階調補正する。これによって、第1の映像中の黒い領域と暗い領域とを区別して、階調補正を行うことができ、メリハリのある階調補正を行うことができる。   A first video signal obtained by photographing under a first exposure condition is separated into a first luminance signal and a first color difference signal. Further, the second video signal obtained by photographing under a second exposure condition different from the first exposure condition is separated into a second luminance signal and a second color difference signal. Based on the first color difference signal and the second color difference signal, a gradation conversion curve is set to increase the amplification factor of the signal value indicating a region other than the black region than the amplification factor of the signal value indicating the black region. . Then, tone correction is performed on the first video signal based on the tone conversion curve. Thereby, the gradation correction can be performed by distinguishing between the black area and the dark area in the first video, and a sharp gradation correction can be performed.

第1の色差信号から算出する彩度S1と第2の色差信号から算出する彩度S2とに基づいて、補正係数αを算出し、補正係数αに基づいて、階調変換曲線を設定する。露出条件によって変化する彩度に基づいて、階調変換曲線を設定することで、第1の映像中の黒い領域と暗い領域とを区別して、階調補正を行うことができる。 A correction coefficient α is calculated based on the saturation S 1 calculated from the first color difference signal and the saturation S 2 calculated from the second color difference signal, and a gradation conversion curve is set based on the correction coefficient α. To do. By setting the gradation conversion curve based on the saturation that changes depending on the exposure condition, the gradation correction can be performed by distinguishing between the black area and the dark area in the first video.

また、第1の色差信号と第2の色差信号とに基づいて、第1の映像信号に対する第2の映像信号の移動量を算出する。そして、算出した移動量に基づいて、第1の色差信号と第2の色差信号との位置合わせを行い、位置合わせを行った画素毎に補正係数αを算出する。これによって、例えば手ブレ、被写体ブレなどが生じた場合でも、画素毎に正確な補正係数αを算出することができる。そのため、第1の映像信号の階調補正を正確に行うことができる。   Further, the movement amount of the second video signal with respect to the first video signal is calculated based on the first color difference signal and the second color difference signal. Then, based on the calculated movement amount, the first color difference signal and the second color difference signal are aligned, and a correction coefficient α is calculated for each aligned pixel. As a result, for example, even when camera shake, subject blur, or the like occurs, an accurate correction coefficient α can be calculated for each pixel. Therefore, the gradation correction of the first video signal can be performed accurately.

また、第1の露出条件によって撮像を行い、AEセンサ104によって検出した第1の映像信号のヒストグラムを算出する。ヒストグラムにおいて、輝度値が所定の閾値t以下となる画素数の頻度を積算値A1として積算する。そして、積算値A1が所定値以上である場合には、第1の露出条件による露出値EV1 ISOよりも小さい露出値EV2 ISOとなる第2の露出条件を設定する。そして、第2の露出条件によって、第2の映像信号を取得する。このようにして取得した第2の映像信号と第1の映像信号とに基づいて、階調補正を行うことで、第1の映像画像中の暗い領域と黒い領域とを正確に区別した階調補正を行うことができる。 Further, imaging is performed under the first exposure condition, and a histogram of the first video signal detected by the AE sensor 104 is calculated. In the histogram, the frequency of the number of pixels whose luminance value is equal to or less than a predetermined threshold value t is integrated as an integrated value A1. Then, when the integrated value A1 is equal to or greater than the predetermined value, a second exposure condition that sets an exposure value EV 2 ISO smaller than the exposure value EV 1 ISO based on the first exposure condition is set. Then, the second video signal is acquired according to the second exposure condition. A gradation in which the dark area and the black area in the first image are accurately distinguished by performing gradation correction based on the second video signal and the first video signal acquired in this way. Correction can be performed.

次に本発明の第2実施形態について図7を用いて説明する。図7は、第2実施形態の撮像システムのブロック図である。   Next, a second embodiment of the present invention will be described with reference to FIG. FIG. 7 is a block diagram of an imaging system according to the second embodiment.

第2実施形態は、さらに補正領域選択部1000を備える。第1実施形態と同一の構成については、同じ符号を付している。以下においては、第1実施形態と異なる箇所について説明する。補正領域選択部1000は、補正係数算出部120へ接続している。   The second embodiment further includes a correction area selection unit 1000. The same code | symbol is attached | subjected about the structure same as 1st Embodiment. In the following, a different part from 1st Embodiment is demonstrated. The correction area selection unit 1000 is connected to the correction coefficient calculation unit 120.

補正領域選択部1000は、色差信号分離部109によって分離した第1の色差信号が転送される。そして、第1の色差信号から算出される彩度S1が、式(8)を満たす場合には、その領域を補正領域であると判定する。つまり、補正領域選択部1000は、彩度S1が小さい領域を補正領域として選択する。 The first color difference signal separated by the color difference signal separation unit 109 is transferred to the correction area selection unit 1000. When the saturation S 1 calculated from the first color difference signal satisfies Expression (8), it is determined that the area is a correction area. That is, the correction area selection unit 1000 selects an area having a low saturation S 1 as the correction area.

Figure 2010187350
Figure 2010187350

Thは、予め設定される値(第3所定値)である。彩度S1が式(8)を満たす領域は、彩度が低いグレー、すなわち暗い領域や黒い領域を含む領域である。補正領域選択部1000によって選択された補正領域に関する情報は、補正係数算出部120へ転送される。 Th is a preset value (third predetermined value). The region where the saturation S 1 satisfies the equation (8) is a region including gray with low saturation, that is, a dark region or a black region. Information about the correction area selected by the correction area selection unit 1000 is transferred to the correction coefficient calculation unit 120.

なお、第2実施形態では、第1の色差信号から算出される彩度S1が式(8)を満たすかどうか判定して、補正領域を選択したが、第2の色差信号から彩度S2を算出し、式(8)を満たすかどうか判定してもよい。 In the second embodiment, it is determined whether the saturation S 1 calculated from the first color difference signal satisfies Expression (8) and the correction region is selected. 2 may be calculated to determine whether or not Expression (8) is satisfied.

補正係数算出部120は、図8に示すように補正領域に関する情報が係数算出部305に転送される点が第1実施形態とは異なっている。係数算出部305は、補正係数αを算出する際に、補正領域選択部1000によって選択された補正領域に対して、補正係数αを算出する。   The correction coefficient calculation unit 120 is different from the first embodiment in that information regarding the correction area is transferred to the coefficient calculation unit 305 as shown in FIG. The coefficient calculation unit 305 calculates the correction coefficient α for the correction region selected by the correction region selection unit 1000 when calculating the correction coefficient α.

これによって、補正部111は、補正領域選択部1000によって選択された補正領域のみに階調補正を行う。そのため、階調補正を行う領域を少なくすることができ、高速な処理を行うことができる。   As a result, the correction unit 111 performs gradation correction only on the correction region selected by the correction region selection unit 1000. Therefore, the area for gradation correction can be reduced, and high-speed processing can be performed.

補正領域選択部1000は、ハードウェアによる処理を前提としているが、第1実施形態と同様にソフトウェアによって処理する構成とすることも可能である。   The correction area selection unit 1000 is premised on processing by hardware, but can also be configured to perform processing by software as in the first embodiment.

第2実施形態における処理を、ソフトウェアによって行う場合について、図9のフローチャートを用いて説明する。   The case where the process in 2nd Embodiment is performed by software is demonstrated using the flowchart of FIG.

ステップS11では、ヘッダ情報を読み出す。   In step S11, header information is read.

ステップS12では、第1の映像信号を取得し、バッファ106に記憶させる。また、第2の映像信号を取得すると第2の映像信号をバッファ106に記憶させる。   In step S <b> 12, the first video signal is acquired and stored in the buffer 106. Further, when the second video signal is acquired, the second video signal is stored in the buffer 106.

信号処理部108に相当するステップS13では、RGBのフルカラーの映像信号を作成する。   In step S13 corresponding to the signal processing unit 108, an RGB full-color video signal is created.

色差信号分離部109に相当するステップS14では、第1の映像信号を第1の輝度信号と第1の色差信号とに分離する。また、第2の映像信号を第2の輝度信号と第2の色差信号とに分離する。   In step S14 corresponding to the color difference signal separation unit 109, the first video signal is separated into a first luminance signal and a first color difference signal. The second video signal is separated into a second luminance signal and a second color difference signal.

補正領域選択部1000に相当するステップS15では、第1の色差信号から算出する彩度S1に基づいて、補正領域を選択する。 In step S15 corresponds to the correction region selection unit 1000, based on the saturation S 1 calculated from the first color difference signal, for selecting the correction region.

補正係数算出部120に相当するステップS16では、第1の色差信号と第2の色差信号とに基づいて、選択された補正領域に対して補正係数αを算出する。   In step S16 corresponding to the correction coefficient calculation unit 120, a correction coefficient α is calculated for the selected correction area based on the first color difference signal and the second color difference signal.

補正部111に相当するステップS17では、補正係数αに基づいて、階調変換曲線を算出し、階調変換曲線を用いて第1の映像信号に対して階調補正を行う。   In step S17 corresponding to the correction unit 111, a gradation conversion curve is calculated based on the correction coefficient α, and gradation correction is performed on the first video signal using the gradation conversion curve.

本発明の第2実施形態の効果について説明する。   The effect of 2nd Embodiment of this invention is demonstrated.

第1の色差信号から算出する彩度S1が暗い領域であると判定される領域を補正領域として選択し、その補正領域に対してのみ補正係数αを算出する。これによって、選択された補正領域のみに階調補正を行い、高速な処理を行うことができる。 An area where the saturation S 1 calculated from the first color difference signal is determined to be a dark area is selected as a correction area, and the correction coefficient α is calculated only for the correction area. As a result, gradation correction can be performed only on the selected correction region, and high-speed processing can be performed.

次に本発明の第3実施形態について図10を用いて説明する。図10は、第3実施形態の撮像システムのブロック図である。   Next, a third embodiment of the present invention will be described with reference to FIG. FIG. 10 is a block diagram of an imaging system according to the third embodiment.

第3実施形態は、第1実施形態とは、信号処理部130と、色差信号分離部131と、補正係数算出部132と、が異なっている。第1実施形態と同一の構成については、同じ符号を付している。以下においては、第1実施形態と異なる箇所について説明する。   The third embodiment is different from the first embodiment in a signal processing unit 130, a color difference signal separation unit 131, and a correction coefficient calculation unit 132. The same code | symbol is attached | subjected about the structure same as 1st Embodiment. In the following, a different part from 1st Embodiment is demonstrated.

信号処理部130は、映像信号を生成する。生成された映像信号のうち第1の映像信号は、色差信号分離部131および補正部111へ転送される。また、第2の映像信号は、色差信号分離部131へ転送される。   The signal processing unit 130 generates a video signal. Of the generated video signals, the first video signal is transferred to the color difference signal separation unit 131 and the correction unit 111. Further, the second video signal is transferred to the color difference signal separation unit 131.

色差信号分離部131は、信号処理部108から転送された映像信号を輝度信号と色差信号に分離する。分離された輝度信号と色差信号とは、補正係数算出部132に転送される。   The color difference signal separation unit 131 separates the video signal transferred from the signal processing unit 108 into a luminance signal and a color difference signal. The separated luminance signal and color difference signal are transferred to the correction coefficient calculation unit 132.

補正係数算出部132について、図11を用いて説明する。図11は補正係数算出部132のブロック図である。補正係数算出部132は、フレームメモリ501と、移動量算出部(第2の位置合わせ部)502と、フレームメモリ503と、係数算出部504と、を備える。フレームメモリ501は移動量算出部502へ接続している。移動量算出部502およびフレームメモリ503は係数算出部504へ接続している。色差信号分離部109は、フレームメモリ501およびフレームメモリ503へ接続している。係数算出部504は補正部111へ接続している。制御部114は移動量算出部502および係数算出部504と双方向に接続している。   The correction coefficient calculation unit 132 will be described with reference to FIG. FIG. 11 is a block diagram of the correction coefficient calculation unit 132. The correction coefficient calculation unit 132 includes a frame memory 501, a movement amount calculation unit (second alignment unit) 502, a frame memory 503, and a coefficient calculation unit 504. The frame memory 501 is connected to the movement amount calculation unit 502. The movement amount calculation unit 502 and the frame memory 503 are connected to the coefficient calculation unit 504. The color difference signal separation unit 109 is connected to the frame memory 501 and the frame memory 503. The coefficient calculation unit 504 is connected to the correction unit 111. The control unit 114 is bi-directionally connected to the movement amount calculation unit 502 and the coefficient calculation unit 504.

フレームメモリ501は、色差信号分離部109から転送される輝度信号を蓄積する。   The frame memory 501 stores the luminance signal transferred from the color difference signal separation unit 109.

フレームメモリ503は、色差信号分離部109から転送される色差信号を蓄積する。   The frame memory 503 stores the color difference signal transferred from the color difference signal separation unit 109.

移動量算出部502は、フレームメモリ501から第1の輝度信号および第2の輝度信号を抽出し、第1の輝度信号に対する第2の輝度信号の移動量を算出する。移動量の算出方法は公知の動きベクトルやブロックマッチングなどを用いる。   The movement amount calculation unit 502 extracts the first luminance signal and the second luminance signal from the frame memory 501 and calculates the movement amount of the second luminance signal with respect to the first luminance signal. As a method for calculating the movement amount, a known motion vector, block matching, or the like is used.

係数算出部504は、フレームメモリ503から第1の色差信号と第2の色差信号とを抽出し、移動量算出部502によって算出した移動量に基づいて、第1の色差信号に対する第2の色差信号の位置合わせを行う。   The coefficient calculation unit 504 extracts the first color difference signal and the second color difference signal from the frame memory 503, and based on the movement amount calculated by the movement amount calculation unit 502, the second color difference with respect to the first color difference signal. Perform signal alignment.

係数算出部504は、位置合わせを行った後に、対応する画素ごとに補正係数αを算出する。   The coefficient calculation unit 504 calculates a correction coefficient α for each corresponding pixel after performing alignment.

なお、第1実施形態と同様に、ソフトウェアによって処理する構成とすることも可能である。ソフトウェアによって処理する際には、第1実施形態の図6で示すフローチャートと同様の処理を行う。   Note that, similarly to the first embodiment, a configuration of processing by software is also possible. When processing by software, the same processing as the flowchart shown in FIG. 6 of the first embodiment is performed.

本発明の第3実施形態の効果について説明する。   The effect of the third embodiment of the present invention will be described.

輝度信号を用いて移動量を算出し、位置合わせを行うことで、人間の視覚特性に適した位置合わせを行うことができる。そのため、理想的な補正係数αを算出することができ、暗い領域と黒い領域とを人間の視覚特性に合わせて、階調補正を行うことができる。   By calculating the amount of movement using the luminance signal and performing alignment, alignment suitable for human visual characteristics can be performed. Therefore, an ideal correction coefficient α can be calculated, and gradation correction can be performed in accordance with human visual characteristics between dark areas and black areas.

次に本発明の第4実施形態について図12を用いて説明する。図12は、第4実施形態の撮像システムのブロック図である。   Next, a fourth embodiment of the present invention will be described with reference to FIG. FIG. 12 is a block diagram of an imaging system according to the fourth embodiment.

第4実施形態は、第2実施形態とは、信号処理部140と、色差信号分離部141と、補正係数算出部142と、が異なっている。第2実施形態と同一の構成については、同じ符号を付している。以下においては、第2実施形態と異なる箇所について説明する。   The fourth embodiment is different from the second embodiment in a signal processing unit 140, a color difference signal separation unit 141, and a correction coefficient calculation unit 142. The same code | symbol is attached | subjected about the structure same as 2nd Embodiment. In the following, a different part from 2nd Embodiment is demonstrated.

信号処理部140は、映像信号を生成する。生成された映像信号のうち第1の映像信号は、色差信号分離部141および補正部111へ転送される。また、第2の映像信号は、色差信号分離部141へ転送される。   The signal processing unit 140 generates a video signal. Among the generated video signals, the first video signal is transferred to the color difference signal separation unit 141 and the correction unit 111. Further, the second video signal is transferred to the color difference signal separation unit 141.

色差信号分離部141は、信号処理部140から転送された映像信号を輝度信号と色差信号に分離する。分離された輝度信号と色差信号とは、補正係数算出部142に転送される。また、分離された第1の色差信号は、補正領域選択部1000へ転送される。   The color difference signal separation unit 141 separates the video signal transferred from the signal processing unit 140 into a luminance signal and a color difference signal. The separated luminance signal and color difference signal are transferred to the correction coefficient calculation unit 142. Further, the separated first color difference signal is transferred to the correction area selection unit 1000.

補正係数算出部142について、図13を用いて説明する。図13は補正係数算出部142のブロック図である。   The correction coefficient calculation unit 142 will be described with reference to FIG. FIG. 13 is a block diagram of the correction coefficient calculation unit 142.

補正係数算出部142は、フレームメモリ501と、移動量算出部502と、フレームメモリ503と、係数算出部505と、を備える。第4実施形態の補正係数算出部142は、第3実施形態の補正係数算出部132と比較すると、係数算出部505が異なっている。第3実施形態の同一の構成については、同じ符号を付している。以下においては、第3実施形態と異なる構成について説明する。   The correction coefficient calculation unit 142 includes a frame memory 501, a movement amount calculation unit 502, a frame memory 503, and a coefficient calculation unit 505. The correction coefficient calculation unit 142 of the fourth embodiment is different from the correction coefficient calculation unit 132 of the third embodiment in the coefficient calculation unit 505. The same code | symbol is attached | subjected about the same structure of 3rd Embodiment. In the following, a configuration different from that of the third embodiment will be described.

係数算出部505は、フレームメモリ503から第1の色差信号と第2の色差信号とを抽出し、移動量算出部502によって算出した移動量に基づいて、第1の色差信号に対する第2の色差信号の位置合わせを行う。   The coefficient calculation unit 505 extracts the first color difference signal and the second color difference signal from the frame memory 503, and based on the movement amount calculated by the movement amount calculation unit 502, the second color difference with respect to the first color difference signal. Perform signal alignment.

係数算出部505は、位置合わせを行った後に、補正領域選択部1000によって選択された領域に対して、対応する画素ごとに補正係数αを算出する。算出された補正係数αは、補正部111に転送される。   The coefficient calculation unit 505 calculates a correction coefficient α for each corresponding pixel in the region selected by the correction region selection unit 1000 after performing alignment. The calculated correction coefficient α is transferred to the correction unit 111.

なお、第2実施形態と同様に、ソフトウェアによって処理する構成とすることも可能である。ソフトウェアによって処理する際には、第2実施形態の図9で示すフローチャートと同様の処理を行う。   Note that, similarly to the second embodiment, a configuration in which processing is performed by software is also possible. When processing by software, the same processing as the flowchart shown in FIG. 9 of the second embodiment is performed.

本発明の第4実施形態の効果について説明する。   The effect of 4th Embodiment of this invention is demonstrated.

輝度信号を用いて位置合わせを行うため、人間の視覚特性に適した位置合わせを行うことができ、理想的な補正係数αの算出が可能となる。第1の色差信号の彩度S1が暗い領域であると判定される領域を補正領域として選択し、その補正領域に対してのみ補正係数αを算出する。これによって、選択された補正領域のみに階調補正を行い、高速な処理を行うことができる。 Since alignment is performed using the luminance signal, alignment suitable for human visual characteristics can be performed, and an ideal correction coefficient α can be calculated. A region where the saturation S 1 of the first color difference signal is determined to be a dark region is selected as a correction region, and the correction coefficient α is calculated only for the correction region. As a result, gradation correction can be performed only on the selected correction region, and high-speed processing can be performed.

次に本発明の第5実施形態について図14を用いて説明する。図14は、第5実施形態の補正部600のブロック図である。   Next, a fifth embodiment of the present invention will be described with reference to FIG. FIG. 14 is a block diagram of the correction unit 600 of the fifth embodiment.

第5実施形態は、第1実施形態とは、補正部600が異なっている。第1実施形態と同一の構成については、同じ符号を付している。ここでは、補正部600について説明する。   The fifth embodiment is different from the first embodiment in the correction unit 600. The same code | symbol is attached | subjected about the structure same as 1st Embodiment. Here, the correction unit 600 will be described.

補正部600は、LUT(ルックアップテーブル)601と、変換曲線適用部602と、を備える。LUT601は、補正係数算出部110と変換曲線適用部602へ接続している。   The correction unit 600 includes an LUT (lookup table) 601 and a conversion curve application unit 602. The LUT 601 is connected to the correction coefficient calculation unit 110 and the conversion curve application unit 602.

LUT601は、補正係数算出部110によって算出された補正係数αに基づいて、階調変換曲線を設定する。LUT601は、様々な補正係数αに対応する階調変換曲線を複数記憶している。階調変換曲線は、第1実施形態と同様の効果を得ることができる階調変換特性を有している。LUT601では、補正係数αが1に近い場合、階調変換特性は入力信号値に対して出力信号値があまり変化しないものが選択され、補正係数αが1より大きい場合、階調変換特性は暗い領域の入力信号値に対して出力信号値が増幅されるものが選択される。   The LUT 601 sets a gradation conversion curve based on the correction coefficient α calculated by the correction coefficient calculation unit 110. The LUT 601 stores a plurality of gradation conversion curves corresponding to various correction coefficients α. The gradation conversion curve has gradation conversion characteristics that can obtain the same effects as those of the first embodiment. In the LUT 601, when the correction coefficient α is close to 1, the gradation conversion characteristic is selected such that the output signal value does not change much with respect to the input signal value. When the correction coefficient α is greater than 1, the gradation conversion characteristic is dark. A signal whose output signal value is amplified with respect to the input signal value in the region is selected.

第5実施形態の効果について説明する。   The effect of 5th Embodiment is demonstrated.

LUT601によって、補正係数αに基づいて、階調変換曲線を選択することで、第1実施形態と同様の効果を得ることができる。   By selecting a gradation conversion curve based on the correction coefficient α by the LUT 601, the same effect as in the first embodiment can be obtained.

なお、第5実施形態を第2実施形態から第4実施形態の撮像システムに適用してもよい。   Note that the fifth embodiment may be applied to the imaging system of the second to fourth embodiments.

また、上記した実施形態における処理は、撮像システム以外の装置、例えばパーソナルコンピュータなどによって実行されてもよい。この場合には、制御プログラムが例えばROMなどの記憶媒体に記憶されており、CPUが制御プログラムに基づいて、演算処理を実行することにより、色差信号分離部などとして機能する。   Further, the processing in the above-described embodiment may be executed by an apparatus other than the imaging system, for example, a personal computer. In this case, the control program is stored in a storage medium such as a ROM, for example, and the CPU executes arithmetic processing based on the control program, thereby functioning as a color difference signal separation unit or the like.

本発明は上記した実施形態に限定されるものではなく、その技術的思想の範囲内でなしうるさまざまな変更、改良が含まれることは言うまでもない。   It goes without saying that the present invention is not limited to the above-described embodiments, and includes various modifications and improvements that can be made within the scope of the technical idea.

本発明の第1実施形態の撮像システムにおけるブロック図である。It is a block diagram in the imaging system of a 1st embodiment of the present invention. 第1実施形態の露出制御部のブロック図である。It is a block diagram of the exposure control part of 1st Embodiment. ヒストグラム算出部によって算出したヒストグラムの例を示す図である。It is a figure which shows the example of the histogram calculated by the histogram calculation part. 第1実施形態の補正係数算出部のブロック図である。It is a block diagram of the correction coefficient calculation part of 1st Embodiment. 第1実施形態の補正部のブロック図である。It is a block diagram of the correction | amendment part of 1st Embodiment. 第1実施形態の処理をソフトウェアによって行う場合のフローチャートである。It is a flowchart in the case of performing the process of 1st Embodiment by software. 本発明の第2実施形態の撮像システムにおけるブロック図である。It is a block diagram in the imaging system of 2nd Embodiment of this invention. 第2実施形態の補正係数算出部のブロック図である。It is a block diagram of the correction coefficient calculation part of 2nd Embodiment. 第2実施形態の処理をソフトウェアによって行う場合のフローチャートである。It is a flowchart in the case of performing the process of 2nd Embodiment by software. 本発明の第3実施形態の撮像システムにおけるブロック図である。It is a block diagram in the imaging system of 3rd Embodiment of this invention. 第3実施形態の補正係数算出部のブロック図である。It is a block diagram of the correction coefficient calculation part of 3rd Embodiment. 本発明の第4実施形態の撮像システムにおけるブロック図である。It is a block diagram in the imaging system of 4th Embodiment of this invention. 第4実施形態の補正係数算出部のブロック図である。It is a block diagram of the correction coefficient calculation part of 4th Embodiment. 本発明の第5実施形態の補正部のブロック図である。It is a block diagram of the correction | amendment part of 5th Embodiment of this invention.

101 絞り
103 CCD(撮像部)
104 AEセンサ(光強度検出部)
107 露出制御部(露出条件設定部)
108、130、140 信号処理部
109、131、141 色差信号分離部(分離部)
110、120、132、142 補正係数算出部
111、600 補正部
114 制御部
200 ヒストグラム算出部
201 露出算出部(累積値算出部、露出値算出部)
202 パラメータ制御部
302、502 移動量算出部
304、305、504、505 係数算出部(第1の位置合わせ部、第2の位置合わせ部)
401 階調変換曲線作成部(階調変換曲線設定部)
403、602 変換曲線適用部(階調補正部)
601 LUT部
1000 補正領域選択部
101 Aperture 103 CCD (imaging unit)
104 AE sensor (light intensity detector)
107 Exposure control unit (exposure condition setting unit)
108, 130, 140 Signal processing unit 109, 131, 141 Color difference signal separation unit (separation unit)
110, 120, 132, 142 Correction coefficient calculation unit 111, 600 Correction unit 114 Control unit 200 Histogram calculation unit 201 Exposure calculation unit (cumulative value calculation unit, exposure value calculation unit)
202 Parameter control unit 302, 502 Movement amount calculation unit 304, 305, 504, 505 Coefficient calculation unit (first alignment unit, second alignment unit)
401 gradation conversion curve creation section (gradation conversion curve setting section)
403, 602 Conversion curve application unit (gradation correction unit)
601 LUT part 1000 Correction area selection part

Claims (17)

映像信号を階調変換し、出力する撮像システムであって、
前記映像信号を取得する撮像部と、
第1の映像信号を取得した時の第1の露出条件とは異なる第2の露出条件を設定する露出条件設定部と、
前記第1の映像信号を第1の輝度信号と第1の色差信号とに分離し、前記第2の露出条件によって取得された第2の映像信号を第2の輝度信号と第2の色差信号とに分離する分離部と、
前記第1の色差信号と前記第2の色差信号とに基づいて、前記第1の映像信号または前記第2の映像信号中の黒い領域を示す信号値の増幅率よりも、前記黒い領域以外の領域を示す信号値の増幅率を大きくする階調変換曲線を設定する階調変換曲線設定部と、
前記階調変換曲線に基づいて、前記第1の映像信号または前記第2の映像信号の階調補正を行う階調補正部と、を備えることを特徴とする撮像システム。
An imaging system that converts a gradation of a video signal and outputs the image signal,
An imaging unit for obtaining the video signal;
An exposure condition setting unit that sets a second exposure condition different from the first exposure condition at the time of acquiring the first video signal;
The first video signal is separated into a first luminance signal and a first color difference signal, and the second video signal acquired by the second exposure condition is used as a second luminance signal and a second color difference signal. A separation part that separates into
Based on the first color difference signal and the second color difference signal, an amplification factor of a signal value indicating a black area in the first video signal or the second video signal is higher than that of the black area. A gradation conversion curve setting unit for setting a gradation conversion curve for increasing an amplification factor of a signal value indicating a region;
An imaging system comprising: a gradation correction unit that performs gradation correction of the first video signal or the second video signal based on the gradation conversion curve.
前記第1の色差信号あるいは前記第2の色差信号に基づいて、補正領域を選択する補正領域選択部を備え、
前記階調補正部は、前記補正領域に対して、前記階調変換曲線に基づいて、前記第1の映像信号または前記第2の映像信号の階調補正を行うことを特徴とする請求項1に記載の撮像システム。
A correction area selection unit that selects a correction area based on the first color difference signal or the second color difference signal;
The gradation correction unit performs gradation correction of the first video signal or the second video signal on the correction area based on the gradation conversion curve. The imaging system described in 1.
前記第1の色差信号から算出する彩度と前記第2の色差信号から算出する彩度とに基づいて、階調補正のための補正係数を算出する補正係数算出部を備え、
前記階調変換曲線設定部は、前記補正係数に基づいて、前記階調変換曲線を設定することを特徴とする請求項1または2に記載の撮像システム。
A correction coefficient calculation unit that calculates a correction coefficient for gradation correction based on the saturation calculated from the first color difference signal and the saturation calculated from the second color difference signal;
The imaging system according to claim 1, wherein the gradation conversion curve setting unit sets the gradation conversion curve based on the correction coefficient.
前記第1の映像信号と前記第2の映像信号との位置合わせを行う第1の位置合わせ部を備え、
前記補正係数算出部は、前記第1の映像信号と前記第2の映像信号とを用いて位置合わせが行われた後に、前記第1の色差信号から算出する彩度と前記第2の色差信号から算出する彩度とに基づいて、前記補正係数を算出することを特徴とする請求項3に記載の撮像システム。
A first alignment unit configured to align the first video signal and the second video signal;
The correction coefficient calculation unit includes a saturation calculated from the first color difference signal and the second color difference signal after alignment is performed using the first video signal and the second video signal. The imaging system according to claim 3, wherein the correction coefficient is calculated on the basis of the saturation calculated from.
前記第1の輝度信号と前記第2の輝度信号との位置合わせを行う第2の位置合わせ部を備え、
前記補正係数算出部は、前記第1の輝度信号と前記第2の輝度信号とを用いて位置合わせが行われた後に、前記第1の色差信号から算出する彩度と前記第2の色差信号から算出する彩度とに基づいて、前記補正係数を算出することを特徴とする請求項3に記載の撮像システム。
A second alignment unit configured to align the first luminance signal and the second luminance signal;
The correction coefficient calculation unit includes the saturation calculated from the first color difference signal and the second color difference signal after alignment is performed using the first luminance signal and the second luminance signal. The imaging system according to claim 3, wherein the correction coefficient is calculated on the basis of the saturation calculated from.
前記補正係数算出部は、前記第1の色差信号から算出する彩度と前記第2の色差信号から算出する彩度との比、もしくは差に基づいて、前記補正係数を算出することを特徴とする請求項3から5のいずれか一つに記載の撮像システム。   The correction coefficient calculation unit calculates the correction coefficient based on a ratio or difference between saturation calculated from the first color difference signal and saturation calculated from the second color difference signal. The imaging system according to any one of claims 3 to 5. 被写体の輝度を検出する光強度検出部を備え、
前記露出条件設定部は、
前記光強度検出部によって検出された、前記第1の露出条件における前記第1の映像信号の輝度をヒストグラムとして算出するヒストグラム算出部と、
前記ヒストグラムにおいて、前記輝度が第1所定値以下である前記第1の映像信号の信号値の累積値を算出する累積値算出部と、
前記累積値が、第2所定値以下となるように露出値を算出し、前記第2の露出条件を設定する露出値算出部と、を備えることを特徴とする請求項1から6のいずれか一つに記載の撮像システム。
It has a light intensity detector that detects the brightness of the subject,
The exposure condition setting unit
A histogram calculation unit that calculates the luminance of the first video signal under the first exposure condition detected by the light intensity detection unit as a histogram;
In the histogram, a cumulative value calculation unit that calculates a cumulative value of the signal value of the first video signal whose luminance is equal to or less than a first predetermined value;
The exposure value calculation part which calculates an exposure value so that the said cumulative value may be below a 2nd predetermined value, and sets the said 2nd exposure condition, It has any 1 to 6 characterized by the above-mentioned. The imaging system according to one.
前記補正領域選択部は、前記第1の色差信号から算出する彩度または前記第2の色差信号から算出する彩度が、第3所定値以下である領域を前記補正領域とすることを特徴とする請求項2に記載の撮像システム。   The correction area selecting unit sets, as the correction area, an area where the saturation calculated from the first color difference signal or the saturation calculated from the second color difference signal is equal to or less than a third predetermined value. The imaging system according to claim 2. 請求項1から8のいずれか一つに記載の撮像システムを備えることを特徴とする電子機器。   An electronic apparatus comprising the imaging system according to claim 1. 映像信号を階調変換する映像信号処理プログラムであって、
コンピュータに、
第1の露出条件により撮影された第1の映像信号を取得する第1の取得手順と、
前記第1の露出条件とは異なる第2の露出条件により撮影された第2の映像信号を取得する第2の取得手順と、
前記第1の映像信号を第1の輝度信号と第1の色差信号とに分離し、前記第2の映像信号を第2の輝度信号と第2の色差信号とに分離する分離手順と、
前記第1の色差信号と前記第2の色差信号とに基づいて、前記第1の映像信号または前記第2の映像信号中の黒い領域を示す信号値の増幅率よりも、前記黒い領域以外の領域を示す信号値の増幅率を大きくする階調変換曲線を設定する階調変換曲線設定手順と、
前記階調変換曲線に基づいて、前記第1の映像信号または前記第2の映像信号の階調補正を行う階調補正手順と、を実行させることを特徴とする映像信号処理プログラム。
A video signal processing program for gradation conversion of a video signal,
On the computer,
A first acquisition procedure for acquiring a first video signal imaged under a first exposure condition;
A second acquisition procedure for acquiring a second video signal imaged under a second exposure condition different from the first exposure condition;
A separation procedure for separating the first video signal into a first luminance signal and a first color difference signal, and separating the second video signal into a second luminance signal and a second color difference signal;
Based on the first color difference signal and the second color difference signal, an amplification factor of a signal value indicating a black area in the first video signal or the second video signal is higher than that of the black area. A gradation conversion curve setting procedure for setting a gradation conversion curve for increasing an amplification factor of a signal value indicating a region;
A video signal processing program for executing a gradation correction procedure for performing gradation correction of the first video signal or the second video signal based on the gradation conversion curve.
前記コンピュータに、
前記第1の色差信号あるいは前記第2の色差信号に基づいて、補正領域を選択する補正領域選択手順を実行させ、
前記階調補正手順は、前記補正領域に対して、前記階調変換曲線に基づいて、前記第1の映像信号または前記第2の映像信号の階調補正を行うことを特徴とする請求項10に記載の映像信号処理プログラム。
In the computer,
Based on the first color difference signal or the second color difference signal, a correction area selection procedure for selecting a correction area is executed,
11. The gradation correction procedure performs gradation correction of the first video signal or the second video signal on the correction area based on the gradation conversion curve. The video signal processing program described in 1.
前記コンピュータに、
前記第1の色差信号から算出する彩度と前記第2の色差信号から算出する彩度とに基づいて、階調補正のための補正係数を算出する補正係数算出手順を備え、
前記階調変換曲線設定手順は、前記補正係数に基づいて、前記階調変換曲線を設定することを特徴とする請求項10または11に記載の映像信号処理プログラム。
In the computer,
A correction coefficient calculation procedure for calculating a correction coefficient for gradation correction based on the saturation calculated from the first color difference signal and the saturation calculated from the second color difference signal;
12. The video signal processing program according to claim 10, wherein the gradation conversion curve setting procedure sets the gradation conversion curve based on the correction coefficient.
前記コンピュータに、
前記第1の映像信号と前記第2の映像信号との位置合わせを行う第1の位置合わせ手順を実行させ、
前記補正係数算出手順は、前記第1の映像信号と前記第2の映像信号とを用いて位置合わせが行われた後に、前記第1の色差信号と前記第2の色差信号とに基づいて、前記補正係数を算出することを特徴とする請求項12に記載の映像信号処理プログラム。
In the computer,
Performing a first alignment procedure for aligning the first video signal and the second video signal;
The correction coefficient calculation procedure is based on the first color difference signal and the second color difference signal after alignment is performed using the first video signal and the second video signal. The video signal processing program according to claim 12, wherein the correction coefficient is calculated.
前記コンピュータに、
前記第1の輝度信号と前記第2の輝度信号との位置合わせを行う第2の位置合わせ手順を実行させ、
前記補正係数算出手順は、前記第1の輝度信号と前記第2の輝度信号とを用いて位置合わせが行われた後に、前記第1の色差信号と前記第2の色差信号とに基づいて、前記補正係数を算出することを特徴とする請求項12に記載の映像信号処理プログラム。
In the computer,
Performing a second alignment procedure for aligning the first luminance signal and the second luminance signal;
The correction coefficient calculation procedure is based on the first color difference signal and the second color difference signal after alignment is performed using the first luminance signal and the second luminance signal. The video signal processing program according to claim 12, wherein the correction coefficient is calculated.
前記補正係数算出手順は、前記第1の色差信号から算出する彩度と前記第2の色差信号から算出する彩度との比もしくは差に基づいて、前記補正係数を算出することを特徴とする請求項12から14のいずれか一つに記載の映像信号処理プログラム。   The correction coefficient calculation procedure calculates the correction coefficient based on a ratio or difference between a saturation calculated from the first color difference signal and a saturation calculated from the second color difference signal. The video signal processing program according to any one of claims 12 to 14. 前記補正領域選択手段は、前記第1の色差信号から算出する彩度または前記第2の色差信号から算出する彩度が、第3所定値以下である領域を前記補正領域とすることを特徴とする請求項11に記載の映像信号処理プログラム。   The correction area selecting means uses the area where the saturation calculated from the first color difference signal or the saturation calculated from the second color difference signal is equal to or less than a third predetermined value as the correction area. The video signal processing program according to claim 11. 映像信号を階調変換し、出力する撮像方法であって、
前記映像信号を取得し、
第1の映像信号を取得した時の第1の露出条件とは異なる第2の露出条件を設定し、
前記第1の映像信号を第1の輝度信号と第1の色差信号とに分離し、前記第2の露出条件によって取得された第2の映像信号を第2の輝度信号と第2の色差信号とに分離し、
前記第1の色差信号と前記第2の色差信号とに基づいて、階調補正のための補正係数を算出し、
前記第1の色差信号と前記第2の色差信号とに基づいて、前記第1の映像信号または前記第2の映像信号中の黒い領域を示す信号値の増幅率よりも、前記黒い領域以外の領域を示す信号値の増幅率を大きくする階調変換曲線を設定し、
前記階調変換曲線に基づいて、前記第1の映像信号または前記第2の映像信号の階調補正を行う、ことを特徴とする撮像方法。
An imaging method for converting a gradation of a video signal and outputting it,
Obtaining the video signal;
Setting a second exposure condition different from the first exposure condition at the time of acquiring the first video signal;
The first video signal is separated into a first luminance signal and a first color difference signal, and the second video signal acquired by the second exposure condition is used as a second luminance signal and a second color difference signal. And separated into
Calculating a correction coefficient for gradation correction based on the first color difference signal and the second color difference signal;
Based on the first color difference signal and the second color difference signal, an amplification factor of a signal value indicating a black area in the first video signal or the second video signal is higher than that of the black area. Set the gradation conversion curve to increase the amplification factor of the signal value indicating the area,
An imaging method, wherein gradation correction of the first video signal or the second video signal is performed based on the gradation conversion curve.
JP2009031910A 2009-02-13 2009-02-13 Imaging system, video signal processing program, and imaging method Expired - Fee Related JP5307572B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009031910A JP5307572B2 (en) 2009-02-13 2009-02-13 Imaging system, video signal processing program, and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009031910A JP5307572B2 (en) 2009-02-13 2009-02-13 Imaging system, video signal processing program, and imaging method

Publications (2)

Publication Number Publication Date
JP2010187350A true JP2010187350A (en) 2010-08-26
JP5307572B2 JP5307572B2 (en) 2013-10-02

Family

ID=42767701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009031910A Expired - Fee Related JP5307572B2 (en) 2009-02-13 2009-02-13 Imaging system, video signal processing program, and imaging method

Country Status (1)

Country Link
JP (1) JP5307572B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017102637A (en) * 2015-12-01 2017-06-08 キヤノン株式会社 Processing apparatus, processing system, imaging device, processing method, program, and recording medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06259549A (en) * 1993-03-08 1994-09-16 Nippon Telegr & Teleph Corp <Ntt> Picture area dividing device
JP2001216600A (en) * 2000-02-03 2001-08-10 Mitsubishi Electric Corp Aircraft parking position display device
JP2007190060A (en) * 2006-01-17 2007-08-02 Olympus Corp Endoscopic instrument

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06259549A (en) * 1993-03-08 1994-09-16 Nippon Telegr & Teleph Corp <Ntt> Picture area dividing device
JP2001216600A (en) * 2000-02-03 2001-08-10 Mitsubishi Electric Corp Aircraft parking position display device
JP2007190060A (en) * 2006-01-17 2007-08-02 Olympus Corp Endoscopic instrument

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017102637A (en) * 2015-12-01 2017-06-08 キヤノン株式会社 Processing apparatus, processing system, imaging device, processing method, program, and recording medium

Also Published As

Publication number Publication date
JP5307572B2 (en) 2013-10-02

Similar Documents

Publication Publication Date Title
KR101625893B1 (en) Image pickup apparatus that periodically changes exposure condition, a method of controlling image pickup apparatus, and storage medium
KR101303410B1 (en) Image capture apparatus and image capturing method
JP5112104B2 (en) Image processing apparatus and image processing program
JP5053802B2 (en) Signal processing apparatus and signal processing program
JP5612017B2 (en) Camera shake reduction system
JP2009212853A (en) White balance controller, its control method, and imaging apparatus
CN105960658B (en) Image processing apparatus, image capturing apparatus, image processing method, and non-transitory storage medium that can be processed by computer
US9589339B2 (en) Image processing apparatus and control method therefor
JP5861924B2 (en) Imaging device
EP1998552B1 (en) Imaging apparatus and image processing program
JP2011228807A (en) Image processing program, image processing apparatus, and image processing method
WO2019124289A1 (en) Device, control method, and storage medium
JP6108680B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP2011171842A (en) Image processor and image processing program
WO2010007726A1 (en) Imaging device, image processing program, image processing device, and image processing method
JP2012095223A (en) Imaging device, imaging method, and program
JP2006253970A (en) Imaging apparatus, shading correction data generating method, and program
US20090207285A1 (en) Image capturing system, image processing method, and computer- readable recording medium having image processing program recorded thereon
JP7442989B2 (en) Imaging device, control method for the imaging device, and program
JP5307572B2 (en) Imaging system, video signal processing program, and imaging method
US8154618B2 (en) Imaging apparatus and method for setting the same
JP2006262221A (en) Imaging apparatus and image processing method
JP5115297B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program
JP6245847B2 (en) Image processing apparatus and image processing method
JP5208799B2 (en) Imaging system, video signal processing program, and imaging method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130521

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130529

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: 20130618

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130627

R151 Written notification of patent or utility model registration

Ref document number: 5307572

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees