JP7034792B2 - Imaging device and its control method and program - Google Patents

Imaging device and its control method and program Download PDF

Info

Publication number
JP7034792B2
JP7034792B2 JP2018058225A JP2018058225A JP7034792B2 JP 7034792 B2 JP7034792 B2 JP 7034792B2 JP 2018058225 A JP2018058225 A JP 2018058225A JP 2018058225 A JP2018058225 A JP 2018058225A JP 7034792 B2 JP7034792 B2 JP 7034792B2
Authority
JP
Japan
Prior art keywords
image
imaging
image pickup
accumulation
captured
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018058225A
Other languages
Japanese (ja)
Other versions
JP2019169925A (en
Inventor
宗克 前田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2018058225A priority Critical patent/JP7034792B2/en
Publication of JP2019169925A publication Critical patent/JP2019169925A/en
Application granted granted Critical
Publication of JP7034792B2 publication Critical patent/JP7034792B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Studio Devices (AREA)

Description

本発明は、ローリングシャッタ方式の撮像素子を備える撮像装置とその制御方法及びプログラムに関する。 The present invention relates to an image pickup device including a rolling shutter type image pickup device, and a control method and program thereof.

デジタルカメラやデジタルカムコーダ等の撮像装置の撮像素子には、CMOSセンサ等のローリングシャッタ方式のものが広く用いられている。ローリングシャッタ方式の撮像素子では、撮像素子の撮像領域上の画素ラインから、順次、電荷(画像信号)を読み出すことによって撮像を行う。そのため、撮像装置の外部から閃光(例えば、ストロボ光等のように発光時間が短く且つ強い光)が照射されたときに、閃光が撮像領域の全ラインに照射されないことがある。その場合、閃光が照射された撮像領域上のラインのみが高輝度に撮像される現象が発生し、こうして撮像画像に発生する高輝度ラインは一般的にフラッシュバンドと呼ばれている。フラッシュバンドは、記者会見や結婚式等のイベントでの動画撮影等のように、短期間に複数回の閃光が連続して照射される環境下で発生しやすい。 As an image pickup element of an image pickup device such as a digital camera or a digital camcorder, a rolling shutter type such as a CMOS sensor is widely used. In the rolling shutter type image pickup device, an image pickup is performed by sequentially reading out charges (image signals) from the pixel lines on the image pickup region of the image pickup device. Therefore, when a flash (for example, light having a short emission time and strong light such as strobe light) is irradiated from the outside of the image pickup apparatus, the flash may not be irradiated to the entire line of the image pickup region. In that case, a phenomenon occurs in which only the line on the image pickup region irradiated with the flash is imaged with high brightness, and the high brightness line generated in the captured image in this way is generally called a flash band. Flash bands are likely to occur in an environment where multiple flashes are continuously irradiated in a short period of time, such as when shooting a movie at a press conference or an event such as a wedding ceremony.

フラッシュバンドが発生したフレームを含む映像は鑑賞の際に不自然なものと受け止められることが多いため、フラッシュバンドが発生した撮像画像は、動画生成時に自動的に削除され或いは画像処理等で補正されることが多い。例えば、撮像装置内での画像処理により、撮影時にフラッシュバンドを補正する手法が特許文献1,2に記載されている。 Images containing frames with flash bands are often perceived as unnatural when viewed, so captured images with flash bands are automatically deleted or corrected by image processing when the video is generated. Often. For example, Patent Documents 1 and 2 describe a method of correcting a flash band at the time of shooting by image processing in an image pickup apparatus.

特許文献1は、高速フレームレートで撮像素子から画像信号を読み出し、読み出した複数の撮像画像を合成することによってフラッシュバンドの補正されたフレームを生成する方法を提案している。この方法では、撮像素子から高速フレームレートで撮像画像を読み出すことによってフラッシュバンドの発生確率を低下させている。そして、フラッシュバンドが発生した場合、隣り合う撮像画像を合成することで、撮像領域の全ラインに閃光が照射された状態と同等となるフレームを生成している。 Patent Document 1 proposes a method of reading an image signal from an image sensor at a high frame rate and synthesizing a plurality of read image images to generate a frame corrected with a flash band. In this method, the probability of flash band generation is reduced by reading the captured image from the image sensor at a high frame rate. Then, when a flash band is generated, adjacent captured images are combined to generate a frame equivalent to the state in which all the lines in the imaging region are irradiated with the flash.

特許文献2は、高速フレームレートで画像信号を読み出し、読み出した撮像画像毎にフラッシュバンドが発生しているか否かを判定し、フラッシュバンドが発生している撮像画像をフラッシュバンドの発生していない撮像画像に置換する方法を提案している。この方法では、フラッシュバンドが発生していない撮像画像に対して置換処理前に、閃光が照射された場合の露出と同等になるようにゲイン等で露出補正が行われる。 Patent Document 2 reads an image signal at a high frame rate, determines whether or not a flash band is generated for each captured image read, and a captured image in which a flash band is generated does not generate a flash band. We are proposing a method to replace it with an captured image. In this method, before the replacement process for the captured image in which the flash band is not generated, the exposure is corrected by the gain or the like so as to be equivalent to the exposure when the flash is irradiated.

特開2013-165439号公報Japanese Unexamined Patent Publication No. 2013-165439 特開2015-177303号公報JP-A-2015-177303

しかしながら、上記特許文献1に記載された技術では、フラッシュバンドを補正するためには、隣り合う撮像画像の撮像領域上でのフラッシュバンドの境界のラインを一致させる必要がある。つまり、前の撮像画像の読み出し期間と次の撮像画像に対する蓄積開始期間とを一致させ、且つ、各ラインの読み出しタイミングと蓄積開始タイミングとを一致させることが必要となる。この制約により、シャッタスピードを自由に設定することができないという問題がある。 However, in the technique described in Patent Document 1, in order to correct the flash band, it is necessary to match the boundaries of the flash bands on the imaging region of the adjacent captured images. That is, it is necessary to match the readout period of the previous captured image with the accumulation start period for the next captured image, and to match the readout timing and the accumulation start timing of each line. Due to this limitation, there is a problem that the shutter speed cannot be set freely.

また、上記特許文献2に記載された技術では、フラッシュバンドが発生していない撮像画像が存在することを前提としてフラッシュバンドを補正する。しかし、例えば、ストロボ光等の閃光が連続して照射される撮影環境下では、フラッシュバンドが発生する撮像画像が連続する可能性がある。この場合、連続する撮像画像をフラッシュバンドの発生していない同じ撮像画像に置き換えることになるため、同じ撮像画像が連続した部分では静止した映像となってしまう。 Further, in the technique described in Patent Document 2, the flash band is corrected on the premise that the captured image in which the flash band is not generated exists. However, for example, in a shooting environment in which flashes such as strobe light are continuously irradiated, there is a possibility that captured images in which a flash band is generated are continuous. In this case, since the continuous captured images are replaced with the same captured images in which the flash band is not generated, the same captured images become still images in the continuous portion.

本発明は、シャッタスピードを自由に設定することができ、また、同じ撮像画像を連続させることなくフラッシュバンドを補正した動画を生成することが可能な撮像装置を提供することを目的とする。 It is an object of the present invention to provide an image pickup apparatus capable of freely setting a shutter speed and generating a moving image in which a flash band is corrected without making the same captured image continuous.

本発明に係る撮像装置は、蓄積タイミングの異なる第1の撮像と第2の撮像を並行して実行可能な撮像素子と、前記第2の撮像での前記撮像素子の全ラインの蓄積期間が前記第1の撮像での前記撮像素子の全ラインの蓄積開始期間と読み出し期間と重なるようにして、前記第1の撮像と前記第2の撮像を実行する制御手段と、前記第1の撮像と前記第2の撮像により得られた撮像画像を記憶する記憶手段と、前記記憶手段に記憶された撮像画像におけるフラッシュバンドの発生を検出する検出手段と、前記検出手段による検出結果に基づいてフラッシュバンドの発生していない撮像画像を選択する選択手段と、前記選択手段により選択された撮像画像を用いて動画を生成する動画生成手段と、を備えることを特徴とする。 In the image pickup apparatus according to the present invention, the storage period of the entire line of the image pickup device capable of performing the first image pickup and the second image pickup having different storage timings in parallel and the image pickup device in the second image pickup is described above. A control means for executing the first image pickup and the second image pickup by overlapping the accumulation start period and the read-out period of all the lines of the image pickup element in the first image pickup, and the first image pickup and the first image pickup. A storage means for storing the captured image obtained by the second image pickup, a detection means for detecting the occurrence of a flash band in the captured image stored in the storage means, and a flash band based on the detection result by the detection means. It is characterized by comprising a selection means for selecting a captured image that has not been generated, and a moving image generation means for generating a moving image using the captured image selected by the selection means.

本発明によれば、シャッタスピードを自由に設定することができ、また、同じ撮像画像を連続させることなくフラッシュバンドが補正された動画を生成することができる。 According to the present invention, the shutter speed can be freely set, and a moving image with a corrected flash band can be generated without making the same captured image continuous.

第1実施形態に係る撮像装置の概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of the image pickup apparatus which concerns on 1st Embodiment. 第1の撮像と第2の撮像の第1の例を説明する模式図である。It is a schematic diagram explaining the 1st example of the 1st image pickup and the 2nd image pickup. 図1の撮像装置による動画撮影時の処理のフローチャートである。It is a flowchart of the process at the time of moving image shooting by the image pickup apparatus of FIG. 第1の撮像と第2の撮像の第2の例を説明する模式図である。It is a schematic diagram explaining the 2nd example of the 1st image pickup and the 2nd image pickup. 第1の撮像と第2の撮像の第3の例を説明する模式図である。It is a schematic diagram explaining the 3rd example of the 1st image pickup and the 2nd image pickup. 本発明の第2実施形態に係る撮像装置の概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of the image pickup apparatus which concerns on 2nd Embodiment of this invention. 第1の撮像と第2の撮像の第4の例を説明する模式図である。It is a schematic diagram explaining the 4th example of the 1st image pickup and the 2nd image pickup. 図6の撮像装置による動画撮影時の処理のフローチャートである。It is a flowchart of the process at the time of moving image shooting by the image pickup apparatus of FIG.

以下、本発明の実施形態について、添付図面を参照して詳細に説明する。図1は、本発明の第1の実施形態に係る撮像装置100の概略構成を示すブロック図である。撮像装置100の具体例としては、デジタルカメラやデジタルカムコーダを挙げることができるが、これらに限定されるものではない。撮像装置100は、レンズ1、減光部2、撮像処理部3、画像処理部9、MPU10、記憶部11、表示部12及び操作部13を備える。撮像処理部3は、撮像ユニット4、第1のメモリ5、第2のメモリ6、閃光検出部7及び画像選択部8を備える。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing a schematic configuration of an image pickup apparatus 100 according to a first embodiment of the present invention. Specific examples of the image pickup apparatus 100 include, but are not limited to, a digital camera and a digital camcorder. The image pickup apparatus 100 includes a lens 1, a dimming section 2, an image pickup processing section 3, an image processing section 9, an MPU 10, a storage section 11, a display section 12, and an operation section 13. The image pickup processing unit 3 includes an image pickup unit 4, a first memory 5, a second memory 6, a flash detection unit 7, and an image selection unit 8.

入射光である被写体からの反射光はレンズ1と減光部2を透過して、撮像処理部3の撮像ユニット4が有する撮像素子(CMOS撮像素子)に結像する。便宜的に、図1には1枚のレンズ1を示しているが、レンズ1は複数のレンズから構成されていてもよい。減光部2は、絞り羽根やNDフィルタ等の入射光量を調整可能な部材から構成されている。撮像処理部3の構成の詳細については後述するが、概略、撮像処理部3は、撮像ユニット4から読み出された撮像画像を解析し、画像処理部9へ出力する撮像画像を選択し、選択した撮像画像を画像処理部9へ出力する。画像処理部9は、撮像処理部3から取得した撮像画像の色や輝度等の調整(ホワイトバランス処理やガンマ処理等の種々の信号処理)を行い、コーディックにより所定の形式の動画ファイルを生成する。 The reflected light from the subject, which is the incident light, passes through the lens 1 and the dimming unit 2 and forms an image on the image pickup element (CMOS image pickup device) included in the image pickup unit 4 of the image pickup processing unit 3. For convenience, although one lens 1 is shown in FIG. 1, the lens 1 may be composed of a plurality of lenses. The dimming unit 2 is composed of a member such as a diaphragm blade and an ND filter that can adjust the amount of incident light. The details of the configuration of the image processing unit 3 will be described later, but in general, the image pickup processing unit 3 analyzes the image captured image read from the image pickup unit 4 and selects and selects the image captured image to be output to the image processing unit 9. The captured image is output to the image processing unit 9. The image processing unit 9 adjusts the color, brightness, and the like of the captured image acquired from the image pickup processing unit 3 (various signal processing such as white balance processing and gamma processing), and generates a moving image file in a predetermined format by cordic. ..

画像処理部9が生成した動画ファイルは記憶部11に記憶され、また、表示部12による表示に用いられる。記憶部11は、例えば、メモリカード等の半導体記憶装置やハードディスクドライブ等であるが、これらに限定されず、デジタル信号からなる動画ファイルを記憶することができるものであればよい。表示部12は、液晶ディスプレイや有機ELディスプレイ等であるが、これらに限定されるものではない。操作部13は、撮像装置100の各種設定や各種動作の実行を指示するためのインタフェースを提供する。操作部13は、図3を参照して後述するフラッシュバンド補正処理を行う動画撮影を実行するか否かをユーザに選択させるための選択手段(不図示)を含む。 The moving image file generated by the image processing unit 9 is stored in the storage unit 11 and used for display by the display unit 12. The storage unit 11 is, for example, a semiconductor storage device such as a memory card, a hard disk drive, or the like, but is not limited thereto, and may be any one capable of storing a moving image file composed of a digital signal. The display unit 12 is, but is not limited to, a liquid crystal display, an organic EL display, or the like. The operation unit 13 provides an interface for instructing various settings of the image pickup apparatus 100 and execution of various operations. The operation unit 13 includes selection means (not shown) for allowing the user to select whether or not to execute moving image shooting for performing flash band correction processing described later with reference to FIG.

MPU10は、撮像装置100の全体制御を行うマイクロコンピュータであり、CPUやROM、RAM等を備えている。ROMには、撮像装置100の動作を制御するための各種のプログラム等が格納されており、CPUは、ROMに格納されている所定のプログラムをRAMに展開することにより、撮像装置100の各部の動作を統括的に制御する。 The MPU 10 is a microcomputer that controls the entire image pickup apparatus 100, and includes a CPU, a ROM, a RAM, and the like. Various programs for controlling the operation of the image pickup apparatus 100 are stored in the ROM, and the CPU expands a predetermined program stored in the ROM into the RAM to expand each part of the image pickup apparatus 100. Control the operation comprehensively.

続いて、撮像処理部3の構成について説明する。撮像処理部3が有する撮像ユニット4は、ローリングシャッタ方式のCMOS撮像素子、CMOS撮像素子を駆動するためのドライバ、タイミング生成回路、CDS/AGC回路、A/D変換器等を含むものとし、これらの各部の動作はMPU10により制御される。CMOS撮像素子は、撮像面に結像した被写体光学像を光電変換する。CDS/AGC回路は、CMOS撮像素子の各画素に蓄積された電荷(画像信号)を相関二重サンプリング(CDS)により読み出し、自動利得調整(AGC)により所定のゲインに増幅する。CDS/AGC回路から出力されるアナログ電気信号は、A/D変換器によりデジタル信号からなる撮像画像に変換され、撮像画像は第1のメモリ5と第2のメモリ6に記憶される。 Subsequently, the configuration of the image pickup processing unit 3 will be described. The image pickup unit 4 included in the image pickup processing unit 3 includes a rolling shutter type CMOS image pickup element, a driver for driving the CMOS image pickup element, a timing generation circuit, a CDS / AGC circuit, an A / D converter, and the like. The operation of each part is controlled by the MPU 10. The CMOS image sensor photoelectrically converts the optical image of the subject imaged on the image pickup surface. The CDS / AGC circuit reads out the electric charge (image signal) accumulated in each pixel of the CMOS image sensor by correlated double sampling (CDS) and amplifies it to a predetermined gain by automatic gain adjustment (AGC). The analog electric signal output from the CDS / AGC circuit is converted into an captured image composed of a digital signal by an A / D converter, and the captured image is stored in the first memory 5 and the second memory 6.

本実施形態では、撮像ユニット4として、蓄積タイミングの異なる第1の撮像と第2の撮像を並行して実行可能なものが用いられる。具体的には、CMOS撮像素子を構成する複数の画素のそれぞれに第1のA/D変換部と第2のA/D変換部が設けられた構造を有するものを用いることができる。このような撮像ユニット4の構成は公知であるため、詳細な説明は省略するが、例えば、特開2013-207433号公報に開示がある。撮像ユニット4からは、第1のA/D変換部から出力される撮像画像と第2のA/D変換部から出力される撮像画像を同時に得ることができる。 In the present embodiment, as the image pickup unit 4, a unit capable of performing a first image pickup and a second image pickup having different accumulation timings in parallel is used. Specifically, a pixel having a structure in which a first A / D conversion unit and a second A / D conversion unit are provided in each of a plurality of pixels constituting the CMOS image pickup device can be used. Since the configuration of such an imaging unit 4 is known, detailed description thereof will be omitted, but for example, it is disclosed in Japanese Patent Application Laid-Open No. 2013-207433. From the image pickup unit 4, the captured image output from the first A / D conversion unit and the captured image output from the second A / D conversion unit can be obtained at the same time.

以下の説明では、第1の撮像は第1のA/D変換部を通じて撮像画像を得るための撮像を指し、第2の撮像は第2のA/D変換部を通じて撮像画像を得るための撮像を指すものとする。なお、撮像ユニット4としては、CMOS撮像素子を構成する複数の画素に対して2つのA/D変換部を交互に接続する構成を有するものを用いることもできる。このような撮像ユニット4の構成は公知であるため、詳細な説明は省略するが、例えば、特開2015-26938号公報に開示がある。 In the following description, the first imaging refers to the imaging for obtaining the captured image through the first A / D conversion unit, and the second imaging refers to the imaging for obtaining the captured image through the second A / D conversion unit. Shall point to. As the image pickup unit 4, a unit having a configuration in which two A / D conversion units are alternately connected to a plurality of pixels constituting the CMOS image pickup device can also be used. Since the configuration of such an imaging unit 4 is known, detailed description thereof will be omitted, but for example, it is disclosed in Japanese Patent Application Laid-Open No. 2015-26938.

本実施形態では、動画撮影の際に第1の撮像と第2の撮像とでCMOS撮像素子での電荷(画像信号)の蓄積タイミングが異なるように撮像条件が設定される。そして、第1の撮像により得られる撮像画像は第1のメモリ5に記憶され、第2の撮像により得られる撮像画像は第2のメモリ6に記憶される。なお、「蓄積タイミングが異なる第1の撮像と第2の撮像」の具体例については、図2、図4、図5及び図7を参照して後述する。 In the present embodiment, the imaging conditions are set so that the accumulation timing of the electric charge (image signal) in the CMOS image sensor differs between the first image pickup and the second image pickup at the time of moving image shooting. Then, the captured image obtained by the first imaging is stored in the first memory 5, and the captured image obtained by the second imaging is stored in the second memory 6. A specific example of "first imaging and second imaging with different accumulation timings" will be described later with reference to FIGS. 2, 4, 5, and 7.

閃光検出部7は、第1のメモリ5と第2のメモリ6のそれぞれに記憶された複数の撮像画像のそれぞれについて、フラッシュバンド発生の有無を検出する。例えば、閃光検出部7は、撮像画像の水平ラインを上から下へ1ラインずつ走査し、上下に隣接する2ラインの輝度差が所定値より大きいことを検出した場合に、その撮像画像にはフラッシュバンドが発生していると判定する。閃光検出部7は、フラッシュバンド検出結果を画像選択部8へ通知する。 The flash detection unit 7 detects the presence or absence of a flash band for each of the plurality of captured images stored in each of the first memory 5 and the second memory 6. For example, when the flash detection unit 7 scans the horizontal lines of the captured image one line at a time from top to bottom and detects that the luminance difference between the two lines adjacent to the top and bottom is larger than a predetermined value, the captured image is displayed. It is determined that a flash band has occurred. The flash detection unit 7 notifies the image selection unit 8 of the flash band detection result.

画像選択部8は、閃光検出部7から取得したフラッシュバンド検出結果に基づいてフラッシュバンドの発生していない撮像画像を第1のメモリ5と第2のメモリ6から選択して読み出す。そして、画像選択部8は、第1のメモリ5と第2のメモリ6から読み出した撮像画像を撮像装置100の制御フレームレートに同期させて画像処理部9に送信する。 The image selection unit 8 selects and reads an image captured without a flash band from the first memory 5 and the second memory 6 based on the flash band detection result acquired from the flash detection unit 7. Then, the image selection unit 8 transmits the captured images read from the first memory 5 and the second memory 6 to the image processing unit 9 in synchronization with the control frame rate of the image pickup device 100.

なお、閃光発光量が小さい場合には上下に隣接するライン間の輝度差が小さくなるため、閃光検出部7がフラッシュバンドの発生している撮像画像をフラッシュバンドが発生していない撮像画像であると誤認する可能性がある。この問題に対処するため、画像選択部8は、第1のメモリ5及び第2のメモリ6に記憶された撮像画像からフラッシュバンドが発生していない可能性が最も高いと推測される撮像画像を選択することで、閃光検出部7の誤検出による影響を低減させる制御を行う。ここで、フラッシュバンドが発生していない可能性が高いと推測される撮像画像とは、フラッシュバンドが発生していないと判定された撮像画像のうち、撮像画像毎に求められている上下に隣接する2ラインの輝度差の最大値が相対的に小さい撮像画像である。閃光検出部7は、撮像画像にフラッシュバンドが発生しているか否かを検査する際に上下に隣接する2ラインの輝度を求めている。そこで、閃光検出部7から画像選択部8へ通知されるフラッシュバンド検出結果に各撮像画像において上下に隣接する2ラインの輝度差の最大値に関する情報を含めるようにすれば、画像選択部8による撮像画像の選択を簡潔に行うことができる。 When the flash emission amount is small, the luminance difference between the lines adjacent to the top and bottom becomes small, so that the captured image in which the flash band is generated is the captured image in which the flash band is not generated. There is a possibility of misunderstanding. In order to deal with this problem, the image selection unit 8 selects an captured image from the captured images stored in the first memory 5 and the second memory 6 which is most likely not to generate a flash band. By selecting it, control is performed to reduce the influence of the erroneous detection of the flash detection unit 7. Here, the captured image that is presumed to have no flash band is adjacent to the upper and lower sides of the captured image determined that the flash band is not generated, which is required for each captured image. It is a captured image in which the maximum value of the brightness difference between the two lines is relatively small. The flash detection unit 7 obtains the brightness of two lines adjacent to each other when inspecting whether or not a flash band is generated in the captured image. Therefore, if the flash band detection result notified from the flash detection unit 7 to the image selection unit 8 includes information on the maximum value of the luminance difference between the two vertically adjacent lines in each captured image, the image selection unit 8 will be used. The selection of the captured image can be performed simply.

撮像装置100による動画撮影では、ユーザ設定により、CMOS撮像素子での電荷(画像信号)の蓄積タイミングの異なる第1の撮像と第2の撮像を行って得られた撮像画像から選択された撮像画像をフレームとして用いた1つの動画を生成することができる。図2は、異なる蓄積タイミングで撮像された第1の撮像と第2の撮像の第1の例を説明する図である。図2(a)は、第1の撮像と第2の撮像のそれぞれでのCMOS撮像素子の制御を説明する図である。第1の例では、第2の撮像での撮像領域の全ラインの蓄積期間は、第1の撮像での撮像領域の全ラインの蓄積開始期間及び読み出し期間と重なる。換言すれば、第1の撮像で1撮像画像を取得するために撮像領域のライン毎に順次蓄積が開始されている期間と読み出しが行われている期間に、第2の撮像では撮像領域の全ラインで電荷(画像信号)の蓄積が行われているようにする。第1の撮像による撮像画像が第1のメモリ5に記憶され、第2の撮像による撮像画像が第2のメモリ6に記憶される。 In the moving image shooting by the image pickup device 100, the captured image selected from the captured images obtained by performing the first imaging and the second imaging at different charge (image signal) accumulation timings in the CMOS image sensor according to the user setting. Can be used as a frame to generate one moving image. FIG. 2 is a diagram illustrating a first example of a first image pickup and a second image pickup imaged at different accumulation timings. FIG. 2A is a diagram illustrating control of a CMOS image sensor in each of the first image pickup and the second image pickup. In the first example, the accumulation period of all the lines in the imaging region in the second imaging overlaps with the accumulation start period and the readout period of all the lines in the imaging region in the first imaging. In other words, during the period in which the accumulation is sequentially started for each line of the imaging region and the period in which the readout is performed in order to acquire one captured image in the first imaging, the entire imaging region is acquired in the second imaging. Make sure that the electric charge (image signal) is accumulated on the line. The image captured by the first imaging is stored in the first memory 5, and the image captured by the second imaging is stored in the second memory 6.

図2(b)は、第1の撮像での撮像画像にフラッシュバンドが発生したときに、第2の撮像での撮像画像にはフラッシュバンドが発生しないことを説明する図である。第1の撮像の蓄積1での読み出し期間に閃光照射がなされて、蓄積1の撮像画像にフラッシュバンドが発生したとする。なお、不図示であるが、蓄積1の撮像画像の次の撮像画像にもフラッシュバンドが発生する。このとき、閃光照射タイミングは、第2の撮像での蓄積2aの次の蓄積2bの全ラインの蓄積期間内となっているため、蓄積2bでは撮像領域の全ラインに閃光が照射される。よって、蓄積2aの撮像画像は閃光が照射されていない明るさとなり、蓄積2bの撮像画像は閃光が照射された明るさとなり、いずれの撮像画像にもフラッシュバンドは発生しない。このように、第1の撮像での撮像領域の全ラインの蓄積開始期間及び読み出し期間が第2の撮像での撮像領域の全ラインの蓄積期間でカバーされるようにすることで、1回の閃光に対して必ずフラッシュバンドの発生していない撮像画像を得ることができる。 FIG. 2B is a diagram illustrating that when a flash band is generated in the captured image in the first imaging, the flash band is not generated in the captured image in the second imaging. It is assumed that the flash irradiation is performed during the readout period in the first image pickup, and a flash band is generated in the image captured in the first image. Although not shown, a flash band is also generated in the next captured image of the captured image of the storage 1. At this time, since the flash irradiation timing is within the accumulation period of all the lines of the accumulation 2b next to the accumulation 2a in the second imaging, the flash is irradiated to all the lines of the imaging region in the accumulation 2b. Therefore, the captured image of the storage 2a has the brightness not irradiated with the flash, the captured image of the storage 2b has the brightness irradiated with the flash, and no flash band is generated in any of the captured images. In this way, by making sure that the accumulation start period and the readout period of all the lines in the imaging region in the first imaging are covered by the accumulation period of all the lines in the imaging region in the second imaging, one time. It is possible to obtain an captured image in which no flash band is always generated for a flash of light.

本実施形態では、第1の撮像と第2の撮像を並行して行うが、第1の撮像で得られた撮像画像をベースとして1つの動画ファイルを生成する。よって、所定のタイミングで第1の撮像と第2の撮像により得られた撮像画像の双方にフラッシュバンドが発生していない場合には、画像選択部8は第1の撮像によるフラッシュバンドの発生していない撮像画像を選択する。そして、所定のタイミングで第1の撮像により得られた撮像画像にフラッシュバンドが発生していることが検出された場合に、画像選択部8は第2の撮像によるフラッシュバンドの発生していない撮像画像を選択する。図4(b)の例では、画像選択部8は、蓄積1の撮像画像にフラッシュバンドが発生していることが検出されている場合、蓄積1の撮像画像に代えて動画の生成に用いる第2の撮像での蓄積2a,2bによる撮像画像を選択する。このようにして、第1の撮像による撮像画像にフラッシュバンドが発生した場合に、その撮像画像を第2の撮像によるフラッシュバンドの発生していない撮像画像で置換する。 In the present embodiment, the first imaging and the second imaging are performed in parallel, and one moving image file is generated based on the captured image obtained by the first imaging. Therefore, when the flash band is not generated in both the first image pickup and the captured image obtained by the second image pickup at a predetermined timing, the image selection unit 8 generates the flash band by the first image pickup. Select an uncaptured image. Then, when it is detected that a flash band is generated in the captured image obtained by the first imaging at a predetermined timing, the image selection unit 8 captures the image in which the flash band is not generated by the second imaging. Select an image. In the example of FIG. 4B, when it is detected that a flash band is generated in the captured image of the storage 1, the image selection unit 8 is used to generate a moving image instead of the captured image of the storage 1. Accumulation in the imaging of 2 Select the images captured by 2a and 2b. In this way, when a flash band is generated in the image captured by the first imaging, the captured image is replaced with the captured image in which the flash band is not generated by the second imaging.

次に、異なる蓄積タイミングに設定された第1の撮像と第2の撮像を並行して行い、第1の撮像による撮像画像をベースとして1つの動画ファイルを生成する処理の流れについて説明する。図3は、撮像装置100による動画撮影時にMPU10及び撮像処理部3で実行される処理を説明するフローチャートである。図3にS番号で示す各処理(ステップ)は、MPU10が所定のプログラムを実行して撮像処理部3を構成する各部の動作を統括的に制御することにより実現される。なお、第1の撮像の条件は予め定められているものとする。 Next, the flow of the process of performing the first imaging and the second imaging set at different accumulation timings in parallel and generating one moving image file based on the images captured by the first imaging will be described. FIG. 3 is a flowchart illustrating a process executed by the MPU 10 and the image pickup processing unit 3 when a moving image is taken by the image pickup apparatus 100. Each process (step) indicated by the S number in FIG. 3 is realized by the MPU 10 executing a predetermined program to comprehensively control the operation of each unit constituting the image pickup processing unit 3. It is assumed that the conditions for the first imaging are predetermined.

S101ではMPU10は、第1の撮像による撮像画像を第1のメモリ5に記憶する。S102ではMPU10は、第1の撮像において、撮像画像を取得するための電荷(画像信号)の蓄積期間(以下単に「蓄積期間」という)が全ラインの蓄積開始期間の2倍以上であるか否かを判定する。なお、第1の撮像での蓄積期間は、1ラインについての蓄積開始から読み出し開始までの期間(図2の場合、蓄積1の上辺の長さに相当する期間)を指す。また、第1の撮像では、全ラインの蓄積開始期間と読み出し期間は、時間的に同じ長さであるとする。よってS102は、第1の撮像において蓄積期間が全ラインの読み出し期間の2倍以上であるか否かを判定することによって行ってもよい。MPU10は、第1の撮像での蓄積期間が全ラインの蓄積開始期間の2倍以上であると判定した場合(S102でYES)、処理をS103へ進める。一方、MPU10は、第1の撮像での蓄積期間が全ラインの蓄積開始期間の2倍未満であると判定した場合(S102でNO)、処理をS108へ進める。 In S101, the MPU 10 stores the image captured by the first image capture in the first memory 5. In S102, in the first imaging, whether or not the charge (image signal) accumulation period (hereinafter simply referred to as “accumulation period”) for acquiring the captured image is twice or more the accumulation start period of all lines. Is determined. The accumulation period in the first imaging refers to the period from the start of accumulation to the start of reading for one line (in the case of FIG. 2, the period corresponding to the length of the upper side of the accumulation 1). Further, in the first imaging, it is assumed that the accumulation start period and the read period of all the lines have the same time length. Therefore, S102 may be performed by determining whether or not the accumulation period is twice or more the read period of all lines in the first imaging. When the MPU 10 determines that the accumulation period in the first imaging is twice or more the accumulation start period of all lines (YES in S102), the process proceeds to S103. On the other hand, when the MPU 10 determines that the accumulation period in the first imaging is less than twice the accumulation start period of all lines (NO in S102), the process proceeds to S108.

S103ではMPU10は、第1の撮像での蓄積期間が撮像装置100の制御フレームレートの蓄積期間以下であるか否かを判定する。ここで、第1の撮像の蓄積期間が制御フレームレートの蓄積期間より長い場合とは、具体的には、長秒露光が行われている場合である。例えば、制御フレームレートが60fpsである場合の蓄積期間は16.7msecとなり、これより長い蓄積期間となっている場合には、長秒露光が行われているものと判定される。MPU10は、第1の撮像での蓄積期間が制御フレームレートの蓄積期間以下であると判定した場合(S103でYES)、処理をS104へ進める。一方、MPU10は、第1の撮像での蓄積期間が制御フレームレートの蓄積期間より長いと判定した場合(S103でNO)、処理をS106へ進める。 In S103, the MPU 10 determines whether or not the accumulation period in the first image pickup is equal to or less than the accumulation period of the control frame rate of the image pickup apparatus 100. Here, the case where the accumulation period of the first imaging is longer than the accumulation period of the control frame rate is specifically the case where long-second exposure is performed. For example, when the control frame rate is 60 fps, the storage period is 16.7 msec, and when the storage period is longer than this, it is determined that long-second exposure is being performed. When the MPU 10 determines that the accumulation period in the first imaging is equal to or less than the accumulation period of the control frame rate (YES in S103), the MPU 10 advances the process to S104. On the other hand, when the MPU 10 determines that the accumulation period in the first imaging is longer than the accumulation period of the control frame rate (NO in S103), the process proceeds to S106.

S103の判定がYESとなった場合、第1の撮像での全ラインの蓄積開始期間及び読み出し期間のそれぞれを、第1の撮像でのフレームレートと同じフレームレートに設定された第2の撮像の全ラインの蓄積期間でカバーすることが可能な条件が整っている。よって、S104ではMPU10は、図2を参照して説明したように、第1の撮像の全ラインの蓄積開始期間及び読み出し期間をカバーするように全ラインの蓄積期間が設定された第2の撮像を実行する。これにより、閃光照射により第1の撮像による撮像画像にフラッシュバンドが発生しても、閃光が撮像領域の全ラインに照射されてフラッシュバンドの発生していない撮像画像を第2の撮像により得ることができる。S105ではMPU10は、第2の撮像による撮像画像を第2のメモリ6に記憶する(通常記憶)。MPU10は、S105の後、処理をS110へ進める。 When the determination of S103 is YES, the accumulation start period and the readout period of all the lines in the first imaging are set to the same frame rate as the frame rate in the first imaging of the second imaging. The conditions that can be covered by the accumulation period of all lines are in place. Therefore, in S104, as described with reference to FIG. 2, the MPU 10 has a second imaging in which the accumulation period of all lines is set so as to cover the accumulation start period and the readout period of all the lines of the first imaging. To execute. As a result, even if a flash band is generated in the image captured by the first imaging due to the flash irradiation, the flash is applied to the entire line of the imaging region to obtain an captured image in which the flash band is not generated by the second imaging. Can be done. In S105, the MPU 10 stores the image captured by the second image in the second memory 6 (normal storage). The MPU 10 advances the process to S110 after S105.

なお、S104では、第1の撮像での全ラインの蓄積開始期間及び読み出し期間のそれぞれが第2の撮像の全ラインの蓄積期間でカバーされていればよい。そのため、第2の撮像のフレームレートを第1の撮像のフレームレートよりも高速に設定することも可能である。但し、その場合には、第2の撮像による撮像画像の露出を第1の撮像による撮像画像の露出に合わせるようにCMOS撮像素子からの出力を調整する必要が生じる。 In S104, it is sufficient that each of the accumulation start period and the readout period of all the lines in the first imaging is covered by the accumulation period of all the lines in the second imaging. Therefore, it is possible to set the frame rate of the second image pickup to be faster than the frame rate of the first image pickup. However, in that case, it is necessary to adjust the output from the CMOS image sensor so that the exposure of the image captured by the second imaging matches the exposure of the image captured by the first imaging.

S103の判定がNOとなった後のS106ではMPU10は、第1の撮像(長秒露光)での全ラインの蓄積開始期間及び読み出し期間を第2の撮像の全ラインの蓄積期間でカバーすることができるように第2の撮像の蓄積期間を設定し、第2の撮像を実行する。ここで、S106で設定される第2の撮像について図4を参照して説明する。 In S106 after the determination of S103 is NO, the MPU 10 covers the accumulation start period and the readout period of all the lines in the first imaging (long exposure) with the accumulation period of all the lines in the second imaging. The accumulation period of the second imaging is set so that the second imaging can be performed. Here, the second image pickup set in S106 will be described with reference to FIG.

図4は、異なる蓄積タイミングで撮像された第1の撮像と第2の撮像の第2の例を説明する図である。図4(a)は、第1の撮像と第2の撮像のそれぞれでのCMOS撮像素子の制御を説明する図である。第1の撮像では、長秒露光が行われており、蓄積11で示される撮像画像が撮像ユニット4から出力されるものとする。この場合に、第2の撮像では、第1の撮像の全ラインの蓄積開始期間を覆うタイミングで蓄積12a(第1の蓄積)を行い、且つ、第1の撮像の全ラインの読み出し期間を覆うタイミングで蓄積12c(第2の蓄積)を行う。第2の撮像では更に、蓄積12aと蓄積12cの間で蓄積12b(第3の蓄積)を行う。蓄積12bを行うのは、第2の撮像による撮像画像での蓄積期間(露出)を、第1の撮像による撮像画像での蓄積期間(露出)と一致させるためである。換言すれば、第2の撮像の条件は、蓄積12aと蓄積12bを加算したときの各ラインの蓄積期間及び蓄積12bと蓄積12cを加算したときの各ラインの蓄積期間が共に、蓄積11での各ラインの蓄積期間と同じになるように設定される。 FIG. 4 is a diagram illustrating a second example of a first image pickup and a second image pickup imaged at different accumulation timings. FIG. 4A is a diagram illustrating control of the CMOS image sensor in each of the first image pickup and the second image pickup. In the first imaging, long-second exposure is performed, and it is assumed that the captured image indicated by the storage 11 is output from the imaging unit 4. In this case, in the second imaging, the accumulation 12a (first accumulation) is performed at a timing that covers the accumulation start period of all the lines of the first imaging, and the readout period of all the lines of the first imaging is covered. Accumulation 12c (second accumulation) is performed at the timing. In the second imaging, the accumulation 12b (third accumulation) is further performed between the accumulation 12a and the accumulation 12c. The reason for performing the accumulation 12b is to match the accumulation period (exposure) in the image captured by the second imaging with the accumulation period (exposure) in the image captured by the first imaging. In other words, the second imaging condition is that the accumulation period of each line when the accumulation 12a and the accumulation 12b are added and the accumulation period of each line when the accumulation 12b and the accumulation 12c are added are both at the accumulation 11. It is set to be the same as the accumulation period of each line.

S107ではMPU10は、第2の撮像で得られた撮像画像を第2のメモリ6に記憶する(加算記憶)。図4(b)は、S107において第2のメモリ6に記憶される撮像画像を説明する図である。第2の撮像では、蓄積12aによる撮像画像と蓄積12bによる撮像画像を加算した撮像画像を作成して第2のメモリ6に記憶し、また、蓄積12bによる撮像画像と蓄積12cによる撮像画像を加算した撮像画像を作成して第2のメモリ6に記憶する。これにより、第2の撮像による撮像画像の蓄積期間を第1の撮像による撮像画像の蓄積期間と一致させることができる。MPU10は、S107の後、処理をS110へ進める。 In S107, the MPU 10 stores the captured image obtained in the second imaging in the second memory 6 (additional storage). FIG. 4B is a diagram illustrating a captured image stored in the second memory 6 in S107. In the second imaging, an image captured by the storage 12a and an image captured by the storage 12b are added and stored in the second memory 6, and the image captured by the storage 12b and the image captured by the storage 12c are added. The captured image is created and stored in the second memory 6. As a result, the accumulation period of the captured image by the second imaging can be matched with the accumulation period of the captured image by the first imaging. The MPU 10 advances the process to S110 after S107.

第1の撮像において蓄積期間が全ラインの蓄積開始期間の2倍未満である場合、第1の撮像での全ラインの蓄積開始期間及び読み出し期間のそれぞれを、図2に示した蓄積2a,2bのような別々の蓄積で覆うことができない。そこで、S102の判定がNOとなった後のS108ではMPU10は、第1の撮像における全ラインの蓄積開始から読み出し終了までの期間が第2の撮像での全ラインの蓄積期間で覆われるように、第2の撮像を実行する。 When the accumulation period in the first imaging is less than twice the accumulation start period of all lines, the accumulation start period and the readout period of all lines in the first imaging are set to the accumulation 2a and 2b shown in FIG. 2, respectively. Cannot be covered with separate accumulations such as. Therefore, in S108 after the determination of S102 becomes NO, the period from the start of accumulation of all lines in the first imaging to the end of reading is covered by the accumulation period of all lines in the second imaging. , Perform a second imaging.

ここで、S108で設定される第2の撮像について図5を参照して説明する。図5は、異なる蓄積タイミングで撮像された第1の撮像と第2の撮像の第3の例を説明する図である。図5は、第2の撮像での全ラインの蓄積期間を、第1の撮像の全ラインの蓄積開始から読み出し終了までの期間と同じにした例を示している。但し、これに限られず、第2の撮像での全ラインの蓄積期間が、第1の撮像の全ラインの蓄積開始から読み出し終了までの期間を覆っていればよい。 Here, the second image pickup set in S108 will be described with reference to FIG. FIG. 5 is a diagram illustrating a third example of a first image pickup and a second image pickup imaged at different accumulation timings. FIG. 5 shows an example in which the accumulation period of all lines in the second imaging is the same as the period from the start of accumulation to the end of reading of all the lines in the first imaging. However, the present invention is not limited to this, and the accumulation period of all lines in the second imaging may cover the period from the start of accumulation to the end of reading of all the lines in the first imaging.

S109ではMPU10は、第2の撮像による撮像画像を第2のメモリ6に記憶する。このとき、第2の撮像による撮像画像は、第1の撮像による撮像画像よりも蓄積期間が長いため、第1の撮像による撮像画像よりも全体的に明るい画像となる。そこで、MPU10は、第2の撮像では、CMOS撮像素子からの電荷(画像信号)の読み出しの際にマイナスゲイン処理(出力調整)を行い、第2の撮像による撮像画像の明るさ(露出)を第1の撮像による撮像画像の明るさに一致させる(ゲイン調整記憶)。MPU10は、S109の後、処理をS110へ進める。 In S109, the MPU 10 stores the image captured by the second image in the second memory 6. At this time, since the image captured by the second imaging has a longer accumulation period than the image captured by the first imaging, the image is generally brighter than the image captured by the first imaging. Therefore, in the second imaging, the MPU 10 performs negative gain processing (output adjustment) when reading the charge (image signal) from the CMOS image sensor, and adjusts the brightness (exposure) of the image captured by the second imaging. Matches the brightness of the image captured by the first image pickup (gain adjustment storage). The MPU 10 advances the process to S110 after S109.

S110では閃光検出部7が、第1のメモリ5と第2のメモリ6にそれぞれ記憶された撮像画像にフラッシュバンドが発生しているか否かを検出し、フラッシュバンド検出結果を画像選択部8へ通知する。なお、前述の通り、動画は、第1の撮像により得られた撮像画像をベースとして生成される。そのため、第1のメモリ5に記憶された撮像画像にフラッシュバンドが発生していることが検出されたときにのみ、それらに代えて動画の生成に用いる第2の撮像による撮像画像を特定するために第2のメモリ6に記憶された撮像画像を検査するようにしてもよい。S111では画像選択部8が、画像処理部9へ送信する撮像画像をS110で取得した情報に基づいて選択する。 In S110, the flash detection unit 7 detects whether or not a flash band is generated in the captured images stored in the first memory 5 and the second memory 6, respectively, and sends the flash band detection result to the image selection unit 8. Notice. As described above, the moving image is generated based on the captured image obtained by the first imaging. Therefore, only when it is detected that a flash band is generated in the captured image stored in the first memory 5, in order to specify the captured image by the second imaging used for generating the moving image instead of them. The captured image stored in the second memory 6 may be inspected. In S111, the image selection unit 8 selects the captured image to be transmitted to the image processing unit 9 based on the information acquired in S110.

S112では画像選択部8が、S111で選択した撮像画像を撮像装置100の制御フレームレートに合わせて画像処理部9へ送信する。その際、第2の撮像による撮像画像を画像処理部9へ送信する場合には、撮像領域の全ラインに閃光が照射されている撮像画像を含めるようにする。また、画像処理部9に送信された撮像画像と動画生成に用いられないことが確定している撮像画像は、第1のメモリ5と第2のメモリ6から逐次消去される。これにより、撮像処理部3での処理は終了となり、画像処理部9は取得した撮像画像から動画ファイルを生成する。 In S112, the image selection unit 8 transmits the captured image selected in S111 to the image processing unit 9 in accordance with the control frame rate of the image pickup device 100. At that time, when the image captured by the second imaging is transmitted to the image processing unit 9, the captured image in which the flash is irradiated to all the lines of the imaging region is included. Further, the captured image transmitted to the image processing unit 9 and the captured image that has been determined not to be used for moving image generation are sequentially erased from the first memory 5 and the second memory 6. As a result, the processing in the image processing unit 3 is completed, and the image processing unit 9 generates a moving image file from the acquired image.

上記処理により、動画を構成する主な撮像画像を取得するための第1の撮像での蓄積期間、つまり、シャッタスピードを自由に設定することができる。また、同じ撮像画像が連続するということが生じることなく、フラッシュバンドが補正された撮像画像を含む動画を遅滞なく生成することができる。 By the above processing, the accumulation period in the first imaging for acquiring the main captured image constituting the moving image, that is, the shutter speed can be freely set. In addition, it is possible to generate a moving image including a captured image with a corrected flash band without delay without causing the same captured image to be continuous.

ところで、S102の判定がNOとなった場合(処理がS108へ進む場合)には、上述したフローに代えて、以下の通りに処理を進めることができる。すなわち、上述したS108と同じ処理を実行する。その後、上記S109ではマイナスゲイン処理を行って第2のメモリ6に撮像画像を記憶したが、マイナスゲイン処理を行わずに第2のメモリ6に撮像画像を記憶する。そして、上述したS110と同じ処理を実行し、第1の撮像による撮像画像にフラッシュバンドが発生していることが検出された場合には、これに代えて用いる第2の撮像によるフラッシュバンドのない撮像画像を特定する。そして、特定された撮像画像の露出(明るさ)を第1の撮像による撮像画像の明るさ(露出)に合わせるように、特定された撮像画像のマイナスゲイン処理を行う。第2のメモリ6に記憶された撮像画像のマイナスゲイン処理を実行するために、撮像処理部3は、第2のメモリ6に記憶された撮像画像のゲイン調整部を備える必要がある。その後の処理は、上述したS111以降の通りに行うことができる。なお、撮像処理部3にゲイン調整部を設ける代わりに、画像処理部9へ第2の撮像による撮像画像と共にマイナスゲイン処理の実行情報を送信し、画像処理部9がマイナスゲイン処理を実行する構成することも可能である。 By the way, when the determination in S102 is NO (when the process proceeds to S108), the process can proceed as follows instead of the above-mentioned flow. That is, the same processing as in S108 described above is executed. After that, in the above S109, the minus gain process is performed and the captured image is stored in the second memory 6, but the captured image is stored in the second memory 6 without performing the minus gain process. Then, when the same processing as in S110 described above is executed and it is detected that a flash band is generated in the image captured by the first imaging, there is no flash band by the second imaging used in place of the flash band. Identify the captured image. Then, a negative gain process of the specified captured image is performed so as to match the exposure (brightness) of the specified captured image with the brightness (exposure) of the captured image obtained by the first imaging. In order to execute the negative gain processing of the captured image stored in the second memory 6, the imaging processing unit 3 needs to include a gain adjusting unit of the captured image stored in the second memory 6. Subsequent processing can be performed as described above after S111. Instead of providing the gain adjustment unit in the image processing unit 3, the negative gain processing execution information is transmitted to the image processing unit 9 together with the image captured by the second image pickup, and the image processing unit 9 executes the negative gain processing. It is also possible to do.

<第2実施形態>
図6は、本発明の第2実施形態に係る撮像装置200の概略構成を示すブロック図である。第1実施形態で説明した撮像装置100の撮像処理部3が閃光検出部7と画像選択部8を有することに対して、撮像装置200は閃光検出部27と画像加算部28を有する撮像処理部23を備えている点で、撮像装置100と異なる。撮像装置200のその他の構成は撮像装置100と同じであるので、撮像装置200の構成要素であって撮像装置100の構成要素と同じものについては、同じ符号を付して重複する説明を省略する。
<Second Embodiment>
FIG. 6 is a block diagram showing a schematic configuration of the image pickup apparatus 200 according to the second embodiment of the present invention. The image pickup processing unit 3 of the image pickup apparatus 100 described in the first embodiment has a flash detection unit 7 and an image selection unit 8, whereas the image pickup apparatus 200 has an image pickup processing unit having a flash detection unit 27 and an image addition unit 28. It differs from the image pickup apparatus 100 in that it includes 23. Since the other configurations of the image pickup apparatus 200 are the same as those of the image pickup apparatus 100, the same reference numerals are given to the components of the image pickup apparatus 200 that are the same as the components of the image pickup apparatus 100, and duplicate description is omitted. ..

撮像装置200では、動画の生成に用いられる主たる撮像画像である第1の撮像による撮像画像が第1のメモリ5に記憶される。第2の撮像のフレームレートは第1の撮像のフレームレートよりも高速に設定され、第2の撮像による撮像画像は第2のメモリ6に記憶される。 In the image pickup apparatus 200, the image captured by the first image pickup, which is the main image captured image used for generating the moving image, is stored in the first memory 5. The frame rate of the second imaging is set to be faster than the frame rate of the first imaging, and the captured image by the second imaging is stored in the second memory 6.

図7は、第1の撮像と第2の撮像の第4の例を説明する図である。図7(a)は、第1の撮像と第2の撮像のそれぞれでのCMOS撮像素子の制御を説明する図である。本実施形態では、第1の撮像での全ラインの蓄積開始期間を第2の撮像での全ラインの読み出し期間に一致させると共に、第1の撮像での全ラインの読み出し期間を第2の撮像での全ラインの蓄積開始期間と一致させる。また、第1の撮像での蓄積期間に対して、第2の撮像での蓄積期間は短く設定される。つまり、第2の撮像でのフレームレートは、第1の撮像でのフレームレートよりも高速に設定される。更に、第2の撮像は、第1の撮像での全ラインの蓄積開始期間及び読み出し期間のそれぞれを、連続する複数の蓄積期間でカバーするように設定される。図7(a)は、5つの撮像画像が連続して出力されるように蓄積32a~32eが行われる例を示している。 FIG. 7 is a diagram illustrating a fourth example of the first imaging and the second imaging. FIG. 7A is a diagram illustrating control of the CMOS image sensor in each of the first image pickup and the second image pickup. In the present embodiment, the accumulation start period of all lines in the first imaging is matched with the readout period of all lines in the second imaging, and the readout period of all lines in the first imaging is the second imaging. Match the accumulation start period of all lines in. Further, the accumulation period in the second imaging is set shorter than the accumulation period in the first imaging. That is, the frame rate in the second imaging is set to be faster than the frame rate in the first imaging. Further, the second imaging is set so that each of the accumulation start period and the readout period of all the lines in the first imaging is covered by a plurality of consecutive accumulation periods. FIG. 7A shows an example in which the accumulations 32a to 32e are performed so that the five captured images are continuously output.

図7(b)は、第1の撮像による撮像画像と第2の撮像による撮像画像の加算処理を説明する図である。第1の撮像での蓄積31で得られる撮像画像にフラッシュバンドが発生する場合には、上段図に示すように、必ず、同じ閃光に起因するフラッシュバンドが第2の撮像での蓄積32a,32bで得られる撮像画像にも発生する。そこで、第1の撮像での蓄積31で得られるフラッシュバンドの発生した撮像画像に第2の撮像の蓄積32a,32bで得られるフラッシュバンドの発生した2つの撮像画像を加算することにより、撮像領域の全ラインに閃光が照射されている撮像画像を生成する。つまり、第1の撮像での全ラインの蓄積開始期間及び読み出し期間に第2の撮像での連続する短時間の蓄積期間を必要数だけ加算して、閃光が撮像領域の全ラインに照射された場合と同様の状態を生成して、第1の撮像による撮像画像のフラッシュバンドを補正する。 FIG. 7B is a diagram illustrating an addition process of the captured image by the first imaging and the captured image by the second imaging. When a flash band is generated in the captured image obtained by the accumulation 31 in the first imaging, as shown in the upper figure, the flash band caused by the same flash is always accumulated in the second imaging 32a, 32b. It also occurs in the captured image obtained in. Therefore, by adding the two captured images with the flash band obtained by the accumulation 32a and 32b of the second imaging to the captured image with the flash band obtained by the accumulation 31 in the first imaging, the imaging region Generates a captured image in which all lines of are illuminated with a flash of light. That is, the flash was applied to all the lines in the imaging region by adding the required number of continuous short accumulation periods in the second imaging to the accumulation start period and the readout period of all the lines in the first imaging. The same state as in the case is generated, and the flash band of the image captured by the first imaging is corrected.

なお、図7の例では、第1の撮像による撮像画像にフラッシュバンドが発生した場合には、第2の撮像による撮像画像の1つ又は2つにフラッシュバンドが発生する例を示している。但し、第2の撮像の条件は、これに限定されず、3つ以上の撮像画像にフラッシュバンドが発生する場合があるようにフレームレートが設定されていてもよい。 Note that the example of FIG. 7 shows an example in which a flash band is generated in one or two of the images captured by the second imaging when a flash band is generated in the image captured by the first imaging. However, the second imaging condition is not limited to this, and the frame rate may be set so that a flash band may occur in three or more captured images.

閃光検出部27は、第2のメモリ6に記憶された撮像画像におけるフラッシュバンドの有無を検査し、フラッシュバンド検出結果を画像加算部28へ通知する。フラッシュバンドの検出方法は、第1実施形態で説明した閃光検出部7による検出方法に準ずるため、ここでの説明を省略する。図7に示した蓄積32a~32eのような短時間の(露光量の小さい)撮像は閃光以外の外光の影響を受け難いため、第2の撮像による撮像画像でフラッシュバンドの有無を判定することにより、フラッシュバンドの検出精度を高めることができる。 The flash detection unit 27 inspects the presence or absence of a flash band in the captured image stored in the second memory 6, and notifies the image addition unit 28 of the flash band detection result. Since the flash band detection method is based on the detection method by the flash detection unit 7 described in the first embodiment, the description thereof is omitted here. Since short-time (small exposure) imaging such as the accumulated 32a to 32e shown in FIG. 7 is not easily affected by external light other than the flash, the presence or absence of the flash band is determined from the image captured by the second imaging. Thereby, the detection accuracy of the flash band can be improved.

画像加算部28へは、第1のメモリ5に記憶された撮像画像が送信される。そして、画像加算部28は、図7(b)を参照して説明したように、閃光検出部27からの通知に基づいて、フラッシュバンドが発生していると判定された第2の撮像による撮像画像を第1の撮像によるフラッシュバンドの発生した撮像画像に加算する。こうして、フラッシュバンドが補正され、撮像領域の全ラインが閃光照射により露光された明るい撮像画像を得ることができる。なお、図7を参照して説明したように、第2の撮像による撮像画像にフラッシュバンドが発生した場合には、必ず、同じ閃光に起因するフラッシュバンドが第1の撮像による撮像画像に発生している。そのため、加算処理の対象となる第1の撮像によるフラッシュバンドのある撮像画像の特定は容易である。画像加算部28は、撮像装置200の制御フレームレートに同期させて、第1の撮像による撮像画像をそのまま又はフラッシュバンドを補正して画像処理部9へ送信する。 The captured image stored in the first memory 5 is transmitted to the image adding unit 28. Then, as described with reference to FIG. 7B, the image adding unit 28 takes an image by the second imaging in which it is determined that the flash band is generated based on the notification from the flash detecting unit 27. The image is added to the captured image in which the flash band generated by the first imaging is generated. In this way, it is possible to obtain a bright captured image in which the flash band is corrected and all the lines in the imaging region are exposed by flash irradiation. As described with reference to FIG. 7, when a flash band is generated in the image captured by the second imaging, a flash band caused by the same flash is always generated in the image captured by the first imaging. ing. Therefore, it is easy to identify the captured image having the flash band by the first imaging to be the target of the addition processing. The image addition unit 28 transmits the image captured by the first image capture as it is or after correcting the flash band to the image processing unit 9 in synchronization with the control frame rate of the image pickup device 200.

図8は、撮像装置200による動画撮影時に撮像処理部23で実行される処理を説明するフローチャートである。図8にS番号で示す各処理(ステップ)は、MPU10が所定のプログラムを実行して撮像処理部23を構成する各部の動作を統括的に制御することにより実現される。なお、第1の撮像の条件は予め定められているものとする。 FIG. 8 is a flowchart illustrating a process executed by the image pickup processing unit 23 at the time of moving image shooting by the image pickup apparatus 200. Each process (step) indicated by the S number in FIG. 8 is realized by the MPU 10 executing a predetermined program to comprehensively control the operation of each unit constituting the image pickup processing unit 23. It is assumed that the conditions for the first imaging are predetermined.

S201ではMPU10は、第1の撮像を実行し、第1の撮像による撮像画像を第1のメモリ5に記憶する。S202ではMPU10は、第2の撮像を実行し、第2の撮像による撮像画像を第2のメモリ6に記憶する。 In S201, the MPU 10 executes the first image pickup and stores the image captured by the first image pickup in the first memory 5. In S202, the MPU 10 executes a second image pickup and stores the image captured by the second image pickup in the second memory 6.

第2の撮像の条件は、図7を参照して説明した例に準じて設定される。すなわち、第2の撮像は、第1の撮像の各ラインの蓄積開始のタイミングに第2の撮像の同ラインの読み出しのタイミングが一致するように設定される。また、第2の撮像では、第1の撮像の全ラインの蓄積開始期間を全ラインの蓄積期間でカバーしているものとみなすことが可能な高速フレームレートでの連続した所定数の撮像画像を撮像する。これにより、第1の撮像の蓄積開始期間でフラッシュバンドが発生しても、フラッシュバンドが発生しているその撮像画像を第2の撮像による撮像画像を用いて補正して、撮像領域の全ラインが閃光照射により露光された明るい撮像画像を得ることができる。 The second imaging condition is set according to the example described with reference to FIG. 7. That is, the second imaging is set so that the timing of reading out the same line of the second imaging coincides with the timing of the accumulation start of each line of the first imaging. Further, in the second imaging, a continuous predetermined number of captured images at a high-speed frame rate that can be regarded as covering the accumulation start period of all the lines of the first imaging with the accumulation period of all the lines. Take an image. As a result, even if a flash band is generated during the accumulation start period of the first imaging, the captured image in which the flash band is generated is corrected by using the captured image by the second imaging, and the entire line of the imaging region is corrected. It is possible to obtain a bright captured image exposed by flash irradiation.

更に、第2の撮像は、第1の撮像の各ラインの読み出しのタイミングに第2の撮像の同ラインの蓄積開始のタイミングが一致するように設定される。また、第2の撮像では、第1の撮像の全ラインの読み出し期間を全ラインの蓄積期間でカバーしているものとみなすことが可能な高速フレームレートでの連続した所定数の撮像画像を撮像する。これにより、第1の撮像の読み出し期間でフラッシュバンドが発生しても、フラッシュバンドが発生しているその撮像画像を第2の撮像による撮像画像を用いて補正して、撮像領域の全ラインが閃光照射により露光された明るい撮像画像を得ることができる。 Further, the second imaging is set so that the timing of reading out each line of the first imaging coincides with the timing of the start of accumulation of the same line of the second imaging. Further, in the second imaging, a continuous predetermined number of captured images at a high-speed frame rate can be regarded as covering the readout period of all the lines of the first imaging with the accumulation period of all the lines. do. As a result, even if a flash band is generated during the readout period of the first imaging, the captured image in which the flash band is generated is corrected by using the captured image by the second imaging, and the entire line of the imaging region is covered. It is possible to obtain a bright captured image exposed by flash irradiation.

S203では閃光検出部7が、第2のメモリ6に記憶した第2の撮像による撮像画像に対するフラッシュバンドの検出処理を行い、フラッシュバンド検出結果を画像加算部28へ通知する。S204では画像加算部28が、S203でのフラッシュバンド検出結果に基づき、フラッシュバンドの発生した撮像画像が検出されたか否かを判定する。画像加算部28は、フラッシュバンドが発生した撮像画像が検出されたと判定した場合(S204でYES)、処理をS205へ進め、フラッシュバンドが発生している撮像画像は検出されなかったと判定した場合(S204でNO)、処理をS206へ進める。 In S203, the flash detection unit 7 performs flash band detection processing on the captured image by the second image pickup stored in the second memory 6, and notifies the image addition unit 28 of the flash band detection result. In S204, the image addition unit 28 determines whether or not the captured image in which the flash band is generated is detected based on the flash band detection result in S203. When the image addition unit 28 determines that the captured image in which the flash band is generated is detected (YES in S204), the process proceeds to S205, and when it is determined that the captured image in which the flash band is generated is not detected (YES). NO in S204), the process proceeds to S206.

S205では画像加算部28が、共通の閃光に起因してフラッシュバンドが発生した第1の撮像及び第2の撮像による各撮像画像を、図7(b)を参照して説明した例の通りに加算して、撮像領域の全ラインに閃光が照射された撮像画像を生成する。S206では画像加算部28が、撮像装置200の制御フレームレートに合わせて、動画の生成に用いる撮像画像を画像処理部9へ送信する。これにより、撮像処理部23での処理は終了となり、画像処理部9は取得した撮像画像から動画ファイルを生成する。 In S205, the image addition unit 28 captures each image captured by the first image pickup and the second image pickup in which a flash band is generated due to a common flash, as in the example described with reference to FIG. 7 (b). In addition, an captured image in which all lines in the imaging region are irradiated with a flash is generated. In S206, the image addition unit 28 transmits the captured image used for generating the moving image to the image processing unit 9 in accordance with the control frame rate of the image pickup device 200. As a result, the processing in the image processing unit 23 is completed, and the image processing unit 9 generates a moving image file from the acquired image.

上記処理により、第1実施形態と同様に、動画を構成する主な撮像画像を取得するための第1の撮像での蓄積期間、つまり、シャッタスピードを自由に設定することができる。また、フラッシュバンドが補正された撮像画像を含む動画を遅滞なく生成することができる。 By the above processing, as in the first embodiment, the accumulation period in the first imaging for acquiring the main captured image constituting the moving image, that is, the shutter speed can be freely set. In addition, it is possible to generate a moving image including a captured image with a corrected flash band without delay.

以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。例えば、上記実施形態では、撮像装置100の内部で実行される各種の処理が複数の回路(処理部)で実行される構成としたが、複数の回路の全部又は一部がMPU10に包含された構成としてもよい。つまり、図3及び図8を参照して説明した処理が可能な限りにおいて、回路構成は問われない。 Although the present invention has been described in detail based on the preferred embodiments thereof, the present invention is not limited to these specific embodiments, and various embodiments within the range not deviating from the gist of the present invention are also included in the present invention. included. For example, in the above embodiment, various processes executed inside the image pickup apparatus 100 are executed by a plurality of circuits (processing units), but all or a part of the plurality of circuits are included in the MPU 10. It may be configured. That is, the circuit configuration does not matter as long as the processing described with reference to FIGS. 3 and 8 can be performed.

また、図4を参照して説明した第1の撮像と第2の撮像の第2の例では、蓄積12aと蓄積12cの間で蓄積12bを行う構成について説明した。これに対して、蓄積12bを行わずに、蓄積11で得られる撮像画像の露出と同じとなるように蓄積12a,12cで得られる撮像画像のゲイン調整を行うようにしてもよい。更に、上記実施形態では、撮像装置100を記憶部11と表示部12を内蔵している構成としているが、記憶部11と表示部12は、MPU10と通信可能に接続された外部装置であっても構わない。上記実施形態では、本発明に係る撮像装置100は、デジタルカメラ又はデジタルカムコーダであるとした。しかし、ローリングシャッタ方式による撮像機能を有する各種の電子機器(例えば、スマートフォン、携帯電話、ゲーム機、タブレットPC等)にも、上記実施形態で説明した撮像装置の制御方法を適用することができる。 Further, in the second example of the first imaging and the second imaging described with reference to FIG. 4, a configuration in which the accumulation 12b is performed between the accumulation 12a and the accumulation 12c has been described. On the other hand, the gain of the captured image obtained by the storage 12a and 12c may be adjusted so as to be the same as the exposure of the captured image obtained by the storage 11 without performing the storage 12b. Further, in the above embodiment, the image pickup apparatus 100 has a built-in storage unit 11 and a display unit 12, but the storage unit 11 and the display unit 12 are external devices communicably connected to the MPU 10. It doesn't matter. In the above embodiment, the image pickup apparatus 100 according to the present invention is a digital camera or a digital camcorder. However, the control method of the image pickup device described in the above embodiment can also be applied to various electronic devices (for example, smartphones, mobile phones, game machines, tablet PCs, etc.) having an image pickup function by the rolling shutter method.

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

3,23 撮像処理部
4 撮像ユニット
5 第1のメモリ
6 第2のメモリ
7,27 閃光検出部
8 画像選択部
9 画像処理部
28 画像加算部
100,200 撮像装置
3,23 Image processing unit 4 Image processing unit 5 First memory 6 Second memory 7,27 Flash detection unit 8 Image selection unit 9 Image processing unit 28 Image addition unit 100, 200 Image pickup device

Claims (14)

蓄積タイミングの異なる第1の撮像と第2の撮像を並行して実行可能な撮像素子と、
前記第2の撮像での前記撮像素子の全ラインの蓄積期間が前記第1の撮像での前記撮像素子の全ラインの蓄積開始期間と読み出し期間と重なるようにして、前記第1の撮像と前記第2の撮像を実行する制御手段と、
前記第1の撮像と前記第2の撮像により得られた撮像画像を記憶する記憶手段と、
前記記憶手段に記憶された撮像画像におけるフラッシュバンドの発生を検出する検出手段と、
前記検出手段による検出結果に基づいてフラッシュバンドの発生していない撮像画像を選択する選択手段と、
前記選択手段により選択された撮像画像を用いて動画を生成する動画生成手段と、を備えることを特徴とする撮像装置。
An image sensor capable of performing a first image pickup and a second image pickup with different accumulation timings in parallel, and an image sensor.
The first image pickup and the said A control means for performing a second image pickup,
A storage means for storing the captured images obtained by the first imaging and the second imaging, and
A detection means for detecting the occurrence of a flash band in an captured image stored in the storage means, and a detection means.
A selection means for selecting a captured image in which no flash band is generated based on the detection result by the detection means, and a selection means.
An image pickup apparatus comprising: a moving image generating means for generating a moving image using an image taken by the selection means.
前記第1の撮像での全ラインの蓄積期間と前記第2の撮像での全ラインの蓄積期間とは、時間的に同じ長さであることを特徴とする請求項1に記載の撮像装置。 The imaging device according to claim 1, wherein the accumulation period of all lines in the first imaging and the accumulation period of all lines in the second imaging are temporally the same length. 前記第2の撮像での全ラインの蓄積期間の長さが前記第1の撮像での全ラインの蓄積期間の長さと異なる場合に、前記第2の撮像による撮像画像の露出を前記第1の撮像による撮像画像の露出に合わせるように前記第2の撮像により得られる撮像画像のゲインを補正する補正手段を備えることを特徴とする請求項1に記載の撮像装置。 When the length of the accumulation period of all the lines in the second imaging is different from the length of the accumulation period of all the lines in the first imaging, the exposure of the image captured by the second imaging is the first. The image pickup apparatus according to claim 1, further comprising a correction means for correcting the gain of the image captured image obtained by the second image pickup so as to match the exposure of the image captured by the image pickup. 前記選択手段は、所定のタイミングで前記第1の撮像と前記第2の撮像により得られた撮像画像の双方にフラッシュバンドが発生していない場合には、前記第1の撮像によるフラッシュバンドの発生していない撮像画像を選択することを特徴とする請求項1乃至3のいずれか1項に記載の撮像装置。 When the flash band is not generated in both the first image pickup and the captured image obtained by the second image pickup at a predetermined timing, the selection means generates the flash band by the first image pickup. The image pickup apparatus according to any one of claims 1 to 3, wherein an image captured image that has not been captured is selected. 前記制御手段は、前記第1の撮像での蓄積期間が前記撮像装置の制御フレームレートの蓄積期間よりも長い場合に、前記第2の撮像では、前記第1の撮像での全ラインの蓄積開始期間を覆う蓄積期間の第1の蓄積と、前記第1の撮像での全ラインの読み出し期間を覆う蓄積期間の第2の蓄積と、前記第1の蓄積と前記第2の蓄積に挟まれる期間を蓄積期間とする第3の蓄積とを行い、
前記記憶手段は、前記第1の蓄積と前記第3の蓄積を加算した撮像画像および前記第2の蓄積と前記第3の蓄積を加算した撮像画像を記憶することを特徴とする請求項1に記載の撮像装置。
When the accumulation period in the first imaging is longer than the accumulation period of the control frame rate of the imaging device, the control means starts accumulating all lines in the first imaging in the second imaging. The first accumulation of the accumulation period covering the period, the second accumulation of the accumulation period covering the readout period of all the lines in the first imaging, and the period between the first accumulation and the second accumulation. Perform the third accumulation with the accumulation period as
The first aspect of the present invention is characterized in that the storage means stores an image taken by adding the first accumulation and the third accumulation and an image taken by adding the second accumulation and the third accumulation. The imaging device described.
前記制御手段は、前記第1の撮像での各ラインの蓄積期間が全ラインの蓄積開始期間の2倍未満である場合に、前記第2の撮像での全ラインの蓄積期間が前記第1の撮像での全ラインの蓄積開始から読み出し終了までの期間と重なるようにして、前記第2の撮像を実行することを特徴とする請求項1に記載の撮像装置。 In the control means, when the accumulation period of each line in the first imaging is less than twice the accumulation start period of all lines, the accumulation period of all lines in the second imaging is the first. The imaging device according to claim 1, wherein the second imaging is performed so as to overlap with the period from the start of accumulation of all lines in the imaging to the end of reading. 前記第2の撮像により得られる撮像画像の露出を前記第1の撮像により得られる撮像画像の露出に合わせるように、前記第2の撮像での前記撮像素子からの出力を調整する調整手段を備えることを特徴とする請求項6に記載の撮像装置。 An adjusting means for adjusting the output from the image pickup element in the second imaging so as to match the exposure of the captured image obtained by the second imaging with the exposure of the captured image obtained by the first imaging is provided. The image pickup apparatus according to claim 6, wherein the image pickup device is characterized by the above. 前記第2の撮像により得られた撮像画像の露出を前記第1の撮像により得られる撮像画像の露出に合わせるように、前記第2の撮像により得られた撮像画像のゲインを補正する補正手段を備えることを特徴とする請求項6に記載の撮像装置。 A correction means for correcting the gain of the captured image obtained by the second imaging so as to match the exposure of the captured image obtained by the second imaging with the exposure of the captured image obtained by the first imaging. The image pickup apparatus according to claim 6, further comprising. 蓄積タイミングの異なる第1の撮像と第2の撮像を並行して実行可能な撮像素子と、
前記第2の撮像を前記第1の撮像よりも高速なフレームレートに設定して、前記第1の撮像と前記第2の撮像を実行する制御手段と、
前記第1の撮像と前記第2の撮像により得られた撮像画像を記憶する記憶手段と、
前記第2の撮像により得られて前記記憶手段に記憶された撮像画像におけるフラッシュバンドの発生を検出する検出手段と、
前記検出手段による検出結果に基づき、前記第1の撮像により得られたフラッシュバンドの発生した撮像画像と前記第2の撮像により得られたフラッシュバンドの発生した画像とを加算した撮像画像を生成する画像加算手段と、
前記第1の撮像により得られたフラッシュバンドの発生していない撮像画像と前記画像加算手段により生成された撮像画像を用いて動画を生成する動画生成手段と、を備えることを特徴とする撮像装置。
An image sensor capable of performing a first image pickup and a second image pickup with different accumulation timings in parallel, and an image sensor.
A control means for setting the second image pickup to a frame rate faster than that of the first image pickup and executing the first image pickup and the second image pickup.
A storage means for storing the captured images obtained by the first imaging and the second imaging, and
A detection means for detecting the occurrence of a flash band in an captured image obtained by the second imaging and stored in the storage means, and a detection means.
Based on the detection result by the detection means, an image captured by adding the image captured by the flash band obtained by the first imaging and the image generated by the flash band obtained by the second imaging is generated. Image addition means and
An image pickup apparatus comprising: an image pickup image obtained by the first image pickup in which a flash band is not generated, and a moving image generation means for generating a moving image using the image pickup image generated by the image addition means. ..
前記制御手段は、前記第1の撮像での各ラインの蓄積開始期間と前記第2の撮像での同ラインの読み出し期間とを一致させ、且つ、前記第1の撮像での各ラインの読み出し期間と前記第2の撮像での同ラインの蓄積開始期間とを一致させることを特徴とする請求項9に記載の撮像装置。 The control means matches the accumulation start period of each line in the first imaging with the readout period of the same line in the second imaging, and the readout period of each line in the first imaging. The imaging device according to claim 9, wherein the image is matched with the accumulation start period of the same line in the second imaging. 前記制御手段は、前記第2の撮像では、前記第1の撮像の全ラインの蓄積開始期間および読み出し期間を全ラインの蓄積期間でカバーしているものとみなすことが可能な連続した所定数の蓄積を行って撮像画像を取得することを特徴とする請求項9又は10に記載の撮像装置。 In the second imaging, the control means has a continuous predetermined number that can be regarded as covering the accumulation start period and the readout period of all the lines of the first imaging with the accumulation period of all the lines. The image pickup apparatus according to claim 9 or 10, wherein the image pickup image is acquired by accumulating the images. 蓄積タイミングの異なる第1の撮像と第2の撮像を並行して実行可能な撮像素子を備える撮像装置の制御方法であって、
前記第2の撮像での前記撮像素子の全ラインの蓄積期間が前記第1の撮像での前記撮像素子の全ラインの蓄積開始期間と読み出し期間と重なるようにして、前記第1の撮像と前記第2の撮像を実行するステップと、
前記第1の撮像と前記第2の撮像により得られた撮像画像を記憶手段に記憶するステップと、
前記記憶手段に記憶された撮像画像におけるフラッシュバンドの発生を検出するステップと、
前記フラッシュバンドの発生を検出した結果に基づいてフラッシュバンドの発生していない撮像画像を選択するステップと、
選択された撮像画像を用いて動画を生成するステップと、を有することを特徴とする撮像装置の制御方法。
It is a control method of an image pickup device provided with an image pickup element capable of performing a first image pickup and a second image pickup having different accumulation timings in parallel.
The first image pickup and the said The step of performing the second image pickup and
A step of storing the captured image obtained by the first image pickup and the second image pickup in the storage means,
The step of detecting the occurrence of a flash band in the captured image stored in the storage means, and
A step of selecting a captured image in which no flash band is generated based on the result of detecting the occurrence of the flash band, and
A control method for an image pickup apparatus, comprising: a step of generating a moving image using a selected captured image.
蓄積タイミングの異なる第1の撮像と第2の撮像を並行して実行可能な撮像素子を備える撮像装置の制御方法であって、
前記第2の撮像を前記第1の撮像よりも高速なフレームレートに設定して、前記第1の撮像と前記第2の撮像を実行するステップと、
前記第1の撮像と前記第2の撮像により得られた撮像画像を記憶手段に記憶するステップと、
前記第2の撮像により得られて前記記憶手段に記憶された撮像画像におけるフラッシュバンドの発生を検出するステップと、
前記フラッシュバンドの発生を検出した結果に基づいて前記第1の撮像により得られたフラッシュバンドの発生した撮像画像と前記第2の撮像により得られたフラッシュバンドの発生した画像とを加算した撮像画像を生成するステップと、
前記第1の撮像により得られたフラッシュバンドの発生していない撮像画像と前記加算により生成された撮像画像を用いて動画を生成するステップと、を有することを特徴とする撮像装置の制御方法。
It is a control method of an image pickup device provided with an image pickup element capable of performing a first image pickup and a second image pickup having different accumulation timings in parallel.
A step of setting the second image pickup to a frame rate faster than that of the first image pickup and executing the first image pickup and the second image pickup.
A step of storing the captured image obtained by the first image pickup and the second image pickup in the storage means,
A step of detecting the occurrence of a flash band in the captured image obtained by the second imaging and stored in the storage means, and
Based on the result of detecting the generation of the flash band, the captured image obtained by adding the captured image obtained by the first imaging and the generated image of the flash band obtained by the second imaging is added. And the steps to generate
A control method for an image pickup apparatus, comprising: a captured image in which a flash band is not generated obtained by the first imaging and a step of generating a moving image using the captured image generated by the addition.
請求項12又は13に記載の撮像装置の制御方法をコンピュータに実行させることを特徴とするプログラム。
A program comprising causing a computer to execute the control method of the image pickup apparatus according to claim 12 or 13.
JP2018058225A 2018-03-26 2018-03-26 Imaging device and its control method and program Active JP7034792B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018058225A JP7034792B2 (en) 2018-03-26 2018-03-26 Imaging device and its control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018058225A JP7034792B2 (en) 2018-03-26 2018-03-26 Imaging device and its control method and program

Publications (2)

Publication Number Publication Date
JP2019169925A JP2019169925A (en) 2019-10-03
JP7034792B2 true JP7034792B2 (en) 2022-03-14

Family

ID=68107602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018058225A Active JP7034792B2 (en) 2018-03-26 2018-03-26 Imaging device and its control method and program

Country Status (1)

Country Link
JP (1) JP7034792B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011259406A (en) 2010-05-10 2011-12-22 Panasonic Corp Imaging apparatus, external flash light correction method, program, and integrated circuit
JP2015177302A (en) 2014-03-14 2015-10-05 キヤノン株式会社 Imaging device and control method therefor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011259406A (en) 2010-05-10 2011-12-22 Panasonic Corp Imaging apparatus, external flash light correction method, program, and integrated circuit
JP2015177302A (en) 2014-03-14 2015-10-05 キヤノン株式会社 Imaging device and control method therefor

Also Published As

Publication number Publication date
JP2019169925A (en) 2019-10-03

Similar Documents

Publication Publication Date Title
JP4618100B2 (en) Imaging apparatus, imaging method, and program
JP6278713B2 (en) Imaging apparatus and imaging method
JP6370207B2 (en) Imaging apparatus, image processing apparatus, imaging method, and program
US9277135B2 (en) Image-pickup apparatus, control method for the same, and non-transitory computer-readable storage medium
US9706131B2 (en) Image combining apparatus for generating a combined image from a plurality of images, image combining system, and image combining method
JP2006050337A (en) Imaging apparatus, imaging method, and imaging control program
JP2010074313A (en) Imaging apparatus and method for controlling the same
JP6351271B2 (en) Image composition apparatus, image composition method, and program
JP6250098B2 (en) Imaging apparatus and imaging method
US10009547B2 (en) Image pickup apparatus that compensates for flash band, control method therefor, and storage medium
JP2009296434A (en) Imaging device
JP6261397B2 (en) Imaging apparatus and control method thereof
JP6393091B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP2017038174A (en) Imaging device, control method and program
JP7034792B2 (en) Imaging device and its control method and program
JP2012095116A (en) Imaging device and control method of the same
US10594912B2 (en) Flash band determination device for detecting flash band, method of controlling the same, storage medium, and image pickup apparatus
JP6631589B2 (en) Imaging device
JP5404217B2 (en) Imaging apparatus and control method thereof
JP2007129328A (en) Imaging apparatus
JP6601062B2 (en) Imaging control apparatus, imaging control method, and program
JP2016092708A (en) Image pickup device, interval shooting method and program
JP2015050539A (en) Imaging device
JP2014127770A (en) Imaging apparatus
JP2006157192A (en) Defective pixel correction apparatus and defective pixel correction method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220111

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220302

R151 Written notification of patent or utility model registration

Ref document number: 7034792

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151