JP2020141189A - Imaging apparatus and control method of the same - Google Patents
Imaging apparatus and control method of the same Download PDFInfo
- Publication number
- JP2020141189A JP2020141189A JP2019033958A JP2019033958A JP2020141189A JP 2020141189 A JP2020141189 A JP 2020141189A JP 2019033958 A JP2019033958 A JP 2019033958A JP 2019033958 A JP2019033958 A JP 2019033958A JP 2020141189 A JP2020141189 A JP 2020141189A
- Authority
- JP
- Japan
- Prior art keywords
- shooting
- moving image
- frame rate
- metadata
- shooting mode
- 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
Links
Images
Abstract
Description
本発明は、撮像装置およびその制御方法に関する。 The present invention relates to an image pickup apparatus and a control method thereof.
近年、動画の各フレーム、各シーン、等の最大輝度を示すメタデータ(動的メタデータ)を用いて、動画の表示方法を順次(例えば、各フレームまたは各シーンで)変更する技術が普及し始めている。具体的には、動的メタデータを用いてトーンカーブ(トーンマップ)を順次変更することで、動画のフレーム、シーン、等の最大輝度に応じたHDR(ハイダイナミックレンジ)表示を順次変更する技術が普及し始めている。特許文献1には、ポストプロダクションの画像データ編集工程において、動画の各シーンの動的メタデータを生成して動画データに付加する技術が開示されている。
In recent years, a technique for sequentially changing the display method of a moving image (for example, in each frame or each scene) by using metadata (dynamic metadata) indicating the maximum brightness of each frame of the moving image, each scene, etc. has become widespread. I'm starting. Specifically, a technology that sequentially changes the HDR (high dynamic range) display according to the maximum brightness of a moving image frame, scene, etc. by sequentially changing the tone curve (tone map) using dynamic metadata. Is beginning to spread.
しかしながら、特許文献1に開示の技術では、ポストプロダクション(画像データ編集工程)が無い場合には、動的メタデータが得られず、トーンカーブを用いたHDR表示などの表示方法を順次変更することが難しい。
However, in the technique disclosed in
本発明は、ポストプロダクション(画像データ編集工程)ではなく、撮影工程(撮像装置)で、好適な動的メタデータが付加された動画データを得ることができる技術を提供することを目的とする。 An object of the present invention is to provide a technique capable of obtaining moving image data to which suitable dynamic metadata is added in a shooting process (imaging apparatus) instead of post-production (image data editing process).
本発明の第1の態様は、
撮影モードを設定する設定手段と、
撮像された動画の特徴量を示すメタデータを生成する生成手段と、
前記生成手段によって生成された前記メタデータを、前記動画を表す動画データに付加する付加手段と、
を有し、
前記生成手段は、前記設定手段によって設定された撮影モードに応じた期間での前記動画の特徴量を示す前記メタデータを生成する
ことを特徴とする撮像装置である。
The first aspect of the present invention is
Setting means to set the shooting mode and
A generation means for generating metadata indicating the features of the captured moving image, and
An additional means for adding the metadata generated by the generation means to the moving image data representing the moving image, and
Have,
The generation means is an imaging device characterized in that it generates the metadata indicating the feature amount of the moving image in a period corresponding to the shooting mode set by the setting means.
本発明の第2の態様は、
撮影モードを設定する設定ステップと、
撮像された動画の特徴量を示すメタデータを生成する生成ステップと、
前記生成ステップにおいて生成された前記メタデータを、前記動画を表す動画データに付加する付加ステップと、
を有し、
前記生成ステップでは、前記設定ステップにおいて設定された撮影モードに応じた期間での前記動画の特徴量を示す前記メタデータを生成する
ことを特徴とする撮像装置の制御方法である。
The second aspect of the present invention is
Setting steps to set the shooting mode and
A generation step to generate metadata showing the features of the captured video,
An additional step of adding the metadata generated in the generation step to the moving image data representing the moving image,
Have,
The generation step is a control method of an image pickup apparatus, characterized in that the metadata indicating the feature amount of the moving image in a period corresponding to the shooting mode set in the setting step is generated.
本発明の第3の態様は、コンピュータを、上述した撮像装置の各手段として機能させるためのプログラムである。 A third aspect of the present invention is a program for making a computer function as each means of the above-mentioned imaging device.
本発明によれば、ポストプロダクション(画像データ編集工程)ではなく、撮影工程(撮像装置)で、好適な動的メタデータが付加された動画データを得ることができる。 According to the present invention, it is possible to obtain moving image data to which suitable dynamic metadata is added in a shooting step (imaging apparatus) instead of post-production (image data editing step).
<実施例1>
以下、本発明の実施例1について説明する。図1は、本実施例に係る撮像装置100の構成例を示すブロック図である。撮像装置100は、撮像光学系101、撮像素子102、撮像制御部103、特徴量取得部104、メタデータ生成部105、メタデータ付加部106、記憶部107、再生部108、撮影モード設定部109、出力IF110、CPU111、RAM112、ROM113、及び、操作部114を有する。本実施例において、「撮像」は、被写体を表す画像(静止画または動画)の画像データを生成する処理であり、「撮影」は、撮像を行い、当該撮像により生成された画像データを記憶部107に記録する処理である。
<Example 1>
Hereinafter, Example 1 of the present invention will be described. FIG. 1 is a block diagram showing a configuration example of the
撮像光学系101は、被写体を表す光学像を撮像素子102に結像(形成)する。撮像光学系101は、例えば、レンズ群(ズームレンズ、フォーカスレンズ、等)、絞り調整装置、シャッター装置、等を有する。
The image pickup
撮像素子102は、被写体を表す静止画(被写体像)を撮像して、当該静止画を表す静止画データを生成したり、被写体を表す動画(被写体像)を撮像して、当該動画を表す動画データを生成したりする。具体的には、撮像素子102は、結像された光学像(被写体から撮像光学系101を介して入射した光)をアナログ電気信号に変換する光電変換処理を行う。そして、撮像素子102は、光電変換処理によって得られたアナログ電気信号をデジタル電気信号(動画の1フレームの画像データ;フレーム画像データ)に変換するAD変換処理(アナログ−デジタル変換処理)をさらに行う。その後、撮像素子102は、AD変換処理によって得られたフレーム画像データを、特徴量取得部104とメタデータ付加部106へ出力する。撮像素子102は、これらの処理を繰り返すことで、動画の複数のフレームにそれぞれ対応する複数のフレーム画像データを順次出力する。
The
撮像制御部103は、撮像装置100の撮像条件を制御する。本実施例では、撮像制御部103は、撮像装置100(操作部114)に対するユーザ操作、撮像装置100の状態、等に応じて、撮像装置100の露出(露出条件)を制御する。例えば、撮像制御部103は、絞り、撮像素子102の電荷蓄積時間、等を制御することにより、露出を制御す
る。具体的には、撮像制御部103は、ユーザによって指定されたゲイン値、シャッター速度、絞り値、等に応じて、撮像光学系101の状態、撮像素子102の処理、等を制御することにより、露出を制御する。さらに、撮像制御部103は、撮像装置100に対するユーザ操作、撮像装置100の状態、等に応じて、撮像装置100のフォーカスを制御する。例えば、撮像制御部103は、フォーカスレンズの駆動量、駆動方向、等を制御することにより、フォーカスを制御する。具体的には、AF(オートフォーカス)撮影モードが設定されている場合に、撮像制御部103は、フォーカスレンズの位置を所定位置にして、フレーム画像(動画の1フレームの画像)のコントラストの形状(分布)を算出する。そして、撮像制御部103は、フレーム画像内の複数の位置のうち、コントラストが最も高い位置を、撮像素子102で光束を合焦させる位置(フォーカス位置)としてAF制御を行う。
The image
特徴量取得部104は、撮像素子102から出力されたフレーム画像データの特徴量(フレーム特徴量)を、当該フレーム画像データから取得する。本実施例では、特徴量取得部104は、フレーム画像データによって表された1フレームの画像の最大輝度(フレーム最大輝度)を取得し、取得したフレーム最大輝度をメタデータ生成部105へ通知する。本実施例では、特徴量取得部104は、撮像された動画の複数のフレームにそれぞれ対応する複数のフレーム最大輝度を順次通知する。
The feature
メタデータ生成部105は、撮像された動画(撮影される動画)の特徴量を示す動的メタデータを生成する。本実施例では、メタデータ生成部105は、特徴量取得部104から順次通知された複数のフレーム最大輝度に基づいて、撮像された動画のシーン最大輝度(1シーンの最大輝度)を1つ以上のシーンについて示す動的メタデータを生成する。もしくは、メタデータ生成部105は、特徴量取得部104から順次通知された複数のフレーム最大輝度に基づいて、撮像された動画の各フレームのフレーム最大輝度を示す動的メタデータを生成する。メタデータ生成部105は、生成した動的メタデータをメタデータ付加部106へ出力する。
The
なお、本実施例では、動的メタデータによって示される特徴量が、フレーム最大輝度、シーン最大輝度、等の最大輝度である例を説明するが、特徴量は最大輝度に限られない。例えば、動的メタデータによって示される特徴量は、1フレーム、1シーン、等の他の代表輝度(平均輝度、最小輝度、最頻輝度、中間輝度、等)であってもよい。動的メタデータによって示される特徴量は、1フレーム、1シーン、等の輝度ヒストグラムであってもよい。動的メタデータによって示される特徴量は、1フレーム、1シーン、等の色に関する特徴量であってもよい。動的メタデータによって示される特徴量は、1フレーム、1シーン、等の輝度と色の両方に関する特徴量であってもよい。 In this embodiment, an example in which the feature amount indicated by the dynamic metadata is the maximum brightness such as the frame maximum brightness and the scene maximum brightness will be described, but the feature amount is not limited to the maximum brightness. For example, the feature quantity indicated by the dynamic metadata may be another representative luminance (average luminance, minimum luminance, mode luminance, intermediate luminance, etc.) such as one frame, one scene, and the like. The feature quantity indicated by the dynamic metadata may be a luminance histogram of one frame, one scene, and the like. The feature quantity indicated by the dynamic metadata may be a feature quantity related to a color such as one frame, one scene, and the like. The feature quantity indicated by the dynamic metadata may be a feature quantity relating to both brightness and color such as one frame, one scene, and the like.
メタデータ付加部106は、撮像された動画(撮影される動画)を表す動画データに対して、メタデータ生成部105から出力された動的メタデータを付加する。撮像された動画(撮影される動画)を表す動画データは、撮像素子102から順次出力された複数のフレーム画像データからなる動画データである。例えば、メタデータ付加部106は、MPEG−4 AVCまたはHEVC(High Efficiency Video Coding)に基づく符号化処理を動画データに施す。そして、メタデータ付加部106は、動的メタデータを、MPEG−4 AVCまたはHEVCのSEI(Supplemental Enhancement Information)に付加する。メタデータ付加部106は、動的メタデータが付加された後の動画データを、記憶部107に記録する。
The metadata addition unit 106 adds dynamic metadata output from the
記憶部107は、CF(コンパクトフラッシュ)カードなどのランダムアクセスの記録媒体であり、メタデータ付加部106から出力された動画データ(動的メタデータが付加
された後の動画データ)を記憶する。記憶部107は、撮像装置100から取り外し可能であり、撮像装置100以外の装置(PC(パーソナルコンピュータ)など)に装着することが可能である。なお、記憶部107は、撮像装置100に対して着脱不可能な内蔵の記録媒体であってもよい。
The
再生部108は、記憶部107に格納されている動画データを再生する。本実施例において、「再生」は、動画データを記憶部107から読み出して、出力IF110を介して撮像装置100の外部へ出力する処理である。
The
撮影モード設定部109は、撮影モードを設定する。本実施例では、撮影モード設定部109は、撮像装置100が有する他の機能ブロックに、不図示の内部バスを介して接続されている。撮影モード設定部109は、設定した撮影モードに応じて、撮像装置100が有する他の機能ブロックの設定値、処理、等を変更する。本実施例では、撮影モード設定部109は、設定した撮影モードに応じた期間での動画の特徴量を示す動的メタデータが生成されるように、メタデータ生成部105の処理を変更する。これにより、好適な動的メタデータが生成できる。詳細は後述する。撮影モード設定部109は、例えば、タイムラプス撮影モード、連続撮影モード、スロー撮影モード、または、動画同時撮影モードを設定する。
The shooting
タイムラプス撮影モードは、動画の撮影時間よりも当該動画の再生時間が短くなる撮影モードである。例えば、タイムラプス撮影モードは、間欠的な撮影を行う撮影モードであり、実時間よりも速く再生されるタイムラプス動画を撮影するための撮影モードである。タイムラプス撮影モードでは、通常(標準)のフレームレートで撮影した動画からフレームを間引いたような動画が撮影される。タイムラプス撮影モードで撮影した動画では、被写体の時間的変化を短時間で視認することが可能となる。 The time-lapse shooting mode is a shooting mode in which the playback time of the moving image is shorter than the shooting time of the moving image. For example, the time-lapse shooting mode is a shooting mode for intermittent shooting, and is a shooting mode for shooting a time-lapse movie that is played back faster than real time. In the time-lapse shooting mode, a movie shot with frames thinned out from a movie shot at a normal (standard) frame rate is shot. In a moving image shot in the time-lapse shooting mode, it is possible to visually recognize the temporal change of the subject in a short time.
撮像装置100は、静止画を撮影したり再生したりすることもできる。例えば、撮像装置100は、静止画を撮像し、当該静止画を表す静止画データを、メタデータを付加して記憶部107に記録することができる。連続撮影モードは、複数の静止画を順次撮影する撮影モードである。再生部108は、連続撮影モードで撮影された複数の静止画を順次再生することができる(連続再生)。
The
スロー撮影モードは、動画の撮影時間よりも当該動画の再生時間が長くなる撮影モードである。例えば、スロー撮影モードは、通常のフレームレートよりも高いフレームレートで撮影を行う撮影モードであり、実時間よりもゆっくり再生されるスロー動画を撮影するための撮影モードである。 The slow shooting mode is a shooting mode in which the playback time of the moving image is longer than the shooting time of the moving image. For example, the slow shooting mode is a shooting mode in which shooting is performed at a frame rate higher than the normal frame rate, and is a shooting mode for shooting a slow moving image that is reproduced slower than real time.
動画同時撮影モードは、静止画の撮影に連動して、所定期間に撮像された動画を表す動画データを記録する撮影モードである。例えば、動画同時撮影モードは、現在のタイミングまでの所定時間分の動画がRAM112に格納されるように動画の撮像を行い、静止画を撮影するタイミングで、RAM112に格納されている動画を静止画と共に記憶部107に記録する撮影モードである。動画同時撮影モードを用いることで、静止画だけでなく、静止画を撮影したタイミングまでの所定時間分の動画が確認可能となる。なお、静止画を撮影したタイミングからの動画が確認可能となってもよいし、静止画を撮影したタイミングを跨いだ期間の動画が確認可能となってもよい。
The moving image simultaneous shooting mode is a shooting mode in which moving image data representing a moving image captured in a predetermined period is recorded in conjunction with shooting of a still image. For example, in the moving image simultaneous shooting mode, the moving image is captured so that the moving image for a predetermined time up to the current timing is stored in the
出力IF110は、記憶部107に格納されている動画データ(動的メタデータが付加された後の動画データ)を不図示の外部装置へ出力する。例えば、HDMI(登録商標)(High−Definition Multimedia Interface)規格に準拠した通信プロトコルに従って、動画データをストリーム形式で出力する。なお、動
画データと動的メタデータの伝送方法は特に限定されない。例えば、SMPTE(Society of Motion Picture & Television Engineers) ST 2094で規定されたパラメータが、動的メタデータとして伝送されてもよい。具体的には、HDR10+で規定されたScene−MaxCLL(Maximum Content Light Level)が動的メタデータとして伝送されてもよい。
The output IF 110 outputs the moving image data (moving image data after the dynamic metadata is added) stored in the
CPU111は、撮像装置100が有する他の機能ブロックに、不図示の内部バスを介して接続されている。CPU111は、撮像装置100の処理を制御する。RAM112は、撮像装置100が有する他の機能ブロックに、不図示の内部バスを介して接続されている。RAM112は、CPU111のワークエリア、種々のデータを一時的に記憶する一時記憶領域、等として使用される。ROM113は、撮像装置100が有する他の機能ブロックに、不図示の内部バスを介して接続されている。ROM113には、CPU111の処理に係るファームウェア、CPU111の処理に係る情報、等が予め記録されている。
The
操作部114は、不図示の内部バスを介してCPU111に接続されている。操作部114は、ユーザ操作を受け付ける入力部としての各種操作部材である。操作部114は、撮影を開始するための撮影開始ボタン、フォーカス動作のオート制御/マニュアル制御を切り替えるための切替スイッチ、フォーカス調整操作を行うためのフォーカスリング、等を含む。また、操作部114は、不図示のタッチパネルと液晶パネルを有し、表示される機能アイコンを各種機能ボタンとして作用させる。機能ボタンは、撮影開始ボタン、ホワイトバランス設定ボタン、ISO感度設定ボタン、等を含む。機能ボタンは、撮影モードを選択して設定するための撮影モード選択ボタン、再生を開始するための再生開始ボタン、等も含む。機能ボタンは、撮影フレームレート(撮影のフレームレート)を指定して設定するための設定ボタンも含む。機能ボタンは、再生フレームレート(再生のフレームレート)を指定して設定するための設定ボタンも含む。
The
図2は、撮像装置100の撮影処理の一例を示すフローチャートである。特殊撮影モードが設定されている状態で、CPU111が、操作部114に対する撮影開始操作を検知すると、図2の撮影処理が開始する。図2の撮影処理は、CPU111が撮像装置100の各機能ブロックを制御することにより実現される。撮影開始操作は、例えば、撮像装置100の非撮影状態において操作部114の撮影開始ボタンを押下するユーザ操作である。特殊撮影モードは、タイムラプス撮影モード、連続撮影モード、スロー撮影モード、動画同時撮影モード、等の総称である。以下では、撮影処理中に撮影モードの変更を許可しないものとする。
FIG. 2 is a flowchart showing an example of the photographing process of the
まず、タイムラプス撮影モードで撮影する場合について説明する。図3は、タイムラプス撮影モードでの撮影フレームレートと再生フレームレートの関係の一例を示す模式図である。撮影フレームレートと再生フレームレートは、操作部114に対するユーザ操作に応じて設定される。本実施例では、撮影フレームレートが0.05fpsであり、再生フレームレートが60fpsであり、撮影時間が20時間であるとする。図3に示すように、これらの条件から、再生時間は1分(60秒=72000秒×0.05fps÷60fps)と定められる。
First, a case of shooting in the time-lapse shooting mode will be described. FIG. 3 is a schematic diagram showing an example of the relationship between the shooting frame rate and the playback frame rate in the time-lapse shooting mode. The shooting frame rate and the playback frame rate are set according to the user's operation on the
撮影開始操作を行う前に、ユーザは、操作部114に対して、タイムラプス撮影モードを設定するための設定操作、撮影フレームレートを設定するための設定操作、及び、再生フレームレートを設定するための設定操作を行う。そして、これらの設定操作に応じた設定がされる。例えば、ユーザが、撮影フレームレートとして0.05fpsを指定する設定操作を操作部114に対して行うと、CPU111は、撮像素子102が撮像を行う撮
像周期を表す撮像フレームレートとして0.05fpsを設定する。さらに、CPU111は、メタデータ付加部106が記憶部107へフレーム画像データを書き込む書き込み周期を表す記録フレームレートとしても0.05fpsを設定する。なお、撮像フレームレートは記録フレームレートと異なってもよい。例えば、60fpsなどの通常のフレームレートを撮像フレームレートとして設定し、0.05fpsを記録フレームレートとして設定してもよい。その場合には、撮像された動画が、フレームを間引いて記憶部107に記録される(撮影フレームレートは0.05fpsとなる)。
Before performing the shooting start operation, the user sets the
図2の撮影処理において、まず、特徴量取得部104は、撮像素子102から出力されたフレーム画像データのフレーム最大輝度の取得を開始する(ステップS201)。
In the photographing process of FIG. 2, first, the feature
次に、CPU111は、撮像装置100に設定されている撮影モードがタイムラプス撮影モードであるか否かを判断する(ステップS202)。撮影モードがタイムラプス撮影モードである場合には(ステップS202:Yes)、ステップS203へ処理が進められ、撮影モードがタイムラプス撮影モードでない場合には(ステップS202:No)、ステップS206へ処理が進められる。ここでは、タイムラプス撮影モードが設定されているものとしたため(ステップS202:Yes)、ステップS203へ処理が進められる。
Next, the
ステップS203にて、メタデータ生成部105は、現在のフレーム画像データのフレーム最大輝度を示すメタデータを、当該フレーム画像データのメタデータとして生成する。次に、メタデータ付加部106は、メタデータ生成部105から出力されたメタデータ(ステップS203で生成されたメタデータ)を、撮像素子102から出力されたフレーム画像データ(現在のフレーム画像データ)に付加する(ステップS204)。そして、メタデータ付加部106は、メタデータが付加された後のフレーム画像データを記憶部107に記録する。ステップS203,S204の処理は撮影中に繰り返される。このため、タイムラプス撮影モードの場合には、撮像された動画(撮影される動画)の各フレームの特徴量(フレーム最大輝度)を示す動的メタデータが生成され、撮像された動画(撮影される動画)を表す動画データに付加される。なお、上述したように、メタデータ付加部106は、フレーム画像データの符号化処理を適宜行う。
In step S203, the
そして、CPU111は、操作部114に対する撮影終了操作が行われたか否かを判断する(ステップS205)。撮影終了操作が行われていない場合には(ステップS205:No)、ステップS203へ処理が戻される。撮影終了操作が行われるまで、撮影フレームレートでステップS203〜S205の処理が繰り返される。つまり、撮像された動画(撮影される動画)のフレーム毎にステップS203〜S205の処理が行われる。撮影終了操作が行われた場合には(ステップS205:Yes)、図2の撮影処理が終了する。ここでは、撮影開始(図2の撮影処理の開始)から20時間が経過するまでステップS203〜S205の処理が繰り返され、20時間が経過した後に撮影終了操作が行われて撮影処理が終了したとする。
Then, the
図4は、タイムラプス撮影モードで撮影した動画のフレーム画像データ、フレーム最大輝度、及び、動的メタデータの一例を示す模式図である。撮影時間が20時間であり且つ撮影フレームレートが0.05fpsであるため、3600枚(=0.05fps×72000秒)のフレーム画像が撮影される(フレーム画像データno.1〜no.3600)。実線401は、フレーム最大輝度の時間変化を示す。図4に示すように、タイムラプス撮影モードで動画を撮影した場合には、フレーム画像データno.1〜no.3600のそれぞれに、対応するフレーム最大輝度を示すメタデータが付加される。例えば、フレーム画像データno.1〜no.3には100nitsを示すメタデータが付加される。そして、フレーム画像データno.Mには3000nitsを示すメタデータが付加され
、フレーム画像データno.3600には1000nitsを示すメタデータが付加される。つまり、撮像された動画(撮影される動画)の各フレームの特徴量(フレーム最大輝度)を示す動的メタデータが生成され、撮像された動画(撮影される動画)を表す動画データに付加される。
FIG. 4 is a schematic diagram showing an example of frame image data, frame maximum brightness, and dynamic metadata of a moving image shot in the time-lapse shooting mode. Since the shooting time is 20 hours and the shooting frame rate is 0.05 fps, 3600 frames (= 0.05 fps × 72000 seconds) of frame images are shot (frame image data no. 1 to no. 3600). The
なお、撮影フレームレートと再生フレームレートを設定する例を説明したが、フレームレート(撮影フレームレート、再生フレームレート、等)に関する他のパラメータを設定してもよい。例えば、撮影時間(秒)と、撮影するフレームの数とを設定してもよい。その場合には、撮影するフレーム数を撮影時間で除算することにより、撮影フレームレートが得られる。 Although an example of setting the shooting frame rate and the playback frame rate has been described, other parameters related to the frame rate (shooting frame rate, playback frame rate, etc.) may be set. For example, the shooting time (seconds) and the number of frames to be shot may be set. In that case, the shooting frame rate can be obtained by dividing the number of frames to be shot by the shooting time.
なお、連続撮影モードが設定されている場合、具体的には連続撮影(複数の静止画を順次撮影する処理)の後に連続再生(複数の静止画を順次再生する処理)を行う場合に、タイムラプス撮影モードが設定されている場合と同様の撮影処理を適用してもよい。具体的には、メタデータ生成部105は、撮像された静止画の特徴量を示すメタデータを生成する処理を、順次撮影される複数の静止画のそれぞれについて行ってもよい。そして、メタデータ付加部106は、メタデータ生成部105によって生成されたメタデータを当該メタデータに対応する静止画を表す静止画データに付加する処理を、順次撮影される複数の静止画のそれぞれについて行ってもよい。
When the continuous shooting mode is set, specifically, when continuous shooting (processing of sequentially shooting a plurality of still images) and then continuous playback (processing of sequentially playing back a plurality of still images) is performed, a time lapse is performed. The same shooting process as when the shooting mode is set may be applied. Specifically, the
この場合に、例えば、静止画データは、EXIF(Exchangeable image file format)形式で記録される。そして、EXIFで定められたメタデータに、静止画の特徴量(最大輝度)が記述される。これらが撮影時の処理である。その後、再生部108は、記憶部107から複数の静止画データ(複数の静止画)を順次読み出す際に、EXIFで定められたメタデータから特徴量(最大輝度)を抽出して、静止画データと共に特徴量を出力IF110へ出力する。出力IF110は、再生部108から出力された静止画データをHDMI規格に準拠したストリーム形式で外部装置へ出力する。つまり、静止画データが動画データの一部(フレーム画像データ)として出力される。この時、再生部108から出力されたメタデータ(特徴量;最大輝度)も、SMPTE
ST 2094で規定された動的メタデータの一部(フレーム最大輝度)として外部装置へ出力される。これらが再生時の処理である。
In this case, for example, the still image data is recorded in the EXIF (Exif image file format) format. Then, the feature amount (maximum brightness) of the still image is described in the metadata defined by EXIF. These are the processes at the time of shooting. After that, when the
It is output to an external device as a part of the dynamic metadata specified in ST 2094 (maximum frame brightness). These are the processes at the time of reproduction.
以上の処理によれば、連続撮影の後に連続再生を行う場合においても、動画の各フレームの特徴量(フレーム最大輝度)を示す動的メタデータを生成し、動画データに付加することができる。 According to the above processing, even in the case of continuous reproduction after continuous shooting, it is possible to generate dynamic metadata indicating the feature amount (frame maximum brightness) of each frame of the moving image and add it to the moving image data.
次に、スロー撮影モードで撮影する場合について説明する。図5は、スロー撮影モードでの撮影フレームレートと再生フレームレートの関係の一例を示す模式図である。タイムラプス撮影モードで撮影する場合と同様に、撮影フレームレートと再生フレームレートは、操作部114に対するユーザ操作に応じて設定される。本実施例では、撮影フレームレートが240fpsであり、再生フレームレートが60fpsであり、撮影時間が1秒であるとする。図5に示すように、これらの条件から、再生時間は4秒(=1秒×240fps÷60fps)と定められる。
Next, a case of shooting in the slow shooting mode will be described. FIG. 5 is a schematic diagram showing an example of the relationship between the shooting frame rate and the playback frame rate in the slow shooting mode. Similar to the case of shooting in the time-lapse shooting mode, the shooting frame rate and the playback frame rate are set according to the user's operation on the
図2の撮影処理において、まず、タイムラプス撮影モードで撮影する場合と同様に、ステップS201,S202の処理が行われる。つまり、ステップS201にて、特徴量取得部104は、撮像素子102から出力されたフレーム画像データのフレーム最大輝度の取得を開始する。そして、ステップS202にて、CPU111は、撮像装置100に設定されている撮影モードがタイムラプス撮影モードであるか否かを判断する。ここでは、タイムラプス撮影モードが設定されておらず、スロー撮影モードが設定されているものと
したため(ステップS202:No)、ステップS206へ処理が進められる。
In the shooting process of FIG. 2, first, the processes of steps S201 and S202 are performed in the same manner as in the case of shooting in the time-lapse shooting mode. That is, in step S201, the feature
ステップS206にて、CPU111は、現在のフレーム画像データのフレーム最大輝度が、RAM112に格納されているフレーム最大輝度(情報)よりも高いか否かを判断する。そして、CPU111は、高いと判断した場合に、RAM112に格納されているフレーム最大輝度を、現在のフレーム画像データのフレーム最大輝度で更新する。現在のフレーム画像データが、撮像された動画(撮影される動画)の最初のフレームに対応する場合には、CPU111は、現在のフレーム画像データのフレーム最大輝度をRAM112に記録する。
In step S206, the
そして、CPU111は、操作部114に対する撮影終了操作が行われたか否かを判断する(ステップS207)。撮影終了操作が行われていない場合には(ステップS207:No)、ステップS206へ処理が戻される。撮影終了操作が行われるまで、撮影フレームレートでステップS206,S207の処理が繰り返される。つまり、撮像された動画(撮影される動画)のフレーム毎にステップS206,S207の処理が行われる。撮影終了操作が行われた場合には(ステップS207:Yes)、ステップS208へ処理が進められる。このため、撮像された動画(撮影される動画)の全体の特徴量(最大輝度)がRAM112に格納された状態、即ち動画の全期間を1シーンとしたシーン最大輝度がRAM112に格納された状態で、ステップS208へ処理が進められる。ここでは、撮影開始(図2の撮影処理の開始)から1秒が経過するまでステップS206,S207の処理が繰り返され、1秒が経過した後に撮影終了操作が行われてステップS208へ処理が進められたとする。
Then, the
ステップS208にて、メタデータ生成部105は、RAM112に格納されたフレーム最大輝度(動画の全体の最大輝度;動画の全期間を1シーンとしたシーン最大輝度)を示すメタデータを、動的メタデータとして生成する。
In step S208, the
そして、メタデータ付加部106は、メタデータ生成部105から出力された動的メタデータ(ステップS208で生成された動的メタデータ)を、撮像素子102から出力された動画データに付加する(ステップS209)。そして、メタデータ付加部106は、動的メタデータが付加された後の動画データを記憶部107に記録する。その後、撮影処理は終了する。なお、上述したように、メタデータ付加部106は、動画データの符号化処理を適宜行う。
Then, the metadata addition unit 106 adds the dynamic metadata (dynamic metadata generated in step S208) output from the
図6は、スロー撮影モードで撮影した動画のフレーム画像データ、フレーム最大輝度、及び、動的メタデータの一例を示す模式図である。撮影時間が1秒であり且つ撮影フレームレートが240fpsであるため、240枚(=240fps×1秒)のフレーム画像が撮影される(フレーム画像データno.1〜no.240)。実線601は、フレーム最大輝度の時間変化を示す。図6に示すように、スロー撮影モードで動画を撮影した場合には、複数のフレーム画像データにそれぞれ対応する複数のフレーム最大輝度のうちの最大輝度を示す一意の動的メタデータが、全てのフレーム画像データに対応するように動画データに付加される。具体的には、フレーム画像データno.Nのフレーム最大輝度3000nitsを示す動的メタデータが、フレーム画像データno.1〜No.240の全てに対応する動的メタデータとして動画データに付加される。つまり、撮像された動画(撮影される動画)の全体の特徴量(最大輝度)を示す動的メタデータが生成され、撮像された動画(撮影される動画)を表す動画データに付加される。
FIG. 6 is a schematic diagram showing an example of frame image data, frame maximum brightness, and dynamic metadata of a moving image shot in the slow shooting mode. Since the shooting time is 1 second and the shooting frame rate is 240 fps, 240 frames (= 240 fps × 1 second) of frame images are shot (frame image data no. 1 to no. 240). The
なお、動画同時撮影モードが設定されている場合に、スロー撮影モードが設定されている場合と同様の撮影処理を適用してもよい。但し、動画同時撮影モードの場合には、ステップS206にて、CPU111は、現在のタイミングまでの所定時間分の動画データ(
複数のフレーム画像データ)がRAM112に格納されるように、現在のフレーム画像データをRAM112に記録する。さらに、CPU111は、上記複数のフレーム画像データにそれぞれ対応する複数のフレーム最大輝度がRAM112に格納されるように、現在のフレーム画像データに対応するフレーム最大輝度をRAM112に記録する。ステップS207にて、CPU111は、静止画の撮影を行ったか否かを判断する。静止画の撮影は、例えば、静止画撮影ボタンの押下に応じて行われる。そして、ステップS208にて、メタデータ生成部105は、RAM112に格納された複数のフレーム最大輝度のうちの最大輝度を示すメタデータを、動的メタデータとして生成する。
When the moving image simultaneous shooting mode is set, the same shooting process as when the slow shooting mode is set may be applied. However, in the case of the moving image simultaneous shooting mode, in step S206, the
The current frame image data is recorded in the
図7は、本実施例に係る表示装置の表示輝度(表示面の輝度)の上限を1000nitsとした場合のトーンカーブ(トーンマップ)の一例を示す模式図である。トーンカーブは、表示装置に入力された画像データによって表された輝度(データ輝度)と、表示装置の表示輝度との関係を表す。表示装置は、トーンカーブに従って画像を表示する。本実施例では、撮像装置100(出力IF110)から出力されたフレーム画像データが表示装置に入力される。表示装置は、撮像装置100から出力された動的メタデータに従ってトーンカーブを変更する。
FIG. 7 is a schematic diagram showing an example of a tone curve (tone map) when the upper limit of the display brightness (brightness of the display surface) of the display device according to the present embodiment is 1000 nits. The tone curve represents the relationship between the brightness (data brightness) represented by the image data input to the display device and the display brightness of the display device. The display device displays the image according to the tone curve. In this embodiment, the frame image data output from the image pickup apparatus 100 (output IF110) is input to the display apparatus. The display device changes the tone curve according to the dynamic metadata output from the
トーンカーブ701を用いた場合には、データ輝度1000nitsが表示輝度1000nitsで表示されるが、1000nitsよりも高いデータ輝度も表示輝度1000nitsで表示される。つまり、1000nit以下のデータ輝度は忠実に表示できるが、1000nitsよりも高いデータ輝度は高い階調性で表示できず、1000nitsよりも高いデータ輝度のエリアで階調潰れ(白とび)が発生する。トーンカーブ702を用いた場合には、データ輝度1000nitsを表示輝度800nitsで表示するような輝度低下が発生するが、1000nitsよりも高いデータ輝度を高い階調性で表示できる。
When the
上述したように、タイムラプス撮影モードが設定されている場合には、動画の各フレームのフレーム最大輝度を示す動的メタデータが生成される。このため、表示装置では、フレーム毎にトーンカーブが変更される。例えば、図4のフレーム画像データno.M(フレーム最大輝度3000nits)を表示する場合には、トーンカーブ702が使用される。そして、図4のフレーム画像データno.3600(フレーム最大輝度1000nits)を表示する場合には、トーンカーブ701が使用される。使用するトーンカーブをトーンカーブ702からトーンカーブ701に変更することで、上述した輝度低下(特に、100nits以上のデータ輝度からの変化、1000nits近辺のデータ輝度からの低下、等)を抑制することができる。さらに、使用するトーンカーブをトーンカーブ701からトーンカーブ702に変更することで、1000nitsよりも高いデータ輝度を高い階調性で表示できるようになる。
As described above, when the time-lapse shooting mode is set, dynamic metadata indicating the frame maximum brightness of each frame of the moving image is generated. Therefore, in the display device, the tone curve is changed for each frame. For example, the frame image data no. When displaying M (
一方、スロー撮影モードが設定されている場合には、動画の全期間を1シーンとしたシーン最大輝度を示す動的メタデータが生成される。このため、表示装置では、トーンカーブは変更されない。図6の例では、シーン最大輝度3000nitsを示す動的メタデータが生成されるため、表示装置ではトーンカーブ702が常に使用される。その結果、トーンカーブの変化に起因する輝度変化を抑制できる。スロー撮影モードで撮影された動画では、フレーム間における画像の差が比較的小さい。トーンカーブの変化に起因する輝度変化を抑制することで、画像の差が比較的小さいフレーム間での画像の見えの急激な変化を抑制できる。
On the other hand, when the slow shooting mode is set, dynamic metadata indicating the maximum brightness of the scene is generated with the entire period of the moving image as one scene. Therefore, the tone curve is not changed on the display device. In the example of FIG. 6, the
以上述べたように、本実施例によれば、撮像装置において、設定された撮影モードに応じた期間での動画の特徴量を示すように動的メタデータが生成され、生成された動的メタデータが動画データに付加される。これにより、ポストプロダクション(画像データ編集
工程)ではなく、撮影工程(撮像装置)で、好適な動的メタデータが付加された動画データを得ることができる。例えば、本実施例で付加された動的メタデータを使用することで、フレーム最大輝度に近い輝度を有する高輝度エリアの輝度低下を抑制してタイムラプス動画を表示することができる。急激な輝度変化を抑制してスロー動画を表示することもできる。
As described above, according to the present embodiment, in the imaging device, dynamic metadata is generated so as to indicate the feature amount of the moving image in the period corresponding to the set shooting mode, and the generated dynamic metadata is generated. Data is added to the video data. As a result, it is possible to obtain moving image data to which suitable dynamic metadata is added in a shooting process (imaging apparatus) instead of post-production (image data editing process). For example, by using the dynamic metadata added in this embodiment, it is possible to display a time-lapse moving image while suppressing a decrease in brightness in a high-luminance area having a brightness close to the maximum frame brightness. It is also possible to suppress a sudden change in brightness and display a slow moving image.
なお、撮影モードは、タイムラプス撮影モード、連続撮影モード、スロー撮影モード、及び、動画同時撮影モードに限られない。例えば、撮影中に撮影フレームレートを変更可能な撮影モードが設定可能であってもよい。そのような撮影モードが設定されている場合には、メタデータ生成部105は、撮影フレームレートが変更されたタイミングで特徴量に対応する期間が切り替わる動的メタデータを生成してもよい。つまり、メタデータ生成部105は、撮影フレームレートが変更されたタイミングをシーンが切り替わるタイミングとして、各シーン最大輝度を示す動的メタデータを生成してもよい。
The shooting mode is not limited to the time-lapse shooting mode, the continuous shooting mode, the slow shooting mode, and the moving image simultaneous shooting mode. For example, a shooting mode in which the shooting frame rate can be changed during shooting may be set. When such a shooting mode is set, the
さらに、撮影フレームレートが所定のフレームレートよりも低い期間について、シーン最大輝度ではなく、動画の各フレームの特徴量(フレーム最大輝度)が示されるように、メタデータ生成部105が動的メタデータを生成してもよい。所定のフレームレートは、例えば、60fpsなどの通常のフレームレートである。
Further, for a period in which the shooting frame rate is lower than a predetermined frame rate, the
また、撮影フレームレートが所定のフレームレートよりも高い期間において動画のシーンが切り替わるタイミングで特徴量に対応する期間が切り替わるように、メタデータ生成部105が動的メタデータを生成してもよい。つまり、撮影フレームレートが所定のフレームレートよりも高い期間について各シーン最大輝度が示されるように、メタデータ生成部105が動的メタデータを生成してもよい。シーンが切り替わるタイミングは、撮影フレームレートが変更されたタイミングとは異なるタイミングを含んでもよい。例えば、フレーム間でフレーム最大輝度が閾値以上変化するタイミングなどが、シーンが切り替わるタイミングとしてさらに使用されてもよい。
Further, the
もしくは、撮影フレームレートが所定のフレームレートよりも高い期間において所定のフレームレートで特徴量に対応する期間が切り替わるように、メタデータ生成部105が動的メタデータを生成してもよい。つまり、メタデータ生成部105は、撮影フレームレートが変更されたタイミングと、所定のフレームレートのタイミングとをシーンが切り替わるタイミングとして、各シーン最大輝度を示す動的メタデータを生成してもよい。
Alternatively, the
<実施例2>
以下、本発明の実施例2について説明する。実施例1では、再生時間(再生フレームレート)が予め定められる例を説明した。実施例2では、再生を行う際に再生時間が変更可能な例を説明する。なお、以下では、実施例1と異なる点(構成、処理、等)について詳しく説明し、実施例1と同じ点についての説明は省略する。
<Example 2>
Hereinafter, Example 2 of the present invention will be described. In the first embodiment, an example in which the reproduction time (reproduction frame rate) is predetermined has been described. In the second embodiment, an example in which the reproduction time can be changed at the time of reproduction will be described. In the following, points different from Example 1 (configuration, processing, etc.) will be described in detail, and description of the same points as in Example 1 will be omitted.
撮影モード設定部109は、可変フレームレート撮影モード(撮影フレームレートが変更可能な撮影モード)を設定できる。可変フレームレートモードが設定されている場合には、操作部114に対するユーザ操作に応じて、通常の撮影から特殊撮影への切り替え、特殊撮影から他の特殊撮影への切り替え、特殊撮影から通常の撮影への切り替え、等が行われる。特殊撮影は、特殊撮影モードでの撮影と同じ撮影であり、例えば、タイムラプス撮影モードでの撮影であるタイムラプス撮影、スロー撮影モードでの撮影であるスロー撮影、等である。
The shooting
再生部108は、実施例1で述べた処理の他に、動画のシーンを判断するシーン判断処理、動的メタデータを再生成(更新)する再生成処理、等も行うことができる。シーン判
断処理では、例えば、フレーム間でフレーム最大輝度が閾値以上変化するタイミングが、シーンが切り替わるタイミングとして検出される。さらに、再生部108は、操作部114に対するユーザ操作に応じて、再生モードを設定できる。本実施例では、再生部108は、可変フレームレート撮影モードで撮影された動画を再生する際に、特殊効果優先モードまたは時間優先モードを設定する。特殊効果優先モードと時間優先モードについては後述する。
In addition to the processing described in the first embodiment, the
撮像装置100の再生モードに応じた動的メタデータの再生成処理について説明する。ここでは、可変フレームレート撮影モードで撮影された動画データを再生するものとし、再生する動画データに、各フレームのフレーム最大輝度を示す動的メタデータが付加されているものとする。
The dynamic metadata regeneration process according to the reproduction mode of the
まず、特殊効果優先モードが設定されている場合について説明する。特殊効果優先モードは、特殊撮影の効果を優先した再生を行う再生モードである。特殊効果優先モードが設定されている場合には、可変フレームレート撮影モードで撮影された動画が、当該動画の撮影時間と異なる再生時間で再生される。例えば、スロー撮影の期間については撮影時間よりも長い再生時間で動画が再生され(スロー再生)、タイムラプス撮影の期間については撮影時間よりも短い再生時間で動画が再生される(タイムラプス再生)。 First, the case where the special effect priority mode is set will be described. The special effect priority mode is a playback mode in which playback is performed with priority given to the effect of special shooting. When the special effect priority mode is set, the moving image shot in the variable frame rate shooting mode is played back at a playback time different from the shooting time of the moving image. For example, during the slow shooting period, the moving image is played back with a playback time longer than the shooting time (slow playback), and during the time-lapse shooting period, the moving image is played back with a playback time shorter than the shooting time (time-lapse playback).
図8は、特殊効果優先モードが設定されている場合の、撮影フレームレート、再生フレームレート、及び、再生状態の関係の一例を示す模式図である。 FIG. 8 is a schematic diagram showing an example of the relationship between the shooting frame rate, the reproduction frame rate, and the reproduction state when the special effect priority mode is set.
図8において、可変フレームレート撮影モードで撮影された動画は、通常撮影動画801、スロー撮影動画802、タイムラプス撮影動画803、及び、通常撮影動画804からなる。通常撮影動画801,804は、通常の撮影によって得られた動画であり、通常撮影動画801,804の撮影フレームレートは60fpsである。スロー撮影動画802は、スロー撮影によって得られた動画であり、スロー撮影動画802の撮影フレームレートは240fpsである。タイムラプス撮影動画803は、タイムラプス撮影によって得られた動画であり、タイムラプス撮影動画803の撮影フレームレートは30fpsである。
In FIG. 8, the moving image shot in the variable frame rate shooting mode includes a normal
特殊効果優先モードが設定されている場合には、通常撮影動画801が通常再生され、スロー撮影動画802がスロー再生され、タイムラプス撮影動画803がタイムラプス再生され、通常撮影動画804が通常再生される。図8の例では、再生動画(再生された動画)は、通常再生動画811、スロー再生動画812、タイムラプス再生動画813、及び、通常再生動画814からなる。通常再生動画811は通常撮影動画801に対応し、スロー再生動画812はスロー撮影動画802に対応し、タイムラプス再生動画813はタイムラプス撮影動画803に対応し、通常再生動画814は通常撮影動画804に対応する。そして、再生フレームレートは常に60fpsとされる。
When the special effect priority mode is set, the normal
図9は、特殊効果優先モードが設定されている場合に再生成された動的メタデータの一例を示す模式図である。ここで、フレーム最大輝度Laとフレーム最大輝度Lbの差、フレーム最大輝度Ldとフレーム最大輝度Leの差、及び、フレーム最大輝度Lgとフレーム最大輝度Lhの差は、シーンの切り替わりを検出するための上記閾値以上である。特殊効果優先モードが設定されている場合とは、可変フレームレート撮影モードで撮影された動画が、当該動画の撮影時間と異なる再生時間で再生される場合である。 FIG. 9 is a schematic diagram showing an example of dynamic metadata regenerated when the special effect priority mode is set. Here, the difference between the maximum frame brightness La and the maximum frame brightness Lb, the difference between the maximum frame brightness Ld and the maximum frame brightness Le, and the difference between the maximum frame brightness Lg and the maximum frame brightness Lh are for detecting the change of the scene. It is equal to or higher than the above threshold. The case where the special effect priority mode is set is a case where the moving image shot in the variable frame rate shooting mode is played back at a playback time different from the shooting time of the moving image.
特殊効果優先モードが設定されている場合には、再生部108は、以下の条件を満たすように動的メタデータを再生成する。ここで、動画のシーンが切り替わるタイミングは、撮影フレームレートが変更されたタイミングではなく、例えばフレーム最大輝度が閾値以
上変化するタイミングである。撮影フレームレートが変更されたタイミングは、再生状態が切り替わるタイミングである。
・撮影フレームレートが所定のフレームレート(例えば、60fpsなどの通常のフレームレート)である期間において、動画のシーンが切り替わるタイミングと、撮影フレームレートが変更されたタイミングとで、特徴量に対応する期間が切り替わる。
・撮影フレームレートが所定のフレームレートでない期間において、撮影フレームレート変更されたタイミングで特徴量に対応する期間が切り替わる。
When the special effect priority mode is set, the
-During a period in which the shooting frame rate is a predetermined frame rate (for example, a normal frame rate such as 60 fps), a period corresponding to the feature amount at the timing when the moving image scene is switched and the timing when the shooting frame rate is changed. Is switched.
-In a period when the shooting frame rate is not a predetermined frame rate, the period corresponding to the feature amount is switched at the timing when the shooting frame rate is changed.
本実施例では、通常再生の期間について、撮影フレームレートが変更されたタイミングと、フレーム最大輝度が閾値以上変化するタイミングとをシーンが切り替わるタイミングとして、シーン最大輝度が示されるように、動的メタデータが再生成される。具体的には、通常再生動画811の期間のうち、再生を開始した時刻0から、フレーム最大輝度が輝度Laから輝度Lbに変化する時刻t1までの期間が、1シーンの期間として検出される。そして、再生成される動的メタデータの一部、具体的には検出されたシーン(時刻0から時刻t1までの期間)に対応するメタデータとして、当該シーンのシーン最大輝度Laを示すメタデータが再生成される。同様に、時刻t1から、再生状態が変化する時刻t2までの期間が、1シーンとして検出され、検出されたシーンに対応するメタデータとして、当該シーンのシーン最大輝度Lcを示すメタデータが再生成される。通常再生動画814の期間については、再生状態が変化した時刻t6から、再生を終了する時刻t7までの期間が、1シーンの期間として検出される。そして、検出されたシーン(時刻t6から時刻t7までの期間)に対応するメタデータとして、当該シーンのシーン最大輝度Liを示すメタデータが再生成される。
In this embodiment, for the normal playback period, the dynamic meta is shown so that the maximum scene brightness is shown as the timing at which the scene is switched between the timing when the shooting frame rate is changed and the timing when the maximum frame brightness changes by the threshold value or more. The data is regenerated. Specifically, in the period of the normal
そして、特殊再生(スロー再生、タイムラプス再生、等)の期間については、当該期間での動画の全体の特徴量が示されるように、動的メタデータが生成される。つまり、特殊再生の期間については、当該期間を1シーンとしたシーン最大輝度が示されるように、動的メタデータが再生成される。 Then, for the special playback (slow playback, time-lapse playback, etc.) period, dynamic metadata is generated so that the overall feature amount of the moving image in the period is shown. That is, for the special reproduction period, the dynamic metadata is regenerated so that the maximum brightness of the scene with the period as one scene is shown.
具体的には、スロー再生動画812の期間については、スロー再生を開始した時刻t2から、再生状態が変化する時刻t4までの期間が、1シーンとして検出される。そして、再生成される動的メタデータの一部、具体的には検出されたシーン(時刻t2から時刻t4までの期間)に対応するメタデータとして、当該シーンのシーン最大輝度Lfを示すメタデータが再生成される。通常再生の場合には、フレーム最大輝度が輝度Ldから輝度Leに変化する時刻t3でメタデータが切り替わるが、スロー再生の場合には時刻t3でメタデータは切り替わらない。
Specifically, as for the period of the slow
同様に、タイムラプス再生動画813の期間については、タイムラプス再生を開始した時刻t4から、再生状態が変化する時刻t6までの期間が、1シーンとして検出される。そして、検出されたシーン(時刻t4から時刻t6までの期間)に対応するメタデータとして、当該シーンのシーン最大輝度Lgを示すメタデータが再生成される。通常再生の場合には、フレーム最大輝度が輝度Lgから輝度Lhに変化する時刻t5でメタデータが切り替わるが、タイムラプス再生の場合には時刻t5でメタデータは切り替わらない。
Similarly, with respect to the period of the time-lapse
以上の処理で再生成された動的メタデータを用いることにより、特殊再生中において、トーンカーブが変更されないため、トーンカーブの変化に起因する(急激な)輝度変化を抑制できる。 By using the dynamic metadata regenerated by the above processing, the tone curve is not changed during the special reproduction, so that the (rapid) brightness change caused by the change of the tone curve can be suppressed.
次に、時間優先モードが設定されている場合について説明する。時間優先モードは、撮影時間を優先した再生を行う再生モードである。時間優先モードが設定されている場合には、可変フレームレート撮影モードで撮影された動画が、当該動画の撮影時間と等しい再
生時間で再生される。
Next, a case where the time priority mode is set will be described. The time priority mode is a playback mode in which playback is performed with priority given to the shooting time. When the time priority mode is set, the moving image shot in the variable frame rate shooting mode is played back with a playback time equal to the shooting time of the moving image.
図10は、時間優先モードが設定されている場合の、撮影フレームレート、再生フレームレート、及び、再生状態の関係の一例を示す模式図である。図8と同様に、可変フレームレート撮影モードで撮影された動画は、通常撮影動画801、スロー撮影動画802、タイムラプス撮影動画803、及び、通常撮影動画804からなる。
FIG. 10 is a schematic diagram showing an example of the relationship between the shooting frame rate, the reproduction frame rate, and the reproduction state when the time priority mode is set. Similar to FIG. 8, the moving image shot in the variable frame rate shooting mode includes a normal
時間優先モードが設定されている場合には、通常撮影動画801が通常再生され、スロー撮影動画802が間引き再生され、タイムラプス撮影動画803が重複再生され、通常撮影動画804が通常再生される。間引き再生では、再生時間が撮影時間と一致するように、フレームが間引かれる。重複再生では、再生時間が撮影時間と一致するように、同じフレームが複数回再生される。図10の例では、再生動画は、通常再生動画911、間引き再生動画912、重複再生動画913、及び、通常再生動画914からなる。通常再生動画911は通常撮影動画801に対応し、間引き再生動画912はスロー撮影動画802に対応し、重複再生動画913はタイムラプス撮影動画803に対応し、通常再生動画914は通常撮影動画804に対応する。そして、再生フレームレートは常に60fpsとされる。
When the time priority mode is set, the normal
図11は、時間優先モードが設定されている場合に再生成された動的メタデータの一例を示す模式図である。図9と同様に、フレーム最大輝度Laとフレーム最大輝度Lbの差、フレーム最大輝度Ldとフレーム最大輝度Leの差、及び、フレーム最大輝度Lgとフレーム最大輝度Lhの差は、シーンの切り替わりを検出するための上記閾値以上である。時間優先モードが設定されている場合とは、可変フレームレート撮影モードで撮影された動画が、当該動画の撮影時間と等しい再生時間で再生される場合である。 FIG. 11 is a schematic diagram showing an example of dynamic metadata regenerated when the time priority mode is set. Similar to FIG. 9, the difference between the maximum frame brightness La and the maximum frame brightness Lb, the difference between the maximum frame brightness Ld and the maximum frame brightness Le, and the difference between the maximum frame brightness Lg and the maximum frame brightness Lh detect a scene change. It is equal to or higher than the above threshold value. The time priority mode is set when the moving image shot in the variable frame rate shooting mode is played back at a playback time equal to the shooting time of the moving image.
時間優先モードが設定されている場合には、再生部108は、撮影フレームレートに依らず、動画のシーンが切り替わるタイミングで特徴量に対応する期間が切り替わる動的メタデータを再生成する。ここで、動画のシーンが切り替わるタイミングは、撮影フレームレートが変更されたタイミングではなく、例えばフレーム最大輝度が閾値以上変化するタイミングである。本実施例では、時間優先モードが設定されている場合には、撮影フレームレートが変更されたタイミングは、シーンが切り替わるタイミングとして扱われず、フレーム最大輝度が閾値以上変化するタイミングが、シーンが切り替わるタイミングとして扱われる。即ち、再生動画911〜914を1つの再生動画として扱って、シーン最大輝度を示す動的メタデータが再生成される。
When the time priority mode is set, the
具体的には、再生を開始した時刻0から、フレーム最大輝度が輝度Laから輝度Lbに変化する時刻t1までの期間が、1シーンの期間として検出される。そして、再生成される動的メタデータの一部、具体的には検出されたシーン(時刻0から時刻t1までの期間)に対応するメタデータとして、当該シーンのシーン最大輝度Laを示すメタデータが再生成される。同様に、時刻t1から、フレーム最大輝度が輝度Ldから輝度Leに変化する時刻t3までの期間が、1シーンとして検出され、検出されたシーンに対応するメタデータとして、当該シーンのシーン最大輝度Ldを示すメタデータが再生成される。時刻t3から、フレーム最大輝度が輝度Lgから輝度Lhに変化する時刻t5までの期間が、1シーンとして検出され、検出されたシーンに対応するメタデータとして、当該シーンのシーン最大輝度Lgを示すメタデータが再生成される。そして、時刻t5から、再生を終了する時刻t7までの期間が、1シーンとして検出され、検出されたシーンに対応するメタデータとして、当該シーンのシーン最大輝度Lhを示すメタデータが再生成される。このように、フレーム最大輝度が閾値以上変化する時刻t1,t3,t5ではメタデータが切り替わるが、再生状態が変化する時刻t2,t4,t6ではメタデータは切り替わらない。
Specifically, the period from the
以上の処理で再生成された動的メタデータを用いることにより、動画のシーンの再生中において、トーンカーブが変更されないため、トーンカーブの変化に起因する輝度変化を抑制できる。 By using the dynamic metadata regenerated by the above processing, the tone curve is not changed during the reproduction of the moving image scene, so that the change in brightness due to the change in the tone curve can be suppressed.
以上述べたように、本実施例によれば、可変フレームレート撮影モードで撮影された動画の再生方法に応じた方法で、動的メタデータが再生成される。これにより、再生方法に適した動的メタデータを使用して好適な輝度での表示が実現可能となる。 As described above, according to the present embodiment, the dynamic metadata is regenerated by a method according to the playback method of the moving image shot in the variable frame rate shooting mode. As a result, it is possible to realize display with suitable brightness by using dynamic metadata suitable for the reproduction method.
なお、実施例1,2(図1)の各機能ブロックは、個別のハードウェアであってもよいし、そうでなくてもよい。2つ以上の機能ブロックの機能が、共通のハードウェアによって実現されてもよい。1つの機能ブロックの複数の機能のそれぞれが、個別のハードウェアによって実現されてもよい。1つの機能ブロックの2つ以上の機能が、共通のハードウェアによって実現されてもよい。また、各機能ブロックは、ハードウェアによって実現されてもよいし、そうでなくてもよい。例えば、装置が、プロセッサと、制御プログラムが格納されたメモリとを有していてもよい。そして、装置が有する少なくとも一部の機能ブロックの機能が、プロセッサがメモリから制御プログラムを読み出して実行することにより実現されてもよい。 It should be noted that each functional block of Examples 1 and 2 (FIG. 1) may or may not be individual hardware. The functions of two or more functional blocks may be realized by common hardware. Each of the plurality of functions of one functional block may be realized by individual hardware. Two or more functions of one functional block may be realized by common hardware. Also, each functional block may or may not be implemented by hardware. For example, the device may have a processor and a memory in which the control program is stored. Then, the function of at least a part of the functional blocks of the device may be realized by the processor reading the control program from the memory and executing it.
なお、実施例1,2(上述した変形例を含む)はあくまで一例であり、本発明の要旨の範囲内で実施例1,2の構成を適宜変形したり変更したりすることにより得られる構成も、本発明に含まれる。実施例1,2の構成を適宜組み合わせて得られる構成も、本発明に含まれる。 It should be noted that Examples 1 and 2 (including the above-mentioned modified examples) are merely examples, and configurations obtained by appropriately modifying or changing the configurations of Examples 1 and 2 within the scope of the gist of the present invention. Is also included in the present invention. A configuration obtained by appropriately combining the configurations of Examples 1 and 2 is also included in the present invention.
<その他の実施例>
本発明は、上述の実施例の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other Examples>
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
100:撮像装置 105:メタデータ生成部
106:メタデータ付加部 109:撮影モード設定部
100: Imaging device 105: Metadata generation unit 106: Metadata addition unit 109: Shooting mode setting unit
Claims (14)
撮像された動画の特徴量を示すメタデータを生成する生成手段と、
前記生成手段によって生成された前記メタデータを、前記動画を表す動画データに付加する付加手段と、
を有し、
前記生成手段は、前記設定手段によって設定された撮影モードに応じた期間での前記動画の特徴量を示す前記メタデータを生成する
ことを特徴とする撮像装置。 Setting means to set the shooting mode and
A generation means for generating metadata indicating the features of the captured moving image, and
An additional means for adding the metadata generated by the generation means to the moving image data representing the moving image, and
Have,
The generation means is an image pickup apparatus that generates the metadata indicating the feature amount of the moving image in a period corresponding to the shooting mode set by the setting means.
ことを特徴とする請求項1に記載の撮像装置。 The imaging device according to claim 1, wherein the feature amount has a maximum brightness.
ことを特徴とする請求項1または2に記載の撮像装置。 When the shooting mode set by the setting means is a shooting mode in which the playback time of the moving image is shorter than the shooting time of the moving image, the generating means is a meta indicating the feature amount of each frame of the moving image. The imaging apparatus according to claim 1 or 2, wherein data is generated.
前記生成手段は、撮像された静止画の特徴量を示すメタデータを生成する処理を、順次撮影される複数の静止画のそれぞれについて行い、
前記付加手段は、前記生成手段によって生成された前記メタデータを当該メタデータに対応する前記静止画を表す静止画データに付加する処理を、順次撮影される前記複数の静止画のそれぞれについて行う
ことを特徴とする請求項1〜3のいずれか1項に記載の撮像装置。 When the shooting mode set by the setting means is a shooting mode for sequentially shooting a plurality of still images,
The generation means performs a process of generating metadata indicating the feature amount of the captured still image for each of the plurality of still images to be sequentially captured.
The addition means performs a process of adding the metadata generated by the generation means to the still image data representing the still image corresponding to the metadata for each of the plurality of still images to be sequentially photographed. The image pickup apparatus according to any one of claims 1 to 3.
ことを特徴とする請求項1〜4のいずれか1項に記載の撮像装置。 When the shooting mode set by the setting means is a shooting mode in which the playback time of the moving image is longer than the shooting time of the moving image, the generating means is metadata indicating the overall feature amount of the moving image. The imaging device according to any one of claims 1 to 4, wherein the image pickup apparatus is produced.
ことを特徴とする請求項1〜5のいずれか1項に記載の撮像装置。 When the shooting mode set by the setting means is a shooting mode for recording moving image data representing a moving image captured in a predetermined period in conjunction with shooting of a still image, the generating means is used for the predetermined period. The imaging apparatus according to any one of claims 1 to 5, wherein metadata indicating the overall feature amount of the moving image captured in the image is generated.
ことを特徴とする請求項1〜6のいずれか1項に記載の撮像装置。 When the shooting mode set by the setting means is a shooting mode in which the frame rate of shooting can be changed, the generation means corresponds to the feature amount at the timing when the frame rate of shooting is changed. The imaging apparatus according to any one of claims 1 to 6, wherein the metadata for which the period is switched is generated.
ことを特徴とする請求項7に記載の撮像装置。 When the shooting mode set by the setting means is the shooting mode in which the frame rate of the shooting can be changed, the generation means said that the frame rate of the shooting is lower than the predetermined frame rate for a period of time. The imaging device according to claim 7, wherein the metadata indicating the feature amount of each frame of the moving image is generated.
可能な前記撮影モードである場合に、前記生成手段は、前記撮影のフレームレートが所定のフレームレートよりも高い期間において前記動画のシーンが切り替わるタイミングで前記特徴量に対応する前記期間が切り替わる前記メタデータを生成する
ことを特徴とする請求項7または8に記載の撮像装置。 When the shooting mode set by the setting means is the shooting mode in which the frame rate of the shooting can be changed, the generation means said that the frame rate of the shooting is higher than the predetermined frame rate. The imaging device according to claim 7 or 8, wherein the metadata corresponding to the feature amount is switched at the timing when the moving image scene is switched.
ことを特徴とする請求項7または8に記載の撮像装置。 When the shooting mode set by the setting means is the shooting mode in which the frame rate of the shooting can be changed, the generation means said that the frame rate of the shooting is higher than the predetermined frame rate. The imaging apparatus according to claim 7 or 8, wherein the metadata corresponding to the feature amount is switched at a predetermined frame rate.
ことを特徴とする請求項1〜10のいずれか1項に記載の撮像装置。 When a moving image shot in a shooting mode in which the shooting frame rate can be changed is played back at a playback time equal to the shooting time of the moving image, the generation means uses the feature amount at the timing when the scene of the moving image is switched. The imaging apparatus according to any one of claims 1 to 10, wherein the corresponding metadata for which the period is switched is regenerated.
前記撮影のフレームレートが所定のフレームレートである期間において、前記動画のシーンが切り替わるタイミングと、前記撮影のフレームレートが変更されたタイミングとで、前記特徴量に対応する前記期間が切り替わり、且つ、
前記撮影のフレームレートが前記所定のフレームレートでない期間において、前記撮影のフレームレートが変更されたタイミングで前記特徴量に対応する前記期間が切り替わる
メタデータを再生成する
ことを特徴とする請求項1〜11のいずれか1項に記載の撮像装置。 When a moving image shot in a shooting mode in which the shooting frame rate can be changed is played back at a playback time different from the shooting time of the moving image, the generation means
In a period in which the frame rate of the shooting is a predetermined frame rate, the period corresponding to the feature amount is switched between the timing when the scene of the moving image is switched and the timing when the frame rate of the shooting is changed.
Claim 1 is characterized in that, in a period in which the frame rate of shooting is not the predetermined frame rate, metadata corresponding to the feature amount is regenerated at the timing when the frame rate of shooting is changed. The imaging apparatus according to any one of 1 to 11.
撮像された動画の特徴量を示すメタデータを生成する生成ステップと、
前記生成ステップにおいて生成された前記メタデータを、前記動画を表す動画データに付加する付加ステップと、
を有し、
前記生成ステップでは、前記設定ステップにおいて設定された撮影モードに応じた期間での前記動画の特徴量を示す前記メタデータを生成する
ことを特徴とする撮像装置の制御方法。 Setting steps to set the shooting mode and
A generation step to generate metadata showing the features of the captured video,
An additional step of adding the metadata generated in the generation step to the moving image data representing the moving image,
Have,
The generation step is a control method for an image pickup apparatus, which comprises generating the metadata indicating the feature amount of the moving image in a period corresponding to the shooting mode set in the setting step.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019033958A JP2020141189A (en) | 2019-02-27 | 2019-02-27 | Imaging apparatus and control method of the same |
US16/676,001 US11184551B2 (en) | 2018-11-07 | 2019-11-06 | Imaging apparatus and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019033958A JP2020141189A (en) | 2019-02-27 | 2019-02-27 | Imaging apparatus and control method of the same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2020141189A true JP2020141189A (en) | 2020-09-03 |
Family
ID=72265204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019033958A Pending JP2020141189A (en) | 2018-11-07 | 2019-02-27 | Imaging apparatus and control method of the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2020141189A (en) |
-
2019
- 2019-02-27 JP JP2019033958A patent/JP2020141189A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5234119B2 (en) | Imaging apparatus, imaging processing method, and program | |
JP2010206552A (en) | Imaging apparatus, reproduction display, imaging recording method, and reproduction display method | |
US20110199496A1 (en) | Image capturing apparatus, image capturing control method, and storage medium | |
JP6304293B2 (en) | Image processing apparatus, image processing method, and program | |
JP4556195B2 (en) | Imaging device, moving image playback device, and program | |
JP5962600B2 (en) | MOVIE GENERATION DEVICE, MOVIE GENERATION METHOD, AND PROGRAM | |
JP2014057174A (en) | Imaging apparatus and digital camera | |
JP5241559B2 (en) | Image recording / playback device | |
JP2005055746A (en) | Imaging apparatus, focusing control method and program | |
JP2014057169A (en) | Image generating apparatus, imaging apparatus including the same, image generating method and image generation program | |
JP2015061236A (en) | Image processing apparatus, image processing method and program | |
JP6278729B2 (en) | Imaging apparatus, control method thereof, and program | |
JP6152009B2 (en) | Imaging apparatus, imaging method, program, and recording medium | |
JP6775386B2 (en) | Imaging device, its control method, program and recording medium | |
JP2011233985A (en) | Image processing system and its control method | |
US11184551B2 (en) | Imaging apparatus and control method thereof | |
JP2008205953A (en) | Imaging device and image reproducing device | |
JP7278092B2 (en) | Image processing device, imaging device, image processing method, imaging device control method, and program | |
JP2014049882A (en) | Imaging apparatus | |
JP2020141189A (en) | Imaging apparatus and control method of the same | |
JP6075829B2 (en) | IMAGING DEVICE, CAMERA SYSTEM, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
JP4110007B2 (en) | Digital movie video camera and video playback device | |
JP7175941B2 (en) | IMAGE PROCESSING APPARATUS, CONTROL METHOD FOR IMAGE PROCESSING APPARATUS, AND PROGRAM | |
JP5593652B2 (en) | Camera and movie playback program | |
JP6742862B2 (en) | Imaging device, image processing device, control method of imaging device, and program |