JP2015019330A - Imaging device, method of controlling imaging device, and computer program - Google Patents

Imaging device, method of controlling imaging device, and computer program Download PDF

Info

Publication number
JP2015019330A
JP2015019330A JP2013146826A JP2013146826A JP2015019330A JP 2015019330 A JP2015019330 A JP 2015019330A JP 2013146826 A JP2013146826 A JP 2013146826A JP 2013146826 A JP2013146826 A JP 2013146826A JP 2015019330 A JP2015019330 A JP 2015019330A
Authority
JP
Japan
Prior art keywords
image
image signal
signal
exposure
region
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
JP2013146826A
Other languages
Japanese (ja)
Other versions
JP6141129B2 (en
Inventor
宏 中岡
Hiroshi Nakaoka
宏 中岡
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 JP2013146826A priority Critical patent/JP6141129B2/en
Publication of JP2015019330A publication Critical patent/JP2015019330A/en
Application granted granted Critical
Publication of JP6141129B2 publication Critical patent/JP6141129B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate an excellent image signal by putting together a plurality of image signals obtained by successive imaging even if brightness modulation is imposed on an image signal.SOLUTION: Two image signals are picked up successively while the timing when electric charge of an imaging element 101 begins to be accumulated is shifted by a time based upon a representative light emission time (average light emission time) of an external electronic flash and a readout time of one line. Integral values (line integral value) of respective lines of those two image signals are derived, and the derived line integral values are compared with a threshold Th so as to determine a brightness modulation area. According to respective brightness modulation areas of the two image signals, an area where the two image signals are put together and an area where one of the two image signals is used are determined.

Description

本発明は、撮像装置、撮像装置の制御方法、及びコンピュータプログラムに関し、特に、連続して撮像された複数の画像信号を合成して出力するために用いて好適なものである。   The present invention relates to an imaging apparatus, an imaging apparatus control method, and a computer program, and is particularly suitable for use in synthesizing and outputting a plurality of consecutively captured image signals.

CMOSイメージセンサ(線順次走査方式を採る撮像素子)を備えた撮像装置では、外部ストロボ(例えば、他の撮像装置に備えられている発光手段)が焚かれている状況で撮像が行われることがある。この場合、撮像装置側で決定された露出条件による撮像ができなくなることにより、画像信号中に外部ストロボによる輝度変調が生じてしまい、著しい画像劣化が発生する。特に連続して撮像された複数の画像信号を合成し1つの画像信号として出力する撮像装置では、合成後の画像信号に外部ストロボによる輝度変調の様子が表れるため、ユーザーに不快感を与えてしまう。   In an image pickup apparatus including a CMOS image sensor (an image pickup element adopting a line sequential scanning method), an image may be picked up in a situation where an external strobe (for example, a light emitting means provided in another image pickup apparatus) is sown. is there. In this case, since it becomes impossible to perform imaging under the exposure condition determined on the imaging device side, luminance modulation due to an external strobe occurs in the image signal, and significant image degradation occurs. In particular, in an imaging apparatus that synthesizes a plurality of consecutively captured image signals and outputs them as a single image signal, luminance modulation by an external strobe appears in the combined image signal, which may cause discomfort to the user. .

そこで、特許文献1には、連続して撮像された複数の画像信号のうち、外部ストロボの影響を受けているフレームの画像信号を、その前後のフレームの画像信号を合成した画像信号に置き換える撮像装置が開示されている。
また、特許文献2には、所定のフォーマットの整数倍のフレームレートで撮像し、外部ストロボの影響を受けていない画像信号のみを選択して画像信号を合成する撮像装置が開示されている。
Therefore, Japanese Patent Laid-Open No. 2004-26883 discloses an imaging in which an image signal of a frame affected by an external strobe is replaced with an image signal obtained by synthesizing image signals of preceding and succeeding frames among a plurality of image signals continuously captured. An apparatus is disclosed.
Japanese Patent Application Laid-Open No. 2004-228561 discloses an imaging apparatus that captures an image at a frame rate that is an integral multiple of a predetermined format, and selects only an image signal that is not affected by an external strobe to synthesize the image signal.

特開2007−306225号公報JP 2007-306225 A 特開2011−015381号公報JP 2011-015381 A

しかしながら、特許文献1に記載の撮像装置では、外部ストロボの影響を受けているフレームの画像信号を、その前後のフレームの画像信号を合成した画像信号に置き換える。したがって、連続的な撮像を行っているにも関わらず、撮像している被写体の時間連続性が保たれなくなってしまう問題がある。
また、特許文献2に記載の撮像装置では、部分的に影響を受けている画像信号も、合成する複数の画像信号の対象とはならない。このため、正常に撮像されているラインがあるにも関わらず画像信号全体が使用されない問題がある。また、特許文献2に記載の撮像装置では、外部ストロボの影響を受けていない画像信号のみを選択して合成する際に、合成後の画像信号のレベルを合わせるために欠落フレーム分のレベル補償をしなければならない。したがって、実質的にはゲインアップによるレベル合わせを行う必要があり、S/N比の低い画像となってしまう問題がある。
本発明は、このような問題点に鑑みてなされたものであり、画像信号に輝度変調が発生した場合でも、連続して撮像された複数の画像信号を合成して良好な画像信号を生成できるようにすることを目的とする。
However, in the imaging apparatus described in Patent Document 1, the image signal of the frame affected by the external strobe is replaced with an image signal obtained by synthesizing the image signals of the preceding and succeeding frames. Therefore, there is a problem that the temporal continuity of the subject being imaged cannot be maintained despite continuous image capturing.
Further, in the imaging device described in Patent Document 2, an image signal that is partially affected is not a target of a plurality of image signals to be combined. For this reason, there is a problem that the entire image signal is not used even though there is a line that is normally imaged. In addition, in the imaging apparatus described in Patent Document 2, when only the image signals that are not affected by the external strobe are selected and combined, level compensation for the missing frame is performed in order to match the levels of the combined image signals. Must. Therefore, it is necessary to adjust the level substantially by increasing the gain, and there is a problem that the image has a low S / N ratio.
The present invention has been made in view of such problems, and can generate a good image signal by synthesizing a plurality of continuously captured image signals even when luminance modulation occurs in the image signal. The purpose is to do so.

本発明の撮像装置は、行列状に配置された複数の画素を有する撮像素子で連続して撮像された複数の画像信号を合成して画像信号を生成する撮像装置であって、前記画像信号を得るための前記撮像素子における電荷の読み出しを行ってから、その次の前記画像信号を得るための前記撮像素子における電荷の蓄積を開始するまでの時間であるずれ時間を設定する設定手段と、前記設定手段により設定されたずれ時間に基づいて、前記撮像素子の動作を制御する撮像素子制御手段と、前記撮像素子制御手段により動作が制御された前記撮像素子で撮像された前記複数の画像信号の輝度値に基づいて、輝度が変調している領域である輝度変調領域を、前記複数の画像信号のそれぞれについて判定する領域判定手段と、前記領域判定手段により判定された輝度変調領域に基づいて、前記複数の画像信号の合成比率を算出する合成比率算出手段と、前記合成比率算出手段により算出された合成比率で、前記撮像素子制御手段により動作が制御された前記撮像素子で撮像された前記複数の画像信号を合成する合成手段と、を有することを特徴とする。   An image pickup apparatus according to the present invention is an image pickup apparatus that generates an image signal by combining a plurality of image signals continuously picked up by an image pickup element having a plurality of pixels arranged in a matrix. Setting means for setting a shift time, which is a time from the start of charge accumulation in the image pickup device for obtaining the next image signal after reading out the charge in the image pickup device for obtaining; Based on the shift time set by the setting means, the image sensor control means for controlling the operation of the image sensor, and the plurality of image signals captured by the image sensor whose operation is controlled by the image sensor control means. Based on the brightness value, a brightness modulation area, which is a brightness-modulated area, is determined by each of the plurality of image signals by the area determination means and the area determination means. The operation is controlled by the image sensor control means with a composite ratio calculation means for calculating a composite ratio of the plurality of image signals based on the luminance modulation area and a composite ratio calculated by the composite ratio calculation means. And combining means for combining the plurality of image signals picked up by the image pickup device.

本発明によれば、画像信号に輝度変調が発生した場合でも、連続して撮像された複数の画像信号を合成して良好な画像信号を生成することができる。   According to the present invention, even when luminance modulation occurs in an image signal, a good image signal can be generated by synthesizing a plurality of continuously captured image signals.

撮像装置の構成の第1の例を示す図である。It is a figure which shows the 1st example of a structure of an imaging device. 第1の例の撮像装置の動作の概要を説明する図である。It is a figure explaining the outline | summary of operation | movement of the imaging device of a 1st example. 画像信号が外部ストロボの影響を受ける条件を説明する図である。It is a figure explaining the conditions which an image signal receives to the influence of an external strobe. 第1の例の撮像装置の動作を説明する図である。It is a figure explaining operation | movement of the imaging device of a 1st example. 第1の例の撮像装置の全体制御のタイミングを説明する図である。It is a figure explaining the timing of the whole control of the imaging device of the 1st example. 輝度変調領域の判定方法を説明する図である。It is a figure explaining the determination method of a brightness modulation area. 合成比率制御信号を生成する方法を説明する図である。It is a figure explaining the method to produce | generate a synthetic | combination ratio control signal. 第1の例の撮像装置の構成の変形例を示す図である。It is a figure which shows the modification of a structure of the imaging device of a 1st example. 変形例の撮像装置の動作の概略を説明するフローチャートである。It is a flowchart explaining the outline of operation | movement of the imaging device of a modification. 第1の例の撮像装置の構成の他の変形例を示す図である。It is a figure which shows the other modification of a structure of the imaging device of a 1st example. 撮像装置の構成の第2の例を示す図である。It is a figure which shows the 2nd example of a structure of an imaging device. 低露出・高露出画像信号の輝度値と画素値との関係を示す図である。It is a figure which shows the relationship between the luminance value and pixel value of a low exposure and high exposure image signal. 低露出・高露出画像信号の画素値のヒストグラムを示す図である。It is a figure which shows the histogram of the pixel value of a low exposure and high exposure image signal. 第2の例の撮像素子の動作を説明する図である。It is a figure explaining operation | movement of the image pick-up element of a 2nd example. 第2の例の撮像装置の全体制御のタイミングを説明する図である。It is a figure explaining the timing of the whole control of the imaging device of the 2nd example. 合成比率を決定する方法を説明する図である。It is a figure explaining the method to determine a synthetic | combination ratio. 撮像装置の構成の第3の例を示す図である。It is a figure which shows the 3rd example of a structure of an imaging device. 第3の例の撮像装置の動作の概要を説明するフローチャートである。10 is a flowchart illustrating an outline of operation of an imaging apparatus according to a third example. 輝度変調領域を判定する方法を説明する図である。It is a figure explaining the method to determine a luminance modulation area. 撮像装置の構成の第4の例を示す図である。It is a figure which shows the 4th example of a structure of an imaging device. 第4の例の撮像装置の全体制御のタイミングを説明する図である。It is a figure explaining the timing of the whole control of the imaging device of the 4th example. 撮像素子における電荷の蓄積の様子を説明する図である。It is a figure explaining the mode of accumulation of electric charge in an image sensor. リセット開始のタイミングをずらさない場合の画像信号を示す図である。It is a figure which shows the image signal when not shifting the reset start timing.

本発明の実施形態を説明する前に、本発明の実施形態の前提となる技術を説明する。
図22は、撮像素子における電荷の蓄積の様子を説明する図である。具体的に図22は、外部ストロボが発光されている状況下で、CMOSイメージセンサを利用した撮像装置で被写体を動画として連続して撮影した場合の、撮像素子における電荷蓄積の様子を説明する図である。
チャート2201は、外部ストロボが発光するタイミングを示す。チャート2201の立ち上がっている部分2202において、外部ストロボは発光時間tだけ発光する。
チャート2203は、垂直同期信号を示す。撮像装置の撮影方式で決定される垂直同期信号がアサート(assert)されるタイミング(チャート2203の下向きに突出している部分を参照)で、CMOSイメージセンサから画像信号が読み出される。
Prior to describing the embodiments of the present invention, the technology that is the premise of the embodiments of the present invention will be described.
FIG. 22 is a diagram for explaining the state of charge accumulation in the image sensor. Specifically, FIG. 22 is a diagram for explaining the state of charge accumulation in the image sensor when a subject is continuously photographed as a moving image with an imaging device using a CMOS image sensor in a situation where an external strobe is emitted. It is.
A chart 2201 shows the timing at which the external strobe emits light. In the rising portion 2202 of the chart 2201, the external strobe emits light for the light emission time t.
A chart 2203 shows the vertical synchronization signal. An image signal is read from the CMOS image sensor at a timing at which a vertical synchronization signal determined by an imaging method of the imaging apparatus is asserted (see a portion protruding downward in the chart 2203).

チャート2204、2205、2206は、撮像装置に備わるCMOSイメージセンサからの画像信号の読み出し期間を示す。チャート2204、2205、2206では、画素ごとの露光タイミングがライン方向で順次行われる様子を示す。チャート2205に従って読み出される画像信号の基となる各画素の電荷は、チャート2204、2205に挟まれる期間で蓄積される。そして、この期間内に外部ストロボが発光する(図22の外部ストロボの発光時間tを参照)。このため、領域2207については外部ストロボの影響を受けてしまうことにより、撮像装置で決定された適正な露出条件ではなく、露出オーバーで撮影される。同様に、チャート2206に従って読み出される画像信号の基となる各画素の電荷は、チャート2205、2206に挟まれる期間で蓄積される。そして、この期間内に外部ストロボが発光する(図22の外部ストロボの発光時間tを参照)。このため、領域2208についても外部ストロボの影響を受けてしまうことにより、撮像装置で決められた適正な露出条件ではなく、露出オーバーで撮影されてしまう。   Charts 2204, 2205, and 2206 show readout periods of image signals from the CMOS image sensor provided in the imaging apparatus. Charts 2204, 2205, and 2206 show how the exposure timing for each pixel is sequentially performed in the line direction. The charge of each pixel that is the basis of the image signal read according to the chart 2205 is accumulated in a period between the charts 2204 and 2205. Then, the external strobe emits light within this period (see the light emission time t of the external strobe in FIG. 22). For this reason, the region 2207 is affected by the external strobe, so that the region 2207 is photographed with overexposure instead of the proper exposure condition determined by the imaging device. Similarly, the charge of each pixel that is the basis of an image signal read according to the chart 2206 is accumulated in a period between the charts 2205 and 2206. Then, the external strobe emits light within this period (see the light emission time t of the external strobe in FIG. 22). For this reason, the region 2208 is also affected by the external strobe, so that an image is overexposed instead of the appropriate exposure condition determined by the imaging apparatus.

図23は、以上の条件で撮像した場合の画像信号を説明する図である。
画像信号2301は、図22のチャート2205に従って読み出された画像信号(画像X)を示す。また、画像信号2302は、図22のチャート2206に従って読み出された画像信号(画像Y)を模式的に示す。
図22を参照して説明したように、図23において、領域2207に相当するライン群が輝度変調の影響を受ける。同様に、領域2208に相当するライン群が輝度変調の影響を受ける。画像Xと画像Yとを合成した場合、結果的には画像X中の輝度変調が発生しているラインと、画像Y中の輝度変調が発生しているラインとの論理和を取ることになる。したがって、全ラインにわたって外部ストロボによる輝度変調を受けた画像が生成される。合成後の信号レベル2304は、画像Xと画像Yとを合成した画像信号2303の信号レベルを示す。合成後の信号レベル2304は、撮像装置が画像信号を合成した後に得られる本来の信号レベル2305よりも、高いレベルの画像信号になる虞がある。また、領域2306は、画像X、Yともに、外部ストロボによる変調領域が発生している領域である。したがって、領域2306に属するラインについては周囲のラインよりもさらに高い信号レベルとなってしまい、この信号レベルが、合成後の画像信号2303上に帯状になって表れてしまう虞がある。
以下の本発明の実施形態は、以上の技術を考慮してなされたものである。
FIG. 23 is a diagram illustrating an image signal when an image is captured under the above conditions.
An image signal 2301 indicates an image signal (image X) read according to the chart 2205 in FIG. An image signal 2302 schematically shows an image signal (image Y) read according to the chart 2206 in FIG.
As described with reference to FIG. 22, in FIG. 23, the line group corresponding to the region 2207 is affected by the luminance modulation. Similarly, the line group corresponding to the region 2208 is affected by the luminance modulation. When the image X and the image Y are combined, as a result, the logical sum of the line where the luminance modulation is generated in the image X and the line where the luminance modulation is generated in the image Y is calculated. . Therefore, an image subjected to luminance modulation by the external strobe over all lines is generated. The combined signal level 2304 indicates the signal level of the image signal 2303 obtained by combining the image X and the image Y. The combined signal level 2304 may be a higher level image signal than the original signal level 2305 obtained after the image pickup apparatus combines the image signals. An area 2306 is an area where a modulation area is generated by an external strobe in both the images X and Y. Accordingly, the line belonging to the region 2306 has a higher signal level than the surrounding lines, and this signal level may appear as a band on the synthesized image signal 2303.
The following embodiments of the present invention have been made in consideration of the above-described technique.

以下、図面を参照しながら、本発明の実施形態を説明する。
(第1の実施形態)
まず、本発明の第1の実施形態を説明する。
図1は、本実施形態の撮像装置の構成の一例を示すブロック図である。
撮像素子101は、光電変換素子を有する画素が行列状(2次元マトリックス状)に配置されて構成される。各画素に備わる光電変換素子は、被写体像を光電変換により電気信号(アナログ信号)に変換する。本実施形態では、撮像素子101は、CMOSセンサを用いて構成されるものとする。撮像素子101は、撮像素子制御部102が生成する制御信号をもとにした駆動パルスで駆動する。光電変換されたアナログ信号は、撮像素子101に備わるAD変換部でデジタル信号に変換され、撮像素子101から出力される。このとき、撮像素子101が電子シャッタ機能を有する場合には、撮像素子制御部102からの制御信号により、必要な露光時間となるように露光時間を確保してもよい。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
First, a first embodiment of the present invention will be described.
FIG. 1 is a block diagram illustrating an example of the configuration of the imaging apparatus according to the present embodiment.
The image sensor 101 is configured by arranging pixels having photoelectric conversion elements in a matrix (two-dimensional matrix). The photoelectric conversion element provided in each pixel converts the subject image into an electrical signal (analog signal) by photoelectric conversion. In the present embodiment, the image sensor 101 is configured using a CMOS sensor. The image sensor 101 is driven with a drive pulse based on a control signal generated by the image sensor controller 102. The analog signal subjected to the photoelectric conversion is converted into a digital signal by an AD conversion unit provided in the image sensor 101 and is output from the image sensor 101. At this time, when the image sensor 101 has an electronic shutter function, the exposure time may be ensured by the control signal from the image sensor control unit 102 so that the required exposure time is obtained.

輝度変調領域判定部103は、撮像素子101から得られる画像信号から外部ストロボによる輝度変調を受けた領域である輝度変調領域を判定し、領域判定の結果を示す情報である輝度変調領域情報を合成比率算出部104に対して出力する。
合成比率算出部104は、メモリ105と合成比率演算部106とを有する。合成比率演算部106は、撮像素子101から出力される画像信号と、フレームメモリ107から出力される1フレーム前の画像信号との合成比率を演算して画像合成部108に合成比率制御信号として出力する。この合成比率の演算は、輝度変調領域判定部103から出力される輝度変調領域情報と、メモリ105から出力される1フレーム前の輝度変調領域情報とに基づいて行われる。
A luminance modulation area determination unit 103 determines a luminance modulation area that is an area subjected to luminance modulation by an external strobe from an image signal obtained from the image sensor 101, and synthesizes luminance modulation area information that is information indicating a result of the area determination. Output to the ratio calculation unit 104.
The composition ratio calculation unit 104 includes a memory 105 and a composition ratio calculation unit 106. The composite ratio calculation unit 106 calculates a composite ratio between the image signal output from the image sensor 101 and the image signal of the previous frame output from the frame memory 107, and outputs the composite ratio to the image composition unit 108 as a composite ratio control signal. To do. The calculation of the combination ratio is performed based on the luminance modulation area information output from the luminance modulation area determination unit 103 and the luminance modulation area information of one frame before output from the memory 105.

フレームメモリ107は、撮像素子101から出力される画像信号を1フレーム分保持する。
画像合成部108は、フレームメモリ107から出力される画像信号と、撮像素子101から出力される画像信号とを合成し1枚の画像信号を生成する。画像合成部108は、以下の要素で構成される。合成比率調整部109は、撮像素子101から出力される画像信号に対して、合成比率算出部104から出力される合成比率制御信号に応じて、ゲイン処理を行う。合成比率調整部110は、フレームメモリ107から出力される画像信号に対して、合成比率調整部109と同様に、合成比率算出部104から出力される合成比率制御信号に応じて、ゲイン処理を行う。合成部111は、合成比率調整部109及び110から出力される2つの合成比率調整後の画像信号を加算して合成画像112として出力する。
制御部113は、撮像装置全体を制御する。制御部113は、撮像における露出条件等に応じて、撮像素子101の電荷の蓄積時間を決定し、撮像素子制御部102に対して制御信号を渡す役割もある。
The frame memory 107 holds an image signal output from the image sensor 101 for one frame.
The image synthesis unit 108 synthesizes the image signal output from the frame memory 107 and the image signal output from the image sensor 101 to generate one image signal. The image composition unit 108 includes the following elements. The combination ratio adjustment unit 109 performs gain processing on the image signal output from the image sensor 101 according to the combination ratio control signal output from the combination ratio calculation unit 104. The combination ratio adjustment unit 110 performs gain processing on the image signal output from the frame memory 107 according to the combination ratio control signal output from the combination ratio calculation unit 104, as in the combination ratio adjustment unit 109. . The synthesizing unit 111 adds the two image signals after adjusting the synthesis ratio output from the synthesis ratio adjusting units 109 and 110, and outputs the resultant as a synthesized image 112.
The control unit 113 controls the entire imaging apparatus. The control unit 113 also has a role of determining a charge accumulation time of the image sensor 101 according to an exposure condition or the like in imaging and passing a control signal to the image sensor control unit 102.

次に、外部発光手段の一例である外部ストロボの発光によって、画像信号に現れる影響について図2及び図3を用いて説明する。図2は、撮像素子101における動作の概要の一例を説明する図である。具体的に図2は、撮像素子101での撮像において、電荷のリセットのタイミングをずれ時間(ずれ量)Δtだけ遅らせた場合の撮像素子101の動作の一例を説明する図である。このずれ量Δtは、或る画像信号を得るための撮像素子101における電荷の読み出しを行ってから、次の画像信号を得るための撮像素子101における電荷の蓄積を開始するまでの時間に対応する。
チャート201は、外部ストロボが発光するタイミングを示す。外部ストロボは、チャート201の立ち上がっている部分202において、発光時間tだけ発光する。図2に示す例では、撮像装置の撮影方式で決定される垂直同期信号203は、4回アサート(assert)される。
Next, the influence that appears in the image signal due to the light emission of the external strobe which is an example of the external light emitting means will be described with reference to FIGS. FIG. 2 is a diagram for explaining an example of the outline of the operation in the image sensor 101. Specifically, FIG. 2 is a diagram for explaining an example of the operation of the image sensor 101 when the charge reset timing is delayed by the shift time (shift amount) Δt in the imaging with the image sensor 101. This shift amount Δt corresponds to the time from the start of charge accumulation in the image sensor 101 for obtaining a certain image signal to the start of charge accumulation in the image sensor 101 for obtaining the next image signal. .
A chart 201 shows the timing at which the external strobe emits light. The external strobe emits light at a rising portion 202 of the chart 201 for a light emission time t. In the example shown in FIG. 2, the vertical synchronization signal 203 determined by the imaging method of the imaging apparatus is asserted four times.

チャート205、206、207、208は、各画像信号の読み出し期間を示す。各画像信号は、垂直同期信号203がアサートされるタイミングで撮像素子101から読み出される。時間tlは、1ラインの読み出し時間を示す。
チャート209、210は、リセット信号が出力されることを示す。具体的に、チャート209は、チャート206で示される画像信号の電荷蓄積時間を決定するリセット信号が出力されることを示す。チャート210は、チャート207に従って読み出される画像信号の電荷蓄積時間を決定するリセット信号が出力されることを示す。
Charts 205, 206, 207, and 208 show the readout period of each image signal. Each image signal is read from the image sensor 101 at the timing when the vertical synchronization signal 203 is asserted. Time tl indicates the readout time for one line.
Charts 209 and 210 indicate that a reset signal is output. Specifically, the chart 209 indicates that a reset signal for determining the charge accumulation time of the image signal shown in the chart 206 is output. A chart 210 indicates that a reset signal that determines the charge accumulation time of an image signal read according to the chart 207 is output.

図2に示すタイミングで外部ストロボが発光した場合、チャート206に従って読み出される画像信号については、ライン数がNの画像信号204の領域211が、外部ストロボの影響を受けることになる。また、チャート207に従って読み出される画像信号については、画像信号204の領域212が、外部ストロボの影響を受けることになる。   When the external strobe emits light at the timing shown in FIG. 2, for the image signal read according to the chart 206, the region 211 of the image signal 204 with N lines is affected by the external strobe. For the image signal read in accordance with the chart 207, the area 212 of the image signal 204 is affected by the external strobe.

図3は、画像信号が外部ストロボの影響を受ける条件を説明する図である。同一符号を付した箇所については説明を省略する。
外部ストロボの発光開始タイミング301と、発光終了タイミング302とで挟まれた期間が、前述した外部ストロボの発光時間tに相当する。また、リセット開始(リセット信号の出力の開始)のタイミングのずれ量Δtによって、撮像素子101での電荷蓄積時間が決定される。リセット開始のタイミングのずれ量Δtが無いとき(Δt=0)の、連続する2つの画像信号間(チャート206、207に従って読み出される画像信号間)で発生する、外部ストロボによる輝度変調を受けるライン(図23の領域2306に相当)をXとする。外部ストロボによる輝度変調を受けるラインXは、以下の(式1)で算出される。
X=t/tl ・・・(式1)
ここで、tlは、前述したように、撮像素子101における1ラインの読み出し時間である(図2を参照)。また、tは、前述したように、外部ストロボの発光時間である(図2を参照)。
FIG. 3 is a diagram for explaining conditions under which an image signal is affected by an external strobe. A description of the portions denoted by the same reference numerals is omitted.
A period between the light emission start timing 301 of the external strobe and the light emission end timing 302 corresponds to the light emission time t of the external strobe described above. Further, the charge accumulation time in the image sensor 101 is determined by the timing shift amount Δt at the start of reset (start of reset signal output). A line subjected to luminance modulation by an external strobe generated between two consecutive image signals (between image signals read in accordance with charts 206 and 207) when there is no reset start timing shift amount Δt (Δt = 0). X corresponds to the area 2306 in FIG. The line X subjected to luminance modulation by the external strobe is calculated by the following (Equation 1).
X = t / tl (Formula 1)
Here, tl is the readout time for one line in the image sensor 101 as described above (see FIG. 2). Further, t is the light emission time of the external strobe as described above (see FIG. 2).

次に、リセット開始のタイミングのずれ量Δtを考慮した場合の画像信号の読み出しについて説明する。
連続する2つの画像信号間で発生する外部ストロボによる輝度変調を受けるラインのうち、リセット開始のタイミングのずれ量Δtによって、外部ストロボの影響の重なりが解消されるライン数をΔXとおく。そうすると、連続する2つの画像信号間で発生する外部ストロボによる輝度変調を受けるラインX'は、以下の(式2)のように表現できる。
X'=X−ΔX ・・・(式2)
図3より、ΔXは、時間303(すなわち、リセット開始のタイミングのずれ量Δt)で読み出し可能なライン数を示し、以下の(式3)のように表現できる。
ΔX=Δt/tl ・・・(式3)
Next, reading of an image signal in consideration of the reset start timing shift amount Δt will be described.
Of the lines subjected to luminance modulation by the external strobe generated between two consecutive image signals, the number of lines in which the overlap of the influence of the external strobe is eliminated by the reset start timing shift amount Δt is set to ΔX. Then, a line X ′ subjected to luminance modulation by an external strobe generated between two consecutive image signals can be expressed as (Equation 2) below.
X ′ = X−ΔX (Expression 2)
From FIG. 3, ΔX indicates the number of lines that can be read at time 303 (that is, reset start timing shift amount Δt), and can be expressed as in (Equation 3) below.
ΔX = Δt / tl (Expression 3)

以上から、リセット開始のタイミングのずれ量Δtを考慮した場合の2つ画像信号間で発生する外部ストロボによる輝度変調を受けるラインX'は、(式1)、(式2)、(式3)より、以下の(式4)のようになる。
X'=(1/tl)×(t−Δt) ・・・(式4)
From the above, the line X ′ subjected to luminance modulation by the external strobe generated between the two image signals in consideration of the reset start timing deviation Δt is expressed by (Expression 1), (Expression 2), (Expression 3). Thus, the following (Formula 4) is obtained.
X ′ = (1 / tl) × (t−Δt) (Expression 4)

ここで、(式4)は、リセット開始のタイミングのずれ量Δtが外部ストロボの発光時間tと同じかそれ以上の場合に、連続する2つの画像信号間で発生する外部ストロボによる輝度変調を受けるラインが0(ゼロ)になることを意味する。すなわち、このような場合には、全てのラインにおいて、どちらか一方の画像信号では適切な撮像が成されることを示す。
制御部113は、(式4)に基づいてずれ時間導出処理を行う。具体的に制御部113は、(式4)で示されたラインX'が0(ゼロ)となるようなリセット開始のタイミングのずれ量Δtを、外部ストロボの平均発光時間に基づいて決定する。そして、制御部113は、このずれ量Δtで撮像するように撮像素子制御部102へ制御信号を渡す。外部ストロボの平均発光時間は、代表的なストロボ発光手段のストロボ発光時間を元に予め決定され、制御部113内の不揮発性記憶媒体等に記憶しておくことにより、撮像装置内に予め情報として保持される。
Here, (Equation 4) is subjected to luminance modulation by an external strobe generated between two consecutive image signals when the reset start timing deviation amount Δt is equal to or longer than the light emission time t of the external strobe. It means that the line becomes 0 (zero). That is, in such a case, it is shown that appropriate imaging is performed with either one of the image signals in all lines.
The control unit 113 performs a shift time derivation process based on (Expression 4). Specifically, the control unit 113 determines a reset start timing shift amount Δt such that the line X ′ shown in (Expression 4) becomes 0 (zero) based on the average flash time of the external strobe. And the control part 113 passes a control signal to the image pick-up element control part 102 so that it may image with this deviation | shift amount (DELTA) t. The average flash time of the external strobe is determined in advance based on the strobe flash time of a typical strobe light emitting means, and is stored in a nonvolatile storage medium or the like in the control unit 113 as information in advance in the imaging device. Retained.

図4は、本実施形態における撮像素子101の動作を説明する図である。同一符号を付した箇所については説明を省略する。
チャート402、403は、それぞれ、チャート206、207に従って読み出される画像信号の電荷蓄積時間を決定するリセット信号である。このリセット信号は、リセット開始のタイミングのずれ量Δtのオフセットをもって走査される。このリセット開始のタイミングのずれ量Δtは、外部ストロボの平均発光時間を(式4)に与えることにより決定される。
FIG. 4 is a diagram for explaining the operation of the image sensor 101 in the present embodiment. A description of the portions denoted by the same reference numerals is omitted.
Charts 402 and 403 are reset signals that determine the charge accumulation time of image signals read according to charts 206 and 207, respectively. This reset signal is scanned with an offset of the shift start timing difference Δt. This reset start timing shift amount Δt is determined by giving the average flash time of the external strobe to (Equation 4).

図4に示す発光開始タイミング301と発光終了タイミング302との間の発光時間tで外部ストロボが発光した場合、チャート206に従って読み出される画像信号については、領域404が外部ストロボによる輝度変調を受ける。また、チャート207に従って読み出される画像信号については、領域405が、外部ストロボによる輝度変調の影響を受ける。
画像信号406、407は、それぞれ、チャート206、207に従って読み出される画像信号の模式図である。連続して撮影された2枚の画像信号406、407において、外部ストロボによって輝度変調を受けた領域404、405に注目すると、全てのラインにおいて、どちらか一方の画像信号では適切な撮像が成されるようになる。
When the external strobe emits light at a light emission time t between the light emission start timing 301 and the light emission end timing 302 shown in FIG. 4, for an image signal read according to the chart 206, the region 404 is subjected to luminance modulation by the external strobe. For the image signal read according to the chart 207, the area 405 is affected by the luminance modulation by the external strobe.
Image signals 406 and 407 are schematic diagrams of image signals read according to charts 206 and 207, respectively. When attention is paid to the areas 404 and 405 that have been subjected to luminance modulation by the external strobe in the two image signals 406 and 407 that are continuously photographed, appropriate imaging is achieved with either one of the image signals in all lines. Become so.

次に、図5を参照して、本実施形態の撮像装置の全体制御のタイミングの一例を説明する。同一符号を付した箇所については説明を省略する。
画像信号501は、撮像素子101で撮像された画像信号を示す。チャート206、207、208に従って読み出される画像信号をそれぞれ、画像A、画像B、画像Cとしている。
画像信号502は、フレームメモリ107から出力される画像信号を示す。撮像素子101から出力される画像信号は、1フレーム分遅延されてフレームメモリ107から出力される。
輝度変調領域情報503は、輝度変調領域判定部103から出力される輝度変調領域情報を示す。画像Aから判定された結果(輝度変調領域)を(a)で表している。同様に、画像B、Cから判定された結果(輝度変調領域)を、それぞれ(b)、(c)で表している。
Next, an example of the timing of overall control of the imaging apparatus according to the present embodiment will be described with reference to FIG. A description of the portions denoted by the same reference numerals is omitted.
An image signal 501 indicates an image signal captured by the image sensor 101. Image signals read in accordance with charts 206, 207, and 208 are image A, image B, and image C, respectively.
An image signal 502 indicates an image signal output from the frame memory 107. The image signal output from the image sensor 101 is output from the frame memory 107 after being delayed by one frame.
The luminance modulation area information 503 indicates the luminance modulation area information output from the luminance modulation area determination unit 103. The result (luminance modulation area) determined from the image A is represented by (a). Similarly, the results (brightness modulation areas) determined from the images B and C are represented by (b) and (c), respectively.

図6を参照して、輝度変調領域判定部103における輝度変調領域の判定方法の一例を説明する。
画像信号601は、撮像素子101で撮像された画像信号(画像A)を模式的に示したものである。輝度変調領域判定部103は、入力される画像信号の各ラインの積分値を算出する。本実施形態では、撮像素子101はCMOSセンサである。このため、外部ストロボによって画像信号上に発生する輝度変調領域は、図6の輝度変調領域情報603のように、ライン方向(同一のライン上)では一様に発生する。したがって、輝度変調領域判定部103は、画像信号の輝度値をライン方向に積分してその積分値であるライン積分値を評価することで輝度変調を受けているか否かを判定することができる。
With reference to FIG. 6, an example of a method for determining the luminance modulation area in the luminance modulation area determination unit 103 will be described.
An image signal 601 schematically shows an image signal (image A) captured by the image sensor 101. The luminance modulation area determination unit 103 calculates an integral value of each line of the input image signal. In the present embodiment, the image sensor 101 is a CMOS sensor. Therefore, the luminance modulation area generated on the image signal by the external strobe is uniformly generated in the line direction (on the same line) as the luminance modulation area information 603 in FIG. Therefore, the luminance modulation area determination unit 103 can determine whether or not the luminance modulation is performed by integrating the luminance value of the image signal in the line direction and evaluating the line integral value that is the integrated value.

図6では、輝度変調領域判定部103において演算されたライン積分値602を画像信号601に合わせて示す。横軸は、ライン積分値を表し、縦軸は、ライン数を表す。輝度変調領域判定部103は、予め決められた閾値Thを持ち、算出されたライン積分値が閾値Thより大きい場合に、当該ライン積分値に対応するラインを輝度変調領域であると判定する。一方、ライン積分値が閾値Thより大きくない場合、当該ライン積分値に対応するラインは輝度変調領域でないと判定する。尚、閾値Thを、過去のフレームのライン積分値の結果を参照して決定することで、より精度よく輝度変調領域を判定することもできる。   In FIG. 6, the line integration value 602 calculated by the luminance modulation area determination unit 103 is shown together with the image signal 601. The horizontal axis represents the line integral value, and the vertical axis represents the number of lines. The luminance modulation area determination unit 103 has a predetermined threshold Th, and determines that a line corresponding to the line integration value is a luminance modulation area when the calculated line integration value is larger than the threshold Th. On the other hand, when the line integral value is not larger than the threshold Th, it is determined that the line corresponding to the line integral value is not the luminance modulation region. It should be noted that the luminance modulation region can be determined with higher accuracy by determining the threshold Th with reference to the result of the line integral value of the past frame.

また、図6では、輝度変調領域判定部103から出力される輝度変調領域情報603を画像信号601に合わせて示す。横軸は、輝度変調領域情報の値を表し、縦軸は、ライン数を表す。輝度変調領域判定部103は、輝度変調を受けたラインでは輝度変調領域情報として1を出力し、そうでないラインでは輝度変調領域情報として0(ゼロ)を出力する。   In FIG. 6, the luminance modulation area information 603 output from the luminance modulation area determination unit 103 is shown together with the image signal 601. The horizontal axis represents the value of luminance modulation area information, and the vertical axis represents the number of lines. The luminance modulation area determination unit 103 outputs 1 as the luminance modulation area information for a line that has undergone luminance modulation, and outputs 0 (zero) as the luminance modulation area information for a line that does not.

再び図5に戻って、本実施形態の撮像装置の全体制御を説明する。
輝度変調領域情報504は、合成比率算出部104に備わるメモリ105から出力される輝度変調領域情報を示す。輝度変調領域判定部103から出力される輝度変調領域情報は、1フレーム分遅延されてメモリ105から出力される。
合成比率制御信号505は、輝度変調領域判定部103とメモリ105とから出力される輝度変調領域情報を元に合成比率演算部106で生成される合成比率制御信号を示す。具体的に、合成比率制御信号γ1は、輝度変調領域情報(a)及び(b)に基づいて演算される合成比率制御信号を示し、合成比率制御信号γ2は、輝度変調領域情報(b)及び(c)に基づいて演算される合成比率制御信号を示す。
Returning to FIG. 5 again, the overall control of the imaging apparatus of the present embodiment will be described.
The luminance modulation area information 504 indicates luminance modulation area information output from the memory 105 provided in the synthesis ratio calculation unit 104. The luminance modulation area information output from the luminance modulation area determination unit 103 is output from the memory 105 after being delayed by one frame.
A combination ratio control signal 505 indicates a combination ratio control signal generated by the combination ratio calculation unit 106 based on the luminance modulation area information output from the luminance modulation area determination unit 103 and the memory 105. Specifically, the combination ratio control signal γ1 indicates a combination ratio control signal calculated based on the luminance modulation area information (a) and (b), and the combination ratio control signal γ2 indicates the luminance modulation area information (b) and The synthesis ratio control signal calculated based on (c) is shown.

図7は、合成比率制御信号を生成する方法の一例を説明する図である。具体的に図7は、合成比率演算部106において、輝度変調領域情報(a)及び(b)に基づいて合成比率制御信号γ1を生成する方法の一例を示す図である。
画像信号701、702は、それぞれ画像A、Bを模式的に示したものである。グラフ703、704は、それぞれ、輝度変調領域判定部103で生成される輝度変調領域情報(a)、(b)を示したものである。輝度変調領域情報(a)はメモリ105から出力され、輝度変調領域情報(b)は輝度変調領域判定部103から出力される。
FIG. 7 is a diagram for explaining an example of a method for generating a synthesis ratio control signal. Specifically, FIG. 7 is a diagram illustrating an example of a method of generating the composite ratio control signal γ1 based on the luminance modulation region information (a) and (b) in the composite ratio calculation unit 106.
Image signals 701 and 702 schematically show images A and B, respectively. Graphs 703 and 704 show the luminance modulation area information (a) and (b) generated by the luminance modulation area determination unit 103, respectively. The luminance modulation area information (a) is output from the memory 105, and the luminance modulation area information (b) is output from the luminance modulation area determination unit 103.

合成比率演算部106は、これら2つの輝度変調領域情報(a)及び(b)を元に、外部ストロボによる輝度変調領域が合成画像112に現れないような合成比率制御信号γ1を生成する。
グラフ705は、合成比率演算部106で生成された合成比率制御信号γ1を模式的に示したものである。領域706では画像Bに輝度変調領域がある。したがって、合成比率演算部106は、領域706では画像Bを使わないように(すなわち画像Aを使うように)合成比率制御信号γ1を生成する。また、領域707では画像Aに輝度変調領域がある。したがって、合成比率演算部106は、領域707では画像Aを使わないように(すなわち画像Bを使うように)合成比率制御信号γ1を生成する。尚、本実施形態では合成比率制御信号γ1は、0(ゼロ)又は1をとるようにし、合成比率制御信号γ1の値が0(ゼロ)である場合には画像Bを使い、1である場合には画像Aを使うことを示すものとする。領域708は、画像A、画像Bのどちらにも輝度変調領域が発生していない領域である。そこで、合成比率演算部106は、領域708では合成比率を徐々に変化させるように合成比率制御信号γ1を生成する。尚、領域708に関しては、合成比率制御信号γ1の値を0.5で固定してもよいし、0(ゼロ)又は1のどちらか一方としてもよい。
Based on the two pieces of luminance modulation area information (a) and (b), the combination ratio calculation unit 106 generates a combination ratio control signal γ1 such that the luminance modulation area by the external strobe does not appear in the combined image 112.
A graph 705 schematically shows the synthesis ratio control signal γ1 generated by the synthesis ratio calculation unit 106. In the region 706, the image B has a luminance modulation region. Therefore, the composition ratio calculation unit 106 generates the composition ratio control signal γ1 so that the image B is not used in the region 706 (that is, the image A is used). In the region 707, the image A has a luminance modulation region. Accordingly, the composition ratio calculation unit 106 generates the composition ratio control signal γ1 so that the image A is not used in the region 707 (that is, the image B is used). In the present embodiment, the composite ratio control signal γ1 takes 0 (zero) or 1. When the value of the composite ratio control signal γ1 is 0 (zero), the image B is used and is 1. Indicates that the image A is used. An area 708 is an area where no luminance modulation area is generated in either the image A or the image B. Therefore, the synthesis ratio calculation unit 106 generates the synthesis ratio control signal γ1 so as to gradually change the synthesis ratio in the region 708. For the region 708, the value of the synthesis ratio control signal γ1 may be fixed at 0.5, or may be either 0 (zero) or 1.

再び図5に戻って、本実施形態の撮像装置の全体制御の説明を続ける。
合成画像506は、フレームメモリ107から出力される画像Aと、撮像素子101から出力される画像Bとを合成部111で合成したものを示す。合成比率調整部109、110において、合成比率演算部106から出力される合成比率制御信号γ1に基づく合成比率を元に、画像信号(画像A、B)に対して当該合成比率でゲイン処理する。本実施形態では、合成比率制御信号γ1の値が0(ゼロ)である場合に画像Bを使うこととしている。このため、合成比率調整部109は、受け取った合成比率制御信号γ1に対して、以下の(式5)の操作をすることにより得られる合成比率で、入力される画像信号(画像B)に対してゲイン処理を行う
γ1←(1−γ1) ・・・(式5)
合成部111は、合成比率が調整された後の画像信号(画像A、B)の相互に対応する画素の値を加算して合成画像112を生成して出力する。
Returning to FIG. 5 again, the description of the overall control of the imaging apparatus of the present embodiment will be continued.
A composite image 506 indicates a combination of the image A output from the frame memory 107 and the image B output from the image sensor 101 by the combining unit 111. In the synthesis ratio adjusting units 109 and 110, based on the synthesis ratio based on the synthesis ratio control signal γ1 output from the synthesis ratio calculation unit 106, gain processing is performed on the image signals (images A and B) at the synthesis ratio. In the present embodiment, the image B is used when the value of the synthesis ratio control signal γ1 is 0 (zero). For this reason, the composition ratio adjustment unit 109 performs the composition ratio obtained by performing the following (Equation 5) operation on the received composition ratio control signal γ1, and the input image signal (image B). Γ1 ← (1-γ1) (Formula 5)
The combining unit 111 adds pixel values corresponding to each other of the image signals (images A and B) after the combining ratio is adjusted, and generates and outputs a combined image 112.

以上のように本実施形態では、撮像素子101における電荷蓄積時間を、外部ストロボの代表的な発光時間(平均発光時間)と1ラインの読み出し時間とに基づいて決定して、2つの画像信号を連続して撮像する。すなわち、撮像素子101における電荷の蓄積を開始するタイミングを、外部ストロボの代表的な発光時間(平均発光時間)と1ラインの読み出し時間とに基づく時間だけずらして、2つの画像信号を連続して撮像する。それら2つの画像信号のそれぞれについて、各ラインの積分値(ライン積分値)を導出し、導出したライン積分値と閾値Thとを比較して、輝度変調領域を判定する。2つの画像信号のそれぞれの輝度変調領域に応じて、2つの画像信号を合成する領域と、2つの画像信号の一部(何れか)を使用する領域を決定する。したがって、フレーム欠落を起こすことなく、また、輝度変調を受けていない領域を使って画像信号を生成することで画質の劣化を最小限に抑えることが可能となる。   As described above, in the present embodiment, the charge accumulation time in the image sensor 101 is determined based on the typical light emission time (average light emission time) of the external strobe and the readout time of one line, and two image signals are obtained. Take images continuously. That is, the timing at which the image sensor 101 starts accumulating charges is shifted by a time based on the typical light emission time (average light emission time) of the external strobe and the readout time of one line, and the two image signals are continuously input. Take an image. For each of these two image signals, an integrated value (line integrated value) of each line is derived, and the derived line integrated value is compared with a threshold value Th to determine the luminance modulation region. A region where two image signals are synthesized and a region where a part (one) of the two image signals is used are determined according to the respective luminance modulation regions of the two image signals. Accordingly, it is possible to minimize image quality degradation by generating an image signal using a region that has not undergone luminance modulation without causing frame loss.

<変形例1>
本実施形態のようにすると、撮像素子101における電荷蓄積時間は、外部ストロボの代表的な発光時間(平均発光時間)に基づいて決定される。したがって、撮像装置における露出は、本来の露出よりも低くなることがある。この場合は、撮像装置に備わる不図示のゲイン回路(増幅器)に対して設定されるゲイン値(増幅率)を制御し、合成画像の信号値を増幅(ゲインアップ)することで、適正な明るさにすることも可能である。
<Modification 1>
According to this embodiment, the charge accumulation time in the image sensor 101 is determined based on the typical light emission time (average light emission time) of the external strobe. Therefore, the exposure in the imaging device may be lower than the original exposure. In this case, the brightness value (amplification factor) set for a gain circuit (amplifier) (not shown) provided in the imaging apparatus is controlled to amplify (gain up) the signal value of the composite image, thereby obtaining an appropriate brightness. It is also possible.

<変形例2>
また、撮影状況を判断して、本実施形態で説明した制御をするか否かを切り替えることができる。このようにすれば、外部ストロボが焚かれない状況下では、撮像素子101における電荷蓄積時間を、外部ストロボの代表的な発光時間(平均発光時間)を元に決定して撮像しないようにすることが可能になる。
図8は、本変形例の撮像装置の構成の一例を示すブロック図である。撮像装置の構成としては、図1に示した撮像装置に対し制御線801を追加したものとする。
制御線801は、制御部113から出力される制御信号を合成比率演算部106に伝送するためのものであり、具体的には合成比率演算部106で生成される合成比率制御信号を制御するために用いられる。
<Modification 2>
Further, it is possible to determine whether or not to perform the control described in the present embodiment by determining the shooting situation. In this way, in a situation where the external strobe is not blown, the charge accumulation time in the image sensor 101 is determined based on the representative light emission time (average light emission time) of the external strobe so that no image is taken. Is possible.
FIG. 8 is a block diagram illustrating an example of the configuration of the imaging apparatus according to this modification. As a configuration of the imaging apparatus, it is assumed that a control line 801 is added to the imaging apparatus shown in FIG.
The control line 801 is used to transmit a control signal output from the control unit 113 to the synthesis ratio calculation unit 106, and specifically, to control a synthesis ratio control signal generated by the synthesis ratio calculation unit 106. Used for.

図9は、本変形例の撮像装置の動作の概略の一例を説明するフローチャートである。
まず、ステップS901において、制御部113は、撮像装置の露出制御パラメータである、F値(F)、蓄積時間(T)、及びゲイン値(G)を取得する。
次に、ステップS902において、制御部113は、室内判定演算をする。外部ストロボが発光される状況は、ほとんどが室内等の照明光源下である。このため、制御部113は、ステップS901で得られた露出制御パラメータを用いて、室内(或いは室内と同等の照明環境下)で撮影されているか否かを判定する。判定は、例えば、次に示す(式6)の判定式に基づいて行われる。
評価値=(Fd/F)2×(T/Td)×(G/Gd) ・・・(式6)
FIG. 9 is a flowchart for explaining an example of an outline of the operation of the imaging apparatus according to the present modification.
First, in step S901, the control unit 113 acquires an F value (F), an accumulation time (T), and a gain value (G) that are exposure control parameters of the imaging apparatus.
Next, in step S902, the control unit 113 performs a room determination calculation. The situation in which the external strobe emits light is mostly under an illumination light source such as a room. Therefore, the control unit 113 determines whether the image is taken indoors (or in an illumination environment equivalent to the indoor environment) using the exposure control parameter obtained in step S901. The determination is performed based on, for example, the following determination formula (Formula 6).
Evaluation value = (Fd / F) 2 × (T / Td) × (G / Gd) (Expression 6)

ここで、Fd、Td、Gdは、一般的に室内での撮影条件下における露出制御パラメータ(F値、蓄積時間、ゲイン値)であり、撮像装置内の不揮発性記憶媒体等に予め記憶させておく。
次に、ステップS903において、制御部113は、(式6)の評価値が1以上であるか否かを判定する。この判定の結果、評価値が1以上である場合には、室内で撮影していると判断され、ステップS904へ遷移する。一方、評価値が1未満である場合には、室内で撮影していないと判断され、ステップS905に遷移する。
Here, Fd, Td, and Gd are generally exposure control parameters (F value, accumulation time, and gain value) under indoor shooting conditions, and are stored in advance in a nonvolatile storage medium or the like in the imaging apparatus. deep.
Next, in step S903, the control unit 113 determines whether or not the evaluation value of (Expression 6) is 1 or more. As a result of the determination, if the evaluation value is 1 or more, it is determined that the image is taken indoors, and the process proceeds to step S904. On the other hand, if the evaluation value is less than 1, it is determined that the image is not taken indoors, and the process proceeds to step S905.

ステップS904に進むと、撮像装置は、本実施形態で説明したように、撮像素子101における電荷蓄積時間を、外部ストロボの代表的な発光時間(平均発光時間)と1ラインの読み出し時間とに基づいて決定して、2つの画像信号を連続して撮像する。この際、制御部113は、撮像素子制御部102に制御信号を渡す。この制御信号を受けた撮像素子制御部102は、所望の電荷蓄積時間で撮像がなされるように撮像素子101に制御信号を渡す。   In step S904, as described in the present embodiment, the imaging apparatus determines the charge accumulation time in the image sensor 101 based on the typical light emission time (average light emission time) of the external strobe and the readout time of one line. Then, the two image signals are continuously imaged. At this time, the control unit 113 passes a control signal to the image sensor control unit 102. Upon receiving this control signal, the image sensor control unit 102 passes the control signal to the image sensor 101 so that an image is taken in a desired charge accumulation time.

一方、ステップS905に進むと、制御部113は、輝度変調領域情報に因らずに合成比率制御信号が一定値(0.5等)となるようにすることを示す制御信号を合成比率演算部106に渡す。また、撮像素子制御部102は、撮像素子101における電荷の蓄積を開始するタイミングが大きくずれないように(図2の時間Δtが所定値となるように)撮像素子101に制御信号を渡す。
以上のように、外部ストロボが焚かれる状況であるか否かを判断することで、適応的に撮像方法を切り替えることが可能となる。
On the other hand, when the processing proceeds to step S905, the control unit 113 generates a control signal indicating that the composite ratio control signal is a constant value (0.5 or the like) regardless of the luminance modulation area information. 106. Further, the image sensor control unit 102 passes a control signal to the image sensor 101 so that the timing at which charge accumulation in the image sensor 101 starts does not deviate significantly (so that the time Δt in FIG. 2 becomes a predetermined value).
As described above, it is possible to adaptively switch the imaging method by determining whether or not it is a situation in which an external strobe is blown.

<変形例3>
また、本実施形態のように、撮像素子101における電荷蓄積時間を、外部ストロボの代表的な発光時間(平均発光時間)に基づいて決定すると、撮像装置で撮影したい本来の露出よりも露出が低くなる。露出制御パラメータとしてF値を備える(すなわち絞り制御機構を備える)撮像装置では、F値(絞り値)を制御することで、適正な明るさで撮影することも可能である。
図10は、本変形例の撮像装置の構成の一例を示す図である。本変形例の撮像装置は、図1に示した撮像装置に対し、光学系1001と、光学系1001を制御する光学系制御部1002を追加したものとなる。
制御部113は、制御信号を光学系制御部1002に渡す。この制御信号を受けた光学系制御部1002は、外部ストロボの代表的な発光時間(平均発光時間)と1ラインの読み出し時間とを基にして決定された撮像素子101の電荷蓄積時間に基づいて、露出が過少となっている分の露出を反映するF値を決定する。そして、光学系制御部1002は、決定したF値になるように、光学系1001の絞りを制御する。このようにすることで、適正な明るさで撮影することが可能となる。
<Modification 3>
Further, as in the present embodiment, when the charge accumulation time in the image sensor 101 is determined based on the typical light emission time (average light emission time) of the external strobe, the exposure is lower than the original exposure that the image pickup apparatus wants to shoot. Become. An imaging apparatus that includes an F value as an exposure control parameter (that is, includes an aperture control mechanism) can also capture images with appropriate brightness by controlling the F value (aperture value).
FIG. 10 is a diagram illustrating an example of the configuration of the imaging apparatus according to the present modification. The imaging apparatus of this modification is obtained by adding an optical system 1001 and an optical system control unit 1002 that controls the optical system 1001 to the imaging apparatus shown in FIG.
The control unit 113 passes the control signal to the optical system control unit 1002. Upon receiving this control signal, the optical system control unit 1002 is based on the charge accumulation time of the image sensor 101 determined based on the typical light emission time (average light emission time) of the external strobe and the readout time of one line. The F value reflecting the exposure corresponding to the underexposure is determined. The optical system control unit 1002 controls the diaphragm of the optical system 1001 so that the determined F value is obtained. By doing in this way, it becomes possible to image | photograph with appropriate brightness.

<変形例4>
本実施形態では、連続して撮像された2つの画像信号を合成する場合を例に挙げて説明した。しかしながら、合成する画像信号の数は3つ以上であってもよい。
この場合、連続して撮像された複数の画像信号の相互に対応する領域について、一部の画像信号では輝度変調領域であると判定され、他の一部の画像信号では輝度変調領域ではないと判定された場合、当該領域については、当該他の一部の画像信号を使用できる。当該他の一部の画像信号が複数ある場合には、それら複数の画像信号を合成してもよいし、当該他の一部の画像信号の一つを選択してもよい。
<Modification 4>
In the present embodiment, the case where two image signals captured in succession are combined has been described as an example. However, the number of image signals to be combined may be three or more.
In this case, with respect to areas corresponding to each other of a plurality of image signals continuously captured, it is determined that some image signals are luminance modulation areas, and other partial image signals are not luminance modulation areas. If determined, the other part of the image signal can be used for the region. When there are a plurality of the other partial image signals, the plurality of image signals may be combined, or one of the other partial image signals may be selected.

(第2の実施形態)
次に、本発明の第2の実施形態を説明する。本実施形態では、第1の実施形態に対し、異なる露出で撮像された複数の画像信号から高ダイナミックレンジの画像信号を合成して生成する構成を付加したものである。これにより、外部ストロボが発光した場合でもその影響を受けない高ダイナミックレンジ画像を生成することができる。したがって、本実施形態の説明において、第1の実施形態と同一の部分については、図1〜図10に付した符号と同一の符号を付す等して詳細な説明を省略する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. In this embodiment, a configuration in which a high dynamic range image signal is synthesized and generated from a plurality of image signals captured at different exposures is added to the first embodiment. As a result, it is possible to generate a high dynamic range image that is not affected even when an external strobe emits light. Therefore, in the description of the present embodiment, the same parts as those in the first embodiment are denoted by the same reference numerals as those in FIGS.

図11は、本実施形態の撮像装置の構成の一例を示すブロック図である。
図11において、制御部113は、高ダイナミックレンジで撮影する際の露出量を決定する。撮像素子制御部102は、制御部113から渡される制御信号に従って、撮像素子101の露出量を制御する。さらに制御部113は、撮像素子制御部で決定された露出量に応じて画像信号に対して行うレベル合わせのためのレベル合わせゲインを決定する。
画像合成部1101は、複数の画像信号を合成して1枚の画像信号を生成する。画像合成部1101は、レベル調整部1102、1103、動き検出部1104、合成比率決定部1105、合成比率調整部109、110、及び合成部111を有する。
レベル調整部1102、1103は、制御部113からの制御信号に従って、撮像素子101から読み出される画像信号のレベルをそれぞれ調整する。
FIG. 11 is a block diagram illustrating an example of the configuration of the imaging apparatus according to the present embodiment.
In FIG. 11, the control unit 113 determines an exposure amount when shooting with a high dynamic range. The image sensor control unit 102 controls the exposure amount of the image sensor 101 in accordance with a control signal passed from the control unit 113. Further, the control unit 113 determines a level adjustment gain for level adjustment performed on the image signal in accordance with the exposure amount determined by the image sensor control unit.
The image combining unit 1101 generates a single image signal by combining a plurality of image signals. The image composition unit 1101 includes level adjustment units 1102 and 1103, a motion detection unit 1104, a composition ratio determination unit 1105, composition ratio adjustment units 109 and 110, and a composition unit 111.
Level adjustment units 1102 and 1103 adjust the levels of image signals read from the image sensor 101 in accordance with control signals from the control unit 113, respectively.

動き検出部1104は、レベルが合わせられた2枚の画像信号について、画像信号間の差分情報等を求めて、動きベクトルを検出し、検出した動きベクトルを含む動き検出情報を合成比率決定部1105へ渡す。
合成比率決定部1105は、2枚の画像信号を合成するための合成比率を決定する。この合成比率は、動き検出部1104から出力される動き検出情報と、レベル調整部1102、1103から出力されるレベル調整後の画像信号と、合成比率演算部106から出力される合成比率制御信号とに基づいて決定される。
The motion detection unit 1104 obtains difference information between the image signals of two image signals whose levels are matched, detects a motion vector, and combines the motion detection information including the detected motion vector with the synthesis ratio determination unit 1105. To pass.
A combination ratio determination unit 1105 determines a combination ratio for combining two image signals. This combination ratio includes the motion detection information output from the motion detection unit 1104, the image signal after level adjustment output from the level adjustment units 1102 and 1103, and the combination ratio control signal output from the combination ratio calculation unit 106. To be determined.

次に、露出の異なる2枚の画像を撮像し、それらを合成する手順の一例を説明する。以下では、最初に、相対的に低い露出の画像(低露出画像)を撮像し、その次に、相対的に高い露出の画像(高露出画像)を撮像してそれらを合成する場合を例に挙げて説明する。しかしながら、前記低露出画像と、前記高露出画像とを撮像する順番は、これとは逆であっても構わない。   Next, an example of a procedure for capturing two images with different exposures and combining them will be described. In the following, an example in which a relatively low exposure image (low exposure image) is first captured, and then a relatively high exposure image (high exposure image) is captured and combined. I will give you a description. However, the order of capturing the low exposure image and the high exposure image may be reversed.

まず、制御部113は、低露出の露出段差を設定する。ここでは、適正露出に対して−2段の露出段差を設定する場合を例に挙げて説明する。
撮像素子制御部102は、制御部113で設定された−2段に相当する露出量になるように撮像素子101の露出量を制御する。すなわち、シャッタースピードのみの制御ならば、撮像素子制御部102は、適正露出時の1/4倍の露出時間を設定する。また、撮像素子101に備わるセンサーゲイン部のみの制御ならば、撮像素子制御部102は、当該センサーゲイン部に、適正露出時の1/4倍のゲインを設定する。これらのうち、何れかのみの設定を行うか、又は、これらの組合せで−2段の露出量を設定する。
First, the control unit 113 sets an exposure step with low exposure. Here, a case where an exposure level of −2 is set with respect to proper exposure will be described as an example.
The image sensor control unit 102 controls the exposure amount of the image sensor 101 so that the exposure amount corresponding to −2 steps set by the control unit 113 is obtained. That is, if only the shutter speed is controlled, the image sensor control unit 102 sets an exposure time that is ¼ times the appropriate exposure time. Further, if only the sensor gain unit included in the image sensor 101 is controlled, the image sensor control unit 102 sets a gain that is ¼ times that at the appropriate exposure to the sensor gain unit. Only one of these is set, or the exposure amount of -2 steps is set by a combination thereof.

そして、撮像素子101は、撮像素子制御部102で設定された露出量(露出時間やゲインの設定値)に従って低露出の撮影を行い、低露出画像信号を出力する。このようにして撮像素子101で得られた画像信号はフレームメモリ107に一時的に保持される。
次に、制御部113は、高露出の露出段差を設定する。ここでは、適正露出に対して+2段の露出段差を設定する場合を例に挙げて説明する。
撮像素子制御部102は、制御部113で設定された+2段に相当する露出量になるように撮像素子101の露出量を制御する。すなわち、シャッタースピードのみの制御ならば、撮像素子制御部102は、適正露出時の4倍の露出時間を設定する。また、撮像素子101に備えられているセンサーゲイン部のみの制御ならば、撮像素子制御部102は、当該センサーゲイン部に、適正露出時の4倍のゲインを設定する。これらのうち、何れかのみの設定を行うか、又は、これらを組合せで+2段の露出量を設定する。
そして、撮像素子101は、撮像素子制御部102で設定された露出量(露出時間やゲインの設定値)に従って高露出の撮影を行い、高露出画像信号を出力する。
The image sensor 101 performs low-exposure shooting in accordance with the exposure amount (exposure time and gain setting values) set by the image sensor control unit 102, and outputs a low-exposure image signal. Thus, the image signal obtained by the image sensor 101 is temporarily held in the frame memory 107.
Next, the control unit 113 sets an exposure step with high exposure. Here, a case where an exposure step of +2 is set with respect to proper exposure will be described as an example.
The image sensor control unit 102 controls the exposure amount of the image sensor 101 so that the exposure amount corresponds to +2 steps set by the control unit 113. That is, if only the shutter speed is controlled, the image sensor control unit 102 sets an exposure time four times as long as the proper exposure. Further, if only the sensor gain unit provided in the image sensor 101 is controlled, the image sensor control unit 102 sets a gain four times that at the time of proper exposure in the sensor gain unit. Only one of these is set, or a combination of these is set to +2 steps of exposure amount.
The image sensor 101 performs high-exposure shooting in accordance with the exposure amount (exposure time and gain setting values) set by the image sensor control unit 102, and outputs a high-exposure image signal.

ここで、制御部113は、2枚の画像信号を合成する際に前記低露出画像信号と前記高露出画像信号とのレベルを合わせるために、レベル調整部1102、1103に対するレベル設定を行う。すなわち、制御部113は、適正露出時の4倍のレベル合わせゲインを、前記低露出画像信号のレベル合わせを行うレベル調整部1103に設定する。同様に、制御部113は、適正露出時の1/4倍のレベル合わせゲインを、前記高露出画像信号のレベル合わせを行うレベル調整部1102に設定する。
前記低露出画像信号は、フレームメモリ107から読み出されて、レベル調整部1103でレベル合わせが行われ、動き検出部1104、合成比率決定部1105及び合成比率調整部110に送られる。前記高露出画像信号は、レベル調整部1102で、レベル合わせが行われ、動き検出部1104、合成比率決定部1105及び合成比率調整部110に送られる。
Here, the control unit 113 performs level setting for the level adjustment units 1102 and 1103 in order to match the levels of the low-exposure image signal and the high-exposure image signal when combining two image signals. That is, the control unit 113 sets a level adjustment gain four times that at the time of proper exposure in the level adjustment unit 1103 that performs level adjustment of the low-exposure image signal. Similarly, the control unit 113 sets a level adjustment gain that is ¼ times that at the appropriate exposure to the level adjustment unit 1102 that performs level adjustment of the high-exposure image signal.
The low-exposure image signal is read from the frame memory 107, level-adjusted by the level adjustment unit 1103, and sent to the motion detection unit 1104, the composition ratio determination unit 1105, and the composition ratio adjustment unit 110. The high-exposure image signal is level-adjusted by a level adjustment unit 1102 and sent to a motion detection unit 1104, a composition ratio determination unit 1105, and a composition ratio adjustment unit 110.

動き検出部1104は、レベルが合わせられた前記低露出画像信号と前記高露出画像信号とを比較して、画像内の動き検出情報(例えば動きベクトル)を検出する。例えば、動き検出部1104は、前記低露出画像信号と前記高露出画像信号とをそれぞれ一定の領域に区分し、相互に対応する各領域の画素値の差分を求め、その差分の値の絶対値が大きい場合、その領域は動き領域であると判断する。尚、動き検出情報の検出は、公知の技術で実現できるので、ここでは、その詳細な説明を省略する。
合成比率決定部1105は、レベル調整後の画像信号の明るさ情報と、動き検出部1104からの動き検出情報と、合成比率演算部106からの合成比率制御信号と、に基づいて合成比率を決定する。
The motion detection unit 1104 detects the motion detection information (for example, motion vector) in the image by comparing the low exposure image signal and the high exposure image signal whose levels are matched. For example, the motion detection unit 1104 divides the low-exposure image signal and the high-exposure image signal into fixed regions, obtains a difference between pixel values in each region corresponding to each other, and calculates an absolute value of the difference value. If is large, it is determined that the region is a motion region. In addition, since the detection of motion detection information is realizable with a well-known technique, the detailed description is abbreviate | omitted here.
The composition ratio determination unit 1105 determines the composition ratio based on the brightness information of the image signal after level adjustment, the motion detection information from the motion detection unit 1104, and the composition ratio control signal from the composition ratio calculation unit 106. To do.

具体的に説明すると、合成比率決定部1105は、まず、レベル調整後の画像信号(前記低露出画像信号と前記高露出画像信号)を比較する。そして、合成比率決定部1105は、画像の明るい部分は前記低露出画像信号が主に合成されるように合成比率を決定し、画像の暗い部分は前記高露出画像信号が主に合成されるように合成比率を設定する。また、合成比率決定部1105は、前記動き領域と判断された領域については、前記低露出画像信号と前記高露出画像信号のうち何れか一方の画像信号を出力し、前記動き領域とでない領域については、他方の画像信号を出力する様に合成比率を決定する。尚、本実施形態では、動き領域と判断された領域については低露出画像信号を出力するものとする。このようにすることによって、電荷蓄積動作による蓄積ブレ等の画質の劣化を回避することが可能となり、合成後の画像信号で、動き領域のブレ等の画質の劣化を回避することができる。
本実施形態ではさらに、合成比率演算部106から出力される合成比率制御信号に基づいて合成比率を決定するが、その詳細な内容については後述する。
More specifically, the composition ratio determination unit 1105 first compares the level-adjusted image signals (the low exposure image signal and the high exposure image signal). The composition ratio determining unit 1105 determines the composition ratio so that the low-exposure image signal is mainly synthesized in the bright part of the image, and the high-exposure image signal is mainly synthesized in the dark part of the image. Set the composition ratio to. In addition, the composition ratio determination unit 1105 outputs one of the low-exposure image signal and the high-exposure image signal for the region determined as the motion region, and the region that is not the motion region. Determines the composition ratio so as to output the other image signal. In the present embodiment, it is assumed that a low exposure image signal is output for an area determined to be a motion area. By doing so, it is possible to avoid deterioration in image quality such as accumulation blur due to the charge accumulation operation, and it is possible to avoid degradation in image quality such as motion region blur in the synthesized image signal.
In the present embodiment, the combination ratio is further determined based on the combination ratio control signal output from the combination ratio calculation unit 106, and the detailed contents thereof will be described later.

図12は、前記低露出画像信号及び前記高露出画像信号の輝度値と画素値との関係の一例を示す図である。図12において、横軸は、撮像された画像信号の輝度値を示し、縦軸は、画像データの画素値の大きさを示す。
図12(a)は、レベル合わせが行われる前の関係を示す。図12(a)において、白抜き線Lは前記低露出画像信号の値を示し、黒太線Hは前記高露出画像信号の値を示す。Nは、レベル合わせの目標となる、適正露出の画像信号の値を示す。以下では適正露出の画像信号(N)をレベル合わせの目標とする場合を例に挙げて説明する。
FIG. 12 is a diagram illustrating an example of a relationship between a luminance value and a pixel value of the low exposure image signal and the high exposure image signal. In FIG. 12, the horizontal axis indicates the luminance value of the captured image signal, and the vertical axis indicates the magnitude of the pixel value of the image data.
FIG. 12A shows the relationship before level matching is performed. In FIG. 12A, a white line L indicates the value of the low exposure image signal, and a black thick line H indicates the value of the high exposure image signal. N indicates the value of an image signal with proper exposure, which is a target for level matching. In the following, a case where the image signal (N) with proper exposure is set as a level alignment target will be described as an example.

図12(a)に示すように、前記低露出画像信号(L)の輝度値は、輝度値Y0からY2までの広い輝度範囲を有するが、画素値は、画素値V0からV1までの狭い範囲にとどまり、明るい画像信号が白飛びしないように撮影される。逆に、前記高露出画像信号(H)の輝度値は、輝度値Y0からY1までの狭い輝度範囲を有するが、画素値は、画素値V0からV2までの広い範囲を有し、暗い画像信号が黒つぶれしないように撮影される。   As shown in FIG. 12A, the luminance value of the low-exposure image signal (L) has a wide luminance range from luminance values Y0 to Y2, but the pixel value is a narrow range from pixel values V0 to V1. The bright image signal is photographed so as not to be overexposed. Conversely, the luminance value of the high-exposure image signal (H) has a narrow luminance range from luminance values Y0 to Y1, but the pixel value has a wide range from pixel values V0 to V2, and is a dark image signal. The photo is taken so that the image does not collapse.

図12(b)は、これらの画像信号(前記低露出画像信号と前記高露出画像信号)を合成するためにレベル合わせをした場合の関係を示す。
図12(b)において、前記低露出画像信号は、露出段差に従ってレベル合わせが行われ、画素値が画素値V0からV2までのデータ値を有する低露出画像信号(L2)となる。同様に前記高露出画像信号は、露出段差に従ってレベル合わせが行われ、画素値が画素値V0からV1までのデータ値を有する高露出画像信号(H2)となる。レベル合わせが行われた結果、前記低露出画像信号(L2)と前記高露出画像信号(H2)は、何れも適正露出の場合の画像信号(N)の輝度値と画素値との関係に合わせられる。この結果、画像合成処理では、輝度値Y1からY2の範囲については、低露出画像信号に基づく画像となり、輝度値Y0からY1の範囲については、低露出画像信号と高露出画像信号とが混合された画像となる。尚、動き検出は、レベル合わせ後の前記低露出画像信号(L2)と、レベル合わせ後の前記高露出画像信号(H2)とで共通するデータ範囲、すなわち輝度値が輝度値Y0からY1の範囲で行われる。
FIG. 12B shows the relationship when level adjustment is performed to synthesize these image signals (the low exposure image signal and the high exposure image signal).
In FIG. 12B, the low-exposure image signal is level-adjusted according to the exposure step and becomes a low-exposure image signal (L2) having pixel values of pixel values V0 to V2. Similarly, the level of the high-exposure image signal is adjusted according to the exposure level difference, and the pixel value becomes a high-exposure image signal (H2) having data values from pixel values V0 to V1. As a result of the level adjustment, both the low exposure image signal (L2) and the high exposure image signal (H2) match the relationship between the luminance value and the pixel value of the image signal (N) in the case of proper exposure. It is done. As a result, in the image composition processing, the range of luminance values Y1 to Y2 is an image based on the low exposure image signal, and the low exposure image signal and the high exposure image signal are mixed for the range of luminance values Y0 to Y1. Image. Note that the motion detection is performed in a data range common to the low-exposure image signal (L2) after level adjustment and the high-exposure image signal (H2) after level adjustment, that is, a range in which the luminance value is a luminance value Y0 to Y1. Done in

図13は、前記低露出画像信号及び前記高露出画像信号の画素値のヒストグラムの一例を示す図である。図13において、横軸は、画素値を示し、縦軸は、その画像値を持つ画素の画素数を示す。
図13(a)は、レベル合わせが行われる前のヒストグラムを示す。図13(a)において、細線Lは、前記低露出画像信号のヒストグラムを示し、画素値が画素値V0からV1の範囲に分布している。太線Hは、前記高露出画像信号のヒストグラムを示し、画素値が画素値V0からV2の範囲に分布している。前記高露出画像信号の輝度値のうち、図12の輝度値Y1以上の輝度値は飽和している。このため、前記高露出画像信号のヒストグラム(H)は、画素値の暗い部分のみのヒストグラムとなっている。点線Nは、適正露出の場合のヒストグラムを示す。
FIG. 13 is a diagram illustrating an example of a histogram of pixel values of the low exposure image signal and the high exposure image signal. In FIG. 13, the horizontal axis indicates the pixel value, and the vertical axis indicates the number of pixels having the image value.
FIG. 13A shows a histogram before level matching is performed. In FIG. 13A, a thin line L indicates a histogram of the low-exposure image signal, and pixel values are distributed in a range of pixel values V0 to V1. A thick line H indicates a histogram of the high-exposure image signal, and pixel values are distributed in a range of pixel values V0 to V2. Of the luminance values of the high-exposure image signal, the luminance values equal to or higher than the luminance value Y1 in FIG. 12 are saturated. For this reason, the histogram (H) of the high-exposure image signal is a histogram of only the dark portion of the pixel value. A dotted line N indicates a histogram in the case of proper exposure.

図13(b)は、レベル合わせを行った後のヒストグラムを示す。
前記低露出画像信号のヒストグラム(L)は、露出段差に従ってレベル合わせが行われた結果、画素値が画素値V0からV2までに分布するヒストグラム(L2)となる。また、前記高露出画像信号のヒストグラム(H)は、露出段差に従ってレベル合わせが行われた結果、画素値が画素値V0からV1までに分布するヒストグラム(H2)となる。画素値V0からV1の範囲では、レベル合わせ後の前記低露出画像信号のヒストグラム(L2)と前記高露出画像信号のヒストグラム(H2)とが一致した(重なった)状態となる。
FIG. 13B shows a histogram after level adjustment.
The histogram (L) of the low-exposure image signal becomes a histogram (L2) in which the pixel values are distributed from the pixel values V0 to V2 as a result of level adjustment according to the exposure step. Further, the histogram (H) of the high-exposure image signal is a histogram (H2) in which pixel values are distributed from pixel values V0 to V1 as a result of level adjustment according to the exposure step. In the range of pixel values V0 to V1, the histogram (L2) of the low-exposure image signal after level matching and the histogram (H2) of the high-exposure image signal are in a state of being coincident (overlapped).

図14は、このような構成で高ダイナミックレンジの撮像を実現する場合の本実施形態における撮像素子101の動作を説明する図である。同一符号を付した箇所については説明を省略する。
チャート1401は、チャート206に従って読み出される画像信号の電荷蓄積時間を決定するリセット信号である。撮像素子101は、第1の実施形態と同様に、外部ストロボの平均発光時間を(式4)に与えることにより決定されたリセット開始のタイミングのずれ量Δtのオフセットをもって走査される。加えて、高ダイナミックレンジの撮像のために、制御部113は、1フレームおきに低露出画像用のリセットタイミングと高露出画像用のリセットタイミングで撮像素子101が駆動できるように、撮像素子制御部102に対して、制御信号を送信する。撮像素子101は、撮像素子制御部102から送信される制御信号に従って駆動する。
FIG. 14 is a diagram for explaining the operation of the image sensor 101 in the present embodiment when high dynamic range imaging is realized with such a configuration. A description of the portions denoted by the same reference numerals is omitted.
A chart 1401 is a reset signal that determines the charge accumulation time of an image signal read according to the chart 206. As in the first embodiment, the image sensor 101 is scanned with an offset of the shift start time Δt determined by giving the average light emission time of the external strobe to (Equation 4). In addition, for imaging with a high dynamic range, the controller 113 controls the imaging element control unit so that the imaging element 101 can be driven with a reset timing for a low exposure image and a reset timing for a high exposure image every other frame. A control signal is transmitted to 102. The image sensor 101 is driven in accordance with a control signal transmitted from the image sensor control unit 102.

図14に示す発光開始タイミング301と発光終了タイミング302の間の発光時間tで外部ストロボが発光すると、チャート206に従って読み出される画像信号については、輝度変調領域1402に相当するライン群が外部ストロボによる輝度変調を受ける。また、チャート207に従って読み出される画像信号については、輝度変調領域1403に相当するライン群が、外部ストロボによる輝度変調の影響を受ける。
画像信号1404、1405は、それぞれ、チャート206、207に従って読み出される画像信号の模式図である。連続して撮影された2枚の画像信号1404、1405において、外部ストロボによって輝度変調を受けた領域である輝度変調領域1402、1403に注目すると、全てのラインにおいて、どちらか一方の画像信号では適切な撮像が成されるようになる。
When the external strobe emits light at a light emission time t between the light emission start timing 301 and the light emission end timing 302 shown in FIG. 14, in the image signal read according to the chart 206, the line group corresponding to the luminance modulation area 1402 has a luminance by the external strobe. Undergo modulation. For the image signal read according to the chart 207, the line group corresponding to the luminance modulation area 1403 is affected by the luminance modulation by the external strobe.
Image signals 1404 and 1405 are schematic diagrams of image signals read according to charts 206 and 207, respectively. When attention is paid to the luminance modulation areas 1402 and 1403 which are areas subjected to luminance modulation by an external strobe in the two image signals 1404 and 1405 photographed continuously, it is appropriate for either one of the image signals in all lines. Imaging is achieved.

次に、図15を参照して、本実施形態の撮像装置の全体制御のタイミングの一例を説明する。同一符号を付した箇所については説明を省略する。
画像信号1501は、撮像素子101で撮像された画像信号を示す。チャート206、207、208、1517で読み出される画像信号をそれぞれ、画像O、画像P、画像Q、画像Rとしている。
Next, an example of the timing of overall control of the imaging apparatus according to the present embodiment will be described with reference to FIG. A description of the portions denoted by the same reference numerals is omitted.
An image signal 1501 indicates an image signal captured by the image sensor 101. Image signals read by the charts 206, 207, 208, and 1517 are an image O, an image P, an image Q, and an image R, respectively.

画像信号1502は、フレームメモリ107から出力される画像信号を示す。撮像素子101から出力される画像信号は、1フレーム分遅延されてフレームメモリ107から出力される。
輝度変調領域情報1503、1504は、輝度変調領域判定部103から出力される輝度変調領域情報を示す。画像Oから判定された結果(輝度変調領域)を(o)、画像Qから判定された結果(輝度変調領域)を(q)で表している。
輝度変調領域判定部103は、制御部113から送信される制御信号に従って、前記低露出画像信号を撮像素子101から読み出している期間だけ輝度変調領域判定を行うように制御される。このため、図15に示すように、1フレーム置きに(フレーム間欠で)輝度変調領域情報が出力される。輝度変調領域の判定は、第1の実施形態と同様に、入力される画像信号の輝度値をライン方向に積分してその積分値であるライン積分値を閾値Thと比較することで実現される(図6を参照)。
An image signal 1502 indicates an image signal output from the frame memory 107. The image signal output from the image sensor 101 is output from the frame memory 107 after being delayed by one frame.
The luminance modulation area information 1503 and 1504 indicates the luminance modulation area information output from the luminance modulation area determination unit 103. The result (luminance modulation region) determined from the image O is represented by (o), and the result (luminance modulation region) determined from the image Q is represented by (q).
The luminance modulation area determination unit 103 is controlled to perform the luminance modulation area determination only during a period in which the low-exposure image signal is read from the image sensor 101 according to the control signal transmitted from the control unit 113. For this reason, as shown in FIG. 15, luminance modulation area information is output every other frame (intermittently). As in the first embodiment, the luminance modulation area is determined by integrating the luminance value of the input image signal in the line direction and comparing the integrated value of the line with the threshold value Th. (See FIG. 6).

輝度変調領域判定部1505、1506は、合成比率算出部104に備えるメモリ105から出力される輝度変調領域情報を示す。輝度変調領域判定部103から入力される輝度変調領域情報は、1フレーム分遅延されてメモリ105から出力される。
合成比率制御信号1507、1508は、メモリ105から出力される輝度変調領域情報を元に合成比率演算部106で生成される合成比率制御信号を示す。具体的に、合成比率制御信号γ1は、輝度変調領域情報(o)に基づいて演算される合成比率制御信号を示し、合成比率制御信号γ2は、輝度変調領域情報(q)に基づいて演算される合成比率制御信号を示す。
The luminance modulation area determination units 1505 and 1506 indicate luminance modulation area information output from the memory 105 provided in the synthesis ratio calculation unit 104. The luminance modulation area information input from the luminance modulation area determination unit 103 is output from the memory 105 after being delayed by one frame.
The synthesis ratio control signals 1507 and 1508 indicate synthesis ratio control signals generated by the synthesis ratio calculation unit 106 based on the luminance modulation area information output from the memory 105. Specifically, the combination ratio control signal γ1 indicates a combination ratio control signal calculated based on the luminance modulation area information (o), and the combination ratio control signal γ2 is calculated based on the luminance modulation area information (q). A synthesis ratio control signal is shown.

動き検出情報1509、1510は、動き検出部1104から出力される動き検出情報を示す。前述したように、動き検出情報1509、1510は、レベル調整部1102、1103から出力されるレベル調整後の画像信号(前記低露出画像信号と前記高露出画像信号)を元に生成される。図15では、画像O及び画像Pを元に検出された動き検出情報を動き検出情報α1とし、画像Qと画像Rを元に検出された動き検出情報を動き検出情報α2としている。
また、動き検出部1104は、制御部113から送信される制御信号に従って、合成の対象となる2枚の画像信号(前記低露出画像信号と前記高露出画像信号)が画像合成部1101に入力される期間だけ動き検出を行うように制御されている。このため、図15に示すように1フレーム置きに(フレーム間欠で)動き検出情報が出力される。
Motion detection information 1509 and 1510 indicate motion detection information output from the motion detection unit 1104. As described above, the motion detection information 1509 and 1510 is generated based on the level-adjusted image signals (the low exposure image signal and the high exposure image signal) output from the level adjustment units 1102 and 1103. In FIG. 15, the motion detection information detected based on the image O and the image P is motion detection information α1, and the motion detection information detected based on the image Q and the image R is motion detection information α2.
In addition, the motion detection unit 1104 receives two image signals (the low exposure image signal and the high exposure image signal) to be combined in accordance with a control signal transmitted from the control unit 113 as input to the image combination unit 1101. Control is performed so that motion detection is performed only during a certain period. For this reason, as shown in FIG. 15, motion detection information is output every other frame (intermittently).

合成比率1511、1512は、レベル調整部1102、1103から出力されるレベル調整後の画像信号(前記低露出画像信号と前記高露出画像信号)のレベルに応じて、合成比率決定部1105で生成された合成比率を示す。図15では、画像O及び画像Pのレベルに応じて生成された合成比率を合成比率β1とし、画像Q及び画像Rのレベルに応じて生成された合成比率を合成比率β2としている。   The combination ratios 1511 and 1512 are generated by the combination ratio determination unit 1105 according to the level of the image signal after level adjustment (the low exposure image signal and the high exposure image signal) output from the level adjustment units 1102 and 1103. The synthesis ratio is shown. In FIG. 15, the composition ratio generated according to the levels of the image O and the image P is defined as a composition ratio β1, and the composition ratio generated according to the levels of the image Q and the image R is defined as a composition ratio β2.

合成比率1513、1514は、合成比率決定部1105から出力される合成比率を示す。図15では、画像O及び画像Pを合成するときの合成比率を合成比率δ1とし、画像Q及び画像Rを合成するときの合成比率を合成比率δ2とする。
合成画像1515、1516は、レベル調整部1102、1103から出力される画像信号(前記低露出画像信号と前記高露出画像信号)を合成した合成画像を示す。合成比率調整部109、110は、合成比率決定部1105から出力される合成比率δ1、δ2を元に、画像信号に対して、当該合成比率でゲイン処理する。本実施形態では、第1の実施形態と同様に、合成比率δ1の値が0(ゼロ)である場合に画像P、Rを使うこととする。このため、合成比率調整部109は、受け取った合成比率δ1、δ2に対して、第1の実施形態と同様に(式5)の操作をして得られる合成比率で、入力される画像信号(画像P、R)に対してゲイン処理を行う。
The combination ratios 1513 and 1514 indicate the combination ratios output from the combination ratio determination unit 1105. In FIG. 15, the composition ratio when the image O and the image P are combined is a composition ratio δ1, and the composition ratio when the image Q and the image R are combined is a composition ratio δ2.
Composite images 1515 and 1516 indicate composite images obtained by combining the image signals (the low exposure image signal and the high exposure image signal) output from the level adjustment units 1102 and 1103. Based on the combination ratios δ1 and δ2 output from the combination ratio determination unit 1105, the combination ratio adjustment units 109 and 110 perform gain processing on the image signal at the combination ratio. In the present embodiment, as in the first embodiment, the images P and R are used when the value of the synthesis ratio δ1 is 0 (zero). For this reason, the composition ratio adjustment unit 109 performs the input image signal (with the composition ratio obtained by performing the operation of (Equation 5) on the received composition ratios δ1 and δ2 in the same manner as in the first embodiment. Gain processing is performed on the images P and R).

図16は、撮像素子101から読み出される画像信号(前記低露出画像信号と前記高露出画像信号)を元に合成比率を決定する方法の一例を説明する図である。同一符号を付している箇所については説明を省略する。
グラフ1601は、画像Oと画像Pを元に生成される動き検出情報α1を示す。合成比率決定部1105は、画像信号(画像O、P)間に差分がある領域については、画像Oを選択する。従って、輝度変調領域1402及び1403に属するラインにおいて、低露出画像信号(すなわち画像O)を選択するように動き検出情報α1が生成される。
グラフ1602は、画像O、画像Pの信号レベルに応じて生成される合成比率β1を示す。図16では、説明の便宜上ライン単位で合成比率β1を示す。実際には、1画素単位で画像O、Pの信号レベルを比較したり、或る区分領域に区切って画像O、Pの信号レベルを比較したりすること等が行われる。
FIG. 16 is a diagram for explaining an example of a method for determining a composition ratio based on image signals (the low exposure image signal and the high exposure image signal) read from the image sensor 101. A description of the portions denoted by the same reference numerals is omitted.
A graph 1601 shows motion detection information α1 generated based on the image O and the image P. The composition ratio determining unit 1105 selects the image O for an area where there is a difference between the image signals (images O and P). Accordingly, the motion detection information α1 is generated so as to select the low-exposure image signal (that is, the image O) in the lines belonging to the luminance modulation regions 1402 and 1403.
A graph 1602 shows a synthesis ratio β1 generated according to the signal levels of the image O and the image P. In FIG. 16, for convenience of explanation, the synthesis ratio β1 is shown in units of lines. Actually, the signal levels of the images O and P are compared in units of one pixel, or the signal levels of the images O and P are compared with each other divided into certain divided areas.

グラフ1603は、画像Oを元に生成される合成比率制御信号γ1を示す。外部ストロボによる輝度変調領域が合成画像112に現れないような合成比率制御信号γ1が生成される。より具体的には、輝度変調領域1402に関しては画像Oを使わないように(すなわち画像Pを使うように)合成比率制御信号γ1が生成される。第1の実施形態では、合成比率制御信号を生成する際に、2つの画像信号を参照した。これに対し、本実施形態では、合成の対象となる2つの画像信号(前記低露出画像信号と前記高露出画像信号)のうち、前記低露出画像信号の輝度変調領域1402しか参照していない。前述したように本実施形態では、動き検出部1104は、合成の対象となる画像信号の差分値の絶対値が大きい領域は動き領域であると判断し、前記低露出画像信号を出力する。このため、外部ストロボによる輝度変調が前記高露出画像信号に発生した場合には、外部ストロボによる輝度変調が発生した領域(輝度変調領域)を動き検出部1104で検出することができる。したがって、前述したように本実施形態では、前記低露出画像信号と前記高露出画像信号のうち、前記低露出画像信号の輝度変調領域1402しか参照しない。   A graph 1603 shows a synthesis ratio control signal γ1 generated based on the image O. A composite ratio control signal γ1 is generated so that the luminance modulation area by the external strobe does not appear in the composite image 112. More specifically, the composition ratio control signal γ1 is generated so that the image O is not used (that is, the image P is used) for the luminance modulation region 1402. In the first embodiment, the two image signals are referred to when the synthesis ratio control signal is generated. On the other hand, in the present embodiment, only the luminance modulation area 1402 of the low-exposure image signal is referred to among the two image signals (the low-exposure image signal and the high-exposure image signal) to be combined. As described above, in this embodiment, the motion detection unit 1104 determines that a region where the absolute value of the difference value of the image signal to be combined is large is a motion region, and outputs the low-exposure image signal. For this reason, when luminance modulation by an external strobe occurs in the high-exposure image signal, the motion detection unit 1104 can detect a region (luminance modulation region) where the luminance modulation has occurred by the external strobe. Therefore, as described above, in the present embodiment, only the luminance modulation area 1402 of the low exposure image signal is referred to among the low exposure image signal and the high exposure image signal.

グラフ1604は、動き検出情報α1、レベルに応じた合成比率β1、及び合成比率制御信号γ1を元に、合成比率決定部1105で決定され、合成比率調整部109及び110に渡される合成比率δ1を示す。合成比率決定部1105は、合成比率制御信号γ1が0(ゼロ)の領域に対する合成比率δ1を、それに従い0(ゼロ)とする。次に、合成比率決定部1105は、それ以外の領域(γ1=1の領域)のうち、動き検出情報α1が1の領域に対する合成比率δ1を、1とする。最後に、合成比率決定部1105は、合成比率が決定していない領域の合成比率δ1については、レベルに応じた合成比率β1に従って決定する。   A graph 1604 shows the composition ratio δ1 determined by the composition ratio determination unit 1105 based on the motion detection information α1, the composition ratio β1 corresponding to the level, and the composition ratio control signal γ1, and passed to the composition ratio adjustment units 109 and 110. Show. The composition ratio determining unit 1105 sets the composition ratio δ1 for the region where the composition ratio control signal γ1 is 0 (zero) to 0 (zero) accordingly. Next, the composition ratio determination unit 1105 sets the composition ratio δ1 for the area having the motion detection information α1 to 1 among the other areas (areas where γ1 = 1). Finally, the composition ratio determining unit 1105 determines the composition ratio δ1 of the region where the composition ratio is not determined according to the composition ratio β1 corresponding to the level.

以上のように本実施形態では、動き検出領域については、低露出画像信号を選択した後、低露出画像信号の輝度変調領域については、高露出画像信号画像Oを優先的に選択し、残りの領域については、レベルに応じて低露出画像信号と高露出画像信号を合成する。したがって、高ダイナミックレンジの撮像を行う撮像装置においても、合成後の画像信号上に外部ストロボの影響が発生することを抑制することが可能になり、第1の実施形態で説明した効果と同様の効果を奏する。また、低露出画像信号と高露出画像信号を合成する領域については、高ダイナミックレンジの画像を生成することが可能となる。   As described above, in the present embodiment, after selecting the low-exposure image signal for the motion detection region, the high-exposure image signal image O is preferentially selected for the luminance modulation region of the low-exposure image signal, and the rest For the region, the low-exposure image signal and the high-exposure image signal are combined according to the level. Therefore, even in an imaging apparatus that performs imaging with a high dynamic range, it is possible to suppress the influence of an external strobe on the combined image signal, which is the same as the effect described in the first embodiment. There is an effect. In addition, an image with a high dynamic range can be generated for a region where the low exposure image signal and the high exposure image signal are combined.

(第3の実施形態)
次に、本発明の第3の実施形態を説明する。第1の実施形態では、リセット開始のタイミングのずれ量Δtを、外部ストロボの平均発光時間に基づいて予め決定し、所定の時間で固定した場合を例に挙げて説明した。これに対し、本実施形態では、リセット開始のタイミングのずれ量Δtを動的に決定する場合について説明する。このように本実施形態と第1の実施形態とは、リセット開始のタイミングのずれ量Δtを決定するための構成及び処理が主として異なる。したがって、本実施形態の説明において、第1、第2の実施形態と同一の部分については、図1〜図16に付した符号と同一の符号を付す等して詳細な説明を省略する。
(Third embodiment)
Next, a third embodiment of the present invention will be described. In the first embodiment, the case where the reset start timing shift amount Δt is determined in advance based on the average flash time of the external strobe and fixed at a predetermined time has been described as an example. In contrast, in the present embodiment, a case will be described in which the shift start amount Δt of the reset start is dynamically determined. As described above, the present embodiment and the first embodiment mainly differ in the configuration and processing for determining the amount of shift Δt in the reset start timing. Therefore, in the description of this embodiment, the same parts as those in the first and second embodiments are denoted by the same reference numerals as those in FIGS.

図17は、本実施形態の撮像装置の構成の一例を示すブロック図を示す。
本実施形態の撮像装置は、図1に示した第1の実施形態の撮像装置に対して、合成比率演算部106が、合成後に現れる輝度変調領域の情報を制御部113に渡す制御線1701が追加されたものである。
撮像装置は、リセット開始のタイミングのずれ量Δtが0(ゼロ、Δt=0)の状態で撮像する。そして、撮像装置は、外部ストロボが発光した場合に、連続して撮像された2つの画像信号を合成した後に現れる輝度変調領域を元に、リセット開始のタイミングのずれ量Δtを決定する。そのために、合成比率演算部106は、輝度変調領域判定部103から得られる輝度変調領域情報を元に、合成画像112上に現れる輝度変調領域を判定し、その判定の結果を、制御線1701を介して制御部113に渡す。
FIG. 17 is a block diagram illustrating an example of the configuration of the imaging apparatus according to the present embodiment.
The image capturing apparatus according to the present embodiment is different from the image capturing apparatus according to the first embodiment illustrated in FIG. 1 in that the composition ratio calculation unit 106 has a control line 1701 that passes information on the luminance modulation area that appears after the composition to the control unit 113. It has been added.
The imaging device captures an image in a state where the reset start timing shift amount Δt is 0 (zero, Δt = 0). Then, when the external strobe emits light, the imaging device determines a reset start timing shift amount Δt based on a luminance modulation region that appears after combining two image signals that are successively captured. For this purpose, the composition ratio calculation unit 106 determines the luminance modulation region appearing on the composite image 112 based on the luminance modulation region information obtained from the luminance modulation region determination unit 103, and displays the result of the determination using the control line 1701. To the control unit 113.

図18は、撮像素子101を駆動する際の本実施形態の撮像装置の動作の概要の一例を説明するフローチャートである。
まず、ステップS1801において、輝度変調領域判定部103は、外部ストロボの発光による輝度変調領域を判定する。第1の実施形態で述べたように、外部ストロボによって輝度変調を受けている領域を輝度変調領域情報として出力する。
次に、ステップS1802において、合成比率演算部106は、画像合成後に輝度変調領域が発生するライン数を算出する。
FIG. 18 is a flowchart for explaining an example of the outline of the operation of the image pickup apparatus of the present embodiment when driving the image pickup element 101.
First, in step S1801, the luminance modulation area determination unit 103 determines a luminance modulation area by light emission of an external strobe. As described in the first embodiment, an area subjected to luminance modulation by an external strobe is output as luminance modulation area information.
In step S1802, the composition ratio calculation unit 106 calculates the number of lines in which the luminance modulation area is generated after image composition.

図19は、合成画像112上に現れる輝度変調領域を判定する方法の一例を説明する図である。
本実施形態の撮像装置において、リセット開始のタイミングのずれ量Δt=0で撮像したときに外部ストロボが発光すると、例えば、図22に示したようにして撮像素子101における電荷の蓄積と読み出しとが行われる。
図22に示すチャート2205、2206に従って読み出される画像信号が、それぞれ、画像信号1901、1902(画像X、Y)に対応する。
FIG. 19 is a diagram for explaining an example of a method for determining a luminance modulation area appearing on the composite image 112.
In the imaging apparatus according to the present embodiment, when an external strobe emits light when imaging is performed at a reset start timing shift amount Δt = 0, for example, charge accumulation and readout in the image sensor 101 are performed as shown in FIG. Done.
Image signals read in accordance with charts 2205 and 2206 shown in FIG. 22 correspond to image signals 1901 and 1902 (images X and Y), respectively.

図19において、グラフ1903は、画像Xを元に輝度変調領域判定部103で生成される輝度変調領域情報を示し、グラフ1904は、画像Yを元に輝度変調領域判定部103で生成される輝度変調領域情報を示す。合成比率演算部106は、メモリ105を介して、これら両方の輝度変調領域情報から、画像合成後に輝度変調領域が発生するライン数を算出する。グラフ1905は、これら両方の輝度変調領域情報(グラフ1903、1904)の論理積を取った結果を示す。領域1906が、画像合成後に輝度変調領域として残ってしまうラインに相当する。合成比率演算部106は、演算した結果(ライン数)を制御部113に渡す。   In FIG. 19, a graph 1903 shows the luminance modulation area information generated by the luminance modulation area determination unit 103 based on the image X, and a graph 1904 shows the luminance generated by the luminance modulation area determination unit 103 based on the image Y. Indicates modulation area information. The composition ratio calculation unit 106 calculates the number of lines in which the luminance modulation area is generated after the image composition from the information on both of the luminance modulation areas via the memory 105. A graph 1905 shows the result of taking the logical product of both of these luminance modulation area information (graphs 1903 and 1904). A region 1906 corresponds to a line that remains as a luminance modulation region after image synthesis. The composite ratio calculation unit 106 passes the calculation result (number of lines) to the control unit 113.

図18の説明に戻り、ステップS1803において、制御部113は、合成比率演算部106により算出されたライン数と、撮像素子101の1ラインの読み出し時間tlから、(式4)に従って、外部ストロボの発光時間tを算出する。(式4)における左辺の変数X'は、2つの画像信号間で発生する外部ストロボによる輝度変調を受けるラインであり、合成比率演算部106で算出されたライン数に相当する。また、リセット開始のタイミングのずれ量Δtは0(ゼロ、Δt=0)である。以上から外部ストロボの発光時間tが簡単に求まる。   Returning to the description of FIG. 18, in step S1803, the control unit 113 determines the external strobe of the external strobe from the number of lines calculated by the combination ratio calculation unit 106 and the readout time tl of one line of the image sensor 101 according to (Equation 4). The light emission time t is calculated. The variable X ′ on the left side in (Expression 4) is a line that undergoes luminance modulation by an external strobe generated between two image signals, and corresponds to the number of lines calculated by the combination ratio calculation unit 106. Further, the reset start timing shift amount Δt is 0 (zero, Δt = 0). From the above, the light emission time t of the external strobe can be easily obtained.

次に、ステップS1804において、制御部113は、ステップS1803で算出された外部ストロボの発光時間tを元に、リセット開始のタイミングのずれ量Δtを算出する。(式4)から、リセット開始のタイミングのずれ量Δtを、外部ストロボの発光時間t以上の値にすることで、連続する2つの画像信号間で発生する外部ストロボによる輝度変調を受けるラインを0にすることができる。制御部113は、撮像素子101に対して、このようにして算出したリセット開始のタイミングのずれ量Δtで撮像するように撮像素子制御部102へ制御信号を渡す。そして、撮像素子制御部102は、リセット開始のタイミングのずれ量Δtに基づいて、撮像素子101における電荷の蓄積時間を制御する。   In step S1804, the control unit 113 calculates a reset start timing shift amount Δt based on the light emission time t of the external strobe calculated in step S1803. From (Equation 4), by setting the amount of deviation Δt of the reset start timing to a value equal to or longer than the light emission time t of the external strobe, the line subjected to luminance modulation by the external strobe generated between two consecutive image signals is set to 0. Can be. The control unit 113 passes a control signal to the image sensor control unit 102 so that the image sensor 101 captures an image with the shift start time difference Δt calculated in this way. Then, the image sensor control unit 102 controls the charge accumulation time in the image sensor 101 based on the reset start timing shift amount Δt.

以上のように本実施形態では、連続して撮像された2つの画像信号を解析し、当該2つの画像信号に共通して存在する輝度変調領域に対応するライン数を導出する。そして、導出したライン数と、撮像素子101の1ラインの読み出し時間と、リセット開始のタイミングの現在のずれ量とに基づいて、外部ストロボの発光時間を算出する。したがって、第1の実施形態で説明した効果に加え、以下の効果が得られる。すなわち、撮像装置で映像を記録する前に、合成後の画像信号に外部ストロボによる影響が出ないように撮像素子101を駆動することができ、且つ、外部ストロボが発光していない状況下ではリセット開始のタイミングをずらすことなく撮像することができる。   As described above, in the present embodiment, two image signals captured in succession are analyzed, and the number of lines corresponding to the luminance modulation area existing in common in the two image signals is derived. Then, the light emission time of the external strobe is calculated based on the derived number of lines, the readout time of one line of the image sensor 101, and the current shift amount of the reset start timing. Therefore, in addition to the effects described in the first embodiment, the following effects can be obtained. That is, before recording an image with the imaging device, the imaging device 101 can be driven so that the combined image signal is not affected by the external strobe, and the reset is performed in a situation where the external strobe is not emitting light. Images can be taken without shifting the start timing.

<変形例>
本実施形態では、リセット開始のタイミングのずれ量Δtが0(ゼロ、Δt=0)で撮像された画像信号から外部ストロボの発光時間tを算出した。しかしながら、リセット開始のタイミングのずれ量Δtが0(ゼロ)では無い場合であって、外部ストロボの発光時間tが、リセット開始のタイミングのずれ量Δtより大きい場合も、同様に(式4)により、外部ストロボの発光時間tを算出することができる。この場合、(式4)には、リセット開始のタイミングのずれ量Δtの現在値を与える。また、第1の実施形態に示したように、外部ストロボの平均発光時間を元に予め決定されたリセット開始のタイミングのずれ量Δtの値を調整することもできる。
また、本実施形態の構成を第2の実施形態に適用することもできる。
<Modification>
In the present embodiment, the light emission time t of the external strobe is calculated from the image signal captured when the reset start timing deviation amount Δt is 0 (zero, Δt = 0). However, even when the reset start timing deviation amount Δt is not 0 (zero) and the light emission time t of the external strobe is larger than the reset start timing deviation amount Δt, the same applies to (Equation 4). The light emission time t of the external strobe can be calculated. In this case, the current value of the reset start timing deviation amount Δt is given to (Equation 4). In addition, as shown in the first embodiment, the value of the shift start time Δt that is determined in advance based on the average light emission time of the external strobe can be adjusted.
In addition, the configuration of this embodiment can be applied to the second embodiment.

(第4の実施形態)
次に、本発明の第4の実施形態を説明する。本実施形態では、第1の実施形態に対し、リセット開始のタイミングのずれ量Δtで撮像された2つの画像信号を合成して得た画像信号の露出を補償する構成を付加したものである。したがって、本実施形態の説明において、第1〜第3の実施形態と同一の部分については、図1〜図19に付した符号と同一の符号を付す等して詳細な説明を省略する。
(Fourth embodiment)
Next, a fourth embodiment of the present invention will be described. In this embodiment, a configuration is added to the first embodiment to compensate for exposure of an image signal obtained by synthesizing two image signals captured at a reset start timing shift amount Δt. Therefore, in the description of this embodiment, the same parts as those in the first to third embodiments are denoted by the same reference numerals as those in FIGS.

図20は、本実施形態の撮像装置の構成の一例を示すブロック図である。
本実施形態の撮像装置は、図1に示した第1の実施形態の撮像装置と比較し、2つのフレームメモリ2004、2005を有することと、2つのメモリ2002、2003を有することと、露出補正用画像信号を生成するための構成が追加されたことが異なる。具体的に、露出補正用画像信号を生成する補正信号生成処理を実行するための構成として、露出補正信号生成部2007と、露出補正部2008とが撮像装置に備わる。本実施形態の撮像装置は、リセット開始のタイミングのずれ量Δtで連続して撮像された2つの画像信号を合成した画像信号において過少になっている露出を、他のフレームの画像信号に基づいて補償する。
FIG. 20 is a block diagram illustrating an example of the configuration of the imaging apparatus according to the present embodiment.
Compared with the imaging apparatus of the first embodiment shown in FIG. 1, the imaging apparatus of this embodiment has two frame memories 2004 and 2005, two memories 2002 and 2003, and exposure correction. The difference is that a configuration for generating an image signal is added. Specifically, an exposure correction signal generation unit 2007 and an exposure correction unit 2008 are provided in the imaging apparatus as a configuration for executing a correction signal generation process for generating an image signal for exposure correction. The image pickup apparatus according to the present embodiment uses the image signal obtained by combining two image signals successively captured with the reset start timing shift amount Δt based on the image signal of another frame. To compensate.

図20において、合成比率算出部2001は、図1に示した合成比率算出部104と異なり、2つのメモリ(第1のメモリ2002と、第2のメモリ2003)を有する。合成比率演算部106は、第1のメモリ2002及び第2のメモリ2003から出力される輝度変調領域情報に基づいて合成比率制御信号を生成する。
第1のフレームメモリ2004及び第2のフレームメモリ2005は、撮像素子101から出力される画像信号を1フレーム分保持するフレームメモリである。第2のフレームメモリ2005は、第1のフレームメモリ2004から出力される画像信号を1フレーム分保持する。
20, the synthesis ratio calculation unit 2001 has two memories (a first memory 2002 and a second memory 2003), unlike the synthesis ratio calculation unit 104 shown in FIG. The composition ratio calculation unit 106 generates a composition ratio control signal based on the luminance modulation area information output from the first memory 2002 and the second memory 2003.
A first frame memory 2004 and a second frame memory 2005 are frame memories that hold an image signal output from the image sensor 101 for one frame. The second frame memory 2005 holds the image signal output from the first frame memory 2004 for one frame.

画像合成部2006は、図1に示した画像合成部108に対し、露出補正信号生成部2007と、露出補正部2008とが追加されたものである。合成比率調整部109、110は、それぞれ、第1のフレームメモリ2004、第2のフレームメモリ2005から出力される画像信号に対して、合成比率演算部106から出力される合成比率制御信号に応じた合成比率でゲイン処理を行う。
露出補正信号生成部2007は、撮像素子101から出力される画像信号から、制御部113から送られてくる制御信号に応じて、露出補正用画像信号を生成する。
露出補正部2008は、合成部111から出力される合成後の画像信号と、露出補正信号生成部2007から出力される露出補正用画像信号とを合成(加算)して、合成画像2009を出力する。
The image composition unit 2006 is obtained by adding an exposure correction signal generation unit 2007 and an exposure correction unit 2008 to the image composition unit 108 shown in FIG. The combination ratio adjustment units 109 and 110 correspond to the combination ratio control signals output from the combination ratio calculation unit 106 for the image signals output from the first frame memory 2004 and the second frame memory 2005, respectively. Gain processing is performed with the composition ratio.
The exposure correction signal generation unit 2007 generates an exposure correction image signal from the image signal output from the image sensor 101 according to the control signal sent from the control unit 113.
The exposure correction unit 2008 combines (adds) the combined image signal output from the combining unit 111 and the exposure correction image signal output from the exposure correction signal generation unit 2007, and outputs a combined image 2009. .

図21を参照して、本実施形態の撮像装置の全体制御のタイミングの一例を説明する。同一符号を付した箇所については、説明を省略する。
画像信号2101は、撮像素子101から読み出される画像信号を示す。
画像信号2102、2103は、それぞれ、第1のフレームメモリ2004、第2のフレームメモリ2005から出力される画像信号を示す。画像信号を、出力順に、画像O、画像P、画像Q、画像Rとしている。
第1のフレームメモリ2004は、撮像素子101から出力された画像信号を1フレーム分保持する。第2のフレームメモリ2005は、フレームメモリ2004から出力された画像信号を1フレーム分保持する。
With reference to FIG. 21, an example of the timing of overall control of the imaging apparatus of the present embodiment will be described. A description of the portions denoted by the same reference numerals will be omitted.
An image signal 2101 indicates an image signal read from the image sensor 101.
Image signals 2102 and 2103 indicate image signals output from the first frame memory 2004 and the second frame memory 2005, respectively. The image signals are image O, image P, image Q, and image R in the order of output.
The first frame memory 2004 holds the image signal output from the image sensor 101 for one frame. The second frame memory 2005 holds the image signal output from the frame memory 2004 for one frame.

輝度変調領域情報2104は、輝度変調領域判定部103から出力される輝度変調領域情報を示す。
輝度変調領域情報2105、2106は、それぞれ、第1のメモリ2002、第2のメモリ2003から出力される輝度変調領域情報を示す。図21では、画像信号の番号に沿って順に、輝度変調領域情報(o)、(p)、(q)、(r)と表記している。
合成比率信号2107は、合成比率演算部106で生成される合成比率制御信号を示す。合成比率制御信号γ1は、第1のメモリ2002から出力される輝度変調領域情報(p)と第2のメモリ2003から出力される輝度変調領域情報(o)とを元に生成される。同様に、合成比率制御信号γ2は、第1のメモリ2002から出力される輝度変調領域情報(q)と第2のメモリ2003から出力される輝度変調領域情報(r)とを元に生成される。合成比率制御信号γ1、γ12を生成する方法は、第1の実施形態で説明した方法と同じである。
The luminance modulation area information 2104 indicates the luminance modulation area information output from the luminance modulation area determination unit 103.
The luminance modulation area information 2105 and 2106 indicate the luminance modulation area information output from the first memory 2002 and the second memory 2003, respectively. In FIG. 21, the luminance modulation area information (o), (p), (q), and (r) are written in order along the number of the image signal.
A composite ratio signal 2107 indicates a composite ratio control signal generated by the composite ratio calculator 106. The combination ratio control signal γ1 is generated based on the luminance modulation area information (p) output from the first memory 2002 and the luminance modulation area information (o) output from the second memory 2003. Similarly, the composition ratio control signal γ2 is generated based on the luminance modulation area information (q) output from the first memory 2002 and the luminance modulation area information (r) output from the second memory 2003. . The method for generating the synthesis ratio control signals γ1 and γ12 is the same as the method described in the first embodiment.

画像信号2108は、合成部111で合成された画像信号を示す。画像Oと画像Pは、合成比率制御信号γ1に従って、合成比率調整部109、110でゲイン処理が成される。このことは、第1の実施形態で説明したのと同じである。
露出補正用画像信号2109は、露出補正信号生成部2007で生成される露出補正用画像信号を示す。画像Oと画像Pとが合成された画像信号が出力されるタイミングで制御部113から出力される制御信号に基づいて、画像Qに基づく露出補正用画像信号が生成される。制御部113から出力される制御信号は、撮像素子101におけるリセット開始のタイミングのずれ量Δtに応じた露出の過少分を補償するように計算されたゲイン量を指示する信号である。露出補正信号生成部2007は、このゲイン量に基づいて、画像Qに対してゲイン処理を行ったものを露出補正用画像信号として生成する。撮像素子101におけるリセット開始のタイミングのずれ量Δtが0(ゼロ、Δt=0)のときの電荷の蓄積時間をTとすると、ゲイン量Gaは、以下の(式7)で表される。
Ga=Δt/(T−Δt) ・・・(式7)
An image signal 2108 indicates the image signal synthesized by the synthesis unit 111. The image O and the image P are subjected to gain processing by the composition ratio adjustment units 109 and 110 in accordance with the composition ratio control signal γ1. This is the same as described in the first embodiment.
An exposure correction image signal 2109 indicates an exposure correction image signal generated by the exposure correction signal generation unit 2007. An exposure correction image signal based on the image Q is generated based on a control signal output from the control unit 113 at a timing when an image signal obtained by combining the image O and the image P is output. The control signal output from the control unit 113 is a signal for instructing a gain amount calculated so as to compensate for an underexposure corresponding to a reset start timing shift amount Δt in the image sensor 101. Based on this gain amount, the exposure correction signal generation unit 2007 generates an image obtained by performing gain processing on the image Q as an exposure correction image signal. The gain amount Ga is expressed by the following (Equation 7), where T is the charge accumulation time when the reset start timing shift amount Δt in the image sensor 101 is 0 (zero, Δt = 0).
Ga = Δt / (T−Δt) (Expression 7)

合成画像2110は、合成部111で合成された画像信号と露出補正信号生成部2007で生成された露出補正用画像信号とを露出補正部2008で合成したものを示す。画像Oと画像Pの合成画像に対して次のフレームである画像Qから生成された画像補正信号Q'が加算される。同様に、画像Pと画像Qの合成画像に対して次のフレームである画像Rから生成された画像補正信号R'が加算される。   A composite image 2110 indicates an image obtained by combining the image signal combined by the combining unit 111 and the exposure correction image signal generated by the exposure correction signal generation unit 2007 by the exposure correction unit 2008. An image correction signal Q ′ generated from the image Q as the next frame is added to the composite image of the image O and the image P. Similarly, the image correction signal R ′ generated from the image R which is the next frame is added to the composite image of the image P and the image Q.

以上のように本実施形態では、リセット開始のタイミングのずれ量Δtに起因する露光の過少に応じたゲイン量で次の画像信号に対してゲイン処理を行って露出補正用画像信号を生成する。そして、連続して撮像された2つの画像信号を第1の実施形態で説明したようにして合成した画像信号を露出補正用画像信号で補償する。これにより、ゲインアップによる露出の補償よりもS/Nのよい合成画像2009を得ることが可能となる。また、図示しない光学系の絞り値を変更するよりも、急峻な露出補償が可能となる。
また、本実施形態の構成を第2の実施形態又は第3の実施形態に適用することもできる。
As described above, in the present embodiment, an exposure correction image signal is generated by performing gain processing on the next image signal with a gain amount corresponding to the underexposure caused by the reset start timing shift amount Δt. Then, the image signal obtained by synthesizing the two image signals successively captured as described in the first embodiment is compensated with the exposure correction image signal. As a result, it is possible to obtain a composite image 2009 having a better S / N ratio than exposure compensation by increasing the gain. In addition, a sharper exposure compensation is possible than changing the aperture value of an optical system (not shown).
The configuration of the present embodiment can also be applied to the second embodiment or the third embodiment.

尚、前述した実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

(その他の実施例)
本発明は、以下の処理を実行することによっても実現される。即ち、まず、以上の実施形態の機能を実現するソフトウェア(コンピュータプログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給する。そして、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)が当該コンピュータプログラムを読み出して実行する。
(Other examples)
The present invention is also realized by executing the following processing. That is, first, software (computer program) for realizing the functions of the above embodiments is supplied to a system or apparatus via a network or various storage media. Then, the computer (or CPU, MPU, etc.) of the system or apparatus reads and executes the computer program.

101 撮像素子、103 輝度変調領域判定部、104 合成比率算出部、108 画像合成部   DESCRIPTION OF SYMBOLS 101 Image sensor, 103 Brightness modulation area | region determination part, 104 Composition ratio calculation part, 108 Image composition part

Claims (23)

行列状に配置された複数の画素を有する撮像素子で連続して撮像された複数の画像信号を合成して画像信号を生成する撮像装置であって、
前記画像信号を得るための前記撮像素子における電荷の読み出しを行ってから、その次の前記画像信号を得るための前記撮像素子における電荷の蓄積を開始するまでの時間であるずれ時間を設定する設定手段と、
前記設定手段により設定されたずれ時間に基づいて、前記撮像素子の動作を制御する撮像素子制御手段と、
前記撮像素子制御手段により動作が制御された前記撮像素子で撮像された前記複数の画像信号の輝度値に基づいて、輝度が変調している領域である輝度変調領域を、前記複数の画像信号のそれぞれについて判定する領域判定手段と、
前記領域判定手段により判定された輝度変調領域に基づいて、前記複数の画像信号の合成比率を算出する合成比率算出手段と、
前記合成比率算出手段により算出された合成比率で、前記撮像素子制御手段により動作が制御された前記撮像素子で撮像された前記複数の画像信号を合成する合成手段と、
を有することを特徴とする撮像装置。
An imaging device that generates an image signal by combining a plurality of image signals continuously captured by an imaging element having a plurality of pixels arranged in a matrix,
Setting for setting a shift time, which is a time period from the start of charge accumulation in the image sensor for obtaining the next image signal after reading of the charge in the image sensor for obtaining the image signal Means,
Image sensor control means for controlling the operation of the image sensor based on the shift time set by the setting means;
Based on the luminance values of the plurality of image signals imaged by the image sensor whose operation is controlled by the image sensor control means, a luminance modulation area, which is an area in which the luminance is modulated, is defined as the plurality of image signals. An area determination means for determining each;
Based on the luminance modulation area determined by the area determination unit, a combination ratio calculation unit that calculates a combination ratio of the plurality of image signals;
A synthesizing unit that synthesizes the plurality of image signals picked up by the image pickup device whose operation is controlled by the image pickup element control unit at a combination ratio calculated by the combination ratio calculating unit;
An imaging device comprising:
前記合成比率算出手段は、前記領域判定手段により、前記複数の画像信号の少なくとも1つの画像信号に、前記輝度変調領域となる領域があると判定され、且つ、前記複数の画像信号の残りの画像信号の、当該領域に対応する領域が前記輝度変調領域ではないと判定された場合、当該領域については、前記複数の画像信号の残りの画像信号を使用するように、前記合成比率を算出することを特徴とする請求項1に記載の撮像装置。   The synthesis ratio calculation unit determines that the region determination unit determines that there is a region serving as the luminance modulation region in at least one image signal of the plurality of image signals, and the remaining images of the plurality of image signals When it is determined that a region corresponding to the region of the signal is not the luminance modulation region, the composition ratio is calculated so that the remaining image signals of the plurality of image signals are used for the region. The imaging apparatus according to claim 1. 前記合成比率算出手段は、前記領域判定手段により、前記複数の画像信号の相互に対応する領域が、前記輝度変調領域でないと判定された場合、当該領域については、当該複数の画像信号を合成して使用するように、前記合成比率を算出することを特徴とする請求項1又は2に記載の撮像装置。   The combining ratio calculating unit combines the plurality of image signals for the region when the region determining unit determines that the region corresponding to the plurality of image signals is not the luminance modulation region. The imaging apparatus according to claim 1, wherein the composite ratio is calculated so as to be used. 前記複数の画像信号は、相対的に露出が高い高露出画像信号と、相対的に露出が低い低露出画像信号であることを特徴とする請求項1〜3の何れか1項に記載の撮像装置。   The imaging according to any one of claims 1 to 3, wherein the plurality of image signals are a high exposure image signal with relatively high exposure and a low exposure image signal with relatively low exposure. apparatus. 前記高露出画像信号と前記低露出画像信号の信号レベルを合わせるレベル調整手段と、
前記レベル調整手段により信号レベルが合わせられた、前記高露出画像信号と前記低露出画像信号との信号レベルの差分に基づいて被写体の動きを検出する動き検出手段と、
前記合成比率算出手段により算出された合成比率と、前記動きが検出された領域である動き検出領域と、前記レベル調整手段により信号レベルが合わせられた前記高露出画像信号および前記低露出画像信号と、に基づいて、前記合成比率を決定する合成比率決定手段と、を更に有することを特徴とする請求項4に記載の撮像装置。
Level adjusting means for matching the signal levels of the high exposure image signal and the low exposure image signal;
Motion detection means for detecting movement of a subject based on a difference in signal level between the high exposure image signal and the low exposure image signal, the signal level of which is adjusted by the level adjustment means;
The composition ratio calculated by the composition ratio calculation means, the motion detection area that is the area where the motion is detected, and the high-exposure image signal and the low-exposure image signal whose signal levels are matched by the level adjustment means The imaging apparatus according to claim 4, further comprising: a combination ratio determining unit that determines the combination ratio based on
前記合成比率算出手段は、
前記低露出画像信号の前記輝度変調領域については、前記高露出画像信号を使用し、前記低露出画像信号の前記輝度変調領域と異なる領域については、前記低露出画像信号を使用するように、前記合成比率を算出し、
前記合成比率決定手段は、
前記動き検出領域については、前記高露出画像信号および前記低露出画像信号のうち予め定められた一方の画像信号を使用し、前記動き検出領域と異なる領域については、他方の画像信号を使用し、
前記低露出画像信号の前記輝度変調領域については、前記動き検出領域に基づいて使用するとされた画像信号に関わらず、前記高露出画像信号を使用し、
その他の領域については、前記レベル調整手段により信号レベルが合わせられた前記高露出画像信号および前記低露出画像信号の信号レベルに応じて前記高露出画像信号および前記低露出画像信号を合成して使用するように、前記合成比率を決定することを特徴とする請求項5に記載の撮像装置。
The composite ratio calculating means includes
The high exposure image signal is used for the luminance modulation area of the low exposure image signal, and the low exposure image signal is used for an area different from the luminance modulation area of the low exposure image signal. Calculate the composition ratio,
The synthesis ratio determining means includes
For the motion detection region, use one of the predetermined image signals of the high exposure image signal and the low exposure image signal, for the region different from the motion detection region, use the other image signal,
For the luminance modulation area of the low exposure image signal, regardless of the image signal that is supposed to be used based on the motion detection area, the high exposure image signal is used,
For other regions, the high exposure image signal and the low exposure image signal are combined and used in accordance with the signal levels of the high exposure image signal and the low exposure image signal whose signal levels are adjusted by the level adjusting means. The imaging apparatus according to claim 5, wherein the combination ratio is determined.
前記複数の画像信号の両方に共通する前記輝度変調領域に存在する前記撮像素子のライン数と、前記撮像素子の1ラインの読み出し時間とに基づいて、前記ずれ時間を導出するずれ時間導出手段を更に有することを特徴とする請求項1〜6の何れか1項に記載の撮像装置。   Shift time deriving means for deriving the shift time based on the number of lines of the image sensor present in the luminance modulation area common to both of the plurality of image signals and the readout time of one line of the image sensor; The imaging apparatus according to claim 1, further comprising: 前記ずれ時間は、外部発光手段の平均発光時間に基づいた所定の時間であることを特徴とする請求項1〜6の何れか1項に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the shift time is a predetermined time based on an average light emission time of an external light emitting unit. 前記撮像素子制御手段により動作が制御された前記撮像素子で撮像された画像信号であって、前記複数の画像信号と異なる画像信号に対して、前記ずれ時間と、当該ずれ時間に対応する前記撮像素子における電荷の蓄積時間とに基づくゲインをかけることにより得られた信号を露出補正用画像信号として生成する補正信号生成手段と、
前記補正信号生成手段により生成された露出補正用画像信号と前記合成手段により合成された複数の画像信号とを合成する露出補正手段と、を更に有することを特徴とする請求項1〜8の何れか1項に記載の撮像装置。
The image signal picked up by the image pickup device whose operation is controlled by the image pickup device control means, and the image pickup signal corresponding to the shift time with respect to the image signal different from the plurality of image signals. Correction signal generation means for generating a signal obtained by applying a gain based on the charge accumulation time in the element as an exposure correction image signal;
The exposure correction means for combining the image signal for exposure correction generated by the correction signal generation means and the plurality of image signals combined by the combining means, further comprising: The imaging apparatus of Claim 1.
少なくとも絞りを含む光学系と、
前記光学系の動作を制御する光学系制御手段と、を更に有し、
前記光学系制御手段は、前記ずれ時間と、当該ずれ時間に対応する前記撮像素子における電荷の蓄積時間とに基づく絞り値になるように、前記光学系の絞りを制御することを特徴とする請求項1〜8の何れか1項に記載の撮像装置。
An optical system including at least an aperture;
Optical system control means for controlling the operation of the optical system,
The optical system control means controls the aperture of the optical system so that the aperture value is based on the shift time and the charge accumulation time in the image sensor corresponding to the shift time. Item 9. The imaging device according to any one of Items 1 to 8.
前記撮像装置の露出制御パラメータに応じて、前記ずれ時間に基づく前記撮像素子の動作の制御を行うか否かを判断する判断手段を更に有し、
前記撮像素子制御手段は、前記判断手段により、前記ずれ時間に基づく前記撮像素子の動作の制御を行わないと判断されると、前記ずれ時間を0(ゼロ)として前記撮像素子の動作を制御することを特徴とする請求項1〜10の何れか1項に記載の撮像装置。
A determination means for determining whether to control the operation of the image pickup device based on the shift time according to an exposure control parameter of the image pickup apparatus;
When the determination unit determines that the operation of the image sensor based on the shift time is not to be controlled, the image sensor control unit controls the operation of the image sensor by setting the shift time to 0 (zero). The image pickup apparatus according to claim 1, wherein the image pickup apparatus is an image pickup apparatus.
行列状に配置された複数の画素を有する撮像素子で連続して撮像された複数の画像信号を合成して画像信号を生成する撮像装置の制御方法であって、
前記画像信号を得るための前記撮像素子における電荷の読み出しを行ってから、その次の前記画像信号を得るための前記撮像素子における電荷の蓄積を開始するまでの時間であるずれ時間を設定する設定工程と、
前記設定工程により設定されたずれ時間に基づいて、前記撮像素子の動作を制御する撮像素子制御工程と、
前記撮像素子制御工程により動作が制御された前記撮像素子で撮像された前記複数の画像信号の輝度値に基づいて、輝度が変調している領域である輝度変調領域を、前記複数の画像信号のそれぞれについて判定する領域判定工程と、
前記領域判定工程により判定された輝度変調領域に基づいて、前記複数の画像信号の合成比率を算出する合成比率算出工程と、
前記合成比率算出工程により算出された合成比率で、前記撮像素子制御工程により動作が制御された前記撮像素子で撮像された前記複数の画像信号を合成する合成工程と、
を有することを特徴とする撮像装置の制御方法。
A method of controlling an imaging apparatus that generates an image signal by combining a plurality of image signals continuously captured by an imaging device having a plurality of pixels arranged in a matrix,
Setting for setting a shift time, which is a time period from the start of charge accumulation in the image sensor for obtaining the next image signal after reading of the charge in the image sensor for obtaining the image signal Process,
An image sensor control step for controlling the operation of the image sensor based on the shift time set by the setting step;
Based on the luminance values of the plurality of image signals imaged by the image sensor whose operation is controlled by the image sensor control step, a luminance modulation area, which is an area where the luminance is modulated, is determined as the plurality of image signals. An area determination step for determining each;
A synthesis ratio calculation step of calculating a synthesis ratio of the plurality of image signals based on the luminance modulation area determined by the area determination step;
A synthesis step of synthesizing the plurality of image signals picked up by the image pickup device, the operation of which is controlled by the image pickup device control step, at the combination ratio calculated by the combination ratio calculation step;
A method for controlling an imaging apparatus, comprising:
前記合成比率算出工程は、前記領域判定工程により、前記複数の画像信号の少なくとも1つの画像信号に、前記輝度変調領域となる領域があると判定され、且つ、前記複数の画像信号の残りの画像信号の、当該領域に対応する領域が前記輝度変調領域ではないと判定された場合、当該領域については、前記複数の画像信号の残りの画像信号を使用するように、前記合成比率を算出することを特徴とする請求項12に記載の撮像装置の制御方法。   In the synthesis ratio calculation step, it is determined by the region determination step that at least one image signal of the plurality of image signals includes a region to be the luminance modulation region, and the remaining images of the plurality of image signals When it is determined that a region corresponding to the region of the signal is not the luminance modulation region, the composition ratio is calculated so that the remaining image signals of the plurality of image signals are used for the region. The method of controlling an imaging apparatus according to claim 12. 前記合成比率算出工程は、前記領域判定工程により、前記複数の画像信号の相互に対応する領域が、前記輝度変調領域でないと判定された場合、当該領域については、当該複数の画像信号を合成して使用するように、前記合成比率を算出することを特徴とする請求項12又は13に記載の撮像装置の制御方法。   In the combination ratio calculation step, when it is determined by the region determination step that regions corresponding to each other of the plurality of image signals are not the luminance modulation region, the plurality of image signals are combined for the region. The method of controlling an imaging apparatus according to claim 12, wherein the composite ratio is calculated so as to be used. 前記複数の画像信号は、相対的に露出が高い高露出画像信号と、相対的に露出が低い低露出画像信号であることを特徴とする請求項12〜14の何れか1項に記載の撮像装置の制御方法。   15. The imaging according to any one of claims 12 to 14, wherein the plurality of image signals are a high exposure image signal with relatively high exposure and a low exposure image signal with relatively low exposure. Control method of the device. 前記高露出画像信号と前記低露出画像信号の信号レベルを合わせるレベル調整工程と、
前記レベル調整工程により信号レベルが合わせられた、前記高露出画像信号と前記低露出画像信号との信号レベルの差分に基づいて被写体の動きを検出する動き検出工程と、
前記合成比率算出工程により算出された合成比率と、前記動きが検出された領域である動き検出領域と、前記レベル調整工程により信号レベルが合わせられた前記高露出画像信号および前記低露出画像信号と、に基づいて、前記合成比率を決定する合成比率決定工程と、を更に有することを特徴とする請求項15に記載の撮像装置の制御方法。
A level adjustment step of matching the signal levels of the high exposure image signal and the low exposure image signal;
A motion detection step of detecting a motion of a subject based on a difference in signal level between the high exposure image signal and the low exposure image signal, the signal level of which is adjusted by the level adjustment step;
The composition ratio calculated by the composition ratio calculation step, the motion detection region that is the region where the motion is detected, the high-exposure image signal and the low-exposure image signal whose signal levels are matched by the level adjustment step The control method for an imaging apparatus according to claim 15, further comprising: a composite ratio determining step for determining the composite ratio based on
前記合成比率算出工程は、
前記低露出画像信号の前記輝度変調領域については、前記高露出画像信号を使用し、前記低露出画像信号の前記輝度変調領域と異なる領域については、前記低露出画像信号を使用するように、前記合成比率を算出し、
前記合成比率決定工程は、
前記動き検出領域については、前記高露出画像信号および前記低露出画像信号のうち予め定められた一方の画像信号を使用し、前記動き検出領域と異なる領域については、他方の画像信号を使用し、
前記低露出画像信号の前記輝度変調領域については、前記動き検出領域に基づいて使用するとされた画像信号に関わらず、前記高露出画像信号を使用し、
その他の領域については、前記レベル調整工程により信号レベルが合わせられた前記高露出画像信号および前記低露出画像信号の信号レベルに応じて前記高露出画像信号および前記低露出画像信号を合成して使用するように、前記合成比率を決定することを特徴とする請求項16に記載の撮像装置の制御方法。
The synthesis ratio calculation step includes
The high exposure image signal is used for the luminance modulation area of the low exposure image signal, and the low exposure image signal is used for an area different from the luminance modulation area of the low exposure image signal. Calculate the composition ratio,
The synthesis ratio determining step includes
For the motion detection region, use one of the predetermined image signals of the high exposure image signal and the low exposure image signal, for the region different from the motion detection region, use the other image signal,
For the luminance modulation area of the low exposure image signal, regardless of the image signal that is supposed to be used based on the motion detection area, the high exposure image signal is used,
For other regions, the high exposure image signal and the low exposure image signal are combined and used in accordance with the signal levels of the high exposure image signal and the low exposure image signal whose signal levels are adjusted by the level adjustment step. The method according to claim 16, wherein the composition ratio is determined.
前記複数の画像信号の両方に共通する前記輝度変調領域に存在する前記撮像素子のライン数と、前記撮像素子の1ラインの読み出し時間とに基づいて、前記ずれ時間を導出するずれ時間導出工程を更に有することを特徴とする請求項12〜17の何れか1項に記載の撮像装置の制御方法。   A shift time deriving step of deriving the shift time based on the number of lines of the image sensor present in the luminance modulation area common to both of the plurality of image signals and the readout time of one line of the image sensor. The method for controlling an imaging apparatus according to claim 12, further comprising: 前記ずれ時間は、外部発光手段の平均発光時間に基づいた所定の時間であることを特徴とする請求項12〜17の何れか1項に記載の撮像装置の制御方法。   The method of controlling an imaging apparatus according to any one of claims 12 to 17, wherein the shift time is a predetermined time based on an average light emission time of an external light emitting unit. 前記撮像素子制御工程により動作が制御された前記撮像素子で撮像された画像信号であって、前記複数の画像信号と異なる画像信号に対して、前記ずれ時間と、当該ずれ時間に対応する前記撮像素子における電荷の蓄積時間とに基づくゲインをかけることにより得られた信号を露出補正用画像信号として生成する補正信号生成工程と、
前記補正信号生成工程により生成された露出補正用画像信号と前記合成工程により合成された複数の画像信号とを合成する露出補正工程と、を更に有することを特徴とする請求項12〜19の何れか1項に記載の撮像装置の制御方法。
The image signal picked up by the image pickup element whose operation is controlled by the image pickup element control step, and the image pickup corresponding to the shift time with respect to the image signal different from the plurality of image signals A correction signal generation step of generating a signal obtained by applying a gain based on the charge accumulation time in the element as an exposure correction image signal;
The exposure correction step of combining the exposure correction image signal generated by the correction signal generation step and the plurality of image signals combined by the combining step, further comprising: A control method for an imaging apparatus according to claim 1.
少なくとも絞りを含む光学系の動作を制御する光学系制御工程と、を更に有し、
前記光学系制御工程は、前記ずれ時間と、当該ずれ時間に対応する前記撮像素子における電荷の蓄積時間とに基づく絞り値になるように、前記光学系の絞りを制御することを特徴とする請求項12〜19の何れか1項に記載の撮像装置の制御方法。
An optical system control step for controlling the operation of the optical system including at least the stop, and
The optical system control step controls the aperture of the optical system so that the aperture value is based on the shift time and the charge accumulation time in the image sensor corresponding to the shift time. Item 20. The control method for an imaging apparatus according to any one of Items 12 to 19.
前記撮像装置の露出制御パラメータに応じて、前記ずれ時間に基づく前記撮像素子の動作の制御を行うか否かを判断する判断工程を更に有し、
前記撮像素子制御工程は、前記判断工程により、前記ずれ時間に基づく前記撮像素子の動作の制御を行わないと判断されると、前記ずれ時間を0(ゼロ)として前記撮像素子の動作を制御することを特徴とする請求項12〜21の何れか1項に記載の撮像装置の制御方法。
A determination step of determining whether to control the operation of the image sensor based on the shift time according to an exposure control parameter of the imaging device;
If it is determined by the determination step that the operation of the image sensor based on the shift time is not to be controlled, the image sensor control step sets the shift time to 0 (zero) and controls the operation of the image sensor. The method of controlling an imaging apparatus according to any one of claims 12 to 21.
請求項12〜22の何れか1項に記載の撮像装置の制御方法の各工程をコンピュータに実行させることを特徴とするコンピュータプログラム。   23. A computer program for causing a computer to execute each step of the control method for an imaging apparatus according to claim 12.
JP2013146826A 2013-07-12 2013-07-12 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM Expired - Fee Related JP6141129B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013146826A JP6141129B2 (en) 2013-07-12 2013-07-12 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013146826A JP6141129B2 (en) 2013-07-12 2013-07-12 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM

Publications (2)

Publication Number Publication Date
JP2015019330A true JP2015019330A (en) 2015-01-29
JP6141129B2 JP6141129B2 (en) 2017-06-07

Family

ID=52439918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013146826A Expired - Fee Related JP6141129B2 (en) 2013-07-12 2013-07-12 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM

Country Status (1)

Country Link
JP (1) JP6141129B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017169026A (en) * 2016-03-16 2017-09-21 キヤノン株式会社 Flash band determination device, control method therefor, and control program, and imaging device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002190983A (en) * 2000-12-20 2002-07-05 Matsushita Electric Ind Co Ltd Image compositing circuit
JP2008177963A (en) * 2007-01-19 2008-07-31 Canon Inc Imaging apparatus and control method thereof
JP2010213220A (en) * 2009-03-12 2010-09-24 Fujifilm Corp Imaging apparatus, and imaging control method
WO2010119669A1 (en) * 2009-04-16 2010-10-21 パナソニック株式会社 Imaging device, external flash detection method, program, and integrated circuit
JP2012156634A (en) * 2011-01-24 2012-08-16 Sony Corp Flash band processing circuit, flash band processing method, imaging apparatus, and imaging processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002190983A (en) * 2000-12-20 2002-07-05 Matsushita Electric Ind Co Ltd Image compositing circuit
JP2008177963A (en) * 2007-01-19 2008-07-31 Canon Inc Imaging apparatus and control method thereof
JP2010213220A (en) * 2009-03-12 2010-09-24 Fujifilm Corp Imaging apparatus, and imaging control method
WO2010119669A1 (en) * 2009-04-16 2010-10-21 パナソニック株式会社 Imaging device, external flash detection method, program, and integrated circuit
JP2012156634A (en) * 2011-01-24 2012-08-16 Sony Corp Flash band processing circuit, flash band processing method, imaging apparatus, and imaging processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017169026A (en) * 2016-03-16 2017-09-21 キヤノン株式会社 Flash band determination device, control method therefor, and control program, and imaging device

Also Published As

Publication number Publication date
JP6141129B2 (en) 2017-06-07

Similar Documents

Publication Publication Date Title
KR101080427B1 (en) Method for improving dynamic range of images using electrical shutter and apparatus thereof
AU2012224341A1 (en) Image pickup apparatus, image pickup apparatus control method, and program
KR20110032344A (en) High dynamic range imaging apparatus and method
JP2014160987A (en) Image pickup device and control method thereof
JP2012235332A (en) Imaging apparatus, imaging apparatus control method and program
JP6672081B2 (en) Imaging device
JP2014052487A (en) Image capturing device, method of controlling the same, program, and recording medium
JP2014154982A (en) Image pickup device and control method therefor
US11128799B2 (en) Image processing apparatus and image processing method
JP5199736B2 (en) Imaging device
JP2015231118A (en) Image composition device, image composition system and image composition method
JP3999321B2 (en) Electronic camera
JP5797072B2 (en) Imaging apparatus, control method therefor, and program
JP2017225072A (en) Imaging apparatus, control method thereof, and program
JP4934123B2 (en) Imaging apparatus and method
JP2016202380A (en) Image processing device and endoscope apparatus
JP2011199785A (en) Imaging apparatus and method
JP6141129B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
JP6242129B2 (en) Imaging device, control method thereof, and control program
JP6393091B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP6231814B2 (en) EXPOSURE DETERMINING DEVICE, IMAGING DEVICE, CONTROL METHOD, AND PROGRAM
JP2020096280A (en) Imaging apparatus, control method of imaging apparatus, and program
JP7234015B2 (en) Imaging device and its control method
JP6075829B2 (en) IMAGING DEVICE, CAMERA SYSTEM, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2021004781A (en) Distance image generation device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160630

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170502

R151 Written notification of patent or utility model registration

Ref document number: 6141129

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees