JP2010178164A - Imaging apparatus - Google Patents

Imaging apparatus Download PDF

Info

Publication number
JP2010178164A
JP2010178164A JP2009020053A JP2009020053A JP2010178164A JP 2010178164 A JP2010178164 A JP 2010178164A JP 2009020053 A JP2009020053 A JP 2009020053A JP 2009020053 A JP2009020053 A JP 2009020053A JP 2010178164 A JP2010178164 A JP 2010178164A
Authority
JP
Japan
Prior art keywords
exposure
time
image
exposure time
long
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
JP2009020053A
Other languages
Japanese (ja)
Other versions
JP5343588B2 (en
Inventor
Akira Kanehiro
兼弘  亮
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009020053A priority Critical patent/JP5343588B2/en
Publication of JP2010178164A publication Critical patent/JP2010178164A/en
Application granted granted Critical
Publication of JP5343588B2 publication Critical patent/JP5343588B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus which performs continuous exposure and does not cause missing exposure information even when an exposure time of second exposure is shorter than a first exposure by almost one frame transfer time. <P>SOLUTION: The imaging apparatus includes an imaging optical system, a CMOS sensor having a rolling shutter function, and a control unit for controlling the CMOS sensor. In the imaging apparatus, the control unit calculates an appropriate exposure time Ts of a subject from subject image data from the CMOS sensor, calculates a short exposure time T1 and a long exposure time T2 on the basis of the appropriate exposure time Ts, causes the exposure to be performed by a rolling shutter system in the short exposure time T1 and the long exposure time T2, composites short/long exposure images obtained by this exposure, and generates an image of a wide dynamic range. The control unit calculates a transfer time of one frame transfer time of the CMOS sensor minus one pixel row, compares the long exposure time T2 with this time, and changes the long exposure time T2 to this time when the former is shorter. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、短露光と長露光の画像を合成してダイナミックレンジの広い画像を生成する撮像装置に関する。   The present invention relates to an imaging apparatus that generates an image with a wide dynamic range by combining short-exposure and long-exposure images.

従来、異なった露光条件で撮像された複数枚の画像を合成して広ダイナミックレンジの画像を生成する撮像システムを備えた撮像装置が知られている(例えば、特許文献1)。 この撮像システムは、レンズ系、CCDおよびこのCCDで撮像された画像を処理する制御手段を有している。
この制御手段は、レンズ系およびCCDを介して撮影された画像からその輝度レベルを求めて適正露光時間を求める測光評価部と、この適正露光時間に比し例えば露光が1/8となる露光時間および前記適正露光時間の双方で連続的に露光して撮像された画像を合成する画像合成部と、上記測光評価部および画像合成部を含めた制御手段の各部を制御する制御部等とを有している。
また、同様な撮像装置として、適正な露光時間を算出し、この適正露光時間を含めた長短の露光時間をそれぞれ算出して2つの画像を撮像して合成する撮像装置が知られている(例えば、特許文献2)。
この撮像装置は、レンズ系と、レンズ系の絞りを制御する露出制御機構(露出制御系)と、CCDと、各種デジタル処理を行うデジタルプロセス回路と、デジタルプロセス回路とCCDを制御するシステムコントローラとを備えている。
この露出制御系は、ユーザー設定や公知の自動露出調整手段(AE)が算出した結果(CCDからの出力信号を用いた公知の測光による結果)に基づいて、通常の露光時間つまり適正露光時間(代表露光時間)を算出する。そして、適正露光時間と、この適正露光時間に基づいて算出された別の露光時間とで短露光と長露光とを行い、両者の画像を合成する。
2. Description of the Related Art Conventionally, there has been known an imaging apparatus including an imaging system that generates a wide dynamic range image by combining a plurality of images captured under different exposure conditions (for example, Patent Document 1). This imaging system has a lens system, a CCD, and control means for processing an image captured by the CCD.
The control means includes a photometric evaluation unit for obtaining an appropriate exposure time by obtaining the brightness level from an image photographed through a lens system and a CCD, and an exposure time at which the exposure is, for example, 1/8 compared to the appropriate exposure time. And an image composition unit that synthesizes images captured by continuous exposure for both the appropriate exposure time and a control unit that controls each part of the control means including the photometry evaluation unit and the image composition unit. is doing.
Further, as a similar imaging device, there is known an imaging device that calculates an appropriate exposure time, calculates long and short exposure times including the appropriate exposure time, and captures and combines two images (for example, Patent Document 2).
This imaging apparatus includes a lens system, an exposure control mechanism (exposure control system) that controls the aperture of the lens system, a CCD, a digital process circuit that performs various digital processes, a digital process circuit, and a system controller that controls the CCD. It has.
This exposure control system uses a normal exposure time, that is, an appropriate exposure time (appropriate exposure time) based on a user setting or a result calculated by a known automatic exposure adjusting means (AE) (a result of known photometry using an output signal from a CCD). (Representative exposure time) is calculated. Then, short exposure and long exposure are performed with an appropriate exposure time and another exposure time calculated based on the appropriate exposure time, and both images are synthesized.

しかしながら、特許文献1,2の撮像装置にあっては、撮像素子がCCDであり、図6(a)に示すように、例えば連続的に2回露光する場合は、1回目の露光を行ってこの画像を制御手段に転送し、その後2回目の露光を行いこの画像を制御手段に転送するため、撮像シーケンスにおいて1回目の露光と2回目の露光と間に転送時間分だけ露光されない時間のギャップG1が生じてしまう問題があった。   However, in the imaging devices of Patent Documents 1 and 2, the imaging element is a CCD, and as shown in FIG. 6A, for example, when performing continuous exposure twice, the first exposure is performed. Since this image is transferred to the control means, and then the second exposure is performed and this image is transferred to the control means, a gap between the first exposure time and the second exposure time during the imaging sequence is not exposed for the transfer time. There was a problem that G1 occurred.

また、このギャップG1により、両者の露光タイミングは異なったものとなり、ギャップG1が生じている時点で発生する被写体ぶれや手ぶれによって1回目の露光と2回目の露光と間の位置ずれ量が大きくなって両者を合成する処理が重くなる等の問題があった。また、位置ずれ量が大きくなることによって合成されない部分も増えてしまう問題もあった。さらに、このギャップG1が生じている時点では露光ができない問題もあった。   The gap G1 also causes the exposure timings of the two to differ, and the amount of positional deviation between the first exposure and the second exposure increases due to subject blurring or camera shake that occurs when the gap G1 occurs. As a result, the process of synthesizing both becomes heavy. In addition, there is a problem that a portion that is not combined increases due to an increase in the amount of positional deviation. Further, there is a problem that exposure cannot be performed at the time when the gap G1 is generated.

そこで、ローリングシャッタ付きCMOSセンサを用いて上記1回目の露光と2回目の露光を略実質的に連続して行い、これにより、図6(b)に示すように、画素行ごとに露光することによって、1回目と2回目の露光を1つの露光のように行い、この露光を1回目と2回目のそれぞれの露光時間に応じて分割して1回目と2回目の露光とし、これにより略連続した露光とすることができ、ギャップの問題はほぼ解決される。   Therefore, the first exposure and the second exposure are performed substantially continuously using a CMOS sensor with a rolling shutter, thereby exposing each pixel row as shown in FIG. 6B. Thus, the first exposure and the second exposure are performed as one exposure, and the exposure is divided according to the exposure times of the first and second times to be the first exposure and the second exposure. Exposure, and the gap problem is almost solved.

ローリングシャッタ方式での撮像を具体的に説明すると、制御手段は、適正露光時間に基づき1回目の露光と2回目の露光のそれぞれの露光時間および露光開始時点を画素行単位で算出し、この算出結果に基づいて連続的に撮像するような制御命令を出す。この露光開始時点は画素行ごとに異なる。   Specifically, the imaging with the rolling shutter system will be described. The control unit calculates the exposure time and the exposure start point of each of the first exposure and the second exposure for each pixel row based on the appropriate exposure time. Based on the result, a control command for continuously capturing images is issued. This exposure start time differs for each pixel row.

具体的には、カメラからみて被写体を1つの仮想枠で囲った場合、仮想枠の左上端の点を原点とすると、まず原点からX方向に延びる1画素行の露光を行う。そして、この1画素行の露光を仮想枠のY軸にそって順次上から下に露光を行っていく。   Specifically, when the subject is surrounded by a single virtual frame when viewed from the camera, assuming that the upper left point of the virtual frame is the origin, exposure of one pixel row extending in the X direction from the origin is first performed. Then, the exposure for one pixel row is sequentially performed from the top to the bottom along the Y axis of the virtual frame.

上記1画素行ごとの露光ではその露光が終了するとこの画素の電荷情報が制御手段へ転送されるとともに、この画素行は次の露光(電荷の蓄積)を開始する。   In the exposure for each pixel row, when the exposure is completed, the charge information of this pixel is transferred to the control means, and this pixel row starts the next exposure (charge accumulation).

このように、1枚の画像の電荷情報をすべて転送してから次の露光を開始するCCDの撮像方式に比べてCMOSセンサのローリングシャッタ方式では1画素行の電荷情報を転送すると次の露光が開始されるため次の露光まで時間的なギャップが1画素行の転送時間のみとなり、小さいものとなる(図6(a),(b)比較参照)。   As described above, when the charge information of one pixel row is transferred in the rolling shutter method of the CMOS sensor, compared with the CCD imaging method in which the next exposure is started after the transfer of all the charge information of one image, the next exposure is performed. Since it is started, the time gap until the next exposure becomes only a transfer time of one pixel row, and becomes small (see the comparison in FIGS. 6A and 6B).

ローリングシャッタ方式で1回目と2回目の露光を連続して行う場合、例えば、2回目の露光における第1画素行の露光終了時点が、1回目の露光で得られた画像を転送している時間帯と重さなる場合には、転送している信号が合成されてしまうため、この露光終了時点は1回目の露光のフレーム転送終了時点以後となるように設定される。
このため、2回目の露光の各画素行露光時間が所定時間(1フレーム転送時間−1画素行転送時間)より短い場合は、図7に示すように、上記1画素行の露光終了時点が1回目の露光のフレーム転送終了時点と一致するように2回目の第1画素行の露光が行われる。 このように2回目の露光が行われるため、各画素行露光時間が所定時間(1フレーム転送時間−1画素行転送時間)より短い場合には、1回目と2回目の露光間に露光が行われていない時間帯(ギャップ)が生じる。
このギャップにより露光していない時間が発生し、1回目と2回目の露光で得られた画像を合成した画像はこの時間帯での露光情報が欠落したものとなり、被写体が2重像として現れることとなる。
In the case where the first and second exposures are successively performed by the rolling shutter method, for example, the time when the exposure of the first pixel row in the second exposure is transferring the image obtained by the first exposure. Since the signals being transferred are combined when they overlap with the band, the exposure end point is set to be after the frame transfer end point of the first exposure.
For this reason, when the pixel row exposure time of the second exposure is shorter than a predetermined time (1 frame transfer time-1 pixel row transfer time), as shown in FIG. The second exposure of the first pixel row is performed so as to coincide with the frame transfer end time of the second exposure. Since the second exposure is performed in this way, when each pixel row exposure time is shorter than a predetermined time (1 frame transfer time-1 pixel row transfer time), the exposure is performed between the first exposure and the second exposure. An unclear time zone (gap) occurs.
Due to this gap, no exposure time occurs, and the image obtained by combining the images obtained by the first and second exposures lacks exposure information in this time zone, and the subject appears as a double image. It becomes.

本発明は、上記問題に着目してなされたもので、適正露光時間から算出された長露光時間が所定時間(1フレーム転送時間−1画素行転送時間)より短い場合でも長露光の露光情報が欠落しない撮像装置を提供することを目的とする。   The present invention has been made paying attention to the above problem, and even when the long exposure time calculated from the appropriate exposure time is shorter than a predetermined time (1 frame transfer time-1 pixel row transfer time), the exposure information of the long exposure is obtained. An object is to provide an imaging device that is not lost.

上記目的を達成するため、請求項1の発明は、撮像光学系と、ローリングシャッタ機能を有するCMOSセンサと、前記CMOSセンサの制御を行う制御手段とを備え、前記制御手段は、前記CMOSセンサから出力される被写体の画像データからこの被写体についての適正露光時間を算出するとともに、この適正露光時間に基づいて短露光時間と長露光時間とを算出し、ローリングシャッタ方式でこの短露光時間と長露光時間それぞれの露光時間で露光させ、この露光で得られた短露光画像と長露光画像を合成してダイナミックレンジの広い画像を生成する撮像装置において、前記制御手段は、前記CMOSセンサの1フレーム転送時間から1画素行の転送時間を引いた時間を算出し、この算出した時間と前記長露光時間とを比較し、この長露光時間が前記算出した時間より短い場合、この長露光時間をこの算出した時間に変更することを特徴とする。
請求項2の発明は、請求項1に記載の撮像装置において、前記制御手段は、前記撮像光学系の絞りの絞り量、減光フィルタの減光量、前記CMOSセンサのアナログゲインのうち少なくとも1つを調整して、前記長露光時間の変更によって増加する長露光の露光量を変更前の露光量と同一にし、この調整によって減少する短露光の露光量が、減少する前の露光量と同一となるように前記短露光時間を延長することを特徴とする。
請求項3の発明は、請求項2に記載の撮像装置において、前記短露光時間で露光して得られた第1画像についてゲインを高める処理を行なって、第1画像の輝度を前記長露光時間で露光して得られた第2画像の輝度と同じにするとともに、第2画像において輝度が飽和している部分を特定し、この部分をこの部分に対応する前記第1画像部分で置き換える合成処理をすることを特徴とする。
請求項4の発明は、請求項3に記載の撮像装置において、増加する前記長露光の露光量を前記調整によって変更前の露光量と同一にできない場合、前記第2画像において輝度が飽和していない画像部分に含まれる画素について、各画素出力値データをビットシフトすることにより、この画像部分の画素出力値を減少させて、この画像部分を変更前の前記長露光時間で露光したものと同一にすることを特徴とする。
In order to achieve the above object, the invention of claim 1 includes an imaging optical system, a CMOS sensor having a rolling shutter function, and control means for controlling the CMOS sensor. The appropriate exposure time for the subject is calculated from the image data of the output subject, and the short exposure time and the long exposure time are calculated based on the appropriate exposure time, and the short exposure time and the long exposure are calculated by a rolling shutter method. In the imaging device that generates an image with a wide dynamic range by combining the short-exposure image and the long-exposure image obtained by the exposure at each exposure time, the control means transfers one frame of the CMOS sensor The time obtained by subtracting the transfer time of one pixel row from the time is calculated, and the calculated time is compared with the long exposure time. If shorter than the time exposure time is the calculated, and changes the long exposure time to the calculated time.
According to a second aspect of the present invention, in the imaging apparatus according to the first aspect, the control means is at least one of a diaphragm amount of the imaging optical system, a light reduction amount of the neutral density filter, and an analog gain of the CMOS sensor. To adjust the exposure amount of the long exposure increased by the change of the long exposure time to be the same as the exposure amount before the change, and the exposure amount of the short exposure reduced by the adjustment is the same as the exposure amount before the decrease. Thus, the short exposure time is extended.
According to a third aspect of the present invention, in the imaging apparatus according to the second aspect, a process for increasing the gain is performed on the first image obtained by the exposure with the short exposure time, and the luminance of the first image is set to the long exposure time. The same as the luminance of the second image obtained by exposure in step 2, and a portion where the luminance is saturated in the second image is specified, and this portion is replaced with the first image portion corresponding to this portion It is characterized by doing.
According to a fourth aspect of the present invention, in the imaging apparatus according to the third aspect, when the increased exposure amount of the long exposure cannot be made the same as the exposure amount before the change by the adjustment, the luminance is saturated in the second image. For the pixels included in the non-image part, each pixel output value data is bit-shifted to reduce the pixel output value of this image part, and this image part is the same as the one exposed for the long exposure time before the change. It is characterized by.

本発明の撮像装置によれば、適正露光時間から算出された長露光時間が所定時間(1フレーム転送時間−1画素行転送時間)より短い場合でも長露光の露光情報が欠落しない。   According to the imaging apparatus of the present invention, even when the long exposure time calculated from the appropriate exposure time is shorter than the predetermined time (1 frame transfer time-1 pixel row transfer time), the exposure information for the long exposure is not lost.

(a)は、本発明の実施形態に係る撮像装置の一例としてのデジタルカメラを示す正面図である。(b)は、(a)の上面図である。(c)は、(a)の背面図である。(A) is a front view which shows the digital camera as an example of the imaging device which concerns on embodiment of this invention. (B) is a top view of (a). (C) is a rear view of (a). 図1に示すデジタルカメラ内のシステム構成の概要を示すブロック図である。It is a block diagram which shows the outline | summary of the system configuration | structure in the digital camera shown in FIG. (a)(b)CMOSセンサのローリングシャッタ機能を利用した短露光〜長露光における露光処理を画素行別に示すタイミングチャートである。(A) (b) It is a timing chart which shows the exposure process in short exposure-long exposure using the rolling shutter function of a CMOS sensor for every pixel row. 本発明の実施形態における長短2つの露光時間を算出する処理を説明するフローチャートである。It is a flowchart explaining the process which calculates long and short exposure time in embodiment of this invention. 本発明の実施形態における短露光の画像と長露光の画像とを合成する処理を説明するフローチャートである。It is a flowchart explaining the process which synthesize | combines the image of a short exposure and the image of a long exposure in embodiment of this invention. (a)CCDセンサで連続撮影した場合を示すタイミングチャートである。(b)CMOSセンサのローリングシャッタ機能を利用した第1撮像〜第2撮像における露光処理を画素行別に示すタイミングチャートである。(A) It is a timing chart which shows the case where it image | photographs continuously with a CCD sensor. (B) It is a timing chart which shows the exposure process in 1st imaging-2nd imaging using the rolling shutter function of a CMOS sensor for every pixel row. CMOSセンサのローリングシャッタ機能を利用した第1撮像〜第2撮像における露光処理を画素行別に示すタイミングチャートである。It is a timing chart which shows the exposure process in the 1st imaging-2nd imaging using the rolling shutter function of a CMOS sensor for every pixel row.

以下、本発明に係る実施形態を図面を参照しながら説明する。   Hereinafter, embodiments according to the present invention will be described with reference to the drawings.

(デジタルカメラの外観構成)
図1(a),(b),(c)に示すように、本実施形態に係るデジタルカメラ100の上面には、レリーズボタン(シャッタボタン)2、電源ボタン3、撮影・再生切替ダイアル4が設けられており、デジタルカメラ1の正面(前面)側には、撮影レンズ系(撮像光学系)5を有する鏡胴ユニット6、ストロボ発光部(フラッシュ)7、光学ファインダ8が設けられている。
(Appearance structure of digital camera)
As shown in FIGS. 1A, 1B, and 1C, a release button (shutter button) 2, a power button 3, and a shooting / playback switching dial 4 are provided on the top surface of the digital camera 100 according to the present embodiment. A lens barrel unit 6 having a photographing lens system (imaging optical system) 5, a strobe light emitting unit (flash) 7, and an optical finder 8 are provided on the front (front) side of the digital camera 1.

デジタルカメラ100の背面側には、液晶モニタ(LCDモニタ)9、光学ファインダ8の接眼レンズ部8a、広角側ズーム(W)スイッチ10、望遠側ズーム(T)スイッチ11、メニュー(MENU)ボタン12、確定ボタン(OKボタン)13等が設けられている。   On the back side of the digital camera 100, there are a liquid crystal monitor (LCD monitor) 9, an eyepiece 8 a of the optical viewfinder 8, a wide-angle zoom (W) switch 10, a telephoto zoom (T) switch 11, and a menu (MENU) button 12. , A confirmation button (OK button) 13 and the like are provided.

また、デジタルカメラ100の側面内部には、撮影した画像データを保存するためのメモリーカード14(図2参照)を収納するメモリーカード収納部15が設けられている。
(デジタルカメラのシステム構成)
図2に示すように、デジタルカメラ100は、フォーカスレンズ(フォーカス光学系)を含む撮影レンズ系5、撮影レンズ系5とCMOSセンサ16との間に設けられたメカニカルシャッタ17と、この撮影レンズ系5およびメカニカルシャッタ17を介して入射される被写体像を撮像するCMOSセンサ16と、撮影レンズ系5のうち少なくともフォーカスレンズを、その光軸に沿った可動範囲で変位させるモータドライバ18と、撮影開始の操作が入力されるレリーズボタン2等(図1(a)〜(c)参照)を含む操作部19と、主としてCMOSセンサ16からの信号読み取り処理を行うフロントエンド(F/E)のF/E信号処理部20と、デジタルカメラ100の振れを検出するジャイロセンサ21と、デジタルカメラ100の振れである手振れを補正する手振れ補正手段22と、CMOSセンサ16から信号を読み取るための制御や、読み取られた信号の処理、モータドライバ18の駆動制御、操作部19からの操作信号の入力処理、CMOSセンサ16から読み取って得られた画像信号に基づいて、この画像信号があらわす画像の焦点程度を表す指標値であるオートフォーカス評価値等の各種演算処理を行うデジタル信号処理IC(制御部)23等とを備えている。
<メカニカルシャッタ17>
メカニカルシャッタ17は、撮影レンズ系5とCMOSセンサ16との間の光路に介挿されて、光路を開閉し、CMOSセンサ16の露光を制限する。
<CMOSセンサ16>
デジタルカメラ100の内部には、CMOSステージ24がX−Y方向に移動可能に設けられており、このCMOSステージ24にCMOSセンサ16が搭載されている。CMOSステージ24は図示しない駆動機構によってX−Y方向に移動され、駆動機構は、ジャイロセンサ21が検出する振れ量に基づいてCPUなどを備えた後述するデジタル信号処理IC23の制御装置(制御手段:位置ズレ検出手段:画像処理手段)25により制御される。
In addition, a memory card storage unit 15 for storing a memory card 14 (see FIG. 2) for storing captured image data is provided inside the side surface of the digital camera 100.
(Digital camera system configuration)
As shown in FIG. 2, the digital camera 100 includes a photographing lens system 5 including a focus lens (focusing optical system), a mechanical shutter 17 provided between the photographing lens system 5 and the CMOS sensor 16, and the photographing lens system. 5 and a CMOS sensor 16 that picks up a subject image incident through a mechanical shutter 17, a motor driver 18 that displaces at least a focus lens of the photographing lens system 5 within a movable range along its optical axis, and a photographing start The operation unit 19 including the release button 2 and the like (see FIGS. 1A to 1C) to which the operation of the front end is input, and the F / E of the front end (F / E) that mainly performs signal reading processing from the CMOS sensor 16 E signal processing unit 20, gyro sensor 21 for detecting shake of the digital camera 100, and shake of the digital camera 100 Is a camera shake correction means 22 for correcting camera shake and control for reading a signal from the CMOS sensor 16, processing of the read signal, drive control of the motor driver 18, input processing of an operation signal from the operation unit 19, CMOS Based on the image signal obtained by reading from the sensor 16, a digital signal processing IC (control unit) 23 for performing various arithmetic processes such as an autofocus evaluation value that is an index value representing the degree of focus of the image represented by the image signal. And.
<Mechanical shutter 17>
The mechanical shutter 17 is inserted in an optical path between the photographing lens system 5 and the CMOS sensor 16 to open and close the optical path and limit the exposure of the CMOS sensor 16.
<CMOS sensor 16>
A CMOS stage 24 is provided inside the digital camera 100 so as to be movable in the XY direction, and the CMOS sensor 16 is mounted on the CMOS stage 24. The CMOS stage 24 is moved in the XY direction by a drive mechanism (not shown). The drive mechanism is a control device (control means: control means: later-described) equipped with a CPU or the like based on a shake amount detected by the gyro sensor 21. Controlled by a positional deviation detection means: image processing means) 25.

CMOSセンサ16は、露光状態で受光面に入射される光学像を電気信号に変換(光電変換)し、画像信号として転送出力する。露光はCMOSセンサ16の画素行ごとに行われ、信号を出力した画素行はその時点から電荷の蓄積を開始するので、画素行ごとに電荷の蓄積の開始タイミングがずれる、いわゆるローリングシャッタと称される蓄積制御方式であり、このローリングシャッタ機能を利用して後述するように複数の異なる露光時間で順次撮像を行う。   The CMOS sensor 16 converts an optical image incident on the light receiving surface in an exposed state into an electrical signal (photoelectric conversion), and transfers and outputs the image as an image signal. The exposure is performed for each pixel row of the CMOS sensor 16, and the pixel row from which the signal is output starts to accumulate charges from that point, so that the charge accumulation start timing is shifted for each pixel row, so-called rolling shutter. As described later, using this rolling shutter function, images are sequentially captured at a plurality of different exposure times.

CMOSセンサ16を構成する各画素上には色分解フィルタとしてのRGB原色フィルタ(不図示)が配置されており、各画素においてRGB3原色に対応した電気信号(アナログRGB画像信号)が発生する。   An RGB primary color filter (not shown) as a color separation filter is disposed on each pixel constituting the CMOS sensor 16, and an electrical signal (analog RGB image signal) corresponding to the three primary colors of RGB is generated in each pixel.

CMOSセンサ16の画素出力値は、12ビット(R、G、Bに3ビットずつ割り当て、Gが2つある)で0〜4095の値をとる。
<F/E信号処理部20>
F/E信号処理部20は、CDS(相関2重サンプリング)回路26、AGC(自動利得制御)回路27、A/D(アナログ・デジタル)変換器28、およびタイミング発生器(TG)29を備えている。
The pixel output value of the CMOS sensor 16 takes a value of 0 to 4095 in 12 bits (3 bits are assigned to R, G, and B, and there are two G).
<F / E signal processor 20>
The F / E signal processing unit 20 includes a CDS (correlated double sampling) circuit 26, an AGC (automatic gain control) circuit 27, an A / D (analog / digital) converter 28, and a timing generator (TG) 29. ing.

CDS回路26は、上記のアナログRGB画像信号を相関2重サンプリングして信号のノイズを除去する。   The CDS circuit 26 performs correlated double sampling on the analog RGB image signal to remove signal noise.

AGC(自動利得制御)回路27は、CDS回路26でノイズ除去された信号を自動利得制御して所用の信号レベルに調整する。   An AGC (automatic gain control) circuit 27 performs automatic gain control on the signal from which noise has been removed by the CDS circuit 26 to adjust it to a desired signal level.

A/D(アナログ・デジタル)変換器28は、AGC回路27からのアナログRGB画像信号をデジタルRGB画像データ(以下、「RAW−RGBデータ」という)に変換する。   The A / D (analog / digital) converter 28 converts the analog RGB image signal from the AGC circuit 27 into digital RGB image data (hereinafter referred to as “RAW-RGB data”).

タイミング発生器(TG)29は、後述のデジタル信号処理IC23のカメラインターフェイス(カメラI/F)31からの水平同期駆動信号(HD)と垂直同期駆動信号(VD)に応動して、デジタル信号処理IC23の制御装置25と連携して、CMOSセンサ16、CDS回路26、AGC回路27およびA/D変換器28に、それぞれタイミング信号を送り、これらを適正に同期させる。
<デジタル信号処理IC23>
一方、デジタル信号処理IC23は、カメラインターフェイス31、メモリーコントローラ32、表示出力制御部33、圧縮処理部34、YUV変換部35、リサイズ処理部36、メディアインターフェイス(メディアI/F)37および制御装置25等を有している。
制御装置25は、接続されているROM38、フレームメモリ(SDRAM:記憶手段)41、液晶モニタ(LCディスプレイ)9、音声出力装置39およびメモリーカード14を制御するとともに、測距センサ40、操作部19およびROM38からの信号等を入力する。
The timing generator (TG) 29 performs digital signal processing in response to a horizontal synchronization drive signal (HD) and a vertical synchronization drive signal (VD) from a camera interface (camera I / F) 31 of a digital signal processing IC 23 described later. In cooperation with the control device 25 of the IC 23, timing signals are sent to the CMOS sensor 16, the CDS circuit 26, the AGC circuit 27 and the A / D converter 28, respectively, and these are properly synchronized.
<Digital signal processing IC 23>
On the other hand, the digital signal processing IC 23 includes a camera interface 31, a memory controller 32, a display output control unit 33, a compression processing unit 34, a YUV conversion unit 35, a resize processing unit 36, a media interface (media I / F) 37, and a control device 25. Etc.
The control device 25 controls the ROM 38, the frame memory (SDRAM: storage means) 41, the liquid crystal monitor (LC display) 9, the audio output device 39, and the memory card 14 that are connected, the distance measuring sensor 40, and the operation unit 19. And a signal from the ROM 38 is input.

カメラインターフェイス31は、F/E信号処理部20のA/D変換器28から出力されるRAW−RGBデータを取り込む。   The camera interface 31 takes in RAW-RGB data output from the A / D converter 28 of the F / E signal processing unit 20.

メモリーコントローラ32は、制御装置25の制御に基づき、カメラインターフェイス31からのRAW−RGBデータ、YUV変換部35によりYUV変換されたYUVデータ、圧縮処理部34により例えばJPEG形式で圧縮処理された画像データ、およびOSD(オンスクリーンディスプレイ)画像データなどのフレームメモリ41への書き込みとフレームメモリ41から画像データの読み出しを行う。   Under the control of the control device 25, the memory controller 32 is RAW-RGB data from the camera interface 31, YUV data YUV converted by the YUV converter 35, and image data compressed by the compression processor 34, for example, in JPEG format. , And writing OSD (on-screen display) image data to the frame memory 41 and reading image data from the frame memory 41.

表示出力制御部33は、フレームメモリ41から読み出された画像データを、液晶モニタ(LCDモニタ)9に表示させるとともに、外部のテレビジョン(TV)等に表示させるTV出力を行う。   The display output control unit 33 displays the image data read from the frame memory 41 on the liquid crystal monitor (LCD monitor) 9 and performs TV output for display on an external television (TV) or the like.

フレームメモリ41は、SDRAM等の半導体メモリで、各種の画像データなどのデータを保存するために用いられる。   The frame memory 41 is a semiconductor memory such as an SDRAM, and is used for storing data such as various image data.

圧縮処理部34は、制御装置25の制御に基づき、与えられた画像データを所定の方式でエンコードして圧縮された画像データを生成する。   Under the control of the control device 25, the compression processing unit 34 encodes the given image data by a predetermined method to generate compressed image data.

YUV変換部35は、カメラインターフェイス31により取り込まれたRAW−RGBデータの輝度レベルを判定する輝度レベル判定部、RAW−RGBデータをビットシフトしてビット圧縮するビット圧縮変換部、オートホワイトバランス制御部、制御装置25から与えられるオートホワイトバランス制御値にしたがってRAW−RGBデータをYUV形式のデータに変換するRGB−YUV変換部、変換されたYUV形式のデータから輝度ヒストグラムを生成する輝度ヒストグラム生成部等を有している。   The YUV conversion unit 35 is a luminance level determination unit that determines the luminance level of the RAW-RGB data captured by the camera interface 31, a bit compression conversion unit that bit-shifts the RAW-RGB data and performs bit compression, and an auto white balance control unit. An RGB-YUV converter that converts RAW-RGB data into YUV format data in accordance with an auto white balance control value given from the control device 25, a brightness histogram generator that generates a brightness histogram from the converted YUV format data, and the like have.

リサイズ処理部36は、カメラインターフェイス31により取り込まれたRAW−RGBデータや、フレームメモリ41から読み出された画像データ等をリサイズする。   The resizing processing unit 36 resizes RAW-RGB data captured by the camera interface 31, image data read from the frame memory 41, and the like.

メディアインターフェイス37は、カメラインターフェイス31により取り込まれたRAW−RGBデータやフレームメモリ41から読み出された画像データ等をメモリーコントローラ32と制御装置25の制御に従ってメモリーカード14に書き込む。   The media interface 37 writes the RAW-RGB data captured by the camera interface 31 and the image data read from the frame memory 41 to the memory card 14 under the control of the memory controller 32 and the control device 25.

ROM38には、撮影動作に係る各種の処理や後述するオートフォーカス制御の処理を行うための制御装置25の動作プログラムおよびデータ等が格納されている。   The ROM 38 stores an operation program, data, and the like of the control device 25 for performing various processes related to the photographing operation and an autofocus control process described later.

液晶モニタ9は、表示出力制御部33からの画像(後述のモニタリング画像、フレームメモリから読み出した画像等)や所要の情報を表示して撮像に関する各種設定(所望の露光時間の設定など)に供される。   The liquid crystal monitor 9 displays an image (a monitoring image described later, an image read from a frame memory, etc.) and necessary information from the display output control unit 33 and provides various information related to imaging (setting of a desired exposure time, etc.). Is done.

モータドライバ18は、制御装置25の制御に基づいて、フォーカシングおよびズーミングなどのために撮影レンズ系5のレンズ駆動モータを駆動し、メカニカルシャッタ17の開閉動作を行う。この開閉動作はタイミング発生器29と連携して行われる。   The motor driver 18 drives the lens driving motor of the photographing lens system 5 for focusing, zooming, and the like based on the control of the control device 25, and opens and closes the mechanical shutter 17. This opening / closing operation is performed in cooperation with the timing generator 29.

測距センサ40は、いわゆる三角測量方式による、定期的に被写体距離を計測する測距手段を構成する。
<モニタリング動作>
撮影者がデジタルカメラ100のメニューボタン12(図1(C)参照)を操作して撮影設定画面(不図示)を液晶モニタ9に表示させる。そして、撮影設定画面に表示される「静止画撮影モード」を選択することにより、デジタルカメラ100は制御装置25の制御によって静止画撮影モードに設定される。
The distance measuring sensor 40 constitutes a distance measuring means for periodically measuring a subject distance by a so-called triangulation method.
<Monitoring operation>
The photographer operates the menu button 12 (see FIG. 1C) of the digital camera 100 to display a shooting setting screen (not shown) on the liquid crystal monitor 9. Then, by selecting the “still image shooting mode” displayed on the shooting setting screen, the digital camera 100 is set to the still image shooting mode under the control of the control device 25.

この際に、デジタルカメラ100は制御装置25の制御によりモニタリング動作を行う。液晶モニタ9にはデジタルカメラ100が受像する動画像が表示される。このモニタリング動作中には、AE(自動露光)処理と公知のAWB処理が繰り返し行われている。
<AE処理>
また、制御装置25は、RAW−RGBデータにおけるRGB値のそれぞれを積分値からAE(自動露出)評価値を算出する。例えば、CMOSセンサ16の全画素の受光面に対応した画面を1024エリアに等分割(水平32分割、垂直32分割)し、それぞれのエリアのRGB積算を算出する。
そして、制御装置25は算出されたRGB積算値から、画面それぞれのエリアの輝度を算出して輝度分布から適正な露光量(適正露光時間Ts)を決定する。
<本実施形態における撮像動作>
図4に示すフロー図を参照しながら、本実施形態における撮像動作を説明する。ここでは1フレーム転送時間L1が20fps(1/20秒に1枚の画像を転送する)と仮定する。図6(b)に示すように、短露光の第1画素行の転送が開始され(時点ta1)、最終行の第N画素行の転送が終了する(時点ta2)ので、1フレーム転送時間L1は、時点ta2−時点ta1であり第1〜N画素行の転送時間の総和である。この1フレーム転送時間L1はカメラ固有のもので原則変化しない。
At this time, the digital camera 100 performs a monitoring operation under the control of the control device 25. A moving image received by the digital camera 100 is displayed on the liquid crystal monitor 9. During this monitoring operation, an AE (automatic exposure) process and a known AWB process are repeatedly performed.
<AE processing>
Further, the control device 25 calculates an AE (automatic exposure) evaluation value from the integration value of each of the RGB values in the RAW-RGB data. For example, the screen corresponding to the light receiving surface of all the pixels of the CMOS sensor 16 is equally divided into 1024 areas (horizontal 32 divisions and vertical 32 divisions), and the RGB integration of each area is calculated.
Then, the control device 25 calculates the luminance of each area of the screen from the calculated RGB integrated values, and determines an appropriate exposure amount (appropriate exposure time Ts) from the luminance distribution.
<Imaging Operation in this Embodiment>
The imaging operation in the present embodiment will be described with reference to the flowchart shown in FIG. Here, it is assumed that one frame transfer time L1 is 20 fps (one image is transferred in 1/20 second). As shown in FIG. 6B, since the transfer of the first pixel row of short exposure is started (time ta1) and the transfer of the Nth pixel row of the last row is completed (time ta2), one frame transfer time L1 Is the sum of the transfer times of the first to Nth pixel rows at time point ta2−time point ta1. This one-frame transfer time L1 is unique to the camera and does not change in principle.

本実施形態では、露光時間を算出する場合、まずステップS1でモニタリング動作中にYUV変換部35の輝度レベル判定部に入力されるRGB−RAWから被写体の輝度レベルを判定する。   In the present embodiment, when calculating the exposure time, first, in step S1, the luminance level of the subject is determined from RGB-RAW input to the luminance level determination unit of the YUV conversion unit 35 during the monitoring operation.

そして、ステップS2で制御装置25によりその輝度レベルから適正露光時間Tsを算出する。ここでは、例えば、適正露光時間が1/40秒と算出されたとする。   In step S2, the control device 25 calculates an appropriate exposure time Ts from the brightness level. Here, for example, it is assumed that the appropriate exposure time is calculated as 1/40 seconds.

次に、ステップS3では、制御装置25により適正露光時間Tsから短露光時間T1と長露光時間T2を算出する。ダイナミックレンジ±m(EV)の撮像を予定している場合、短露光時間T1と長露光時間T2は、T1=Ts*1/2、T2=Ts*2の式で算出される。 Next, in step S3, the control device 25 calculates a short exposure time T1 and a long exposure time T2 from the appropriate exposure time Ts. When imaging in the dynamic range ± m (EV) is scheduled, the short exposure time T1 and the long exposure time T2 are calculated by the following expressions: T1 = Ts * 1/2 m and T2 = Ts * 2 m .

±2EVのダイナミックレンジ拡大を期待する場合、適正露光時間が1/40秒であるので、上記式により短露光時間T1は1/160秒、長露光時間T2は1/10秒となる。   When the expansion of the dynamic range of ± 2 EV is expected, since the appropriate exposure time is 1/40 seconds, the short exposure time T1 is 1/160 seconds and the long exposure time T2 is 1/10 seconds according to the above formula.

ステップS4では、ステップS3で算出した長露光時間T2が所定の時間(1フレーム転送時間−1画素行転送時間)より短いか否かが判断され、NOであればステップS9へ進み、YESであればステップS5へ進む。   In step S4, it is determined whether or not the long exposure time T2 calculated in step S3 is shorter than a predetermined time (1 frame transfer time-1 pixel row transfer time). If NO, the process proceeds to step S9, and if YES is determined. If so, the process proceeds to step S5.

ここで、具体例を説明すると、上記のものより被写体が明るい場合、例えば適正露光時間が1/160秒と算出された場合、短露光時間T1は1/640秒、長露光時間T2は1/40秒と算出される。
この長露光時間T2は1/40秒であり、所定時間(1フレーム転送時間―1画素行転送時間)の約1/20秒より短い。そのため、長露光のフレーム転送が、短露光のフレーム転送に重ならないように且つ連続するように長露光の露光開始時を設定すると、短露光と長露光間で露光されない時間帯のギャップG2が生じることになる(図3(a)参照)。
Here, a specific example will be described. When the subject is brighter than the above, for example, when the appropriate exposure time is calculated as 1/160 seconds, the short exposure time T1 is 1/640 seconds, and the long exposure time T2 is 1/160 seconds. It is calculated as 40 seconds.
The long exposure time T2 is 1/40 second, which is shorter than about 1/20 second of the predetermined time (1 frame transfer time−1 pixel row transfer time). Therefore, if the exposure start time of the long exposure is set so that the frame transfer of the long exposure does not overlap the frame transfer of the short exposure and is continuous, a gap G2 in a time zone in which no exposure is performed between the short exposure and the long exposure occurs. (See FIG. 3 (a)).

ステップS5では、このギャップG2を埋めるために、ステップS4で算出した長露光時間T2(長露光の各画素行の露光時間)を所定時間T2´(1フレーム転送時間−1画素行転送時間、図3(b)参照)に変更する。これにより短露光と長露光とが連続したものとなり、ギャップG2による露光情報の欠落(被写体の2重像)を防止することができる。   In step S5, in order to fill this gap G2, the long exposure time T2 calculated in step S4 (exposure time for each long pixel row) is set to a predetermined time T2 ′ (one frame transfer time—one pixel row transfer time, FIG. 3 (b)). As a result, the short exposure and the long exposure are continuous, and the loss of exposure information (double image of the subject) due to the gap G2 can be prevented.

ステップS6では、デジタルカメラ100のISO感度が最小値か否かが判断され、NOであればステップS7へ進み、YESであればステップS9へ進む。   In step S6, it is determined whether or not the ISO sensitivity of the digital camera 100 is the minimum value. If NO, the process proceeds to step S7, and if YES, the process proceeds to step S9.

ステップS7では、ISO感度を下げる方向に調整して延長した長露光時間T2´の露光量が変更(延長)前の長露光時間T2の露光量と同一となるようにする。   In step S7, the exposure amount of the long exposure time T2 ′ adjusted and extended in the direction of decreasing the ISO sensitivity is made equal to the exposure amount of the long exposure time T2 before the change (extension).

ここでISO感度を調整する理由について述べると、もともと撮影者が±2EVの画像を撮像して合成結果として4EVのダイナミックレンジの拡大を期待している場合、上記のようにステップS5で長露光時間T2を変更(延長)することで長露光時間T2が1/40秒から約1/20秒となり、予定していた以上のダイナミックレンジの拡大となってしまう。
そのため、ステップS6でISO感度が調整できると判断された場合には、ゲイン(ISO感度)を下げる調整を行って延長後の長露光の露光量と延長前の長露光の露光量とを同一にし、延長後の長露光画像を意図したダイナミックレンジで撮像した長露光画像と同等にするものである。
例えば、ISO感度を200から100に設定すると信号のゲインが1/2となるので、露光時間を2倍にすれば延長前の長露光画像と同じものが得られる。すなわち、露光時間が2倍になったとき、ISO感度を例えば200から100に設定すればよい。
Here, the reason for adjusting the ISO sensitivity will be described. When the photographer originally takes an image of ± 2 EV and expects to expand the dynamic range of 4 EV as a composite result, the long exposure time is set in step S5 as described above. By changing (extending) T2, the long exposure time T2 is reduced from 1/40 second to about 1/20 second, and the dynamic range is expanded more than planned.
Therefore, if it is determined in step S6 that the ISO sensitivity can be adjusted, the gain (ISO sensitivity) is adjusted to be the same so that the exposure amount of the extended long exposure and the exposure amount of the long exposure before the extension are the same. The extended long exposure image is equivalent to the long exposure image captured in the intended dynamic range.
For example, if the ISO sensitivity is set from 200 to 100, the signal gain is halved. Therefore, if the exposure time is doubled, the same long exposure image before extension can be obtained. That is, when the exposure time is doubled, the ISO sensitivity may be set to 200 to 100, for example.

この実施例では、ISO感度調整を行っているがこれに限らず、メカニカルシャッタ17の絞り量やND(減光)フィルタによる減光量を調整してもよく、またはこれらを組み合わせて行ってもよい。   In this embodiment, the ISO sensitivity is adjusted. However, the present invention is not limited to this, and the diaphragm amount of the mechanical shutter 17 and the amount of light reduction by the ND (dimming) filter may be adjusted, or a combination thereof may be performed. .

これらの中では、例えば絞りを優先する絞り優先モードなど撮影者の意図によって絞りが固定される場合も考えられるため、ISO感度の調整により露光量を同一に調整するのがより好ましい。   Among them, for example, a diaphragm priority mode that prioritizes the diaphragm may be used to fix the diaphragm according to the photographer's intention. Therefore, it is more preferable to adjust the exposure amount to the same by adjusting the ISO sensitivity.

次に、ステップS8では、ISO感度調整に応じて短露光時間T1を延長する処理を行う。
ISO感度を下げる調整を行うことで延長後の長露光の露光量を延長前の長露光の露光量と同一にできるが、このISO感度調整によって短露光の露光量が減少してしまうため、短露光時間T1をT1´(>T1)に延長してISO感度調整前の短露光の露光量と同一にする。上述した絞り量の調整や減光フィルタによる調整によっても短露光の露光量が変わってしまうため、この場合もその調整に応じて上記と同様に短露光時間T1を延長する。
ステップS9では、ローリングシャッタ方式により連続的に短露光と長露光を行う。
短露光時間T1と長露光時間T2を変更した場合(ステップS6でNOの場合)には、短露光時間T1´と長露光時間T2´でそれぞれの露光を行う。短露光時間T1を変更せず長露光時間T2のみを変更した場合(ステップS6でYESの場合)には、短露光時間T1と長露光時間T2´でそれぞれの露光を行う。短露光時間T1も長露光時間T2も変更しなかった場合(ステップS4でNOの場合)には、短露光時間T1と長露光時間T2でそれぞれの露光を行う。
ステップS10では、短露光時間T1(T1´)で露光された短露光画像(第1画像)と、長露光時間T2(T2´)で露光された長露光画像(第2画像)の合成処理の処理動作が行われる。
以下、その処理動作を図5に示すフロー図に基づいて説明する。
Next, in step S8, a process for extending the short exposure time T1 in accordance with the ISO sensitivity adjustment is performed.
By adjusting to lower the ISO sensitivity, the exposure amount of the long exposure after the extension can be made the same as the exposure amount of the long exposure before the extension, but the exposure amount of the short exposure is reduced by this ISO sensitivity adjustment. The exposure time T1 is extended to T1 ′ (> T1) so as to be the same as the exposure amount of the short exposure before the ISO sensitivity adjustment. Since the exposure amount for short exposure also changes due to the adjustment of the aperture amount and the adjustment using the neutral density filter, the short exposure time T1 is extended in the same manner as described above according to the adjustment.
In step S9, short exposure and long exposure are continuously performed by a rolling shutter system.
When the short exposure time T1 and the long exposure time T2 are changed (NO in step S6), the respective exposures are performed with the short exposure time T1 ′ and the long exposure time T2 ′. When only the long exposure time T2 is changed without changing the short exposure time T1 (in the case of YES at step S6), the respective exposures are performed with the short exposure time T1 and the long exposure time T2 ′. When neither the short exposure time T1 nor the long exposure time T2 is changed (NO in step S4), the respective exposures are performed with the short exposure time T1 and the long exposure time T2.
In step S10, the short exposure image (first image) exposed at the short exposure time T1 (T1 ′) and the long exposure image (second image) exposed at the long exposure time T2 (T2 ′) are combined. Processing operations are performed.
The processing operation will be described below based on the flowchart shown in FIG.

ステップS11では、図5に示すように、短露光時間T1(T1´)で露光された短露光画像と、長露光時間T2(T2´)で露光された長露光画像のそれぞれの輝度を調べる。
ステップS12では、短露光画像にゲイン処理をかけて長露光画像の明るさに一致させる。
ステップS13では、長露光画像において輝度飽和(サチレーション)した部分を特定する処理をして輝度飽和部分があるか判断し、NOであればステップS15へ進み、YESであればステップS14へ進む。
ステップS14では、ステップS13で特定した長露光画像の輝度飽和部分を、ゲイン処理をかけた短露光画像部分(輝度飽和部分に対応する画像部分)で置き換える合成処理をする。
In step S11, as shown in FIG. 5, the brightness of each of the short exposure image exposed at the short exposure time T1 (T1 ′) and the long exposure image exposed at the long exposure time T2 (T2 ′) is examined.
In step S12, the short exposure image is subjected to gain processing to match the brightness of the long exposure image.
In step S13, it is determined whether or not there is a luminance saturation portion by specifying a portion where saturation (saturation) has occurred in the long exposure image. If NO, the process proceeds to step S15, and if YES, the process proceeds to step S14.
In step S14, a synthesis process is performed in which the luminance saturation portion of the long exposure image identified in step S13 is replaced with a short exposure image portion (image portion corresponding to the luminance saturation portion) subjected to gain processing.

ステップS15では、ステップS6の判断結果を参照してISO感度が最小値か否かが判断され、NOであればステップS16へ進み、YESであれば終了する。   In step S15, it is determined whether or not the ISO sensitivity is the minimum value with reference to the determination result in step S6. If NO, the process proceeds to step S16, and if YES, the process ends.

ステップS16では、ステップS14で置換されなかった長露光画像部分をビットシフト処理する。
ここで、ステップS16のビットシフト処理を行う理由について説明する。
ステップS6でYESと判断されISO感度を調整しなかった場合は、上記ステップS14で合成に使用される短露光画像は、短露光時間T1で露光された画像であるため、上記合成処理において短露光画像で置換された長露光画像部分は、撮影者の意図したダイナミックレンジが再現される。
In step S16, the long exposure image portion that has not been replaced in step S14 is bit-shifted.
Here, the reason why the bit shift process of step S16 is performed will be described.
If YES is determined in step S6 and the ISO sensitivity is not adjusted, the short exposure image used for composition in step S14 is an image exposed for a short exposure time T1, and thus the short exposure is performed in the composition process. The long exposure image portion replaced with the image reproduces the dynamic range intended by the photographer.

しかし、置換されなかった長露光画像部分は、ギャップG2を埋めるために延長された長露光時間T2´で露光された長露光画像がそのまま使用されることとなり、この部分は撮影者の意図したダイナミックレンジが再現されていない。   However, the long-exposure image portion that has not been replaced uses the long-exposure image exposed at the long exposure time T2 ′ extended to fill the gap G2, and this portion is used as the dynamic image intended by the photographer. The range is not reproduced.

つまり、長露光では長露光時間T2´−長露光時間T2の時間分だけ余分に露光がなされているので、その余分に露光した情報をカットして撮影者が意図したものとする処理、例えばビットシフト処理が必要となる。
<ビットシフト処理>
例えば、本来の長露光時間T2が1/80秒の場合、1フレーム転送時間に合わせて約1/20秒(1フレーム転送時間―1画素行転送時間)の長露光時間T2´で露光したことにより約4倍の露光時間となるので、短露光画像で置換されなかった長露光画像部分では情報が約4倍増幅されて出現している。
そこで、この画像部分に含まれる画素について、各画素の画素出力値データを2ビット分ビットシフトして4分の1にする処理を行う。
That is, in the long exposure, the extra exposure is performed for the time of the long exposure time T2′−the long exposure time T2, and therefore, the process that the photographer intends by cutting the extra exposure information, for example, bit Shift processing is required.
<Bit shift processing>
For example, when the original long exposure time T2 is 1/80 second, the exposure is performed with a long exposure time T2 ′ of about 1/20 second (one frame transfer time−one pixel row transfer time) in accordance with one frame transfer time. As a result, the exposure time is about four times longer, so that information is amplified about four times and appears in the long exposure image portion that has not been replaced with the short exposure image.
Therefore, for the pixels included in this image portion, the pixel output value data of each pixel is bit-shifted by 2 bits to make it a quarter.

この処理により、ステップS6でYESと判断されISO感度調整をしなかった場合でも、この画像部分を長露光時間T2で露光したものと略同一にすることができ、撮影者が意図したダイナミックレンジを反映した画像が生成できる。
なお、ステップS7でISO感度を下げる調整をした場合は、延長後の長露光の露光量が延長前の長露光の露光量と同一となっているのでこのビットシフト処理は行わない(ステップS15でYESの場合)。
また、図6(b)に示すように、ステップS4で長露光時間T2が所定時間T2´(1フレーム転送時間―1画素行転送時間)より長く算出された場合、具体的な例としては長露光時間T2が1/10秒と算出されたような場合、この長露光時間T2は所定時間T2´(1フレーム転送時間―1画素行転送時間)の約1/20秒より長いので、ギャップG2が生じず露光時間の延長をしない。つまり、この場合は長露光時間T2で長露光がなされているので、このビットシフト処理は行わない(ステップS4でNOの場合)。
次に、本発明の作用・効果を説明する。
請求項1の発明によれば、制御装置25により算出された適正露光時間Tsに基づいて算出された長露光時間T2が所定時間T2´(1フレーム転送時間―1画素行転送時間)より短い場合でも、この長露光時間T2を所定時間T2´(1フレーム転送時間―1画素行転送時間)に変更して長露光を行うので、短露光と長露光との間に時間的なギャップG2が生じず、短露光と長露光とを略連続的に行うことができる。
請求項2の発明によれば、撮像光学系5のメカニカルシャッタ17の絞りの絞り量、減光フィルタの減光量、CMOSセンサ16のアナログゲインのうち少なくとも1つを調整することにより、長露光時間T2の変更後の長露光の露光量を変更前の露光量と同一にすることができる。
また、上記調整によって減少する短露光の露光量を、短露光時間T1を延長することにより上記調整前の短露光の露光量と同一にすることができる。
このため、短露光と長露光のそれぞれが適正露光時間Tsにより算出された短・長の露光量と同一となり、撮影者の意図したダイナミックレンジの合成画像を得ることができる。
請求項3の発明によれば、短露光時間T1(T1´)で露光して得られた短露光画像についてゲインを高める処理を行なって、短露光画像を長露光時間T2(T2´)で露光して得られた長露光画像の輝度と同じにするとともに、長露光画像において輝度が飽和している部分を特定し、この部分をこの部分に対応する前記短露光画像の部分で置き換える合成処理をするので、長露光画像において輝度飽和が生じている領域があっても、この領域に対応する被写体像を再現できるとともにこの領域において撮影者が意図したダイナミックレンジを再現できる。
請求項4の発明によれば、上記の各種調整(ISO感度の調整、NDフィルタの調整、メカニカルシャッタ17の絞りの調整)が出来ない場合、長露光画像において輝度が飽和していない画像部分に含まれる画素について、各画素出力値データのビットをビットシフト処理することにより、上記の各種調整ができない場合でも長露光画像の余分な画像情報をカットして延長後の長露光の露光量を延長前の長露光の露光量と同一にすることができ、この部分において撮影者が意図したダイナミックレンジを再現できる。
以上、本発明に係る撮像装置を上記実施形態に基づき説明してきたが、具体的な構成については、これらの実施形態に限られるものではなく、特許請求の範囲の各請求項に係る発明の要旨を逸脱しない限り、設計の変更や追加等は許容される。
With this process, even if YES is determined in step S6 and the ISO sensitivity is not adjusted, the image portion can be made substantially the same as the one exposed with the long exposure time T2, and the dynamic range intended by the photographer can be set. A reflected image can be generated.
Note that when the ISO sensitivity is adjusted to be lowered in step S7, the exposure amount of the long exposure after the extension is the same as the exposure amount of the long exposure before the extension, so this bit shift processing is not performed (in step S15). If yes).
As shown in FIG. 6B, when the long exposure time T2 is calculated to be longer than the predetermined time T2 ′ (one frame transfer time−one pixel row transfer time) in step S4, a specific example is a long time. When the exposure time T2 is calculated as 1/10 second, the long exposure time T2 is longer than about 1/20 second of the predetermined time T2 ′ (one frame transfer time−one pixel row transfer time), so the gap G2 Does not occur and the exposure time is not extended. That is, in this case, since the long exposure is performed with the long exposure time T2, this bit shift processing is not performed (NO in step S4).
Next, functions and effects of the present invention will be described.
According to the first aspect of the present invention, when the long exposure time T2 calculated based on the appropriate exposure time Ts calculated by the control device 25 is shorter than the predetermined time T2 ′ (one frame transfer time−one pixel row transfer time). However, since the long exposure is performed by changing the long exposure time T2 to the predetermined time T2 ′ (one frame transfer time−one pixel row transfer time), a temporal gap G2 is generated between the short exposure and the long exposure. The short exposure and the long exposure can be performed substantially continuously.
According to the invention of claim 2, the long exposure time is adjusted by adjusting at least one of the aperture amount of the mechanical shutter 17 of the imaging optical system 5, the light reduction amount of the neutral density filter, and the analog gain of the CMOS sensor 16. The exposure amount of the long exposure after the change of T2 can be made the same as the exposure amount before the change.
Moreover, the exposure amount of the short exposure reduced by the adjustment can be made the same as the exposure amount of the short exposure before the adjustment by extending the short exposure time T1.
For this reason, each of the short exposure and the long exposure becomes the same as the short and long exposure amounts calculated by the appropriate exposure time Ts, and a composite image having a dynamic range intended by the photographer can be obtained.
According to the invention of claim 3, the short exposure image obtained by exposure with the short exposure time T1 (T1 ′) is subjected to the processing for increasing the gain, and the short exposure image is exposed with the long exposure time T2 (T2 ′). And the same as the luminance of the long-exposure image obtained in this way, and a portion in which the luminance is saturated in the long-exposure image is specified, and this portion is replaced with the portion of the short-exposure image corresponding to this portion. Therefore, even if there is a region where luminance saturation occurs in the long exposure image, the subject image corresponding to this region can be reproduced, and the dynamic range intended by the photographer can be reproduced in this region.
According to the invention of claim 4, when the above-described various adjustments (ISO sensitivity adjustment, ND filter adjustment, mechanical shutter 17 diaphragm adjustment) cannot be performed, an image portion whose luminance is not saturated in the long exposure image is obtained. For the included pixels, bit shift processing is performed on the bits of each pixel output value data, so that even if the above-mentioned various adjustments cannot be made, the excess image information of the long exposure image is cut to extend the exposure amount of the extended long exposure. The exposure amount of the previous long exposure can be made the same, and the dynamic range intended by the photographer can be reproduced in this portion.
As described above, the imaging apparatus according to the present invention has been described based on the above embodiments. However, the specific configuration is not limited to these embodiments, and the gist of the invention according to each claim of the claims. As long as they do not deviate, design changes and additions are permitted.

5 撮影レンズ系(撮像光学系)
16 CMOSセンサ
25 制御装置
Ts 適正露光時間
T1 短露光時間(露光時間)
T2 長露光時間(露光時間)
100 デジタルカメラ(撮像装置)
L1 1フレーム転送時間
PxL1L 1画素行転送時間
5 Shooting lens system (imaging optical system)
16 CMOS sensor
25 Control device Ts Proper exposure time T1 Short exposure time (exposure time)
T2 Long exposure time (exposure time)
100 Digital camera (imaging device)
L1 1 frame transfer time
PxL1L 1 pixel row transfer time

特開2002−305684号公報JP 2002-305684 A 特開2002−156138号公報JP 2002-156138 A

Claims (4)

撮像光学系と、ローリングシャッタ機能を有するCMOSセンサと、前記CMOSセンサの制御を行う制御手段とを備え、
前記制御手段は、前記CMOSセンサから出力される被写体の画像データからこの被写体についての適正露光時間を算出するとともに、この適正露光時間に基づいて短露光時間と長露光時間とを算出し、ローリングシャッタ方式でこの短露光時間と長露光時間それぞれの露光時間で露光させ、この露光で得られた短露光画像と長露光画像を合成してダイナミックレンジの広い画像を生成する撮像装置において、
前記制御手段は、前記CMOSセンサの1フレーム転送時間から1画素行の転送時間を引いた時間を算出し、この算出した時間と前記長露光時間とを比較し、この長露光時間が前記算出した時間より短い場合、この長露光時間をこの算出した時間に変更することを特徴とする撮像装置。
An imaging optical system, a CMOS sensor having a rolling shutter function, and control means for controlling the CMOS sensor;
The control unit calculates an appropriate exposure time for the subject from the image data of the subject output from the CMOS sensor, calculates a short exposure time and a long exposure time based on the appropriate exposure time, and a rolling shutter. In an imaging apparatus that generates an image with a wide dynamic range by combining the short exposure image and the long exposure image obtained by the exposure with the exposure time of each of the short exposure time and the long exposure time in a method,
The control means calculates a time obtained by subtracting a transfer time of one pixel row from one frame transfer time of the CMOS sensor, compares the calculated time with the long exposure time, and calculates the long exposure time. An imaging apparatus characterized by changing the long exposure time to the calculated time when the time is shorter than the time.
前記制御手段は、前記撮像光学系の絞りの絞り量、減光フィルタの減光量、前記CMOSセンサのアナログゲインのうち少なくとも1つを調整して、前記長露光時間の変更によって増加する長露光の露光量を変更前の露光量と同一にし、この調整によって減少する短露光の露光量が、減少する前の露光量と同一となるように前記短露光時間を延長することを特徴とする請求項1に記載の撮像装置。   The control means adjusts at least one of a diaphragm amount of the imaging optical system, a light reduction amount of a neutral density filter, and an analog gain of the CMOS sensor, and increases the long exposure time that is increased by changing the long exposure time. The exposure amount is the same as the exposure amount before the change, and the short exposure time is extended so that the exposure amount of the short exposure reduced by this adjustment becomes the same as the exposure amount before the reduction. The imaging apparatus according to 1. 前記短露光時間で露光して得られた第1画像についてゲインを高める処理を行なって、第1画像の輝度を前記長露光時間で露光して得られた第2画像の輝度と同じにするとともに、第2画像において輝度が飽和している部分を特定し、この部分をこの部分に対応する前記第1画像部分で置き換える合成処理をすることを特徴とする請求項2に記載の撮像装置。   The first image obtained by the exposure with the short exposure time is processed to increase the gain so that the luminance of the first image is the same as the luminance of the second image obtained by the exposure with the long exposure time. The imaging apparatus according to claim 2, wherein a combining process is performed in which a portion where luminance is saturated in the second image is specified and the portion is replaced with the first image portion corresponding to the portion. 増加する前記長露光の露光量を前記調整によって変更前の露光量と同一にできない場合、前記第2画像において輝度が飽和していない画像部分に含まれる画素について、各画素出力値データをビットシフトすることにより、この画像部分の画素出力値を減少させて、この画像部分を変更前の前記長露光時間で露光したものと同一にすることを特徴とする請求項3に記載の撮像装置。   When the increased exposure amount of the long exposure cannot be made the same as the exposure amount before the change by the adjustment, the pixel output value data is bit-shifted for the pixels included in the image portion where the luminance is not saturated in the second image. 4. The image pickup apparatus according to claim 3, wherein the pixel output value of the image portion is decreased to make the image portion the same as that exposed for the long exposure time before the change.
JP2009020053A 2009-01-30 2009-01-30 Imaging device Expired - Fee Related JP5343588B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009020053A JP5343588B2 (en) 2009-01-30 2009-01-30 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009020053A JP5343588B2 (en) 2009-01-30 2009-01-30 Imaging device

Publications (2)

Publication Number Publication Date
JP2010178164A true JP2010178164A (en) 2010-08-12
JP5343588B2 JP5343588B2 (en) 2013-11-13

Family

ID=42708649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009020053A Expired - Fee Related JP5343588B2 (en) 2009-01-30 2009-01-30 Imaging device

Country Status (1)

Country Link
JP (1) JP5343588B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130069118A (en) * 2011-12-16 2013-06-26 삼성전자주식회사 Image pickup apparatus, method for image pickup and computer-readable recording medium
JP2013538518A (en) * 2010-08-23 2013-10-10 レッド.コム,インコーポレイテッド High dynamic range video
US9100583B2 (en) 2012-02-17 2015-08-04 Canon Kabushiki Kaisha Image processing apparatus for correcting an aberration of an image containing a luminance saturation part, image pickup apparatus, image processing method, and non-transitory recording medium storing program
JP2016174350A (en) * 2015-03-17 2016-09-29 上海兆芯集成電路有限公司 High dynamic range image generating method and high dynamic range image generating device
WO2017169274A1 (en) * 2016-03-31 2017-10-05 ソニー株式会社 Imaging control device, imaging control method, computer program, and electronic equipment
WO2018012317A1 (en) * 2016-07-15 2018-01-18 ソニーセミコンダクタソリューションズ株式会社 Signal processing device, image capture apparatus, and signal processing method
US10271000B2 (en) 2015-07-23 2019-04-23 Samsung Electronics Co., Ltd. Image sensor module and image sensor device including the same
US10805548B2 (en) 2016-07-15 2020-10-13 Sony Semiconductor Solutions Corporation Signal processing apparatus, imaging apparatus, and signal processing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003102021A (en) * 2001-09-20 2003-04-04 Hitachi Kokusai Electric Inc Color television camera
JP2006033454A (en) * 2004-07-16 2006-02-02 Sony Corp Image processing method, semiconductor device for detecting physical quantity distribution, and electronic equipment
JP2008271368A (en) * 2007-04-24 2008-11-06 Sony Corp Imaging apparatus, imaging method, exposure control method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003102021A (en) * 2001-09-20 2003-04-04 Hitachi Kokusai Electric Inc Color television camera
JP2006033454A (en) * 2004-07-16 2006-02-02 Sony Corp Image processing method, semiconductor device for detecting physical quantity distribution, and electronic equipment
JP2008271368A (en) * 2007-04-24 2008-11-06 Sony Corp Imaging apparatus, imaging method, exposure control method, and program

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9876970B2 (en) 2010-08-23 2018-01-23 Red.Com, Llc Multi-exposure imaging
JP2013538518A (en) * 2010-08-23 2013-10-10 レッド.コム,インコーポレイテッド High dynamic range video
US9077911B2 (en) 2010-08-23 2015-07-07 Red.Com, Inc. Multi-exposure video
US9462193B2 (en) 2010-08-23 2016-10-04 Red.Com, Inc. Multi-exposure video
KR20130069118A (en) * 2011-12-16 2013-06-26 삼성전자주식회사 Image pickup apparatus, method for image pickup and computer-readable recording medium
KR101895986B1 (en) * 2011-12-16 2018-10-05 삼성전자주식회사 Image pickup apparatus, method for image pickup and computer-readable recording medium
US9100583B2 (en) 2012-02-17 2015-08-04 Canon Kabushiki Kaisha Image processing apparatus for correcting an aberration of an image containing a luminance saturation part, image pickup apparatus, image processing method, and non-transitory recording medium storing program
JP2016174350A (en) * 2015-03-17 2016-09-29 上海兆芯集成電路有限公司 High dynamic range image generating method and high dynamic range image generating device
US10271000B2 (en) 2015-07-23 2019-04-23 Samsung Electronics Co., Ltd. Image sensor module and image sensor device including the same
US11363230B2 (en) 2015-07-23 2022-06-14 Samsung Electronics Co., Ltd. Image sensor module and image sensor device including the same
WO2017169274A1 (en) * 2016-03-31 2017-10-05 ソニー株式会社 Imaging control device, imaging control method, computer program, and electronic equipment
US11025828B2 (en) 2016-03-31 2021-06-01 Sony Corporation Imaging control apparatus, imaging control method, and electronic device
WO2018012317A1 (en) * 2016-07-15 2018-01-18 ソニーセミコンダクタソリューションズ株式会社 Signal processing device, image capture apparatus, and signal processing method
US10805548B2 (en) 2016-07-15 2020-10-13 Sony Semiconductor Solutions Corporation Signal processing apparatus, imaging apparatus, and signal processing method

Also Published As

Publication number Publication date
JP5343588B2 (en) 2013-11-13

Similar Documents

Publication Publication Date Title
JP5054583B2 (en) Imaging device
JP5347707B2 (en) Imaging apparatus and imaging method
JP6278713B2 (en) Imaging apparatus and imaging method
JP5343588B2 (en) Imaging device
JP5123137B2 (en) Imaging apparatus and imaging method
TWI459126B (en) Image processing device capable of generating a wide-range image, image processing method and recording medium
JP5223686B2 (en) Imaging apparatus and imaging method
JP2009010616A (en) Imaging device and image output control method
JP2009169282A (en) Imaging apparatus and its program
JP5063372B2 (en) Image processing apparatus, control method, and program
JP5277863B2 (en) Imaging apparatus and imaging method
JP2010068046A (en) Imaging apparatus
JP4934617B2 (en) Imaging apparatus and imaging method
JP5091781B2 (en) Imaging apparatus and imaging method
JP2013192121A (en) Imaging apparatus and imaging method
JP2010068331A (en) Imaging device and imaging method
JP5310331B2 (en) Imaging apparatus and imaging method
JP4597887B2 (en) Imaging device
JP5929362B2 (en) Imaging apparatus and imaging method
JP5370662B2 (en) Imaging device
JP5169540B2 (en) Imaging apparatus and imaging method
JP5145876B2 (en) Imaging apparatus and imaging method
JP2010068064A (en) Imaging device and imaging method
JP2008022321A (en) Image shake correcting device and correcting method thereof
JP2017022596A (en) Image processing apparatus, control method of the same, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111226

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120618

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130304

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130611

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130621

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130729

R151 Written notification of patent or utility model registration

Ref document number: 5343588

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees