JP6278729B2 - Imaging apparatus, control method thereof, and program - Google Patents

Imaging apparatus, control method thereof, and program Download PDF

Info

Publication number
JP6278729B2
JP6278729B2 JP2014029561A JP2014029561A JP6278729B2 JP 6278729 B2 JP6278729 B2 JP 6278729B2 JP 2014029561 A JP2014029561 A JP 2014029561A JP 2014029561 A JP2014029561 A JP 2014029561A JP 6278729 B2 JP6278729 B2 JP 6278729B2
Authority
JP
Japan
Prior art keywords
image
gain
focus detection
exposure
imaging
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.)
Expired - Fee Related
Application number
JP2014029561A
Other languages
Japanese (ja)
Other versions
JP2015154447A (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 JP2014029561A priority Critical patent/JP6278729B2/en
Publication of JP2015154447A publication Critical patent/JP2015154447A/en
Application granted granted Critical
Publication of JP6278729B2 publication Critical patent/JP6278729B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)
  • Studio Devices (AREA)

Description

本発明は、例えばデジタルカメラやデジタルビデオカメラ等の撮像装置に関し、特に連続撮像した複数の画像を合成する機能を有する撮像装置に関する。   The present invention relates to an imaging apparatus such as a digital camera or a digital video camera, and more particularly to an imaging apparatus having a function of synthesizing a plurality of continuously captured images.

デジタルカメラ等の撮像装置では、動画撮影記録時に撮像素子のフレームレートを記録フレームレートとして記録するか、或いは高いフレームレートで撮像した画像を低いフレームレートで記録して決定的な瞬間をスロー再生するものがある。また、連続撮像した複数の画像の出力を合成して記録する技術が開示されている。   In an imaging device such as a digital camera, the frame rate of the image sensor is recorded as a recording frame rate during moving image recording or recording, or an image captured at a high frame rate is recorded at a low frame rate and a decisive moment is slowly reproduced. There is something. Also disclosed is a technique for synthesizing and recording outputs of a plurality of images that are continuously captured.

例えば、時系列的に連続撮像した複数の画像を合成する際、被写体の変化、或いは被写体に対する撮像条件の変化に応じて合成の有無を判定する画像処理方法が提案されている(特許文献1)。   For example, an image processing method has been proposed in which, when a plurality of images that are continuously captured in time series are combined, the presence or absence of the combination is determined in accordance with the change in the subject or the change in the imaging condition for the subject (Patent Document 1). .

この提案では、露光時間を長秒・短秒と交互に変更しながら連続撮像して各画像を合成することにより、ダイナミックレンジの広い動画(以下、HDR動画という)や表示用画像を生成することが可能である。また、被写体の状況に応じて合成・非合成を切り替えれば、HDR動画と通常(非合成)動画を記録中に動的に切り替えることも可能である。   In this proposal, a moving image with a wide dynamic range (hereinafter referred to as an HDR moving image) and a display image are generated by continuously capturing and synthesizing each image while alternately changing the exposure time between long seconds and short seconds. Is possible. Further, if the composition / non-composition is switched according to the state of the subject, it is also possible to dynamically switch between the HDR moving image and the normal (non-combined) moving image during recording.

また、被写体までの距離と輝度によって背景抽出を行い、被写体と比較して所定以上の輝度差がある場合には、HDR動画の撮影を実施する技術が提案されている(特許文献2)。   Further, a technique has been proposed in which background extraction is performed based on the distance to the subject and the luminance, and when there is a luminance difference greater than or equal to a predetermined value compared to the subject, HDR video shooting is performed (Patent Document 2).

特開2007−36742号公報JP 2007-36742 A 特開2005−142953号公報JP 2005-142953 A

ところで、上記特許文献1及び2では、焦点検出(測距)をする際にコントラスト測定を行うが、撮像素子の出力信号からコントラスト測定値を取得してコントラスト測定を実施する場合に問題が生じる。   In Patent Documents 1 and 2, contrast measurement is performed when focus detection (ranging) is performed. However, there is a problem when contrast measurement is performed by acquiring a contrast measurement value from an output signal of an image sensor.

即ち、HDR動画の撮影においては、全てのフレームで適正な露光時間で撮影していないため、コントラスト測定値が信頼できない場合があり、焦点検出結果の信頼性が低下する。また、適正露光のフレームのみでコントラスト測定を実施すれば、焦点検出にかかる時間が長くなる。   That is, in HDR moving image shooting, since all frames are not shot with an appropriate exposure time, the contrast measurement value may not be reliable, and the reliability of the focus detection result decreases. Further, if the contrast measurement is performed only with the frame of proper exposure, the time required for focus detection becomes longer.

そこで、本発明は、HDR画像の表示中やHDR画像の撮影中に信頼性の高い焦点検出結果を短時間で取得することができる仕組みを提供することを目的とする。   Therefore, an object of the present invention is to provide a mechanism that can acquire a highly reliable focus detection result in a short time during display of an HDR image or shooting of an HDR image.

上記目的を達成するために、本発明の撮像装置は、被写体を時系列的に連続撮像する撮像手段と、前記撮像手段から出力される複数の露出が異なる画像データを合成して出力する画像合成手段と、前記撮像手段の露出を制御する露出制御手段と、前記画像データから焦点検出を行う焦点検出手段と、前記画像合成手段に出力する画像に対して第1のゲインをかける第1のゲイン手段と、前記焦点検出手段に出力する画像に対して第2のゲインをかける第2のゲイン手段と、前記第1のゲインと前記第2のゲインを異ならせ、前記焦点検出手段に出力する複数の露出が異なる画像の明るさが、画像から求まる適正露光に対応する明るさとなるように前記第2のゲインを制御する制御手段と、を備えることを特徴とする。   In order to achieve the above object, an imaging apparatus according to the present invention combines an imaging unit that continuously images a subject in time series and a plurality of image data output from the imaging unit with different exposures and outputs the synthesized image data. Means, exposure control means for controlling the exposure of the imaging means, focus detection means for performing focus detection from the image data, and a first gain for applying a first gain to the image output to the image composition means And a second gain means for applying a second gain to the image output to the focus detection means, and a plurality of the first gain and the second gain that are different from each other and output to the focus detection means. Control means for controlling the second gain so that the brightness of images having different exposures is the brightness corresponding to the appropriate exposure obtained from the images.

本発明によれば、HDR画像の表示中やHDR画像の撮影中に信頼性の高い焦点検出結果を短時間で取得することができる。   According to the present invention, a highly reliable focus detection result can be acquired in a short time during display of an HDR image or shooting of an HDR image.

本発明の撮像装置の実施形態の一例であるデジタルカメラの構成例を示すブロック図である。It is a block diagram which shows the structural example of the digital camera which is an example of embodiment of the imaging device of this invention. HDR動画撮影時の画像合成処理を示すフローチャート図である。It is a flowchart figure which shows the image composition process at the time of HDR moving image photography. 図2のステップS205における露出の異なる3種類の画像の合成比率のテーブルを示すグラフ図である。It is a graph which shows the table of the synthetic | combination ratio of three types of images from which exposure differs in step S205 of FIG. 適正画像、アンダー画像及びオーバー画像の合成処理とAF評価値との関係を説明するための図である。It is a figure for demonstrating the relationship between the synthesis process of an appropriate image, an under image, and an over image, and AF evaluation value. HDR動画撮影時の露出制御の一例を示すフローチャート図である。It is a flowchart figure which shows an example of the exposure control at the time of HDR moving image photography. 図5のステップS504での焦点検出用の露出制御の一例を示すフローチャート図である。FIG. 6 is a flowchart illustrating an example of exposure control for focus detection in step S504 in FIG. 5. 図5のステップS503での通常の露出制御の一例を示すフローチャート図である。It is a flowchart figure which shows an example of normal exposure control in step S503 of FIG. (a)は焦点検出用の露出制御において撮像素子からアンダー画像が出力された場合の処理を示すフローチャート図、(b)は焦点検出用の露出制御において撮像素子から適正画像が出力された場合の処理を示すフローチャート図である。(c)は、焦点検出用の露出制御において撮像素子からオーバー画像が出力された場合の処理を示すフローチャート図である。(A) is a flowchart showing processing when an under image is output from an image sensor in exposure control for focus detection, and (b) is a case where an appropriate image is output from the image sensor in exposure control for focus detection. It is a flowchart figure which shows a process. FIG. 6C is a flowchart illustrating processing when an over image is output from the image sensor in exposure control for focus detection.

以下、図面を参照して、本発明の実施形態の一例を説明する。   Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の撮像装置の実施形態の一例であるデジタルカメラの構成例を示すブロック図である。   FIG. 1 is a block diagram illustrating a configuration example of a digital camera which is an example of an embodiment of an imaging apparatus of the present invention.

図1に示すように、本実施形態のデジタルカメラ100は、ズームレンズ110、像ブレ補正レンズ111、フォーカスレンズ112、メカニカルシャッタ113、及び絞り114を有する。撮像素子115は、被写体を時系列的に連続撮像し、レンズ110〜112、メカニカルシャッタ113、及び絞り114を通過した被写体光を電気信号に光電変換して画像処理部117に出力する。タイミング発生器116は、撮像素子115の駆動及びサンプリングに必要なタイミングパルスを発生する。   As shown in FIG. 1, the digital camera 100 of this embodiment includes a zoom lens 110, an image blur correction lens 111, a focus lens 112, a mechanical shutter 113, and a diaphragm 114. The image sensor 115 continuously captures a subject in time series, photoelectrically converts subject light that has passed through the lenses 110 to 112, the mechanical shutter 113, and the aperture 114 into an electrical signal and outputs the electrical signal to the image processing unit 117. The timing generator 116 generates timing pulses necessary for driving and sampling the image sensor 115.

画像処理部117は、前処理回路、AF評価値演算回路、輝度積分回路、信号処理回路、SSG回路、画像合成回路、縮小回路、ラスタブロック変換回路、及び圧縮回路を有し、撮像出力となるデジタル出力を受信する。   The image processing unit 117 includes a preprocessing circuit, an AF evaluation value calculation circuit, a luminance integration circuit, a signal processing circuit, an SSG circuit, an image synthesis circuit, a reduction circuit, a raster block conversion circuit, and a compression circuit, and serves as an imaging output. Receive digital output.

SSG回路は、撮像駆動用の同期信号を生成する。また、SSG回路では、タイミング発生器116から撮像駆動用のクロックを受けて、水平及び垂直同期信号を生成し、タイミング発生器116と撮像素子115に出力する。   The SSG circuit generates an imaging drive synchronization signal. Further, the SSG circuit receives an imaging drive clock from the timing generator 116, generates horizontal and vertical synchronization signals, and outputs them to the timing generator 116 and the imaging device 115.

前処理回路は、入力画像を行単位で輝度積分回路と信号処理回路とに分配する。また、前処理回路は、撮像データに必要となるチャネル間のデータ補正等の処理を行う。   The preprocessing circuit distributes the input image to the luminance integration circuit and the signal processing circuit in units of rows. Further, the preprocessing circuit performs processing such as data correction between channels necessary for imaging data.

AF評価値演算回路は、設定された複数の評価領域内に入力される画像信号の輝度成分について水平方向のフィルタ処理を施し、コントラストを表す所定周波数を抽出しながら最大値を選択し、垂直方向に積分演算を行う。   The AF evaluation value calculation circuit performs horizontal filtering on the luminance component of the image signal input in the set plurality of evaluation areas, selects the maximum value while extracting a predetermined frequency representing the contrast, and selects the vertical direction Perform the integral operation.

輝度積分回路は、RGB信号から輝度成分を混合生成し、入力画像を複数領域に分割し、領域毎に輝度成分を生成する。   The luminance integration circuit mixes and generates luminance components from the RGB signals, divides the input image into a plurality of regions, and generates a luminance component for each region.

信号処理回路は、撮像素子115の出力データに色キャリア除去、アパーチャー補正、ガンマ補正処理等を行って輝度信号を生成する。同時に、信号処理回路は、色補間、マトリックス変換、ガンマ処理、ゲイン調整等を施して色差信号を生成し、メモリ部123にYUV形式の画像データを形成する。また、信号処理回路では、生成するYUV形式の画像データの輝度信号(Y)をそのレベル毎に集計し、画像データ毎の輝度分布データを生成する。   The signal processing circuit performs color carrier removal, aperture correction, gamma correction processing, and the like on the output data of the image sensor 115 to generate a luminance signal. At the same time, the signal processing circuit performs color interpolation, matrix conversion, gamma processing, gain adjustment, and the like to generate a color difference signal, and forms YUV format image data in the memory unit 123. In the signal processing circuit, the luminance signals (Y) of the YUV format image data to be generated are tabulated for each level, and luminance distribution data for each image data is generated.

画像合成回路は、メモリ部123に形成された複数のRGB形式の撮像画像、或いはその撮像画像に対して信号処理を施した複数のYUV形式の画像データを入力し、画像データに対し画素単位で設定された係数を乗じて加算することにより合成画像を生成する。   The image synthesizing circuit inputs a plurality of RGB-format captured images formed in the memory unit 123 or a plurality of YUV-format image data obtained by performing signal processing on the captured images. A composite image is generated by multiplying and adding the set coefficient.

縮小回路は、信号処理回路の出力に基づき、入力される画素データの切り出し、間引き及び線形補間処理等を行い、水平垂直方向に画素データの縮小処理を施す。   Based on the output of the signal processing circuit, the reduction circuit performs extraction, thinning, linear interpolation processing, and the like of input pixel data, and performs pixel data reduction processing in the horizontal and vertical directions.

縮小回路での縮小処理を受けて、ラスタブロック変換回路では、縮小回路で変倍されたラスタスキャン画像データをブロックスキャン画像データに変換する。こうした一連の画像処理は、メモリ部123がバッファメモリとして用いられることで実現される。   In response to the reduction processing by the reduction circuit, the raster block conversion circuit converts the raster scan image data scaled by the reduction circuit into block scan image data. Such a series of image processing is realized by using the memory unit 123 as a buffer memory.

圧縮回路は、バッファメモリでブロックスキャン画像データに変換したYUV画像データを動画圧縮方式に従って圧縮して、動画ビットストリームを出力する。   The compression circuit compresses the YUV image data converted into the block scan image data by the buffer memory according to the moving image compression method, and outputs a moving image bit stream.

露出制御部118は、メカニカルシャッタ113、及び絞り114の駆動を制御する。レンズ駆動部119は、ズームレンズ110、及びフォーカスレンズ112を光軸に沿って移動させ、被写体像を撮像素子115上に結像させる。また、レンズ駆動部119は、角速度センサと加速度センサの出力に対応して像ブレ補正レンズ111を駆動し、手ブレを光学的に補正する。レリーズスイッチ120は、レリーズボタンの操作に対応して撮影指示を行う。   The exposure control unit 118 controls driving of the mechanical shutter 113 and the diaphragm 114. The lens driving unit 119 moves the zoom lens 110 and the focus lens 112 along the optical axis to form a subject image on the image sensor 115. The lens driving unit 119 drives the image blur correction lens 111 corresponding to the outputs of the angular velocity sensor and the acceleration sensor, and optically corrects camera shake. The release switch 120 issues a shooting instruction corresponding to the operation of the release button.

システム制御部121は、CPUとそのインタフェース回路、DMAC(Direct・Memory・Access・Controller)、バスアービター等で構成され、カメラ100全体の制御を司る。CPUが実行するプログラムは、フラッシュメモリ122に記憶されている。また、メモリ部123は、DRAM等で構成され、各処理途中のデータを一時保存する他、フラッシュメモリ122内のプログラムが展開されて使用される。   The system control unit 121 includes a CPU and its interface circuit, a DMAC (Direct Memory Access Controller), a bus arbiter, and the like, and controls the entire camera 100. A program executed by the CPU is stored in the flash memory 122. The memory unit 123 is composed of a DRAM or the like, and temporarily stores data in the middle of each process. In addition, the program in the flash memory 122 is expanded and used.

I/F部124は、記録媒体200とのインタフェースである。コネクタ125には、記録媒体200のコネクタ203が接続される。記録媒体着脱検知スイッチ126は、記録媒体200の着脱を検出する。マイクロフォン127は、入力された音声を音声信号に変換する。A/D変換器128は、マイクロフォン127の音声出力をデジタル音声信号に変換する。音声処理部129は、デジタル音声データに所定の音声処理を施し、音声ビットストリームを出力する。   The I / F unit 124 is an interface with the recording medium 200. A connector 203 of the recording medium 200 is connected to the connector 125. The recording medium attachment / detachment detection switch 126 detects attachment / detachment of the recording medium 200. The microphone 127 converts the input sound into an audio signal. The A / D converter 128 converts the sound output of the microphone 127 into a digital sound signal. The audio processing unit 129 performs predetermined audio processing on the digital audio data and outputs an audio bitstream.

電源制御部130は、電池検出回路、DC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体200を含む各部へ供給する。電源部132は、一次電池、二次電池あるいはACアダプタ等から構成され、コネクタ131を介してカメラ100に接続される。動画記録スイッチ180は、動画記録開始ボタンの操作に応じて動画の記録を指示する。表示装置151は、LCD等で構成される。   The power supply control unit 130 controls the battery detection circuit and the DC-DC converter, and supplies a necessary voltage to each unit including the recording medium 200 for a necessary period. The power supply unit 132 includes a primary battery, a secondary battery, an AC adapter, or the like, and is connected to the camera 100 via a connector 131. The moving image recording switch 180 instructs to record a moving image in accordance with the operation of the moving image recording start button. The display device 151 is configured by an LCD or the like.

再生回路150は、画像処理部117で生成され、メモリ部123に記憶された画像データを表示用画像に変換して表示装置151に転送する。また、再生回路150では、YUV形式の画像データを輝度成分信号Yと変調色差成分Cとに分離し、D/A変換によりアナログ化されたY信号にLPFを施す。また、再生回路150では、D/A変換を行ったアナログC信号にBPFを施して変調色差成分の周波数成分のみを抽出する。   The reproduction circuit 150 converts the image data generated by the image processing unit 117 and stored in the memory unit 123 into a display image and transfers it to the display device 151. Further, the reproduction circuit 150 separates the YUV format image data into a luminance component signal Y and a modulated chrominance component C, and applies LPF to the Y signal analogized by D / A conversion. Further, the reproduction circuit 150 performs BPF on the analog C signal that has been subjected to D / A conversion, and extracts only the frequency component of the modulated color difference component.

こうして生成された信号成分とサブキャリア周波数に基づいて、Y信号とRGB信号に変換生成して、表示装置151に出力される。このように、撮像素子115から出力された画像データを逐次処理して表示装置151に表示することによって、EVF(電子ビューファインダ)が実現される。   Based on the signal component thus generated and the subcarrier frequency, the signal is converted into a Y signal and an RGB signal and output to the display device 151. Thus, EVF (electronic viewfinder) is realized by sequentially processing the image data output from the image sensor 115 and displaying it on the display device 151.

被写体検出部133は、撮像素子115の出力信号から被写体像の特定の領域、例えば人物の顔の位置情報を検出する。記録媒体200は、半導体メモリ等から構成される記録部201、カメラ100とのインタフェース202、カメラ100と接続を行うコネクタ203、及び媒体記録禁止スイッチ204から構成される。   The subject detection unit 133 detects position information of a specific region of the subject image, for example, a human face, from the output signal of the image sensor 115. The recording medium 200 includes a recording unit 201 composed of a semiconductor memory, an interface 202 with the camera 100, a connector 203 for connecting to the camera 100, and a medium recording prohibition switch 204.

図2は、本実施形態のカメラ100におけるHDR動画撮影時の画像合成処理を示すフローチャート図である。図2での各処理は、フラッシュメモリ122に記憶されたプログラムがメモリ部123に展開されて、システム制御部121のCPUにより実行される。なお、HDR動画の撮影は、適正/アンダー/オーバーの3種類の露出の画像を撮影して、合成処理によってダイナミックレンジを拡大する。   FIG. 2 is a flowchart showing an image composition process at the time of HDR video shooting in the camera 100 of the present embodiment. Each process in FIG. 2 is executed by the CPU of the system control unit 121 after the program stored in the flash memory 122 is expanded in the memory unit 123. Note that HDR movie shooting is performed by shooting three types of exposure images of appropriate / under / over and expanding the dynamic range by combining processing.

図2において、ステップS201では、システム制御部121は、HDR動画の記録を開始すると、ステップS202に進む。   In FIG. 2, in step S201, the system control unit 121 proceeds to step S202 when recording of the HDR moving image is started.

ステップS202では、システム制御部121は、適正露光での露出量の画像(以下、適正画像という。)を撮影して取得し、ステップS203に進む。   In step S202, the system control unit 121 captures and acquires an image of an exposure amount with appropriate exposure (hereinafter referred to as an appropriate image), and the process proceeds to step S203.

ステップS203では、システム制御部121は、適正露出量よりアンダーの露出量で画像(以下、アンダー画像という。)を撮影して取得し、ステップS204に進む。   In step S203, the system control unit 121 captures and acquires an image (hereinafter referred to as an under image) with an underexposure amount that is less than the appropriate exposure amount, and proceeds to step S204.

ステップS204では、システム制御部121は、適正露出量よりオーバーの露出量で画像(以下、オーバー画像という。)を撮影して取得し、ステップS205に進む。   In step S204, the system control unit 121 captures and acquires an image (hereinafter referred to as an over image) with an exposure amount that is over the appropriate exposure amount, and proceeds to step S205.

ステップS205では、システム制御部121は、ステップS202〜ステップS204で取得した露出の異なる3種類の画像について、アンダー画像を基準に合成処理を行い、ステップS206に進む。なお、ここでの合成処理の詳細については、図3を用いて後述する。   In step S205, the system control unit 121 performs composition processing on the basis of the under image for the three types of images with different exposures acquired in step S202 to step S204, and the process proceeds to step S206. Details of the synthesis process here will be described later with reference to FIG.

ステップS206では、ステップS205で合成処理された画像は、撮像素子115から出力された生データ形式の状態であるため、システム制御部121は、YUV形式に現像処理を行った後、符号化処理を行い、ステップS207に進む。   In step S206, since the image synthesized in step S205 is in the state of the raw data format output from the image sensor 115, the system control unit 121 performs the development process in the YUV format and then performs the encoding process. And proceed to step S207.

ステップS207では、システム制御部121は、記録媒体200へ動画像の記録を行い、ステップS208で記録媒体200への動画像の記録終了の判断がされると、HDR動画撮影を終了する。   In step S207, the system control unit 121 records the moving image on the recording medium 200. When it is determined in step S208 that recording of the moving image on the recording medium 200 is finished, the HDR moving image shooting is ended.

図3は、図2のステップS205における露出の異なる3種類の画像の合成比率のテーブルを示すグラフ図である。本実施形態では、適正画像、アンダー画像及びオーバー画像のうち、白飛びが発生しづらいアンダー画像を基準に合成比率を決定する。   FIG. 3 is a graph showing a synthesis ratio table of three types of images with different exposures in step S205 of FIG. In the present embodiment, the composition ratio is determined based on an under image in which whiteout is difficult to occur among appropriate images, under images, and over images.

具体的には、アンダー画像について画素単位又は領域単位で輝度レベルを求め、図3に示す合成比率テーブルから、オーバー画像の合成比率α、適正画像の合成比率β、及びアンダー画像の合成比率γを決定する。そして、決定された合成比率に基づき、合成画像を次式(1)を用いて生成する。
HDR_Image[x,y] = OverImage[x,y]×α+NormalImage[x,y]×β+UnderImage[x,y]×γ…(1)
Specifically, the luminance level of the under image is obtained in units of pixels or regions, and the over image composition ratio α, the appropriate image composition ratio β, and the under image composition ratio γ are obtained from the composition ratio table shown in FIG. decide. Then, based on the determined composition ratio, a composite image is generated using the following equation (1).
HDR_Image [x, y] = OverImage [x, y] × α + NormalImage [x, y] × β + UnderImage [x, y] × γ (1)

図4は、適正画像、アンダー画像及びオーバー画像の合成処理とAF評価値との関係を説明するための図である。   FIG. 4 is a diagram for explaining the relationship between the synthesis process of the appropriate image, the under image, and the over image and the AF evaluation value.

図4に示すように、HDR動画撮影の際には、適正画像N1、アンダー画像U1及びオーバー画像O1の合成処理と、適正画像N2、アンダー画像U2、及びオーバー画像O2の合成処理とを行う。その際、それぞれの画像について、シャッタスピード(露出時間)を変更することで、露出量を変えている。   As shown in FIG. 4, in HDR video shooting, the appropriate image N1, the under image U1, and the over image O1 are combined, and the appropriate image N2, the under image U2, and the over image O2 are combined. At that time, for each image, the exposure amount is changed by changing the shutter speed (exposure time).

本実施形態では、適正画像のシャッタスピードは、1/250、アンダー画像のシャッタスピードは、1/500、オーバー画像のシャッタスピードは、1/125である。撮像素子115のフレームレートは、90fpsであり、3枚の画像を合成してHDR動画像を生成するので、動画ファイル(合成画像)のフレームレートは、30fpsとなる。   In the present embodiment, the shutter speed of the appropriate image is 1/250, the shutter speed of the under image is 1/500, and the shutter speed of the over image is 1/125. The frame rate of the image sensor 115 is 90 fps, and an HDR moving image is generated by synthesizing three images. Therefore, the frame rate of the moving image file (composite image) is 30 fps.

ところで、フォーカスレンズ112の位置を決めるための焦点検出データを取得する際、合成処理後の焦点検出データを使用すると、合成処理によってコントラストが失われるだけでなく、30fpsのフレームレートであるため、焦点検出データの取得が遅くなる。   By the way, when the focus detection data for determining the position of the focus lens 112 is acquired, if the focus detection data after the synthesis process is used, not only the contrast is lost by the synthesis process but also the frame rate is 30 fps. Acquisition of detection data is slow.

一方、全ての画像から焦点検出データを取得しようとすると、フレームレートは90fpsと速くなるが、アンダー画像及びオーバー画像から取得した焦点検出データの信頼性が低下する。   On the other hand, if focus detection data is to be acquired from all images, the frame rate increases to 90 fps, but the reliability of the focus detection data acquired from the under image and the over image decreases.

そこで、本実施形態では、システム制御部121による焦点検出データ(AF評価値)の取得時には、通常時と露出量を変更して、デジタルゲインで補うことにより、信頼性の高い焦点検出データの取得を可能にする。   Therefore, in the present embodiment, when the focus detection data (AF evaluation value) is acquired by the system control unit 121, the exposure amount is changed from that in the normal state and compensated with a digital gain, thereby acquiring highly reliable focus detection data. Enable.

図5は、カメラ100におけるHDR動画撮影時の露出制御の一例を示すフローチャート図である。図5での各処理は、フラッシュメモリ122に記憶されたプログラムがメモリ部123に展開されて、システム制御部121のCPUにより実行される。   FIG. 5 is a flowchart showing an example of exposure control at the time of HDR video shooting in the camera 100. Each process in FIG. 5 is executed by the CPU of the system control unit 121 after the program stored in the flash memory 122 is expanded in the memory unit 123.

図5において、ステップS501では、システム制御部121は、HDR動画像の撮影時に焦点検出中か否かを判定し、焦点検出中であれば、ステップS504に進み、焦点検出中でなければ、ステップS502に進む。   In FIG. 5, in step S501, the system control unit 121 determines whether or not the focus is being detected when the HDR moving image is captured. If the focus is being detected, the process proceeds to step S504. The process proceeds to S502.

ステップS502では、システム制御部121は、撮像している被写体に一定以上の動きがあるか否かを判定し、一定以上の動きがない場合は、ステップS503に進み、一定以上の動きがある場合は、ステップS504に進む。   In step S502, the system control unit 121 determines whether or not the subject being imaged has a certain amount of movement. If there is no certain amount of movement, the system control unit 121 proceeds to step S503, and if there is a certain amount of movement. Advances to step S504.

ステップS503では、システム制御部121は、通常の露出制御を実行し、ステップS505に進む。なお、通常の露出制御については、図7を用いて後述する。   In step S503, the system control unit 121 performs normal exposure control, and proceeds to step S505. Normal exposure control will be described later with reference to FIG.

ステップS504では、システム制御部121は、焦点検出用の露出制御を実行し、ステップS505に進む。なお、焦点検出用の露出制御については、図6を用いて後述する。   In step S504, the system control unit 121 executes exposure control for focus detection, and the process proceeds to step S505. The exposure control for focus detection will be described later with reference to FIG.

ステップS505では、システム制御部121は、HDR動画像の撮影が終了すると、処理を終了する。   In step S505, the system control unit 121 ends the process when shooting of the HDR moving image ends.

図6は、図5のステップS504での焦点検出用の露出制御の一例を示すフローチャート図である。   FIG. 6 is a flowchart showing an example of exposure control for focus detection in step S504 of FIG.

図6において、ステップS601では、システム制御部121は、撮像素子115の出力がアンダー画像のフレームか否かを判定し、アンダー画像の場合は、ステップS604に進み、アンダー画像でない場合は、ステップS602に進む。   In FIG. 6, in step S601, the system control unit 121 determines whether the output of the image sensor 115 is an under image frame. If the output is an under image, the system control unit 121 proceeds to step S604. Proceed to

ステップS602では、システム制御部121は、撮像素子115の出力が適正画像のフレームか否かを判定し、適正画像の場合は、ステップS605に進み、適正画像でない場合は、ステップS603に進む。   In step S602, the system control unit 121 determines whether the output of the image sensor 115 is a proper image frame. If the output is a proper image, the system control unit 121 proceeds to step S605. If the output is not a proper image, the system control unit 121 proceeds to step S603.

ステップS603では、システム制御部121は、撮像素子115の出力がオーバー画像のフレームと判定して、ステップS606に進む。   In step S603, the system control unit 121 determines that the output of the image sensor 115 is an over-image frame, and proceeds to step S606.

ステップS604では、システム制御部121は、アンダー画像の露出量を適正画像の露出量から1段アンダー(−1)に合わせ、ステップS607に進む。ここでは、絞り14の絞り値を変更すると、画像の被写界深度が変わってしまうため、撮像素子115に入力する電子シャッタのパルスを変更してシャッタスピードを変更する。   In step S604, the system control unit 121 adjusts the exposure amount of the under image to one step under (−1) from the exposure amount of the appropriate image, and proceeds to step S607. Here, if the aperture value of the aperture 14 is changed, the depth of field of the image changes, so the shutter speed is changed by changing the pulse of the electronic shutter input to the image sensor 115.

ステップS607では、システム制御部121は、動画用の画像出力(例えば表示画像)に対するデジタルゲインを等倍とし、焦点検出用の画像出力に対するデジタルゲインを2倍とする。この結果、ステップS610では、動画用の画像の露出設定は、1段アンダーになる。   In step S607, the system control unit 121 sets the digital gain for the moving image output (for example, display image) to the same magnification, and doubles the digital gain for the focus detection image output. As a result, in step S610, the exposure setting for the image for the moving image is one step lower.

ここで、動画用の画像出力に対してデジタルゲインを設定する処理は、本発明の第1のゲイン手段の一例に相当し、焦点検出用の画像出力に対してデジタルゲインを設定する処理は、本発明の第2のゲイン手段の一例に相当する。   Here, the process of setting the digital gain for the image output for moving images corresponds to an example of the first gain means of the present invention, and the process of setting the digital gain for the image output for focus detection includes This corresponds to an example of the second gain means of the present invention.

ステップS605では、システム制御部121は、適正画像の露出量(±0)として、ステップS608に進む。   In step S605, the system control unit 121 sets the exposure amount (± 0) of the appropriate image and proceeds to step S608.

ステップS608では、システム制御部121は、動画用の画像出力に対するデジタルゲインを等倍とし、焦点検出用の画像出力に対するデジタルゲインを等倍とする。この結果、ステップS611では、動画用の画像の露出設定は、適正露光となる。   In step S608, the system control unit 121 sets the digital gain for the moving image output to the same magnification and the digital gain for the focus detection image output to the same magnification. As a result, in step S611, the exposure setting of the moving image is set to appropriate exposure.

ステップS606では、システム制御部121は、オーバー画像の露出設定を適正画像の露出量(±0)として、ステップS609に進む。   In step S606, the system control unit 121 sets the over image exposure setting to an appropriate image exposure amount (± 0), and proceeds to step S609.

ステップS609では、システム制御部121は、動画用の画像出力に対するデジタルゲインを2倍とし、焦点検出用の画像出力に対するデジタルゲインを等倍とする。この結果、ステップS612では、動画用の画像は1段オーバーになる。また、最終的にステップS613において、アンダー画像、適正画像及びオーバー画像の全てのフレームで焦点検出用の露出設定は、適正露光となり、焦点検出用の露出制御を終了する。   In step S609, the system control unit 121 doubles the digital gain with respect to the moving image output and the digital gain with respect to the focus detection image output. As a result, in step S612, the moving image is one step over. Finally, in step S613, the exposure setting for focus detection is appropriate exposure in all frames of the under image, the appropriate image, and the over image, and the exposure control for focus detection ends.

図7は、図5のステップS503での通常の露出制御の一例を示すフローチャート図である。   FIG. 7 is a flowchart showing an example of normal exposure control in step S503 of FIG.

図7において、ステップS701では、システム制御部121は、撮像素子115の出力がアンダー画像のフレームかどうかを判定し、アンダー画像の場合は、ステップS704に進み、アンダー画像でない場合は、ステップS702に進む。   In FIG. 7, in step S701, the system control unit 121 determines whether the output of the image sensor 115 is a frame of an under image. If the image is an under image, the system control unit 121 proceeds to step S704. move on.

ステップS702では、システム制御部121は、撮像素子115の出力が適正画像のフレームかどうかを判定し、適正画像の場合は、ステップS705に進み、適正画像でない場合は、ステップS703に進む。   In step S702, the system control unit 121 determines whether the output of the image sensor 115 is a proper image frame. If the output is a proper image, the system control unit 121 proceeds to step S705. If the output is not a proper image, the system control unit 121 proceeds to step S703.

ステップS703では、システム制御部121は、撮像素子115の出力がオーバー画像のフレームと判定して、ステップS706に進む。   In step S703, the system control unit 121 determines that the output of the image sensor 115 is an over-image frame, and proceeds to step S706.

ステップS704では、システム制御部121は、アンダー画像の露出設定を適正画像の露出量から1段アンダーに合わせる。ここでは、絞り14を変更すると画像の被写界深度が変わってしまうため、撮像素子115に入力する電子シャッタのパルスを変更しシャッタスピードを変更する。この結果、ステップS707では、動画用の画像の露出設定は、1段アンダーになる。   In step S <b> 704, the system control unit 121 adjusts the under image exposure setting to one level under from the exposure amount of the appropriate image. Here, since changing the aperture 14 changes the depth of field of the image, the electronic shutter pulse input to the image sensor 115 is changed to change the shutter speed. As a result, in step S707, the exposure setting of the image for moving images is one step lower.

ステップS705では、システム制御部121は、適正画像の露出設定を適正露出量(±0)とする。この結果、ステップS708では、動画用の適正画像の露出設定は適正露光になる。   In step S705, the system control unit 121 sets the appropriate image exposure setting to an appropriate exposure amount (± 0). As a result, in step S708, the exposure setting of the appropriate image for the moving image becomes the appropriate exposure.

ステップS706では、システム制御部121は、オーバー画像の露出設定を1段オーバーにする。この結果、ステップS709では、動画用の画像の露出設定は1段オーバーになる。   In step S706, the system control unit 121 increases the over image exposure setting by one step. As a result, in step S709, the exposure setting of the moving image is over one step.

なお、通常の露出制御で焦点検出を行う場合には、ステップS707,S708,S709での焦点検出用の画像の露出設定は、それぞれ1段アンダー、適正、1段オーバーとなる。また、デジタルゲインは、動画用の画像及び焦点検出用の画像共に、それぞれ×1である。   When focus detection is performed by normal exposure control, the exposure settings of the focus detection images in steps S707, S708, and S709 are one step under and proper one step over, respectively. The digital gain is x1 for both the moving image and the focus detection image.

また、ステップS502で撮像する被写体が動いていない場合は、焦点検出を素早く実施する必要はないので、焦点検出時でも通常の露出制御を実施し、焦点検出は適正露光のフレームのみ、つまり3フレームに1回の割合で実施するようにしてもよい。   Further, when the subject to be imaged in step S502 is not moving, it is not necessary to quickly perform focus detection. Therefore, normal exposure control is performed even at the time of focus detection, and focus detection is performed only on a frame with proper exposure, that is, three frames. It may be carried out at a rate of once.

図8(a)は、焦点検出用の露出制御において撮像素子115からアンダー画像(動画像)が出力された場合の処理を示すフローチャート図である。   FIG. 8A is a flowchart illustrating processing when an under image (moving image) is output from the image sensor 115 in the focus detection exposure control.

図8(a)では、撮像素子115の出力画像信号をA/D変換後に電子シャッタで調整し、1段アンダーの露光量にする。その後、動画像を生成する回路に出力する画像データに対するデジタルゲインを×1として動画用の画像の露出設定を1段アンダーとする。また、AF評価値の取得用(焦点検出用)回路に出力する画像データに対するデジタルゲインを×2として焦点検出用の画像の露出設定を適正露光とする。   In FIG. 8A, the output image signal of the image sensor 115 is adjusted by an electronic shutter after A / D conversion, and the exposure amount is reduced by one step. After that, the digital gain for the image data output to the circuit for generating the moving image is set to x1, and the exposure setting for the moving image is set one step under. Also, the digital gain for the image data output to the AF evaluation value acquisition (focus detection) circuit is set to x2, and the exposure setting of the focus detection image is set to appropriate exposure.

図8(b)は、焦点検出用の露出制御において撮像素子115から適正画像(動画像)が出力された場合の処理を示すフローチャート図である。   FIG. 8B is a flowchart showing processing when a proper image (moving image) is output from the image sensor 115 in the focus detection exposure control.

図8(b)では、撮像素子115の出力画像信号をA/D変換後に電子シャッタで調整し、適正の露光量にする。その後、動画像を生成する回路に出力する画像データ、及びAF評価値の取得用(焦点検出用)回路に出力する画像データに対するデジタルゲインをそれぞれ×1として露出設定を適正露光とする。   In FIG. 8B, the output image signal of the image sensor 115 is adjusted with an electronic shutter after A / D conversion to obtain an appropriate exposure amount. Thereafter, the digital gain for the image data output to the moving image generating circuit and the image data output to the AF evaluation value acquisition (focus detection) circuit is set to x1, and the exposure setting is set to appropriate exposure.

図8(c)は、焦点検出用の露出制御において撮像素子115からオーバー画像(動画像)が出力された場合の処理を示すフローチャート図である。   FIG. 8C is a flowchart showing processing when an over image (moving image) is output from the image sensor 115 in the exposure control for focus detection.

図8(c)の焦点検出用の露出制御では、撮像素子115の信号をA/D変換後に電子シャッタで調整し、適正の露光量にする。その後、動画像を生成する回路に出力する画像データに対するデジタルゲインを×2として動画用の画像の露出設定を1段オーバーとする。また、AF評価値の取得用(焦点検出用)回路に出力する画像データに対するデジタルゲインを×1として焦点検出用の画像の露出設定を適正露光とする。   In the exposure control for focus detection in FIG. 8C, the signal of the image sensor 115 is adjusted by an electronic shutter after A / D conversion to obtain an appropriate exposure amount. Thereafter, the digital gain for the image data to be output to the circuit for generating the moving image is set to x2, and the exposure setting of the moving image is set one step over. Also, the digital gain for the image data output to the AF evaluation value acquisition (focus detection) circuit is set to x1, and the exposure setting of the focus detection image is set to appropriate exposure.

なお、図8(c)での括弧内の数値は、通常の露出制御での値である。オートフォーカス動作を実施していない場合には、撮像素子115の出力画像信号(オーバー画像)をA/D変換後に電子シャッタで調整し、1段オーバーの露光量にする。   Note that the numerical values in parentheses in FIG. 8C are values in normal exposure control. When the autofocus operation is not performed, the output image signal (over image) of the image sensor 115 is adjusted by the electronic shutter after A / D conversion, and the exposure amount is increased by one step.

その後、動画像を生成する回路に出力する画像データに対するデジタルゲインを×1として動画用の画像の露出設定を1段オーバーとする。即ち、A/D変換後に電子シャッタで露光量を調整する際は、オーバー画像を生成するフレームのみ通常時と焦点検出時とで異なる露出制御を行うことになる。   Thereafter, the digital gain for the image data to be output to the circuit for generating the moving image is set to x1, and the exposure setting of the moving image is set one step over. In other words, when adjusting the exposure amount with the electronic shutter after A / D conversion, different exposure control is performed for normal and focus detection only for frames in which an over image is generated.

以上説明したように、本実施形態では、HDR動画像の表示中やHDR動画像の撮影中に信頼性の高い焦点検出結果を短時間で取得することができる。   As described above, in the present embodiment, a highly reliable focus detection result can be acquired in a short time during display of an HDR moving image or shooting of an HDR moving image.

なお、本発明は、上記実施形態に例示したものに限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。   In addition, this invention is not limited to what was illustrated to the said embodiment, In the range which does not deviate from the summary of this invention, it can change suitably.

例えば、上記実施形態では、撮像素子115の任意の画素のデータを焦点検出用のデータとして使用する場合を例示したが、これに限定されない。   For example, in the above embodiment, the case where data of an arbitrary pixel of the image sensor 115 is used as focus detection data is illustrated, but the present invention is not limited to this.

即ち、撮像素子115に焦点検出用の特定画素が配置されている場合には、通常の画素の出力に対しては通常の露出制御とデジタルゲインを施し、焦点検出用の画素の出力に対しては焦点検出用の露出制御とデジタルゲインを施すようにしてもよい。   That is, when a specific pixel for focus detection is arranged on the image sensor 115, normal exposure control and digital gain are applied to the output of the normal pixel, and the output of the focus detection pixel is applied. May perform exposure control and digital gain for focus detection.

また、上記実施形態では、動画撮影を例示したが、静止画撮影前にレリーズボタンが押された撮影待機状態での焦点検出にも本発明を適用可能である。   In the above-described embodiment, moving image shooting is exemplified. However, the present invention can also be applied to focus detection in a shooting standby state in which a release button is pressed before still image shooting.

また、上記実施形態では、撮像装置としてデジタルカメラを例示したが、これに限定されない。   Moreover, although the digital camera was illustrated as an imaging device in the said embodiment, it is not limited to this.

例えば、撮像素子を有する携帯電話端末や携帯型の画像ビューワ、カメラを備えるテレビ、デジタルフォトフレーム、音楽プレーヤ、ゲーム機、電子ブックリーダなどの撮像可能な装置に本発明を適用可能である。   For example, the present invention can be applied to a device capable of imaging such as a mobile phone terminal having an image sensor, a portable image viewer, a television with a camera, a digital photo frame, a music player, a game machine, and an electronic book reader.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。ネットワーク又は各種記憶媒体を介して取得したソフトウェア(プログラム)をパーソナルコンピュータ(CPU,プロセッサ)にて実行することでも実現できる。   The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed. It can also be realized by executing software (program) acquired via a network or various storage media on a personal computer (CPU, processor).

100 デジタルカメラ
115 撮像素子
117 画像処理部
118 露出制御部
120 レリーズスイッチ
121 システム制御部
122 フラッシュメモリ
123 メモリ部
133 被写体検出部
150 再生回路
151 表示装置
180 動画記録スイッチ
DESCRIPTION OF SYMBOLS 100 Digital camera 115 Image pick-up element 117 Image processing part 118 Exposure control part 120 Release switch 121 System control part 122 Flash memory 123 Memory part 133 Subject detection part 150 Playback circuit 151 Display apparatus 180 Movie recording switch

Claims (7)

被写体を時系列的に連続撮像する撮像手段と、
前記撮像手段から出力される複数の露出が異なる画像データを合成して出力する画像合成手段と、
前記撮像手段の露出を制御する露出制御手段と、
前記画像データから焦点検出を行う焦点検出手段と、
前記画像合成手段に出力する画像に対して第1のゲインをかける第1のゲイン手段と、
前記焦点検出手段に出力する画像に対して第2のゲインをかける第2のゲイン手段と、
前記第1のゲインと前記第2のゲインを異ならせ、前記焦点検出手段に出力する複数の露出が異なる画像の明るさが、画像から求まる適正露光に対応する明るさとなるように前記第2のゲインを制御する制御手段と、を備えることを特徴とする撮像装置。
Imaging means for continuously imaging a subject in time series;
Image combining means for combining and outputting a plurality of image data with different exposures output from the imaging means;
Exposure control means for controlling exposure of the imaging means;
Focus detection means for performing focus detection from the image data;
First gain means for applying a first gain to an image output to the image composition means;
Second gain means for applying a second gain to the image output to the focus detection means;
The first gain and the second gain are different from each other, and the brightness of an image with different exposures output to the focus detection unit is the brightness corresponding to the appropriate exposure obtained from the image. An image pickup apparatus comprising: control means for controlling a gain.
前記制御手段は、前記焦点検出手段での焦点検出が実施されているか否かを判定するとともに、前記焦点検出手段での焦点検出が実施されていると判定した場合に、前記露出制御手段で制御する露出設定を変更することを特徴とする請求項1に記載の撮像装置。   The control means determines whether or not focus detection is performed by the focus detection means, and when it is determined that focus detection is performed by the focus detection means, the control is performed by the exposure control means. The imaging apparatus according to claim 1, wherein an exposure setting to be changed is changed. 前記制御手段は、前記露出制御手段で制御する露出設定を、前記撮像手段の出力画像が前記適正露光よりオーバーで露光している場合のみ変更することを特徴とする請求項1又は2に記載の撮像装置。   3. The control unit according to claim 1, wherein the control unit changes an exposure setting controlled by the exposure control unit only when an output image of the imaging unit is overexposed than the appropriate exposure. 4. Imaging device. 被写体検出手段を有し、
前記制御手段は、前記被写体検出手段で検出した被写体に一定以上の動きがない場合には、前記露出制御手段で制御する露出設定、及び前記第2のゲインを変更することなく、前記撮像手段の出力画像が前記適正露光である場合のみ前記焦点検出手段を動作させることを特徴とする請求項1乃至3のいずれか一項に記載の撮像装置。
Subject detection means,
When the subject detected by the subject detection unit does not move beyond a certain level, the control unit does not change the exposure setting controlled by the exposure control unit and the second gain without changing the second gain. 4. The imaging apparatus according to claim 1, wherein the focus detection unit is operated only when an output image is the appropriate exposure. 5.
前記焦点検出手段は、前記画像データからコントラストを抽出して焦点検出を行うことを特徴とする請求項1乃至4のいずれか一項に記載の撮像装置。 The imaging apparatus according to claim 1, wherein the focus detection unit performs focus detection by extracting contrast from the image data. 被写体を時系列的に連続撮像する撮像ステップと、
前記撮像ステップで出力される複数の露出が異なる画像データを合成して出力する画像合成ステップと、
前記撮像ステップでの露出を制御する露出制御ステップと、
前記画像データから焦点検出を行う焦点検出ステップと、
前記画像合成ステップで用いる画像に対して第1のゲインをかける第1のゲイン設定ステップと、
前記焦点検出ステップで用いる画像に対して第2のゲインをかける第2のゲイン設定ステップと、
前記第1のゲインと前記第2のゲインを異ならせ、前記焦点検出ステップで用いる複数の露出が異なる画像の明るさが、画像から求まる適正露光に対応する明るさとなるように前記第2のゲインを制御する制御ステップと、を備えることを特徴とする撮像装置の制御方法。
An imaging step of continuously imaging a subject in time series;
An image synthesis step of synthesizing and outputting a plurality of image data with different exposures output in the imaging step;
An exposure control step for controlling exposure in the imaging step;
A focus detection step of performing focus detection from the image data;
A first gain setting step of applying a first gain to an image used in the image synthesis step;
A second gain setting step of applying a second gain to the image used in the focus detection step;
The first gain and the second gain are different from each other, and the second gain is set so that the brightness of an image having different exposures used in the focus detection step corresponds to an appropriate exposure obtained from the image. And a control step for controlling the imaging device.
被写体を時系列的に連続撮像する撮像ステップと、
前記撮像ステップで出力される複数の露出が異なる画像データを合成して出力する画像合成ステップと、
前記撮像ステップでの露出を制御する露出制御ステップと、
前記画像データから焦点検出を行う焦点検出ステップと、
前記画像合成ステップで用いる画像に対して第1のゲインをかける第1のゲイン設定ステップと、
前記焦点検出ステップで用いる画像に対して第2のゲインをかける第2のゲイン設定ステップと、
前記第1のゲインと前記第2のゲインを異ならせ、前記焦点検出ステップで用いる複数の露出が異なる画像の明るさが、画像から求まる適正露光に対応する明るさとなるように前記第2のゲインを制御する制御ステップと、をコンピュータに実行させることを特徴とするプログラム。
An imaging step of continuously imaging a subject in time series;
An image synthesis step of synthesizing and outputting a plurality of image data with different exposures output in the imaging step;
An exposure control step for controlling exposure in the imaging step;
A focus detection step of performing focus detection from the image data;
A first gain setting step of applying a first gain to an image used in the image synthesis step;
A second gain setting step of applying a second gain to the image used in the focus detection step;
The first gain and the second gain are different from each other, and the second gain is set so that the brightness of an image having different exposures used in the focus detection step corresponds to an appropriate exposure obtained from the image. And a control step for controlling the program.
JP2014029561A 2014-02-19 2014-02-19 Imaging apparatus, control method thereof, and program Expired - Fee Related JP6278729B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014029561A JP6278729B2 (en) 2014-02-19 2014-02-19 Imaging apparatus, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014029561A JP6278729B2 (en) 2014-02-19 2014-02-19 Imaging apparatus, control method thereof, and program

Publications (2)

Publication Number Publication Date
JP2015154447A JP2015154447A (en) 2015-08-24
JP6278729B2 true JP6278729B2 (en) 2018-02-14

Family

ID=53896241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014029561A Expired - Fee Related JP6278729B2 (en) 2014-02-19 2014-02-19 Imaging apparatus, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP6278729B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102412591B1 (en) 2017-12-21 2022-06-24 삼성전자주식회사 Method of generating composite image using a plurality of images with different exposure values and electronic device supporting the same
CN108521518A (en) * 2018-04-12 2018-09-11 深圳市沃特沃德股份有限公司 Adjust the method and device of screen intensity
CN111050143B (en) 2018-10-11 2021-09-21 华为技术有限公司 Image shooting method and terminal equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013055434A (en) * 2011-09-02 2013-03-21 Canon Inc Imaging device
JP6039188B2 (en) * 2012-02-06 2016-12-07 キヤノン株式会社 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP2015154447A (en) 2015-08-24

Similar Documents

Publication Publication Date Title
CN102131056B (en) Image-capturing device and image-capturing method
US8325268B2 (en) Image processing apparatus and photographing apparatus
JP4943721B2 (en) Color noise removal method for image data and imaging apparatus using the method
JP2013046259A (en) Video apparatus, control method, and program
JP2010160311A (en) Imaging apparatus
KR20160029672A (en) Image capturing apparatus and control method therefor
JP2017175319A (en) Image processing apparatus, image processing method, and program
KR101721226B1 (en) digital image signal processing apparatus and method for controlling the same
JP6278729B2 (en) Imaging apparatus, control method thereof, and program
JP6118118B2 (en) Imaging apparatus and control method thereof
KR20130031176A (en) Display apparatus and method
JP2003219341A (en) Movie still camera and operation control method thereof
JP6170402B2 (en) Imaging apparatus and control method thereof
JP2013070334A (en) Image recording device, control method therefor, and control program
JP6032912B2 (en) Imaging apparatus, control method thereof, and program
JP6152009B2 (en) Imaging apparatus, imaging method, program, and recording medium
JP6147116B2 (en) Imaging apparatus, control method thereof, and control program
JP6728010B2 (en) Imaging device and method for controlling imaging device
JP2018098735A (en) Imaging apparatus and method of controlling the same
JP2011087203A (en) Imaging apparatus
JP6800693B2 (en) Imaging device and driving method of imaging device
JP5631084B2 (en) Image recording device
JP6486132B2 (en) Imaging apparatus, control method therefor, and program
JP2008271181A (en) Imaging apparatus and imaging method, reproducing device and reproducing method, and imaged image processing system
JP6635722B2 (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171127

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180116

R151 Written notification of patent or utility model registration

Ref document number: 6278729

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees