JP2019062369A - Imaging apparatus and control method thereof, electronic device and control method thereof, and program - Google Patents

Imaging apparatus and control method thereof, electronic device and control method thereof, and program Download PDF

Info

Publication number
JP2019062369A
JP2019062369A JP2017185015A JP2017185015A JP2019062369A JP 2019062369 A JP2019062369 A JP 2019062369A JP 2017185015 A JP2017185015 A JP 2017185015A JP 2017185015 A JP2017185015 A JP 2017185015A JP 2019062369 A JP2019062369 A JP 2019062369A
Authority
JP
Japan
Prior art keywords
moving image
image
frame
exposure correction
still image
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.)
Pending
Application number
JP2017185015A
Other languages
Japanese (ja)
Inventor
忠美 大野
Tadami Ono
忠美 大野
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 JP2017185015A priority Critical patent/JP2019062369A/en
Publication of JP2019062369A publication Critical patent/JP2019062369A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

To obtain a still image with proper exposure from a movie.SOLUTION: A system control unit 50 obtains a still image evaluation value from a movie being shot using a photometric method for a still image, determines a difference between a still image target value and a still image evaluation value to be an exposure correction value, and causes the determined exposure correction value to be included in meta information to be recorded in the movie for each frame. The system control unit 50 reads the meta information recorded in the same frame as the selected frame and determines the exposure correction value included in the meta information to be an exposure correction value used for exposure correction of a still image. Then, the system control unit 50 creates an exposure conversion characteristic obtained by combining exposure correction by the determined exposure correction value and tone correction by gamma characteristics and adapts the exposure conversion characteristic to the frame image to generate a still image.SELECTED DRAWING: Figure 5

Description

本発明は、動画から静止画を生成する撮像装置及びその制御方法、電子機器のその制御方法、プログラムに関する。   The present invention relates to an imaging device that generates a still image from a moving image, a control method thereof, a control method of the electronic device, and a program.

近年、4K(水平3840画素×垂直2160画素)、8K(水平7680画素×垂直4320画素)の登場により、動画の1フレーム当たりの解像度が高くなっている。そのため、動画の1フレームを静止画として切り出し、使用することが求められている。従来、予め動画撮影をして記録した動画から静止画を生成する静止画生成装置が提案されている。例えば、動画から抜き出した動画用のガンマが適応された1フレームを静止画用のガンマを適応した画像に変換する静止画生成装置が知られている(特許文献1)。また、動画記録時のホワイトバランス制御値と静止画用のホワイトバランス制御値をフレームごと記録しておき、動画からの静止画切り出し時に静止画用ホワイトバランス制御値に基づいてホワイトバランス補正を行う撮像装置も知られている(特許文献2)。   In recent years, with the advent of 4K (3840 horizontal pixels × 2160 vertical pixels) and 8K (7680 horizontal pixels × 4320 vertical pixels), the resolution per one frame of a moving image is increased. Therefore, it is required to cut out and use one frame of a moving image as a still image. Conventionally, a still image generating apparatus has been proposed which generates a still image from a moving image captured by moving image shooting in advance. For example, there is known a still image generating apparatus which converts one frame to which gamma for moving image extracted from a moving image is adapted to an image to which gamma for still image is applied (Patent Document 1). In addition, the white balance control value at the time of moving image recording and the white balance control value for a still image are recorded for each frame, and the image is subjected to white balance correction based on the still image white balance control value at the time of still image cutout from the moving image. An apparatus is also known (Patent Document 2).

特開2007−189466号公報JP 2007-189466 A 特開2010−119109号公報JP, 2010-119109, A

しかしながら、特許文献1、2の装置では、静止画撮影制御と動画撮影制御とで測光方式や目標値が異なることを考慮した静止画の生成ができない。動画撮影制御時には通常、被写体を連続的に捉え、一連の動画の流れの中で露出が急激に変化しないよう制御されるため、静止画撮影制御に比べ測光枠が変化しにくい。これに対して静止画撮影制御時には、画角中から検出した主被写体の領域の測光値が重点的に評価値に反映される。露出目標値に関しても、動画撮影制御では多少の露出変化で被写体が白飛びしてしまわないよう比較的低く設定される。これに対し、静止画撮影制御では、主被写体から重点的に取得した評価値を用い、主被写体として適正露出で撮像する制御が行われるため、通常、露出目標値は動画撮影制御に比べ高く設定される。   However, the apparatuses of Patent Documents 1 and 2 can not generate a still image in consideration of differences in photometric method and target value between still image shooting control and moving image shooting control. At the time of moving image shooting control, usually, the subject is continuously captured, and the exposure is controlled so as not to change rapidly in the flow of a series of moving images. On the other hand, at the time of still image shooting control, the photometric value of the area of the main subject detected from the angle of view is reflected in the evaluation value on a priority basis. Also with regard to the exposure target value, the moving image shooting control is set to be relatively low so that the subject is not overexposed due to a slight change in exposure. On the other hand, in still image shooting control, control is performed to capture an image with proper exposure as the main subject using the evaluation value acquired from the main subject, so the exposure target value is usually set higher than that for video shooting control. Be done.

このように、従来の装置では、動画から静止画切り出しを行った際の露出は動画撮影制御の露出制御に基づくものであり、静止画として必ずしも最適でない。また、静止画として適正な露出補正を後処理で実施しようとする場合、どの程度、露出を補正すればよいのかがわからず、動画中から適正な露出の静止画を得ることが困難であるという問題があった。   As described above, in the conventional apparatus, the exposure when the still image is cut out from the moving image is based on the exposure control of the moving image shooting control and is not necessarily optimal as the still image. In addition, when post-processing appropriate exposure correction as a still image, it is difficult to know how much exposure should be corrected, and it is difficult to obtain an appropriate still image from moving images. There was a problem.

本発明は、動画中から適正な露出の静止画を得ることを目的とする。   An object of the present invention is to obtain a still image of appropriate exposure from a moving image.

上記目的を達成するために本発明は、被写体を撮像して動画を取得する撮影手段と、前記撮影手段による動画の取得中に、前記動画から静止画用の方式を用いて被写体の明るさに関する評価値を取得する取得手段と、前記取得手段により取得された評価値と被写体の明るさに関する目標値とに基づいて露出補正値を決定する決定手段と、前記決定手段により決定された露出補正値をメタ情報に含めて前記動画中の対応するフレームごとに記録する記録手段と、前記動画中のフレームから静止画として切り出すフレームを選択する選択手段と、前記選択手段により選択されたフレームに記録されたメタ情報から露出補正値を読み出す読出手段と、前記読出手段により読み出された露出補正値に基づいて、前記選択手段により選択されたフレームの画像の露出を補正して静止画を生成する生成手段と、を有することを特徴とする。   In order to achieve the above object, the present invention relates to photographing means for picking up an image of a subject to acquire a moving image, and brightness of the subject using the method for still pictures from the moving image while acquiring the moving picture by the photographing means An acquisition means for acquiring an evaluation value, a determination means for determining an exposure correction value based on the evaluation value acquired by the acquisition means and a target value regarding the brightness of the subject, and an exposure correction value determined by the determination means Is included in the meta information and is recorded in the frame selected by the selecting means, recording means for recording for each corresponding frame in the moving picture, selecting means for selecting a frame to be cut out as a still picture from the frames in the moving picture Reading means for reading an exposure correction value from the meta information, and the frame selected by the selection means based on the exposure correction value read by the reading means And having a generating means for generating a correction to the still image exposure image.

本発明によれば、動画中から適正な露出の静止画を得ることができる。   According to the present invention, a still image of appropriate exposure can be obtained from a moving image.

撮像装置の外観図である。It is an outline view of an imaging device. カメラの内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a camera. メタ情報記録処理のフローチャートを示す図である。It is a figure which shows the flowchart of a meta-information recording process. 静止画用と動画用の各評価値の取得例を示す図である。It is a figure which shows the example of acquisition of each evaluation value for still pictures and for moving images. 画像とメタ情報の記録の各フレームに対するタイミングチャートである。It is a timing chart for each frame of recording of an image and meta information. 静止画切り出し処理のフローチャートである。It is a flowchart of a still picture extraction process. メタ情報記録処理のフローチャートを示す。5 shows a flowchart of a meta information recording process. 画像とメタ情報の記録の各フレームに対するタイミングチャートである。It is a timing chart for each frame of recording of an image and meta information. 画像とメタ情報の記録の各フレームに対するタイミングチャートである。It is a timing chart for each frame of recording of an image and meta information. 静止画切り出し処理のフローチャートである。It is a flowchart of a still picture extraction process.

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

(第1の実施の形態)
図1は、本発明の第1の実施の形態に係る撮像装置の外観図である。この撮像装置として、デジタルビデオカメラ100を例示する。このカメラ100において、表示部28は画像や各種情報を表示する。録画スイッチ61は撮影指示を行うための操作部である。モード切替スイッチ60は各種モードを切り替えるための操作部である。コネクタ112は接続ケーブルとカメラ100とを接続するコネクタである。操作部70は、ユーザからの各種操作を受け付ける各種ボタン、十字キー等の複数の操作部材から成る。電源スイッチ72は、操作されると電源オンと電源オフとが切り替わる。記録媒体200は、メモリカードやハードディスク等であり、スロット201に格納される。スロット201に格納された記録媒体200は、カメラ100の本体との通信が可能となる。
First Embodiment
FIG. 1 is an external view of an imaging device according to a first embodiment of the present invention. A digital video camera 100 is illustrated as this imaging device. In the camera 100, the display unit 28 displays an image and various information. The recording switch 61 is an operation unit for giving a photographing instruction. The mode switching switch 60 is an operation unit for switching various modes. The connector 112 is a connector for connecting the connection cable and the camera 100. The operation unit 70 includes a plurality of operation members such as various buttons and a cross key for receiving various operations from the user. The power switch 72 switches between power on and power off when operated. The recording medium 200 is a memory card, a hard disk or the like, and is stored in the slot 201. The recording medium 200 stored in the slot 201 can communicate with the main body of the camera 100.

図2は、カメラ100の内部構成を示すブロック図である。撮影レンズ103はズームレンズ、フォーカスレンズを含むレンズ群であり、被写体像を結像させる。絞り101は入射光量を調整する。ND104は減光用に使用される光学素子である。撮影手段としての撮像部22はCCDやCMOS素子等で構成される撮像素子であり、光学像を電気信号に変換する。撮像部22は、電子シャッタによる蓄積の制御のほか、アナログゲインや読み出し速度を変更する機能も備える。A/D変換器23は、撮像部22から出力されたアナログ信号をデジタル信号に変換する。バリア102は、カメラ100における撮影レンズ103を含む撮像系を覆うことにより、撮影レンズ103、絞り101、撮像部22を含む撮像系の汚れや破損を防止する。   FIG. 2 is a block diagram showing an internal configuration of the camera 100. As shown in FIG. The photographing lens 103 is a lens group including a zoom lens and a focus lens, and forms an object image. The aperture 101 adjusts the amount of incident light. The ND 104 is an optical element used for light reduction. An imaging unit 22 as an imaging unit is an imaging device configured by a CCD, a CMOS device, or the like, and converts an optical image into an electrical signal. The imaging unit 22 also has a function of changing the analog gain and the reading speed, in addition to the control of accumulation by the electronic shutter. The A / D converter 23 converts an analog signal output from the imaging unit 22 into a digital signal. The barrier 102 covers the imaging system including the imaging lens 103 in the camera 100 to prevent the contamination and damage of the imaging system including the imaging lens 103, the diaphragm 101, and the imaging unit 22.

画像処理部24は、A/D変換器23からのデータ、またはメモリ制御部15(記録手段)からのデータに対して、所定の画素補間や縮小といったリサイズ処理や、色変換処理、ガンマ補正、デジタルゲインの付加等の処理を行う。画像処理部24はまた、撮像した画像データを用いて所定の演算処理を行い、その演算結果をシステム制御部50へ送信する。システム制御部50は、送信されてきた演算結果に基づいて、露出制御、測距制御、ホワイトバランス制御等を行う。これにより、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理等が行われる。   The image processing unit 24 performs resizing processing such as predetermined pixel interpolation or reduction, color conversion processing, gamma correction, or the like on data from the A / D converter 23 or data from the memory control unit 15 (recording unit). Perform processing such as addition of digital gain. The image processing unit 24 also performs predetermined arithmetic processing using the captured image data, and transmits the calculation result to the system control unit 50. The system control unit 50 performs exposure control, distance measurement control, white balance control, and the like based on the transmitted calculation result. As a result, TTL (through the lens) AF (Auto Focus) processing, AE (Auto Exposure) processing, AWB (Auto White Balance) processing, etc. are performed.

A/D変換器23からの出力データは、画像処理部24及びメモリ制御部15を介して、或いは、メモリ制御部15を介してメモリ32に書き込まれる。メモリ32は、撮像部22によって撮像されA/D変換器23によりデジタルデータに変換された画像データや、表示部28に表示するための画像データを格納する。メモリ32は、所定時間の動画像および音声を格納するのに十分な記憶容量を備えている。また、メモリ32は画像表示用のメモリ(ビデオメモリ)を兼ねている。D/A変換器13は、メモリ32に格納されている画像表示用のデータをアナログ信号に変換して表示部28に供給する。こうして、メモリ32に書き込まれた表示用の画像データはD/A変換器13を介して表示部28により表示される。表示部28は、LCD等の表示器上に、D/A変換器13からのアナログ信号に応じた表示を行う。A/D変換器23によって一度A/D変換されメモリ32に蓄積されたデジタル信号をD/A変換器13がアナログ変換し、表示部28に逐次転送して表示部28に表示させることで、表示部28は電子ビューファインダとして機能する。これによりスルー画像表示が実現される。   Output data from the A / D converter 23 is written to the memory 32 via the image processing unit 24 and the memory control unit 15 or via the memory control unit 15. The memory 32 stores image data captured by the imaging unit 22 and converted into digital data by the A / D converter 23, and image data to be displayed on the display unit 28. The memory 32 has a sufficient storage capacity to store moving images and sounds for a predetermined time. The memory 32 also serves as a memory (video memory) for displaying an image. The D / A converter 13 converts the image display data stored in the memory 32 into an analog signal and supplies the analog signal to the display unit 28. Thus, the display image data written in the memory 32 is displayed by the display unit 28 via the D / A converter 13. The display unit 28 performs display according to the analog signal from the D / A converter 13 on a display such as an LCD. The D / A converter 13 converts the digital signal A / D converted once by the A / D converter 23 and stored in the memory 32 into an analog signal, sequentially transfers it to the display unit 28, and displays it on the display unit 28. The display unit 28 functions as an electronic view finder. Thus, through image display is realized.

不揮発性メモリ56は、電気的に消去・記録可能なメモリであり、例えばEEPROMが用いられる。不揮発性メモリ56には、システム制御部50の動作用の定数、プログラム等が記憶される。ここでいうプログラムとは、例えば、後述する各種フローチャートを実行するためのプログラムのことである。システム制御部50は、カメラ100全体を制御し、不揮発性メモリ56に記録されたプログラムを実行することで、後述する各処理を実現する。システムメモリ52にはRAMが用いられる。システムメモリ52には、システム制御部50の動作用の定数、変数、不揮発性メモリ56から読み出したプログラム等が展開される。また、システム制御部50はメモリ32、D/A変換器13、表示部28等を制御することにより表示制御も行う。システムタイマ53は、各種制御に用いる時間や、内蔵された時計の時間を計測する。モード切替スイッチ60、録画スイッチ61、操作部70は、ユーザがシステム制御部50に各種の動作指示を入力するのに用いられる。   The non-volatile memory 56 is an electrically erasable / recordable memory, and for example, an EEPROM is used. In the non-volatile memory 56, constants, programs and the like for operation of the system control unit 50 are stored. The program referred to here is, for example, a program for executing various flowcharts to be described later. The system control unit 50 controls the entire camera 100 and executes a program stored in the non-volatile memory 56 to implement each process described later. A RAM is used as the system memory 52. In the system memory 52, constants and variables for the operation of the system control unit 50, programs read out from the non-volatile memory 56, and the like are expanded. The system control unit 50 also performs display control by controlling the memory 32, the D / A converter 13, the display unit 28, and the like. The system timer 53 measures the time used for various controls and the time of the built-in clock. The mode switching switch 60, the recording switch 61, and the operation unit 70 are used by the user to input various operation instructions to the system control unit 50.

モード切替スイッチ60は、システム制御部50の動作モードを、動画記録モード、静止画記録モード、再生モード等のいずれかに切り替える。動画記録モードや静止画記録モードに含まれるモードとして、オート撮影モード、オートシーン判別モード、マニュアルモード、撮影シーン別の撮影設定となる各種シーンモード、プログラムAEモード、カスタムモード等がある。ユーザは、モード切替スイッチ60で、動画撮影モードに含まれるこれらのモードのいずれかに直接切り替えることができる。なお、ユーザがモード切替スイッチ60で動画撮影モードに一旦切り換えた後に、動画撮影モードに含まれるこれらのモードのいずれかに、他の操作部材を用いて切り替えることができるようにしてもよい。録画スイッチ61は撮影待機状態と撮影状態を切り替える。システム制御部50は、録画スイッチ61の操作に応じて、撮像部22からの信号読み出しから記録媒体200への動画データの書き込みまでの一連の動作を開始する。   The mode switching switch 60 switches the operation mode of the system control unit 50 to any one of a moving image recording mode, a still image recording mode, a reproduction mode, and the like. As modes included in the moving image recording mode and the still image recording mode, there are an auto shooting mode, an auto scene determination mode, a manual mode, various scene modes as shooting settings for each shooting scene, a program AE mode, a custom mode and the like. The user can switch directly to any of these modes included in the moving image shooting mode by the mode switching switch 60. It should be noted that after the user temporarily switches to the moving image shooting mode with the mode switching switch 60, another operation member may be used to switch to any of these modes included in the moving image shooting mode. The recording switch 61 switches between a shooting standby state and a shooting state. The system control unit 50 starts a series of operations from the signal reading from the imaging unit 22 to the writing of the moving image data to the recording medium 200 in response to the operation of the recording switch 61.

操作部70における各操作部材は、表示部28に表示される種々の機能アイコンをユーザが選択操作することなどにより、場面ごとに適宜機能が割り当てられ、各種機能ボタンとして作用する。その機能ボタンとしては例えば、終了ボタン、戻るボタン、画像送りボタン、ジャンプボタン、絞込みボタン、属性変更ボタン等がある。例えば、メニューボタンが押されると各種の設定可能なメニュー画面が表示部28に表示される。ユーザは、表示部28に表示されたメニュー画面と、上下左右4方向の十字キーやSETボタンを用いて直感的に各種設定を行うことができる。   Each operation member in the operation unit 70 is appropriately assigned a function for each scene when the user selects and operates various function icons displayed on the display unit 28, and functions as various function buttons. The function buttons include, for example, an end button, a back button, an image feed button, a jump button, a narrow-down button, and an attribute change button. For example, when the menu button is pressed, various settable menu screens are displayed on the display unit 28. The user can intuitively perform various settings using the menu screen displayed on the display unit 28 and the cross key in the up, down, left, and right directions and the SET button.

電源制御部80は、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成され、電池の装着の有無、電池の種類、電池残量の検出を行う。また、電源制御部80は、その検出結果及びシステム制御部50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体200を含む各部へ供給する。電源部30は、一次電池、二次電池またはACアダプタ等からなる。記録媒体I/F18は、メモリカードやハードディスク等の記録媒体200とのインターフェースである。記録媒体200は、撮影された画像を記録するためのメモリカード等の記録媒体であり、半導体メモリや磁気ディスク等から構成される。   The power supply control unit 80 includes a battery detection circuit, a DC-DC converter, a switch circuit for switching a block to be energized, and the like, and detects the presence or absence of a battery, the type of battery, and the battery remaining amount. Further, the power control unit 80 controls the DC-DC converter based on the detection result and an instruction of the system control unit 50, and supplies necessary voltages to the respective units including the recording medium 200 for a necessary period. The power supply unit 30 is formed of a primary battery, a secondary battery, an AC adapter or the like. The recording medium I / F 18 is an interface with the recording medium 200 such as a memory card or a hard disk. The recording medium 200 is a recording medium such as a memory card for recording a photographed image, and is formed of a semiconductor memory, a magnetic disk, or the like.

次に、本実施の形態の動作について説明する。概説すると、本実施の形態では、システム制御部50は、動画像を撮影する制御を行う際に、別途、動画制御時とは異なる静止画用の測光方式を用いて、明るさに関する静止画用の評価値(以下、静止画評価値と称する)を取得する。システム制御部50は、この静止画評価値と、動画制御用とは異なる明るさに関する静止画目標値との差分を算出し、それを、動画の各フレームに対応する静止画用の露出補正値として決定する。システム制御部50は、決定した露出補正値を、動画撮影制御によって取得した映像のフレームごとにメタ情報として記録する。さらに、システム制御部50は、映像撮影後、ユーザの操作によって記録された映像の中から、1フレームを静止画として切り出す。この静止画の切り出しにおいて、システム制御部50は、撮影時にメタ情報として記録された露出補正値を用いて露出補正を行う。   Next, the operation of the present embodiment will be described. Generally speaking, in the present embodiment, when performing control for capturing a moving image, the system control unit 50 separately uses a photometric method for a still image different from that for moving image control, for still images related to brightness. An evaluation value of (hereinafter referred to as a still image evaluation value) is acquired. The system control unit 50 calculates the difference between the still image evaluation value and the still image target value related to brightness different from that for moving image control, and uses the difference as the exposure correction value for the still image corresponding to each frame of the moving image Decide as. The system control unit 50 records the determined exposure correction value as meta information for each frame of the video acquired by the moving image shooting control. Furthermore, after capturing an image, the system control unit 50 cuts out one frame as a still image from the image recorded by the user's operation. In clipping the still image, the system control unit 50 performs exposure correction using the exposure correction value recorded as meta information at the time of shooting.

次に、露出補正値をメタ情報として記録する処理について説明する。図3は、メタ情報記録処理のフローチャートを示す図である。この処理は、システム制御部50が不揮発性メモリ56に格納されたプログラムをシステムメモリ52に展開して実行することにより実現される。この処理は、動作撮影が指示されると開始される。図3の処理において、システム制御部50は、本発明における取得手段、決定手段としての役割を果たす。まず、システム制御部50は、動画像を撮影するため、動画撮影制御を開始する(ステップS101)。   Next, processing for recording the exposure correction value as meta information will be described. FIG. 3 is a diagram showing a flowchart of the meta information recording process. This process is realized by the system control unit 50 developing a program stored in the non-volatile memory 56 in the system memory 52 and executing it. This process is started when an operation shooting is instructed. In the process of FIG. 3, the system control unit 50 serves as an acquisition unit and a determination unit in the present invention. First, the system control unit 50 starts moving image shooting control in order to capture a moving image (step S101).

図4で、静止画撮影制御と動画撮影制御との測光方法及び目標値の各違いについて説明する。図4(a)、(b)、(c)は、静止画用と動画用の各評価値の取得例を示す図である。図4において、実線が動画測光枠、点線が静止画測光枠を示している。図4(a)の例では、被写体を撮像しているとき、動画用の評価値(以下、動画評価値と称する)が67%であり、動画用の評価値の目標値である動画目標値が50%であるとする。これらの差分は67−50=17%となる。図3のステップS102で、システム制御部50は、撮影中(取得中)の動画から、静止画用の測光方式を用いて、静止画評価値を取得する。例えば、図4(a)に示すフレームの撮像データに対し、システム制御部50は、静止画用の測光方式に従って静止画評価値を取得する。この静止画評価値は、図4(a)の被写体に対し静止画測光枠を用いて取得されるかまたは、静止画測光枠で取得された測光値に所定の重み付けをして取得される。ここでは静止画評価値として82%が取得されたとする。   The differences between the photometric method and the target value between the still image shooting control and the moving image shooting control will be described with reference to FIG. FIG. 4A, FIG. 4B, and FIG. 4C are diagrams showing an example of obtaining each evaluation value for still image and moving image. In FIG. 4, a solid line indicates a moving picture metering frame, and a dotted line indicates a still picture metering frame. In the example of FIG. 4A, when the subject is imaged, the evaluation value for the moving image (hereinafter referred to as a moving image evaluation value) is 67%, and the moving image target value is a target value of the evaluation value for the moving image. Is 50%. The difference between them is 67-50 = 17%. In step S102 in FIG. 3, the system control unit 50 acquires a still image evaluation value from a moving image during shooting (during acquisition) using a photometric method for still images. For example, with respect to the imaging data of the frame shown in FIG. 4A, the system control unit 50 acquires a still image evaluation value in accordance with a photometric method for still images. The still image evaluation value is acquired for the subject in FIG. 4A using the still image metering frame, or acquired by weighting the photometric value acquired in the still image metering frame with a predetermined weight. Here, it is assumed that 82% is acquired as a still image evaluation value.

次に、ステップS103で、システム制御部50は、静止画用の目標値である静止画目標値と静止画評価値との差分(静止画目標値−静止画評価値)を算出する。図4(a)の例でいえば、静止画目標値を60%とすると、静止画目標値と静止画評価値との差分は60−82=−22%となる。次に、ステップS104で、システム制御部50は、算出した差分から、露出補正値を決定する。具体的には、システム制御部50は、差分である−22%を露出補正値として決定する。なお、差分に所定の係数を乗じたものを露出補正値として決定してもよい。同様にして、図4(b)、(c)の例ではそれぞれ、静止画用の露出補正値として、+37%、+21%が決定される。次に、ステップS105で、システム制御部50は、算出した露出補正値を、算出直後の動画像が格納されるフレームごとのデータ構造にメタ情報として記録する。すなわちシステム制御部50は、決定された露出補正値をメタ情報に含めて動画中にフレームごとに記録する。その後、図3の処理は終了する。   Next, in step S103, the system control unit 50 calculates the difference between the still image target value, which is a still image target value, and the still image evaluation value (still image target value-still image evaluation value). In the example of FIG. 4A, when the still image target value is 60%, the difference between the still image target value and the still image evaluation value is 60−82 = −22%. Next, in step S104, the system control unit 50 determines an exposure correction value from the calculated difference. Specifically, the system control unit 50 determines -22%, which is a difference, as the exposure correction value. A difference obtained by multiplying the difference by a predetermined coefficient may be determined as the exposure correction value. Similarly, in the examples of FIGS. 4B and 4C, + 37% and + 21% are determined as exposure correction values for a still image, respectively. Next, in step S105, the system control unit 50 records the calculated exposure correction value as meta information in a data structure for each frame in which a moving image immediately after calculation is stored. That is, the system control unit 50 includes the determined exposure correction value in the meta information and records it for each frame in the moving image. Thereafter, the process of FIG. 3 ends.

図5は、画像とメタ情報の記録の各フレームに対するタイミングチャートである。システム制御部50は、センサ蓄積から得た撮像データを現像し、現像結果の1フレーム分の画像をフレームに(メモリ32に)記録する。システム制御部50は、この画像から動画撮影制御、静止画撮影制御の各評価値検波を行い、それらの結果をメタ情報としてフレームデータに記録する。現像結果の画像とその画像から取得されたメタ情報とが映像中の同一フレームに記録される。システム制御部50は、動画撮影処理においては最新の動画用の露出補正値を用いて次の露出条件を決定し、撮像データを得る。露出補正値のメタ情報への記録処理は繰り返される。   FIG. 5 is a timing chart for each frame of recording of an image and meta information. The system control unit 50 develops the imaging data obtained from the sensor accumulation, and records an image of one frame of the development result in a frame (in the memory 32). The system control unit 50 performs evaluation value detection for each of moving image shooting control and still image shooting control from this image, and records the result as meta information in the frame data. The image of the development result and the meta information acquired from the image are recorded in the same frame in the video. In the moving image shooting process, the system control unit 50 determines the next exposure condition using the latest exposure correction value for moving image, and obtains imaging data. The process of recording the exposure correction value in the meta information is repeated.

次に、動画からの静止画切り出しとその露出補正の処理を説明する。図6は、静止画切り出し処理のフローチャートである。この処理は、システム制御部50が不揮発性メモリ56に格納されたプログラムをシステムメモリ52に展開して実行することにより実現される。この処理は、静止画切り出しが指示されると開始される。図6の処理において、システム制御部50は、本発明における選択手段、読出手段、生成手段としての役割を果たす。   Next, the process of extracting a still image from a moving image and its exposure correction will be described. FIG. 6 is a flowchart of still image clipping processing. This process is realized by the system control unit 50 developing a program stored in the non-volatile memory 56 in the system memory 52 and executing it. This process is started when a still image cutout is instructed. In the process of FIG. 6, the system control unit 50 serves as a selection unit, a readout unit, and a generation unit in the present invention.

まず、ステップS201で、システム制御部50は、ユーザの指示に従って、動画中のフレームから静止画として切り出すフレームを選択する。その際、例えばユーザは前述の動画記録制御によって撮影された映像を参照し、その中から静止画として切り出す所望の1フレームを選択するよう指示する。ステップS202では、システム制御部50は、選択されたフレームと同一のフレームに記録されたメタ情報を読み出し、メタ情報に含まれる露出補正値を、静止画の露出補正に用いる露出補正値として決定する。   First, in step S201, the system control unit 50 selects a frame to be cut out as a still image from frames in a moving image according to a user's instruction. At this time, for example, the user refers to the video captured by the above-described moving image recording control, and instructs to select a desired one frame from among them as a still image. In step S202, the system control unit 50 reads the meta information recorded in the same frame as the selected frame, and determines the exposure correction value included in the meta information as an exposure correction value to be used for exposure correction of a still image. .

次に、ステップS203では、システム制御部50は、決定した露出補正値による露出補正とガンマ特性による階調補正とを合わせた露出変換特性を作成する。まず、動画として記録された画像を静止画として適正露出とするために、動画撮影制御内の現像処理で用いられるガンマ特性を一度戻す必要がある。これには動画現像時のガンマ特性の逆ガンマによるガンマ処理が用いられる。また、露出補正には露出補正値が用いられる。さらに、ガンマ特性を戻した画像に対して静止画用のガンマ補正を行う必要がある。そこで、システム制御部50は、露出補正値、動画撮影用のガンマ逆特性及び静止画用のガンマ特性が反映される露出変換特性を作成する。ステップS204では、システム制御部50は、作成した露出変換特性をフレーム画像に適応させて、静止画を生成する。これにより、露出及び階調が適正な静止画が得られる。その後、図6の処理は終了する。なお、これら3つの処理はそれぞれ別々に行っても良いが、それぞれの補正値・変換特性を掛けあわせてルックアップテーブルを作成し、画像にそのルックアップテーブルを適応することで適正な静止画に変換してもよい。   Next, in step S203, the system control unit 50 creates an exposure conversion characteristic in which the exposure correction based on the determined exposure correction value and the gradation correction based on the gamma characteristic are combined. First, in order to make an image recorded as a moving image have a proper exposure as a still image, it is necessary to once return the gamma characteristic used in the development processing in the moving image shooting control. For this purpose, gamma processing using inverse gamma of gamma characteristics at the time of moving image development is used. Also, an exposure correction value is used for the exposure correction. Furthermore, it is necessary to perform gamma correction for a still image on the image whose gamma characteristic has been restored. Therefore, the system control unit 50 creates an exposure conversion characteristic in which the exposure correction value, the gamma inverse characteristic for moving image shooting, and the gamma characteristic for still image are reflected. In step S204, the system control unit 50 adapts the created exposure conversion characteristics to the frame image to generate a still image. Thereby, a still image with appropriate exposure and gradation can be obtained. Thereafter, the process of FIG. 6 ends. Although these three processes may be performed separately, a lookup table is created by multiplying each correction value and conversion characteristic, and the lookup table is applied to the image to obtain an appropriate still image. It may be converted.

以上のように、システム制御部50は、動画撮影時に静止画用の露出補正値を取得してそれをメタ情報としてフレームごとに記録する。そして動画からの静止画切り出し時には、システム制御部50は、選択されたフレームに記録されたメタ情報から露出補正値を読み出し、その露出補正値によって露出補正を行う。その結果、動画として撮影した映像中から静止画を取得する際に、適正な露出を持った静止画を得ることができる。   As described above, at the time of moving image shooting, the system control unit 50 acquires the exposure correction value for a still image and records it as meta information for each frame. Then, at the time of still image clipping from the moving image, the system control unit 50 reads the exposure correction value from the meta information recorded in the selected frame, and performs exposure correction using the exposure correction value. As a result, when acquiring a still image from a video shot as a moving image, it is possible to obtain a still image with an appropriate exposure.

本実施の形態によれば、システム制御部50は、動画の撮影中に取得した静止画評価値と静止画目標値とに基づいて露出補正値を決定し、決定された露出補正値をメタ情報に含めて動画中にフレームごとに記録する。そしてシステム制御部50は、選択されたフレームに記録されたメタ情報から露出補正値を読み出し、読み出された露出補正値に基づいて、選択されたフレームの画像の露出を補正して静止画を生成する。これにより、静止画として適正な露出補正を後処理で実施する際、どの程度、露出を補正すればよいのかがわかるので、動画中から適正な露出の静止画を得ることができる。   According to the present embodiment, the system control unit 50 determines an exposure correction value based on the still image evaluation value and the still image target value acquired during shooting of a moving image, and determines the determined exposure correction value as meta information. To record each frame in the movie. Then, the system control unit 50 reads the exposure correction value from the meta information recorded in the selected frame, corrects the exposure of the image of the selected frame based on the read exposure correction value, and displays the still image Generate As a result, when performing post-processing appropriate exposure correction as a still image, it is known how much the exposure should be corrected, so that it is possible to obtain a still image of appropriate exposure from the moving image.

(第2の実施の形態)
第1の実施の形態では、メタ情報の記録が画像フレームの記録タイミングに対して遅延なく行えることを想定したシステム構成であった。しかし、撮像システムの処理量や構成による処理の順序制限によって、メタ情報の記録または画像フレームの記録が遅延し、画像フレームの記録フレームとメタ情報の記録フレームが一致しない場合がある。本発明の第2の実施の形態では、メタ情報の記録タイミングと画像フレームの記録タイミングにずれが生じることを想定したシステム構成を説明する。第1の実施の形態に対して、図5に代えて図8及び図9を用い、図3、図6に代えて図7、図10を用いて、本実施の形態を説明する。
Second Embodiment
In the first embodiment, the system configuration assumes that the recording of the meta information can be performed without delay with respect to the recording timing of the image frame. However, the recording of the meta information or the recording of the image frame may be delayed and the recording frame of the image frame may not match the recording frame of the meta information, depending on the processing amount and configuration order of the imaging system. In the second embodiment of the present invention, a system configuration will be described on the assumption that a shift occurs in the recording timing of meta information and the recording timing of an image frame. This embodiment will be described with reference to FIGS. 8 and 9 instead of FIG. 5 and FIGS. 7 and 10 instead of FIGS. 3 and 6 in the first embodiment.

図7は、メタ情報記録処理のフローチャートを示す。この処理の実現及び開始の条件は図3の処理と同様である。システム制御部50は、ステップS301、S302では、図3のステップS101、S102と同様の処理を実行する。ステップS303では、システム制御部50は、タイミング遅延量(タイミング情報)を取得する。ここで、タイミング遅延量は、撮像システムの処理時間や構成によって決まる。タイミング遅延量は、動画のフレームの画像の記録に対するメタ情報の記録のタイミングのずれを示す量であり、タイミングのずれをフレーム単位で示す情報であるとする。   FIG. 7 shows a flowchart of the meta information recording process. The conditions for realization and start of this process are similar to the process of FIG. In steps S301 and S302, the system control unit 50 executes processing similar to that in steps S101 and S102 of FIG. In step S303, the system control unit 50 acquires a timing delay amount (timing information). Here, the timing delay amount is determined by the processing time and configuration of the imaging system. The timing delay amount is an amount that indicates a shift in recording timing of meta information with respect to the recording of an image of a moving image frame, and is information indicating a shift in timing in frame units.

図8、図9は、画像とメタ情報の記録の各フレームに対するタイミングチャートである。特に図8は、画像の記録に対してメタ情報の記録が遅延する例を示し、図9は、メタ情報の記録に対して画像の記録が遅延する例を示す。図8の例では、図5の例に比べ、検波タイミングが遅いため、画像データに対しメタ情報が1フレーム遅れて記録される。この場合、タイミング遅延量は「+1」となる。図9の例では、図5の例に比べ、現像処理が長く、メタ情報に対し画像データが1フレーム遅れて記録される。この場合、タイミング遅延量は「−1」となる。システム制御部50は、このようなタイミングチャートに従って動作する場合に対応するため、タイミング遅延量を取得し、それを静止画評価値と共にメタ情報として記録しておく。すなわち、図7のステップS304では、システム制御部50は、ステップS302で取得した静止画評価値と、ステップS303で取得したタイミング遅延量(+1や−1という情報)とを、メタ情報に含めて動画中にフレームごとに記録する。なお、タイミング遅延量はフレームごとに記録されるとするが、複数のフレームごと、例えばシーンファイルごとに1つ記録されてもよい。その後、図7の処理は終了する。   FIG. 8 and FIG. 9 are timing charts for each frame of recording of an image and meta information. In particular, FIG. 8 shows an example in which the recording of meta information is delayed with respect to the recording of an image, and FIG. 9 shows an example in which the recording of an image is delayed with respect to the recording of meta information. In the example of FIG. 8, since the detection timing is later than that of the example of FIG. 5, the meta information is recorded one frame behind the image data. In this case, the timing delay amount is “+1”. In the example of FIG. 9, the development processing is longer than that of the example of FIG. 5, and the image data is recorded one frame behind the meta information. In this case, the timing delay amount is “−1”. The system control unit 50 acquires the amount of timing delay and records it as meta information together with the still image evaluation value in order to cope with the case where the operation is performed according to such a timing chart. That is, in step S304 in FIG. 7, the system control unit 50 includes the still image evaluation value acquired in step S302 and the timing delay amount (information of +1 and −1) acquired in step S303 in the meta information. Record every frame during animation. Although the timing delay amount is recorded for each frame, it may be recorded for each of a plurality of frames, for example, for each scene file. Thereafter, the process of FIG. 7 ends.

次に、動画からの静止画切り出しとその露出補正の処理を説明する。図10は、静止画切り出し処理のフローチャートである。この処理の実現及び開始の条件は図6の処理と同様である。システム制御部50は、ステップS401では、図6のステップS201と同様の処理を実行する。ステップS402では、システム制御部50は、対応するフレームを特定し、特定したフレームからメタ情報を取得する。ここで、対応するフレームとは、選択されたフレームに対応するメタ情報が記録されているフレームのことである。すなわち、まず、システム制御部50は、ステップS401で選択されたフレームに記録されているメタ情報からタイミング遅延量を取得し、このタイミング遅延量に基づいて対応するフレームを特定する。例えば、タイミング遅延量が「+1」であれば、選択されたフレームの次の(後の)フレームが、対応するフレームとして特定される(図8)。一方、タイミング遅延量が「−1」であれば、選択されたフレームの前のフレームが、対応するフレームとして特定される(図9)。   Next, the process of extracting a still image from a moving image and its exposure correction will be described. FIG. 10 is a flowchart of the still image clipping process. The conditions for realization and start of this process are similar to the process of FIG. In step S401, the system control unit 50 executes the same process as step S201 in FIG. In step S402, the system control unit 50 identifies a corresponding frame, and acquires meta information from the identified frame. Here, the corresponding frame is a frame in which meta information corresponding to the selected frame is recorded. That is, first, the system control unit 50 acquires the amount of timing delay from the meta information recorded in the frame selected in step S401, and identifies the corresponding frame based on the amount of timing delay. For example, if the timing delay amount is “+1”, the next (following) frame of the selected frame is identified as the corresponding frame (FIG. 8). On the other hand, if the timing delay amount is “−1”, the previous frame of the selected frame is identified as the corresponding frame (FIG. 9).

次に、ステップS403で、システム制御部50は、対応するフレームから取得したメタ情報から静止画評価値を読み出す。次に、ステップS404で、システム制御部50は、図3のステップS103と同様に、取得した静止画評価値と静止画目標値との差分(静止画目標値−静止画評価値)を静止画用の露出補正値として決定する。次に、ステップS405で、システム制御部50は、仮に、決定した露出補正値によって露出補正を行った場合に、白飛びが発生するか否かを判別する。具体的には、システム制御部50は、露出補正値、動画撮影用のガンマ逆特性及び静止画用のガンマ特性が反映される露出変換特性をフレーム画像に適応させて静止画を生成した場合に、画素値が飽和に突き当る画素が発生するかどうかを判定する。その判別の結果、システム制御部50は、白飛びが発生しない場合は、処理をステップS407に進める。一方、白飛びが発生する場合は、システム制御部50は、白飛びが発生しない値に露出補正値を変更してから(ステップS406)、処理をステップS407に進める。例えばシステム制御部50は、白飛びが発生しない限界値(白飛びが発生しない範囲で、ステップS404で決定した値に最も近い値)に露出補正値を設定する。ステップS407、S408では、システム制御部50は、図6のステップS203、S204と同様の処理を実行し、図10の処理を終了する。   Next, in step S403, the system control unit 50 reads the still image evaluation value from the meta information acquired from the corresponding frame. Next, in step S404, the system control unit 50 calculates the difference between the acquired still image evaluation value and the still image target value (still image target value-still image evaluation value) as in step S103 of FIG. Determined as the exposure correction value for Next, in step S405, the system control unit 50 determines whether overexposure occurs if exposure correction is performed using the determined exposure correction value. Specifically, when the system control unit 50 generates a still image by applying an exposure conversion characteristic in which an exposure correction value, a gamma inverse characteristic for moving image shooting, and a gamma characteristic for still image are reflected to a frame image. , It is determined whether a pixel whose pixel value encounters saturation occurs. As a result of the determination, if the whiteout does not occur, the system control unit 50 proceeds the process to step S407. On the other hand, when overexposure occurs, the system control unit 50 changes the exposure correction value to a value at which overexposure does not occur (step S406), and then the process proceeds to step S407. For example, the system control unit 50 sets the exposure correction value to the limit value at which overexposure does not occur (the value closest to the value determined in step S404 within the range where overexposure does not occur). In steps S407 and S408, the system control unit 50 executes the same processing as in steps S203 and S204 in FIG. 6, and ends the processing in FIG.

本実施の形態によれば、システム制御部50は、タイミング遅延量に基づいて、選択されたフレームに対応するメタ情報が記録されているフレームを特定し、該特定したフレームに記録されたメタ情報から静止画評価値を読み出す。そしてシステム制御部50は、静止画評価値と静止画目標値とから露出補正値を決定し、露出補正値に基づいて、選択されたフレームの画像の露出を補正して静止画を生成する。これにより、画像データとメタ情報の記録タイミングがずれるシステムにおいても、静止画として適正な露出を持った静止画を得ることができる。よって、動画中から適正な露出の静止画を得ることに関し、第1の実施の形態と同様の効果を奏することができる。   According to the present embodiment, the system control unit 50 identifies the frame in which the meta information corresponding to the selected frame is recorded based on the timing delay amount, and the meta information recorded in the identified frame Read out the still image evaluation value from. Then, the system control unit 50 determines an exposure correction value from the still image evaluation value and the still image target value, corrects the exposure of the image of the selected frame based on the exposure correction value, and generates a still image. As a result, even in a system in which the recording timings of the image data and the meta information are shifted, it is possible to obtain a still image having an appropriate exposure as a still image. Therefore, the same effect as that of the first embodiment can be obtained with regard to obtaining a still image of appropriate exposure from the moving image.

また、システム制御部50は、一旦決定した露出補正値によると白飛びが発生すると想定される場合は、白飛びが発生しない値に露出補正値を変更するので、白飛びのない静止画を得ることができる。   In addition, when it is assumed that whiteout will occur according to the exposure correction value once determined, the system control unit 50 changes the exposure correction value to a value where whiteout does not occur, and therefore obtains a still image without whiteout. be able to.

なお、白飛びが発生しない値に露出補正値を変更する処理は、第1の実施の形態にも適用してもよく、そのためのステップ処理を、例えば、図6のステップS203の直前に設けてもよい。   Note that the process of changing the exposure correction value to a value that does not cause overexposure may be applied to the first embodiment, and a step process therefor is provided, for example, immediately before step S203 in FIG. It is also good.

なお、図6のステップS202または図10のステップS404で静止画用の露出補正値を決定した際、決定した露出補正値を表示部28に表示させてユーザに報知してもよい。あるいは、決定した露出補正値を適用した場合の静止画の例を表示部28に表示させてもよい。そして、表示された露出補正値または静止画を見たユーザが露出補正値の変更を指示できるように構成してもよい。   When the exposure correction value for a still image is determined in step S202 of FIG. 6 or step S404 of FIG. 10, the determined exposure correction value may be displayed on the display unit 28 to notify the user. Alternatively, an example of a still image when the determined exposure correction value is applied may be displayed on the display unit 28. Then, a user who has viewed the displayed exposure correction value or still image may instruct to change the exposure correction value.

なお、上述した実施形態では、撮像装置において取得された動画像を用いて、当該撮像装置において静止画像を切り出す構成について説明したが、これに限定されるものではない。例えば、動画像を取得可能な撮像装置は、静止画評価値および(または)露出補正値に関するメタ情報を動画像のフレームに対応づけて記録する。そして撮像装置の外部に設けられた電子機器(外部機器)で、上述したメタ情報に基づいて静止画像を生成する構成であってもよい。   In the embodiment described above, the configuration is described in which the still image is cut out in the imaging device using a moving image acquired in the imaging device, but the present invention is not limited to this. For example, an imaging device capable of acquiring a moving image records meta information on a still image evaluation value and / or an exposure correction value in association with a frame of the moving image. The electronic device (external device) provided outside the imaging apparatus may be configured to generate a still image based on the above-described meta information.

(他の実施形態)
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
(Other embodiments)
The present invention is also realized by performing the following processing. That is, software (program) for realizing the functions of the above-described embodiment 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 program code It is a process to execute. In this case, the program and the storage medium storing the program constitute the present invention.

以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。上述の実施形態の一部を適宜組み合わせてもよい。   Although the present invention has been described in detail based on its preferred embodiments, the present invention is not limited to these specific embodiments, and various embodiments within the scope of the present invention are also included in the present invention. included. Some of the embodiments described above may be combined as appropriate.

22 撮像部
32 メモリ
50 システム制御部
22 imaging unit 32 memory 50 system control unit

Claims (14)

被写体を撮像して動画を取得する撮影手段と、
前記撮影手段による動画の取得中に、前記動画から静止画用の方式を用いて被写体の明るさに関する評価値を取得する取得手段と、
前記取得手段により取得された評価値と被写体の明るさに関する目標値とに基づいて露出補正値を決定する決定手段と、
前記決定手段により決定された露出補正値をメタ情報に含めて前記動画中の対応するフレームごとに記録する記録手段と、
前記動画中のフレームから静止画として切り出すフレームを選択する選択手段と、
前記選択手段により選択されたフレームに記録されたメタ情報から露出補正値を読み出す読出手段と、
前記読出手段により読み出された露出補正値に基づいて、前記選択手段により選択されたフレームの画像の露出を補正して静止画を生成する生成手段と、を有することを特徴とする撮像装置。
An imaging unit that captures an image of a subject to obtain a moving image;
An acquisition unit configured to acquire an evaluation value on brightness of a subject from the moving image using a method for a still image while acquiring a moving image by the imaging unit;
A determination unit that determines an exposure correction value based on the evaluation value acquired by the acquisition unit and a target value related to the brightness of the subject;
Recording means for including the exposure correction value determined by the determination means in the meta information and recording for each corresponding frame in the moving image;
Selecting means for selecting a frame to be cut out as a still image from frames in the moving image;
Reading means for reading an exposure correction value from the meta information recorded in the frame selected by the selection means;
An imaging apparatus comprising: a generation unit configured to generate a still image by correcting the exposure of the image of the frame selected by the selection unit based on the exposure correction value read by the readout unit.
前記決定手段は、前記取得された評価値と前記目標値との差分を前記露出補正値として決定することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the determination unit determines a difference between the acquired evaluation value and the target value as the exposure correction value. 被写体を撮像して動画を取得する撮影手段と、
前記撮影手段による動画の取得中に、前記動画から静止画用の方式を用いて被写体の明るさに関する評価値を取得する第1の取得手段と、
前記動画のフレームの画像の記録に対するメタ情報の記録のタイミングのずれを示すタイミング情報を取得する第2の取得手段と、
前記第2の取得手段により取得されたタイミング情報を前記動画中に記録すると共に、前記第1の取得手段により取得された評価値を前記メタ情報に含めて前記動画中の対応するフレームごとに記録する記録手段と、
前記動画中のフレームから静止画として切り出すフレームを選択する選択手段と、
前記記録手段により記録されたタイミング情報に基づいて、前記選択手段により選択されたフレームに対応するメタ情報が記録されているフレームを特定し、該特定したフレームに記録されたメタ情報から評価値を読み出す読出手段と、
前記読出手段により読み出された評価値と目標値とに基づいて露出補正値を決定し、該決定した露出補正値に基づいて、前記選択手段により選択されたフレームの画像の露出を補正して静止画を生成する生成手段と、を有することを特徴とする撮像装置。
An imaging unit that captures an image of a subject to obtain a moving image;
A first acquisition unit that acquires an evaluation value related to the brightness of a subject using the still image method from the moving image while the moving image is acquired by the imaging unit;
A second acquisition unit for acquiring timing information indicating a shift in recording timing of meta information with respect to recording of an image of the moving image frame;
The timing information acquired by the second acquisition unit is recorded in the moving image, and the evaluation value acquired by the first acquisition unit is included in the meta information and recorded for each corresponding frame in the moving image. Recording means to
Selecting means for selecting a frame to be cut out as a still image from frames in the moving image;
Based on the timing information recorded by the recording means, a frame in which meta information corresponding to the frame selected by the selection means is recorded is specified, and an evaluation value is calculated from the meta information recorded in the specified frame. Reading means for reading out;
An exposure correction value is determined based on the evaluation value and the target value read by the reading unit, and the exposure of the image of the frame selected by the selection unit is corrected based on the determined exposure correction value. An imaging device having a generation unit configured to generate a still image.
前記生成手段は、前記読み出された評価値と前記目標値との差分を前記露出補正値として決定することを特徴とする請求項3に記載の撮像装置。   4. The image pickup apparatus according to claim 3, wherein the generation unit determines a difference between the read evaluation value and the target value as the exposure correction value. 前記生成手段は、前記決定した露出補正値によると白飛びが発生すると想定される場合は、白飛びが発生しない値に前記露出補正値を変更することを特徴とする請求項4に記載の撮像装置。   5. The imaging according to claim 4, wherein the generation unit changes the exposure correction value to a value at which whiteout does not occur when whiteout is assumed to occur according to the determined exposure correction value. apparatus. 前記タイミング情報は、前記タイミングのずれをフレーム単位で示す情報であることを特徴とする請求項3〜5のいずれか1項に記載の撮像装置。   The imaging apparatus according to any one of claims 3 to 5, wherein the timing information is information indicating the deviation of the timing on a frame basis. 前記記録手段は、前記タイミング情報を、前記取得された評価値と共に前記メタ情報に含めて前記動画中にフレームごとに記録することを特徴とする請求項3〜6のいずれか1項に記載の撮像装置。   The said recording means includes the said timing information in the said meta information with the acquired said evaluation value, and records it for every flame | frame in the said moving image, It is characterized by the above-mentioned. Imaging device. 前記生成手段は、前記選択されたフレームの画像に対して、前記露出補正値に基づく露出補正に加えて、動画撮影用のガンマ処理とは逆特性のガンマ処理及び静止画用のガンマ処理による階調補正を施すことで、前記静止画を生成することを特徴とする請求項1〜7のいずれか1項に記載の撮像装置。   The generation means may perform, in addition to the exposure correction based on the exposure correction value, a floor of the image of the selected frame by gamma processing of a characteristic reverse to gamma processing for moving image shooting and gamma processing for still images. The imaging device according to any one of claims 1 to 7, wherein the still image is generated by performing tone correction. 被写体を撮像して動画像を取得可能な撮影手段を備えた撮像装置から出力された動画から静止画を切り出し可能な電子機器であって、
前記動画中のフレームから静止画として切り出すフレームを選択する選択手段と、
前記選択手段により選択されたフレームに記録されたメタ情報から露出補正値を読み出す読出手段と、
前記読出手段により読み出された露出補正値に基づいて、前記選択手段により選択されたフレームの画像の露出を補正して静止画を生成する生成手段と、を有し、
前記メタ情報は、前記撮像装置における動画の取得中に、前記動画から静止画用の方式を用いて被写体の明るさに関する評価値と被写体の明るさに関する目標値とに基づく前記露出補正値を含めた情報として前記動画中の対応するフレームごとに記録されることを特徴とする電子機器。
An electronic device capable of extracting a still image from a moving image output from an imaging device including an imaging device capable of capturing a subject and acquiring a moving image,
Selecting means for selecting a frame to be cut out as a still image from frames in the moving image;
Reading means for reading an exposure correction value from the meta information recorded in the frame selected by the selection means;
Generating means for correcting the exposure of the image of the frame selected by the selection means based on the exposure correction value read by the reading means, and generating a still image,
The meta information includes the exposure correction value based on an evaluation value on the brightness of the subject and a target value on the brightness of the subject using the still image method from the moving image while acquiring the moving image in the imaging device An electronic device characterized by being recorded as corresponding information for each corresponding frame in the moving image.
動画の取得中に、前記動画から静止画用の方式を用いて被写体の明るさに関する評価値を取得する取得ステップと、
前記取得ステップにより取得された評価値と被写体の明るさに対応する目標値とに基づいて露出補正値を決定する決定ステップと、
前記決定ステップにより決定された露出補正値をメタ情報に含めて前記動画中の対応するフレームごとに記録する記録ステップと、
前記動画中のフレームから静止画として切り出すフレームを選択する選択ステップと、
前記選択ステップにより選択されたフレームに記録されたメタ情報から露出補正値を読み出す読出ステップと、
前記読出ステップにより読み出された露出補正値に基づいて、前記選択ステップにより選択されたフレームの画像の露出を補正して静止画を生成する生成ステップと、を有することを特徴とする撮像装置の制御方法。
An acquisition step of acquiring an evaluation value related to the brightness of the subject using the still image method from the moving image while acquiring the moving image;
A determination step of determining an exposure correction value based on the evaluation value acquired in the acquisition step and a target value corresponding to the brightness of the subject;
Recording step of including the exposure correction value determined in the determination step in the meta information and recording for each corresponding frame in the moving image;
Selecting the frame to be cut out as a still image from the frames in the moving image;
Reading out the exposure correction value from the meta information recorded in the frame selected by the selecting step;
And generating the still image by correcting the exposure of the image of the frame selected by the selection step based on the exposure correction value read by the reading step. Control method.
動画の取得中に、前記動画から静止画用の方式を用いて被写体の明るさに関する評価値を取得する第1の取得ステップと、
前記動画のフレームの画像の記録に対するメタ情報の記録のタイミングのずれを示すタイミング情報を取得する第2の取得ステップと、
前記第2の取得ステップにより取得されたタイミング情報を前記動画中に記録すると共に、前記第1の取得ステップにより取得された評価値を前記メタ情報に含めて前記動画中の対応するフレームごとに記録する記録ステップと、
前記動画中のフレームから静止画として切り出すフレームを選択する選択ステップと、
前記記録ステップにより記録されたタイミング情報に基づいて、前記選択ステップにより選択されたフレームに対応するメタ情報が記録されているフレームを特定し、該特定したフレームに記録されたメタ情報から評価値を読み出す読出ステップと、
前記読出ステップにより読み出された評価値と目標値とに基づいて露出補正値を決定し、該決定した露出補正値に基づいて、前記選択ステップにより選択されたフレームの画像の露出を補正して静止画を生成する生成ステップと、を有することを特徴とする撮像装置の制御方法。
A first acquisition step of acquiring an evaluation value related to the brightness of the subject using the still image method from the moving image while acquiring the moving image;
A second acquisition step of acquiring timing information indicating a shift in recording timing of meta information with respect to recording of an image of the moving image frame;
The timing information acquired in the second acquisition step is recorded in the moving image, and the evaluation value acquired in the first acquisition step is included in the meta information and recorded for each corresponding frame in the moving image. Step of recording
Selecting the frame to be cut out as a still image from the frames in the moving image;
Based on the timing information recorded in the recording step, a frame in which meta information corresponding to the frame selected in the selection step is recorded is identified, and an evaluation value is calculated from the meta information recorded in the identified frame. Reading step to read out;
An exposure correction value is determined based on the evaluation value and the target value read out in the reading step, and the exposure of the image of the frame selected in the selection step is corrected based on the determined exposure correction value. And a generation step of generating a still image.
被写体を撮像して動画像を取得可能な撮影手段を備えた撮像装置から出力された動画から静止画を切り出し可能な電子機器の制御方法であって、
前記動画中のフレームから静止画として切り出すフレームを選択する選択ステップと、
前記選択ステップで選択されたフレームに記録されたメタ情報から露出補正値を読み出す読出ステップと、
前記読出ステップで読み出された露出補正値に基づいて、前記選択ステップで選択されたフレームの画像の露出を補正して静止画を生成する生成ステップと、を有し、
前記メタ情報は、前記撮像装置における動画の取得中に、前記動画から静止画用の方式を用いて被写体の明るさに関する評価値と被写体の明るさに関する目標値とに基づく前記露出補正値を含めた情報として前記動画中の対応するフレームごとに記録されることを特徴とする電子機器の制御方法。
A control method of an electronic device capable of extracting a still image from a moving image output from an imaging device including an imaging device capable of capturing a subject and acquiring a moving image,
Selecting the frame to be cut out as a still image from the frames in the moving image;
A reading step of reading an exposure correction value from the meta information recorded in the frame selected in the selecting step;
And generating the still image by correcting the exposure of the image of the frame selected in the selection step based on the exposure correction value read in the reading step.
The meta information includes the exposure correction value based on an evaluation value on the brightness of the subject and a target value on the brightness of the subject using the still image method from the moving image while acquiring the moving image in the imaging device A control method of an electronic device, which is recorded as corresponding information for each corresponding frame in the moving image.
請求項10または11に記載の撮像装置の制御方法をコンピュータに実行させることを特徴とするプログラム。   A program causing a computer to execute the control method of an imaging apparatus according to claim 10 or 11. 請求項12に記載の電子機器の制御方法をコンピュータに実行させることを特徴とするプログラム。   A program causing a computer to execute the control method of an electronic device according to claim 12.
JP2017185015A 2017-09-26 2017-09-26 Imaging apparatus and control method thereof, electronic device and control method thereof, and program Pending JP2019062369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017185015A JP2019062369A (en) 2017-09-26 2017-09-26 Imaging apparatus and control method thereof, electronic device and control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017185015A JP2019062369A (en) 2017-09-26 2017-09-26 Imaging apparatus and control method thereof, electronic device and control method thereof, and program

Publications (1)

Publication Number Publication Date
JP2019062369A true JP2019062369A (en) 2019-04-18

Family

ID=66177698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017185015A Pending JP2019062369A (en) 2017-09-26 2017-09-26 Imaging apparatus and control method thereof, electronic device and control method thereof, and program

Country Status (1)

Country Link
JP (1) JP2019062369A (en)

Similar Documents

Publication Publication Date Title
KR101900097B1 (en) Image capturing method and image capturing apparatus
JP5820120B2 (en) Imaging apparatus and control method thereof
JP5366584B2 (en) Imaging apparatus, image processing method, and program
JP6752667B2 (en) Image processing equipment and image processing methods and programs
JP2006287803A (en) Imaging device
JP6116299B2 (en) Imaging apparatus and control method thereof
US10839497B2 (en) Image processing apparatus and method
JP6883971B2 (en) Image processing equipment and image processing methods, programs, and storage media
JP2019057794A (en) Imaging apparatus, control method of the same, program, and recording medium
JP6758950B2 (en) Imaging device, its control method and program
US10341601B2 (en) Image processing apparatus, imaging apparatus, and image processing method
JP2017212550A (en) Image reproducer, control method thereof, program, and storage medium
JP2012090041A (en) Image processing device, method, and program
JP6429497B2 (en) Imaging apparatus, control method, and program
US10674092B2 (en) Image processing apparatus and method, and image capturing apparatus
JP6046952B2 (en) Imaging apparatus and control method thereof
JP5289354B2 (en) Imaging device
JP2017092604A (en) Video signal processor, video signal processing method, and program
JP2019062369A (en) Imaging apparatus and control method thereof, electronic device and control method thereof, and program
JP5414411B2 (en) Imaging apparatus and control method thereof
KR20160023613A (en) Imaging apparatus and imaging method
JP6670110B2 (en) Image processing apparatus, imaging apparatus, control method, and program
JP2019016833A (en) Imaging apparatus, control method of the same, program, and storage medium
JP2018061153A (en) Imaging apparatus, imaging apparatus control method and program
JP6624895B2 (en) Image processing apparatus, imaging apparatus, control method, and program