JP4247701B2 - Movie recording apparatus and movie recording method - Google Patents
Movie recording apparatus and movie recording method Download PDFInfo
- Publication number
- JP4247701B2 JP4247701B2 JP2001213300A JP2001213300A JP4247701B2 JP 4247701 B2 JP4247701 B2 JP 4247701B2 JP 2001213300 A JP2001213300 A JP 2001213300A JP 2001213300 A JP2001213300 A JP 2001213300A JP 4247701 B2 JP4247701 B2 JP 4247701B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- unit
- recording
- strobe
- moving 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Input (AREA)
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
- Stroboscope Apparatuses (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、動画記録装置及び動画記録方法に関し、詳しくは、撮像手段により順次撮像される静止画像を利用して動画像を生成記録する動画記録装置及び動画記録方法に関する。
【0002】
【従来の技術】
ディジタルカメラに代表される電子スチルカメラは、CCD(Charge Coupled Device)などの固体撮像デバイスで構成された二次元イメージセンサを用いて被写体の静止画信号を生成し、その静止画信号を記憶デバイスに書き込んで電子的に記録するものであり、フィルムカメラに比べて、画像の即時再生、不要画像の消去、画像データの転送容易性などの点で格別の利便性を持っているが、今日、かかる静止画記録に加え、上記のイメージセンサの特性を利用して動画ファイルの生成を可能にした電子スチルカメラが一部で普及している。
【0003】
【発明が解決しようとする課題】
しかしながら、かかる動画像記録機能を備えた従来の電子スチルカメラにあっては、ストロボを用いなければならないような低光量下での動画撮影(以下「暗所撮影」という。)を行うことができないという問題点があった。
【0004】
その理由は、静止画撮影用のストロボの照射光は、その発光時間が数ミリ秒程度と短い瞬間的な放電光であるうえ、しかも充電に要する時間が動画像記録を行う際の静止画記録周期よりも遙かに長いからである。
【0005】
もちろん、ストロボの代わりに、スポットライトのような常時点灯光源を用いることによって上記の不都合を解消できるが、常時点灯光源は電力消費が相当大きく、大型のバッテリを搭載しなければならないため、電子スチルカメラ用の補助光源としては不適当であるから、現実的でない。
【0006】
以上の点より、本発明が解決しようとする課題は、間欠的に発光するストロボを用いた動画記録であっても、非ストロボ撮影による動画像と同様に動画再生を行なうことができる動画記録装置及び動画記録方法を提供することにある。
【0007】
【課題を解決するための手段】
本発明は、撮像手段により順次撮像される静止画像を利用して動画像を構成する複数の単位画像を記録する動画記録装置において、前記動画像の記録中において、補助光を間欠的に発光させる補助光制御手段と、前記補助光の発光タイミングに対応する単位画像を記録する場合には、前記補助光の発光時に前記撮像手段により撮像された静止画像を該単位画像として記録する第1記録手段と、前記補助光の非発光タイミングに対応する単位画像を記録する場合には、前記補助光発光時に前記撮像手段により撮像された静止画像を利用して該単位画像を記録する第2記録手段と、を備えたことを特徴とする。
また、上記動画記録装置において、ストロボを間欠的に発光させるストロボ制御手段と、前記ストロボ発光時に前記撮像手段により撮像された静止画像を、前記動画像を構成する単位画像の一つとして記録する第1記録手段と、前記ストロボ非発光時に前記撮像手段により撮像されるべき静止画像の代わりに直前又は直後のストロボ発光時に前記撮像手段により撮像された静止画像を、前記動画像を構成する単位画像の一つとして記録する第2記録手段と、を備えたことを特徴とする。
【0008】
【発明の実施の形態】
以下、本発明の実施の形態を、ディジタルカメラ等の電子スチルカメラを例にして、図面を参照しながら説明する。
【0009】
まず、構成を説明する。図1は、電子スチルカメラの外観図である。図において、電子スチルカメラ10(動画記録装置)は、カメラボディ11の前面に、レンズ鏡筒部12、ファインダ窓13及びストロボ窓14などを備えるとともに、上面に、シャッターキー15、ストロボオンオフキー16及びセルフタイマーキー17などを備え、さらに、背面に、電源スイッチ18、ズームボタン19、記録/再生モード切り替えスイッチ20、ファインダ接眼窓21、液晶ディスプレイ22及び複数の機能キー23〜25などを備える。
【0010】
ここで、本実施の形態では、第1から第3までの3個の機能キー23〜25を備えるものとし、且つ、第1の機能キー23を後述のメニュー処理起動キー(以下「メニューキー23」という。)に割り当て、また、第2の機能キー24をカーソルの上下左右移動キー(以下「カーソルキー24」という。)に割り当て、さらに、第3の機能キー25を選択実行キー(以下「エンターキー25」という。)に割り当てることにする。
【0011】
レンズ鏡筒部12は、光学ズーム機能付きの撮影レンズ群やメカニカルシャッタ機構などを収めたものであり、レンズ鏡筒部12の後端に配置された不図示のイメージセンサの受光面に被写体の像を結像させるものである。ファインダ窓13は、カメラボディ11の背面側のファインダ接眼窓21と一体をなしており、目視で構図確認を行う際に用いられるものである。ストロボ窓14は、後述のストロボ発光を通すための透過窓であり、多くの場合、撮影レンズ群の画角に合わせてストロボ発光の光束の広がりを調節するための小さなレンズが全面に並べられている。
【0012】
シャッターキー15は、撮影時に2段階で押し下げ操作されるものである。1段目で露出等を設定し、2段目で静止画像をキャプチャ(記録)する。このシャッターキー15は、動画像の撮影開始キーとしても用いられるようになっており、動画モードで2段目まで押し下げると、それ以降の所定の記録時間の間、静止画像を所定周期でキャプチャーして、複数枚のキャプチャー画像からなる動画ファイルを生成記録するようになっている。
【0013】
ストロボオンオフキー16は、ストロボ発光を許容するか禁止するかを設定するものである。発光許容に設定されている場合、静止画撮影モードや動画撮影モードに関わらず、シャッターキー15の1段目押し下げ操作時に露出不足が判定されると、画像キャプチャーの際に、後述するストロボ部34を駆動してストロボ光を発射し、発光禁止に設定されている場合は、同ストロボ部34の駆動を強制禁止する。
【0014】
また、セルフタイマーキー17はセルフタイマーのオンオフを切り替えるものであり、電源スイッチ18は、電子スチルカメラ10の電源を入れたり切ったりするものである。ズームボタン19は光学レンズの画角(すなわちズーム比)を変更するものである。「+」側を押すと画角が小さくなり、「−」側を押すと逆に大きくなる。記録/再生モード切り替えスイッチ20は、電子スチルカメラ10の動作モードを記録モードと再生モードに切り替えるものである。
【0015】
液晶ディスプレイ22は高解像度のカラー液晶ディスプレイである。この液晶ディスプレイ22を用いて、記録済みの画像をいつでも自由に再生確認できるとともに、記録モードにおいては、スルー画像を表示させてファインダ代わりに用いることができ、さらに、逆光撮影などの際の自動露出が不適切であるときはスルー画像を見ながら手動で適正露出に設定したり、あるいは、ホワイトバランスの自動設定値が不適切であるときは同様にスルー画像を見ながら撮影光源に応じたホワイトバランス設定値を手動で選択したりすることができるようになっている。
【0016】
図2は、電子スチルカメラ10の概念的な機能ブロック図である。このブロック図では、便宜的に、撮像部32(撮像手段)、画像処理部33(撮像手段)、ストロボ部34(ストロボ)、操作部35、制御部36(ストロボ制御手段、第1記録手段、第2記録手段、撮像制御手段、第3記録手段)、表示制御部37、表示部38(図1の液晶ディスプレイ22に相当)、画像記憶部39などの各機能ブロックに分けられている。
【0017】
撮像部32は、撮影レンズ群やメカニカルシャッタ機構などを含むとともに、被写体31の像を撮像して毎秒数十フレームのカラー画像信号を生成するCCD等のカラーイメージセンサを含む。このカラーイメージセンサは、タイミング回路やサンプリングホールド回路及びアナログディジタル変換回路などの付帯回路を備え、制御部36からの制御信号に基づいてシャッター速度や露出値などを可変的に設定するとともに、その設定値に対応した毎秒数十フレーム周期のカラー画像信号(以下、単に画像信号という。)を生成し、アナログディジタル変換回路でディジタル信号に変換して画像処理部33に出力する。
【0018】
画像処理部33は、入力された画像信号を輝度成分(Y)と色成分(Cr、Cb)に分離し、制御部36からの制御信号に基づいてホワイトバランス補正を施した後、そのホワイトバランス補正後のYCrCb信号を制御部36に出力する。ストロボ部34は、制御部36からの駆動信号に従って被写体31を照明するための補助光(ストロボ光)34aを発射する。操作部35は、カメラボディ11に設けられた各種操作キー、すなわち、前述のシャッターキー15、ストロボオンオフキー16、セルフタイマーキー17、メニューキー23、カーソルキー24及びエンターキー25などの操作に応答したキー信号を生成して制御部36に出力する。
【0019】
制御部36は、図3にそのブロック図を示すように、CPU(Central Processing Unit)36aを備えるとともに、このCPU36aに、バス36bを介して、プログラムメモリ36c、ワークメモリ36d、入力部36e及び出力部36fなどを接続して構成されている。CPU36aはプログラムメモリ36cに格納された所定の制御プログラムをワークメモリ36dにロードして実行することにより、入力部36eからのデータ(画像処理部33からの画像信号、操作部35からの各種キー信号、画像記憶部39からの画像信号など)の取り込みや出力部36fへのデータ(撮像部32へのシャッター速度や露出設定値の制御信号、画像処理部33へのホワイトバランス補正制御信号、表示制御部37への表示用信号、画像記憶部39への記録用画像信号、ストロボ部34へのストロボ駆動信号など)の書き出しを行いつつ、電子スチルカメラ10の全体動作を制御する。なお、ワークメモリ36dの一部は、後述の画像バッファ(図9の画像バッファ43参照)として利用される。
【0020】
表示制御部37は、制御部36から出力されたスルー画像やプレビュー画像又は各種設定画面などの表示信号を表示部38の表示形式に変換して当該表示部38に出力するもので、これらの表示制御部37及び表示部38は一体として表示手段を構成する。画像記憶部39は、撮影画像(キャプチャ画像ともいう。)を不揮発的(電源をオフにしても情報を失わないこと)に記録するための記録媒体で構成されており、たとえば、フラッシュメモリ等の半導体記憶デバイスや磁気メモリデバイスなどをその記録媒体に用いることができる。なお、画像記憶部39は取り外し可能な状態で電子スチルカメラに実装されていてもよい。
【0021】
次に、作用を説明する。図4は、制御部36のCPU36aで実行される制御プログラムの全体的な概略を示すフローチャートである。このプログラムは、電源を投入したとき(図1の電源スイッチ18をオンにしたとき)に実行を開始し、まず、ステップS1で動作チェックなどの初期設定を行った後、ステップS2で、メニューキー23が押されているか否かを判定し、押されていればステップS3に分岐して後述の「メニュー処理」を実行してからステップS4のモード判定に進む一方、押されていなければそのままステップS4のモード判定に進み、ステップS4で、記録/再生モード切り替えスイッチ20の現在の切り替え状態から記録モードであるか再生モードであるかを判定して、その判定結果に応じた分岐処理(ステップS5の「再生モード処理」やステップS6の「記録モード処理」)を実行するという動作を繰り返す。
【0022】
以下、上記各処理のうち本発明に関係する「記録モード処理」と「メニュー処理」について詳しく説明する。
【0023】
図5は、図4のステップS3で実行される「メニュー処理」の概略的な流れ図であり、液晶ディスプレイ22の画面表示の遷移状態を示す図である。この図において、メニュー画面41は、図4のステップS2の判定結果が“YES”となったとき、すなわち、図4のループ実行中にユーザによってメニューキー23が押し下げ操作されたときに、最初に液晶ディスプレイ22に表示される画面である。このメニュー画面41には、記録モードを静止画記録モードにするか動画記録モードにするかを選択するためのメニュー項目41a(以下「記録モード設定41a」という。)をはじめとした様々なメニュー項目がリスト状に表示されるようになっており、リストの最後にはメニュー画面41を閉じて図4のループに復帰するためのメニュー項目41b(以下「閉じる41b」という。)が設けられている。
【0024】
ユーザがカーソルキー24を操作して、記録モード設定41aを選択し、エンターキー25を押すと、メニュー画面41の代わりに記録モード設定画面42が表示される。この記録モード設定画面42には、「静止画モード」ボタン42aと「動画モード」ボタン42bが設けられており、「静止画モード」ボタン42aを選択すると、記録モードを静止画記録モードに設定した後、記録モード設定画面42を閉じ、再びメニュー画面41を表示する。また、「動画モード」ボタン42bを選択すると、記録モードを動画モードに設定した後、記録モード設定画面42を閉じ、再びメニュー画面41を表示する。
【0025】
図6は、図4のステップS6で実行される記録モード処理プログラムのフローチャートを示す図である。このフローチャートを開始すると、まず、ステップS11で画像処理部33からの画像信号を読み込み、ステップS12でその画像信号を表示制御部37に出力するという動作をシャッターキー15が半押し(1段目の押し下げ操作)されるまで繰り返し実行する。これにより、表示部38(液晶ディスプレイ22)に構図調整のためのスルー画像が所定周期で更新されつつ表示される。
【0026】
しかる後、ステップS13で、シャッターキー15の半押しを検出すると、ステップS14で露出やホワイトバランス等の撮影条件を自動的に設定する。そして、ステップS15でシャッターキー15の全押し(2段目の押し下げ操作)を検出すると、ステップS16で撮影モードが動画モードであるか否かを判定し、動画モードでない場合、すなわち、撮影モードが静止画モードである場合は、次に、ストロボオンオフキー16の操作により発光許容に設定されているものとすると、ステップS17で補助光を必要とする程度の暗所撮影であるか否かを判定して、暗所撮影でなければ、ステップS18で撮像部32を駆動させることにより被写体31の像を撮像し、そのときの画像信号を静止画像として画像記憶部39に記録し、暗所撮影であれば、ステップS19でストロボ部34を駆動して、ステップS18に進み、そのストロボ部34の駆動に同期させて撮像部32を駆動させることにより被写体31の像を撮像し、その補助光(ストロボ光34a)により露出不足を補った画像信号を静止画像として画像記憶部39に記録する。
【0027】
ステップS16で動画モードであることを判定した場合はステップS20の動画モード処理を実行する。
【0028】
図7は、動画モード処理プログラムのフローチャートを示す図である。このフローチャートを開始すると、まず、ストロボオンオフキー16の操作により発光許容に設定されているものとすると、ステップS20aで補助光を必要とする程度の暗所撮影であるか否かを判定する。暗所撮影でない場合は、ステップS20bで撮像部32を駆動させることにより被写体31の像を撮像し、そのときの画像信号(画像処理部33からの静止画像)を取得して、それを動画ファイルの単位画像とし、ステップS20cでその動画ファイルを画像記憶部39に保存記録した後、ステップS20dで動画記録周期到来を判定する。そして、周期到来であれば再びステップS20bに復帰し、一方、周期到来でなければ、ステップS20eで動画撮影時間経過を判定して、動画撮影時間が経過していない場合はステップS20dの動画記録周期到来判定を繰り返し、動画撮影時間が経過している場合は本フローチャートを終了する。
【0029】
したがって、このステップS20b〜ステップS20eの処理によれば、充分な明るさが得られる環境下での動画撮影時において、所定の動画撮影時間の間、所定周期で撮像部32を駆動させることにより被写体31の像を撮像し、画像処理部33から所定周期で出力される静止画像を取り込み、それらの静止画像を単位画像(フレーム画像)とする動画ファイルを生成し、画像記憶部39に保存記録することができる。
【0030】
一方、ステップS20aで補助光を必要とする程度の暗所撮影であることが判定された場合は、まず、ステップS20fでストロボ部34を駆動してストロボ光34aを発射すると共に、ステップS20gで撮像部32を駆動させることにより被写体31の像を撮像し、そのときの画像信号(画像処理部33からの静止画像)を取得する。そして、ステップS20hでストロボ部34の充電を開始し、ステップS20iで上記の取得画像を動画ファイルの単位画像として画像記憶部39に保存記録すると共に、その取得画像を所定の画像バッファ(図9の画像バッファ43参照)に格納する。
【0031】
次に、ステップS20jでストロボ部34の充電完了を判定し、その判定結果(YES/NO)に応じて以下の処理を実行する。
【0032】
<YES判定:充電完了判定時>
YES判定時には、まず、ステップS20kで動画記録周期到来を判定する。そして、周期到来であれば再びステップS20fに復帰し、周期到来でなければ、ステップS20mで動画撮影時間経過を判定して、動画撮影時間が経過していない場合はステップS20kの動画記録周期到来判定を繰り返し、動画撮影時間が経過している場合は本フローチャートを終了する。
【0033】
したがって、このYES判定時の処理においては、撮像部32の駆動(撮影)タイミングに合わせてストロボ部34を駆動し、画像処理部33からの、補助光(ストロボ光34a)により露出不足が補われている静止画像を取り込み、その静止画像を動画ファイルの単位画像として画像記憶部39に保存記録すると共に、その取得画像を所定の画像バッファ(図9の画像バッファ43参照)に格納することができる。
【0034】
<NO判定:充電非完了判定時>
NO判定時には、まず、ステップS20nで動画記録周期到来を判定する。そして、周期到来でなければ、ステップS20rで動画撮影時間経過を判定して、動画撮影時間が経過していない場合はステップS20jの充電完了判定を繰り返し、動画撮影時間が経過している場合は本フローチャートを終了する一方、周期到来であれば、ステップS20pに進み、撮像部32を駆動させることにより被写体31の像を撮像し、そのときの画像信号(画像処理部33からの静止画像)を取得する。そして、ステップS20qに進み、ステップS20pで取得された露出不足の静止画像を破棄(キャンセル)するとともに、所定の画像バッファに格納(ステップS20i参照)されていた静止画像を取り出し、それを動画ファイルの単位画像として画像記憶部39に保存記録した後、ステップS20rで動画撮影時間経過を判定して、動画撮影時間が経過していない場合はステップS20jの充電完了判定を繰り返し、動画撮影時間が経過している場合は本フローチャートを終了する。
【0035】
したがって、このNO判定時の処理においては、ストロボ部34の駆動(ストロボ光34aの発射)が間に合わない期間(ストロボ非発光期間)、撮像部32により撮像され、画像処理部33から出力される露出不足の静止画像の代替画像として、画像バッファに格納(ステップS20i参照)されていた、補助光(ストロボ光34a)により露出不足が補われている静止画像を使用し、その代替画像を動画ファイルの単位画像として画像記憶部39に保存記録することができる。
【0036】
図8は、上記動画モード処理で実行される暗所撮影時の記録用動画像ファイル生成(図7のステップS20f〜ステップS20r参照)の実際を示す概念図である。図8において、G0、G1、G2、G3、G4、G5、G6、G7、‥‥は、画像処理部33を介して取り込まれる周期的な画像信号であり、各画像の上に模式的に示された二種類の図形a、bはそれぞれストロボ部34の発光と非発光を表している。すなわち、図示の例の場合、画像G0、G3、G6はストロボ光34aによって適正露出に設定されたストロボ発光時の画像(以下「ストロボ発光画像」という。)であり、それ以外の画像G1、G2、G4、G5、G7は露出不足のストロボ非発光時の画像(以下「ストロボ非発光画像」という。)である。
【0037】
図8から直感的に理解されるように、本実施の形態における記録用動画像ファイル生成の実際においては、ストロボ非発光画像(G1、G2、G4、G5、G7)の代わりに、その直前のストロボ発光画像(G0、G3、G6)を用いて記録用動画像ファイルを生成する。すなわち、図中下段の記録用動画像ファイルに示すように、ストロボ非発光画像(G1、G2)の代わりに、その直前のストロボ発光画像(G0)を用い、また、ストロボ非発光画像(G4、G5)の代わりに、その直前のストロボ発光画像(G3)を用い、さらに、ストロボ非発光画像(G7)の代わりに、その直前のストロボ発光画像(G6)を用いることにより、すべてをストロボ発光画像(G0、G0、G0、G3、G3、G3、G6、G6)で構成した記録用動画像ファイルを生成している。したがって、この例の場合は、G1とG2の代替画像はG0、G4とG5の代替画像はG3、且つ、G7の代替画像はG6となる。
【0038】
このような記録用動画像ファイルの生成に必要な構成は、たとえば、図9(a)に示すように、直前のストロボ発光画像(Gi)を保持する画像バッファ43と、ストロボ発光期間ではそのときの画像信号(Gi)をスルーで取り出す一方、ストロボ非発光期間では画像バッファ43に保持された直前のストロボ発光画像(Gi)をそのストロボ非発光画像(Gj)の代わりに取り出すスイッチ要素44とを備えればよい。画像バッファ43及びスイッチ要素44には、たとえば、CPU36aからのストロボ発光期間と非発光期間を示す制御信号(CONT)が入力されており、画像バッファ43はストロボ発光期間の画像(Gi)のみを保持し、スイッチ要素44はストロボ発光期間と非発光期間でその接点を図示のように切り替える。
【0039】
これによれば、ストロボ非発光画像(Gj=G1、G2、G4、G5、G7)をそれぞれの直前のストロボ発光画像(Gi=G0、G3、G6)で置き換えた動画像ファイルを生成することができ、ストロボの発光周期に関わらず、所定周期の静止画像で構成した動画像ファイルを自在に得ることができる。
【0040】
また、この場合、暗所撮影であっても、暗所撮影ではない通常の動画撮影と同様の撮影(記録)周期をもつ動画像ファイルを生成するようにしたので、通常の動画像ファイルと同様の動画再生プログラムを用いて暗所撮影された動画像ファイルを再生することが可能であるとともに、時間軸方向に対して実際の撮影時間と時間的なずれなくリアルタイム再生することが可能である。
【0041】
なお、上記の実施の形態では、ストロボ発光期間、非発光期間に関係なく所定周期で撮像部32を駆動して被写体31の像を撮像する構成にしたが、ストロボ発光期間のみ撮像するように構成にしてもよい。つまり、図7のフローチャート中のステップS20pを省いた構成にしてもよい。
【0042】
この場合、動画撮影時間中の撮像回数を大幅に減らすことができるので、撮像処理や画像処理を実行する回数を減らすことができ、消費電力を減らして電池の長寿命化を図ることができる。
但し、撮像部32の駆動制御に関しては、動画撮影時間中、単に所定周期で撮像部32を駆動すればいい上記の実施の形態と比べて多少面倒になる。
【0043】
また、上記の実施の形態では、ストロボ非発光画像をそれぞれの直前のストロボ発光画像で置き換えた動画像ファイルを生成するようにしたが、ストロボ非発光画像をそれぞれの直後のストロボ発光画像で置き換えた動画像ファイルを生成するようにしてもよい。
【0044】
また、静止画用のストロボの代わりにスポットライトのような常時点灯光源を用い、間欠的に点灯させるものにも本発明を適用することができる。
この場合、スポットライトを常時点灯させて動画撮影する場合に比べて電力消費を大幅に減らすことができるという効果を得ることができる。
【0045】
また、上記の実施の形態では、ストロボ非発光画像(Gj)を直前のストロボ発光画像(Gi)で置き換えているが、置き換えを行わずに、ストロボ発光画像(Gi)のみで動画像ファイルを生成することも考えられる。すなわち、図10に示すように、ストロボ発光画像(Gi=G0、G3、G6)のみの動画ファイルとすることも考えられる。そのためには、たとえば、図9(b)に示すように、ストロボ発光期間ではそのときの画像信号(Gi)をスルーで取り出す一方、ストロボ非発光期間では接点を開放(図示の破線位置)するような構造のスイッチ要素45を備えればよい。この場合、画像バッファは必要ない。
【0046】
図11は、前記動画モード処理(図7)の変形例を示すフローチャートであり、ストロボ発光画像(Gi)のみで動画像ファイルを生成する場合に適合させたものである。このフローチャートにおいて、前記動画モード処理との相違点は、ステップS20iで動画バッファへの静止画保存を行わない点(すなわち、動画用静止画の保存記録のみを行うようにした点)、及び、充電完了判定時までの間、同判定(ステップS20j)を継続させるようにした点、並びに、動画像ファイル中の各ストロボ発光画像に関連付けて該画像の重複再生回数を示す情報「i」を記憶(ステップS20s、ステップS20t、ステップS20u)するようにした点にある。
【0047】
これによれば、ストロボ部34の駆動(ストロボ光34aの発射)タイミングに合わせて、画像処理部33からの静止画像を取り込み、その静止画像を動画ファイルの単位画像として画像記憶部39に保存記録することができ、且つ、ストロボ非発光期間においては、動画ファイルの生成を行わないようにすることができる。したがって、図10に示すようなストロボ発光画像(Gi=G0、G3、G6)のみの動画ファイルを生成することができる。
【0048】
よって、動画像ファイルのデータサイズを大幅に小さくすることができ、画像記憶部39の記憶容量を有効に利用することができる。
【0049】
また、動画像ファイル中の各ストロボ発光画像に関連付けて該画像の重複再生回数を示す情報「i」を記憶するようにしたので、上記の実施の形態と同様に、時間軸方向に対して実際の撮影時間と時間的なずれなくリアルタイム再生することが可能である。
【0050】
なお、上記の変形例では、ストロボ発光期間、非発光(充電)期間に関係なく所定周期で撮像部32を駆動して被写体31の像を撮像する構成にしたが、ストロボ発光期間のみ撮像するように構成にしてもよい。つまり、図11のフローチャート中のステップSpを省いた構成にしてもよい。
この場合、動画撮影時間中の撮像回数を大幅に減らすことができるので、撮像処理や画像処理を実行する回数を減らすことができ、消費電力を減らして電池の長寿命化を図ることができる。
【0051】
また、上記の変形例では、動画像ファイル中の各ストロボ発光画像に関連付けて該画像の重複再生回数を示す情報「i」を記憶するようにしたが、各充電時間を計測するようにして、各ストロボ発光画像に関連付けて該画像の再生時間を示す情報を記憶するようにしてもよい。
また、上記の変形例では、動画像ファイル中の各ストロボ発光画像に関連付けて該画像の再生情報(重複再生回数、再生時間等)を記憶するようにしたが、再生情報を記憶しないようにしてもよい。
【0052】
ところで、上記実施の形態のうち、特に、ストロボ非発光画像(Gj)を直前のストロボ発光画像(Gi)で置き換えるようにした例にあっては、置換画像に一定の類似性がある(たとえば、図8下段のG0、G0、G0は同一の画像であり類似画像である)。以下に示す例は、ストロボ発光画像を非予測符号化画像、置換画像を予測符号化画像とすることにより、動画像の圧縮率を高めようとするものである。
【0053】
予測符号化画像の生成手法の一つとして、MPEG(Moving Picture Experts Group)標準の符号化方式(以下、単に「MPEG」という。)が知られている。MPEGは、蓄積メディア系や通信メディア系への動画像適用を目的としてCCITT H.261(テレビ電話、テレビ会議用符号化)から発展した符号化標準である。MPEGは、MC(Motion Compensation;動き補償)やDCT(Discrete Cosine Transform;離散コサイン変換)などの符号化ツールを持つ点で基本的にH.261と共通するが、早送り、巻戻し、途中再生及び逆転再生などのトリックモードを実現するための特殊な構造、すなわち、GOP(Group Of Pictures)構造を持つ点で相違する。
【0054】
図12は、MPEGのシンタクス(構文;ビット・ストリームの満たすべき順序と内容)を示す模式図である。このシンタクスは、シーケンスヘッダとシーケンスエンドの間に幾つかのGOPを持つシーケンス層と、その下位のGOP層からなり、GOP層はGOPヘッダの後にN個のピクチャフレーム(符号化された画面データ)を持つ構造になっている。一つのGOPがランダムアクセスの1単位であり、この単位で上述のトリックモードを可能にする。N個のピクチャフレームのタイプ(ピクチャタイプ)は、Iピクチャ(略号:I)、Pピクチャ(略号:P)又はBピクチャ(略号:B)の何れかであり、各ピクチャタイプの内容は、以下のとおりである。
【0055】
(1)Iピクチャ‥‥非予測符号化画像
フレーム内符号化画像(Intra-Coded Picture)の略。画面の全てをイントラ符号化する画像である。GOP内の独立性(参照画像を必要としない)を持つ点で他のピクチャタイプと異なる。
(2)Pピクチャ‥‥予測符号化画像
フレーム間順方向予測符号化画像(Predictive-Coded Picture)の略。前のIピクチャ又はPピクチャから順方向予測される画像である。
(3)Bピクチャ‥‥予測符号化画像
フレーム内挿双方向予測符号化画像(Bidirectionally Predictive-Coded Picture)の略。前後のIピクチャ又はPピクチャから双方向予測される画像である。
【0056】
図13は、GOP構造の一例を示す図であり、GOPのピクチャ数(いわゆるNパラメータ)を“15”とするとともに、IピクチャとPピクチャの周期(いわゆるMパラメータ)を“3”とした場合の例である。すなわち、1GOPが15枚のフレームで構成されており、且つ、Iピクチャ(又はPピクチャ)から次のPピクチャまでのフレーム数が3枚の場合の例を示している。図において、Iピクチャは参照画像を必要としないイントラ符号化画像(非予測符号化画像)である。また、PピクチャとBピクチャは、それぞれ順方向と双方向の予測符号化画像であり、図に示すように、Pピクチャは既に符号化済みのIピクチャ又はPピクチャを参照画像とし、Bピクチャは前後のIピクチャ又はPピクチャを参照画像として、それぞれ順方向予測及び双方向予測された予測符号化画像である。
【0057】
図14は、原画像の画面順(B0、B1、I2、B3、B4、P5、……)が符号化処理の段階で一部入れ替わり、再生画像の段階で元の並び順に復帰する様子を表す図である。符号化処理段階におけるBピクチャの挿入は、その前後のIピクチャ(又はPピクチャ)とPピクチャの符号化後に行われる。例えば、原画像のB3、B4に着目すると、I2とP5の符号化後、これらのI2とP5を参照画像にしてB3、B4が符号化され、I2とP5の後に挿入される結果、原画像の段階で「I2、B3、B4、P5」であった並び順が、「I2、……、P5、B3、B4」と入れ替わることになる。
【0058】
ここで、GOP構造の重要なパラメータは、上述の“Nパラメータ”と“Mパラメータ”、すなわち、GOP内のピクチャ数(N)と、I又はPピクチャの現れる周期(M)である。これらのパラメータに使用上の制限はない。▲1▼ビットストリーム上でGOPの最初がIピクチャであることと、▲2▼原画像の並び順でGOPの最後がI又はPピクチャであるという条件を満たしている限り、値の選択は自由であるが、実際には画質や動画像の動きなどから最適と思われる値が設定されている。例えば、Mは2〜3程度の値に選ばれることが多く、また、Nはランダムアクセス単位が0.4秒〜1秒程度になるような値に選ばれることが多い。ちなみに、Mの最適値は動画像の動き(激しい動きは小さなM、穏やかな動きは大きなM)で決まるが、Nの最適値は画質とランダムアクセス単位の妥協で決まる。これは、Nを小さくするとランダムアクセス単位がきめ細かくなって、トリックモードの利便性向上を図ることができる点で好ましい反面、符号化効率が低下して画質の劣化を招くからである。
【0059】
図15は、上記実施の形態の改良例におけるMPEG圧縮処理(特にGOP層生成処理)の原理的な動作フローチャートである。このフローチャートにおいて、“CN”、“CM”、“i”及び“iΣ”は変数であり、その用途は次のとおりである。
【0060】
CN:Nパラメータ(GOP内のピクチャ数)の格納用変数
CM:Mパラメータ(I又はPピクチャの現れる周期)の格納用変数
i :I又はPピクチャの現れる周期を数えるためのカウンタ変数
iΣ:GOP内のピクチャ数を数えるためのカウンタ変数
【0061】
このフローチャートでは、まず、変数CNとCMにNパラメータとMパラメータをセットし(ステップS31)、変数iとiΣに初期値(0)をセット(ステップS32、S33)して初期化処理を実行した後、以降のピクチャ生成処理(ステップS34〜ステップS44)を実行する。
【0062】
このピクチャ生成処理では、まず、原画像の画面GiΣを読み込み(ステップS34)、次いで(ステップS35は後述)、iΣ=0であるか否かを判定し(ステップS36)、その判定結果がYESであれば画面GiΣのフレーム内符号化画像(Iピクチャ)を生成し(ステップS37)、NOであればi<CMであるか否かを判定して(ステップS39)、その判定結果がYESであれば画面GiΣのフレーム内挿双方向予測符号化画像(Bピクチャ)を生成し(ステップS40)、NOであれば画面GiΣのフレーム間順方向予測符号化画像(Pピクチャ)を生成する(ステップS341)。
【0063】
そして、IピクチャとBピクチャを生成した場合は変数iとiΣの両方をカウントアップし(ステップS38、ステップS43)、Pピクチャを生成した場合は変数iの初期化(ステップS42)と変数iΣのカウントアップ(ステップS43)を行い、何れの場合も、iΣ=CNであるか否かを判定して(ステップS44)、その判定結果がNOの場合にGiΣの読み込み処理(ステップS34)以降を繰り返すという処理を実行する。
【0064】
ここで、図示のフローチャートにあっては、原画像の画面GiΣを読み込んだ(ステップS34)後に、ストロボ発光であるか否かを判定し(ステップS35a)、ストロボ発光の場合に、変数iの初期化(ステップS35b)と変数iΣの初期化(ステップS35c)を行うための処理(ステップS35)を実行する点に特徴がある。すなわち、ストロボ発光の場合は、ステップS35bで変数iΣを初期化することにより、次のiΣ=0であるか否かの判定結果(ステップS36)を強制的に“YES”とし、ステップS37を実行してIピクチャ(非予測符号化画像)を生成する一方、ストロボ発光でない場合は、そのときの変数iの値に応じて、ステップS40またはステップS41を実行し、ストロボ非発光期間の画像として、BピクチャまたはPピクチャ(いずれも予測符号化画像)を生成する点に特徴がある。
【0065】
図16と図17は、Nパラメータをそれぞれ“21”及び“10”とした場合(何れもM=3)のGOP構造図であり、図16はストロボを発光しない場合(ステップS35aの判定結果が“NO”の場合)のもの、図17はストロボを発光した場合(ステップS35aの判定結果が“YES”の場合)のものである。
【0066】
図16のGOP構造ではIピクチャの出現間隔がNパラメータで設定された21画面ごとになっているが、図17のGOP構造ではIピクチャの出現間隔がNパラメータ以下の、たとえば、10画面ごとになっている。図17におけるIピクチャの出現間隔(図では10画面ごと)はストロボの発光間隔に対応し、GOP内のストロボ非発光画像の置換画像はBピクチャまたはPピクチャ、すなわち、いずれも参照画像を必要とする予測符号化画像であるから、ストロボ非発光画像を単に直前のストロボ発光画像で置換する上記実施の形態に比べて、置換画像の類似性をなくすことができ、動画再生時のギクシャク感を改善することができる。
【0067】
なお、直前のストロボ発光画像をストロボ非発光画像の置換画像としたので、置換画像を予測符号化画像であるBピクチャまたはPピクチャとしたが、直後のストロボ発光画像をストロボ非発光画像の置換画像とする場合は、先頭の置換画像が非予測符号化画像であるIピクチャとし、続く置換画像及びストロボ発光画像を予測符号化画像であるBピクチャまたはPピクチャとする。
【0068】
【発明の効果】
本発明によれば、ストロボ非発光時の画像の代わりに、直前のストロボ発光時の画像が代替的に用いられた動画像が生成される。したがって、ストロボ使用の暗所撮影であっても、ストロボの発光周期に関わらず、所定周期の静止画像で構成した動画像ファイルを自在に得ることができる。
または、前記静止画像がストロボ非発光時の画像である場合は、当該ストロボ非発光時の画像の代わりに、前記ストロボ発光時の画像を用いて生成された予測符号化画像を、前記動画像を構成する単位画像の一つとすることにより、代替画像の類似性を少なくすることができ、動画再生時のギクシャク感を改善することができる。
【図面の簡単な説明】
【図1】電子スチルカメラの外観図である。
【図2】電子スチルカメラの概念的な機能ブロック図である。
【図3】制御部のブロック図である。
【図4】制御プログラムの全体的な概略を示すフローチャートである。
【図5】メニュー処理の概略的な流れ図である。
【図6】記録モード処理プログラムのフローチャートを示す図である。
【図7】動画モード処理プログラムのフローチャートを示す図である。
【図8】暗所撮影時の記録用動画像ファイル生成の実際を示す概念図である。
【図9】記録用動画像ファイルの生成に必要な構成図である。
【図10】ストロボ非発光画像のみで動画像ファイルを生成した場合の概念図である。
【図11】動画モード処理の変形例を示すフローチャートである。
【図12】MPEGのシンタクスを示す模式図である。
【図13】GOP構造の一例を示す図である。
【図14】画像の配列を表す図である。
【図15】実施の形態の改良例におけるMPEG圧縮処理(特にGOP層生成処理)の原理的な動作フローチャートである。
【図16】ストロボを発光しない場合のGOP構造図である。
【図17】ストロボを発光した場合のGOP構造図である。
【符号の説明】
10 電子スチルカメラ(動画記録装置)
32 撮像部(撮像手段)
33 画像処理部(撮像手段)
34 ストロボ部(ストロボ)
36 制御部(ストロボ制御手段、第1記録手段、第2記録手段、撮像制御手段、第3記録手段)[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a moving image recording apparatus and a moving image recording method, and more particularly to a moving image recording apparatus and a moving image recording method for generating and recording a moving image using still images sequentially captured by an imaging unit.
[0002]
[Prior art]
An electronic still camera typified by a digital camera generates a still image signal of a subject using a two-dimensional image sensor composed of a solid-state imaging device such as a CCD (Charge Coupled Device), and uses the still image signal as a storage device. It is written and recorded electronically, and it has exceptional convenience compared to film cameras in terms of immediate playback of images, erasing unnecessary images, and ease of image data transfer. In addition to still image recording, an electronic still camera that enables generation of a moving image file by using the characteristics of the above-described image sensor has been widely used.
[0003]
[Problems to be solved by the invention]
However, in a conventional electronic still camera having such a moving image recording function, it is not possible to perform moving image shooting (hereinafter referred to as “dark place shooting”) under a low light amount that requires use of a strobe. There was a problem.
[0004]
The reason for this is that the light emitted from the strobe for taking a still image is an instantaneous discharge light whose emission time is as short as several milliseconds, and the time required for charging is still image recording when recording a moving image. This is because it is much longer than the period.
[0005]
Of course, the above inconvenience can be solved by using a constantly lit light source such as a spotlight instead of a strobe. However, the constantly lit light source consumes a large amount of power and must be equipped with a large battery. Since it is inappropriate as an auxiliary light source for a camera, it is not realistic.
[0006]
In view of the above, the problem to be solved by the present invention is that a moving image recording apparatus capable of reproducing moving images in the same manner as moving images obtained by non-strobe shooting even when recording moving images using a strobe that emits light intermittently. And providing a moving image recording method.
[0007]
[Means for Solving the Problems]
According to the present invention, in a moving image recording apparatus that records a plurality of unit images constituting a moving image using still images sequentially captured by an imaging unit, auxiliary light is intermittently emitted during recording of the moving image. Auxiliary light control means and a first recording means for recording a still image captured by the imaging means when the auxiliary light is emitted as the unit image when recording a unit image corresponding to the emission timing of the auxiliary light. And when recording a unit image corresponding to the non-light emission timing of the auxiliary light, a second recording unit that records the unit image by using a still image captured by the imaging unit when the auxiliary light is emitted. , Provided.
In the moving image recording apparatus, Strobe control means for intermittently emitting strobe light, first recording means for recording a still image captured by the imaging means when the strobe light is emitted as one of unit images constituting the moving image, and non-strobe Second recording for recording, as one of unit images constituting the moving image, a still image captured by the imaging unit at the time of flash emission immediately before or immediately after strobe light emission instead of a still image to be captured by the imaging unit at the time of light emission Means and It is characterized by that.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings, taking an electronic still camera such as a digital camera as an example.
[0009]
First, the configuration will be described. FIG. 1 is an external view of an electronic still camera. In the figure, an electronic still camera 10 (moving image recording apparatus) includes a
[0010]
Here, in this embodiment, it is assumed that the first to
[0011]
The
[0012]
The
[0013]
The strobe on / off
[0014]
The self-
[0015]
The
[0016]
FIG. 2 is a conceptual functional block diagram of the electronic still
[0017]
The
[0018]
The
[0019]
As shown in the block diagram of FIG. 3, the
[0020]
The
[0021]
Next, the operation will be described. FIG. 4 is a flowchart showing an overall outline of a control program executed by the CPU 36 a of the
[0022]
Hereinafter, the “recording mode process” and the “menu process” related to the present invention will be described in detail.
[0023]
FIG. 5 is a schematic flowchart of the “menu process” executed in step S3 of FIG. 4 and shows a transition state of the screen display of the
[0024]
When the user operates the
[0025]
FIG. 6 is a diagram showing a flowchart of the recording mode processing program executed in step S6 of FIG. When this flowchart is started, first, the
[0026]
Thereafter, when half-press of the
[0027]
If it is determined in step S16 that the movie mode is selected, the movie mode process in step S20 is executed.
[0028]
FIG. 7 is a diagram showing a flowchart of the moving image mode processing program. When this flowchart is started, if it is assumed that light emission is permitted by operating the strobe on / off key 16, it is determined in step S20a whether or not the photographing is in a dark place that requires auxiliary light. If it is not dark place shooting, the image of the subject 31 is picked up by driving the
[0029]
Therefore, according to the processing of step S20b to step S20e, when shooting a moving image in an environment where sufficient brightness can be obtained, the
[0030]
On the other hand, if it is determined in step S20a that the shooting is in a dark place that requires auxiliary light, first, in step S20f, the
[0031]
Next, it is determined in step S20j that charging of the
[0032]
<YES determination: At the time of charging completion determination>
When the determination is YES, it is first determined in step S20k that the moving image recording period has arrived. If the period has arrived, the process returns to step S20f again. If the period has not arrived, the elapse of the moving image recording time is determined in step S20m. If the moving image shooting time has not elapsed, the elapse of the moving image recording period is determined in step S20k. Is repeated, and when the moving image shooting time has elapsed, this flowchart ends.
[0033]
Therefore, in this processing at the time of YES determination, the
[0034]
<NO determination: When charging is not completed>
When the determination is NO, first, at step S20n, the arrival of the moving image recording cycle is determined. If the period has not come, the elapse of the moving image shooting time is determined in step S20r. If the moving image shooting time has not elapsed, the charging completion determination in step S20j is repeated. On the other hand, if the cycle comes to an end, if the period has come, the process proceeds to step S20p, where the
[0035]
Therefore, in the processing at the time of this NO determination, the exposure that is imaged by the
[0036]
FIG. 8 is a conceptual diagram showing the actual recording moving image file generation (see step S20f to step S20r in FIG. 7) performed in the dark place shooting performed in the moving image mode process. In FIG. 8, G0, G1, G2, G3, G4, G5, G6, G7,... Are periodic image signals taken in via the
[0037]
As can be intuitively understood from FIG. 8, in the actual recording moving image file generation in the present embodiment, instead of the strobe non-emission image (G1, G2, G4, G5, G7), A recording moving image file is generated using the strobe light emission images (G0, G3, G6). That is, as shown in the recording moving image file in the lower part of the figure, instead of the strobe non-emission image (G1, G2), the immediately preceding strobe emission image (G0) is used, and the strobe non-emission image (G4, G2) is used. By using the previous flash emission image (G3) instead of G5), and using the previous flash emission image (G6) instead of the non-flash emission image (G7), all the flash emission images A moving image file for recording composed of (G0, G0, G0, G3, G3, G3, G6, G6) is generated. Therefore, in this example, the substitute images of G1 and G2 are G0, the substitute images of G4 and G5 are G3, and the substitute image of G7 is G6.
[0038]
For example, as shown in FIG. 9A, the configuration necessary for generating such a recording moving image file includes an
[0039]
According to this, it is possible to generate a moving image file in which the strobe non-emission image (Gj = G1, G2, G4, G5, G7) is replaced with the immediately preceding strobe emission image (Gi = G0, G3, G6). In addition, a moving image file composed of still images having a predetermined cycle can be freely obtained regardless of the light emission cycle of the strobe.
[0040]
In this case, a moving image file having a shooting (recording) cycle similar to that of normal moving image shooting that is not dark shooting is generated even in dark shooting, so that it is the same as a normal moving image file. The moving image file shot in the dark place can be reproduced using the moving image reproduction program, and real-time reproduction can be performed with no time lag from the actual photographing time in the time axis direction.
[0041]
In the above-described embodiment, the
[0042]
In this case, since the number of times of imaging during the moving image shooting time can be greatly reduced, the number of times of performing imaging processing and image processing can be reduced, and power consumption can be reduced to extend the battery life.
However, the drive control of the
[0043]
In the above embodiment, the moving image file is generated by replacing the non-flash image with the immediately preceding flash image. However, the non-flash image is replaced with the immediately following flash image. A moving image file may be generated.
[0044]
Further, the present invention can also be applied to an apparatus that uses a constantly lit light source such as a spotlight instead of a strobe for a still image and that is lit intermittently.
In this case, it is possible to obtain an effect that the power consumption can be greatly reduced as compared with the case where the spotlight is always turned on to shoot a moving image.
[0045]
In the above embodiment, the non-flash image (Gj) is replaced with the previous flash image (Gi), but a moving image file is generated with only the flash image (Gi) without replacement. It is also possible to do. That is, as shown in FIG. 10, it is also possible to consider a moving image file containing only the strobe light emission image (Gi = G0, G3, G6). For this purpose, for example, as shown in FIG. 9B, the image signal (Gi) at that time is taken out in the strobe light emission period, while the contact is opened (the position of the broken line in the figure) in the strobe non-light emission period. A switch element 45 having a simple structure may be provided. In this case, an image buffer is not necessary.
[0046]
FIG. 11 is a flowchart showing a modified example of the moving image mode process (FIG. 7), which is adapted to a case where a moving image file is generated only with a strobe light emission image (Gi). In this flowchart, the difference from the moving image mode processing is that the still image is not stored in the moving image buffer in step S20i (that is, only the moving image still image is stored and recorded), and charging. The point that the determination (step S20j) is continued until the completion determination time, and information “i” indicating the number of repeated reproductions of the image are stored in association with each strobe light emission image in the moving image file ( Step S20s, Step S20t, Step S20u).
[0047]
According to this, the still image from the
[0048]
Therefore, the data size of the moving image file can be greatly reduced, and the storage capacity of the
[0049]
In addition, since information “i” indicating the number of repeated reproductions of the image is stored in association with each strobe light image in the moving image file, as in the above-described embodiment, the information is actually displayed in the time axis direction. It is possible to reproduce in real time without any time lag from the shooting time.
[0050]
In the above modification, the
In this case, since the number of times of imaging during the moving image shooting time can be greatly reduced, the number of times of performing imaging processing and image processing can be reduced, and power consumption can be reduced to extend the battery life.
[0051]
In the above modification, the information “i” indicating the number of repeated reproductions of the image is stored in association with each strobe light image in the moving image file, but each charging time is measured, Information indicating the reproduction time of the image may be stored in association with each strobe light emission image.
In the above modification, the reproduction information (number of duplicate reproductions, reproduction time, etc.) of the image is stored in association with each strobe light image in the moving image file. However, the reproduction information is not stored. Also good.
[0052]
By the way, in the example in which the strobe non-emission image (Gj) is replaced with the immediately preceding strobe emission image (Gi) in the above embodiment, the replacement image has a certain similarity (for example, G0, G0, and G0 in the lower part of FIG. 8 are the same image and similar images). In the example shown below, the compression rate of a moving image is increased by using a strobe emission image as a non-predictive encoded image and a replacement image as a predictive encoded image.
[0053]
As one method for generating a predicted encoded image, an MPEG (Moving Picture Experts Group) standard encoding method (hereinafter simply referred to as “MPEG”) is known. MPEG is CCITT H.264 for the purpose of applying moving images to storage media and communication media. It is a coding standard developed from H.261 (video phone, video conference coding). MPEG is basically H.264 in that it has coding tools such as MC (Motion Compensation) and DCT (Discrete Cosine Transform). Although it is common to H.261, it is different in that it has a special structure for realizing trick modes such as fast forward, rewind, halfway reproduction, and reverse reproduction, that is, a GOP (Group Of Pictures) structure.
[0054]
FIG. 12 is a schematic diagram showing MPEG syntax (syntax; order and contents to be satisfied by bit stream). This syntax is composed of a sequence layer having several GOPs between the sequence header and the sequence end, and a GOP layer below it. The GOP layer includes N picture frames (encoded screen data) after the GOP header. It has a structure with One GOP is one unit of random access, and this unit enables the above trick mode. The type (picture type) of the N picture frames is any of an I picture (abbreviation: I), a P picture (abbreviation: P), or a B picture (abbreviation: B). The contents of each picture type are as follows: It is as follows.
[0055]
(1) I picture: Non-predictive coded image
Abbreviation for intra-coded picture. This is an image for intra-coding all of the screen. It differs from other picture types in that it has independence within GOP (no reference image is required).
(2) P picture: Predictive coded image
An abbreviation for Predictive-Coded Picture. This is an image predicted in the forward direction from the previous I picture or P picture.
(3) B picture: Predictive coded image
Abbreviation for Bidirectionally Predictive-Coded Picture. It is an image that is bidirectionally predicted from the preceding and following I-pictures or P-pictures.
[0056]
FIG. 13 is a diagram showing an example of the GOP structure when the number of GOP pictures (so-called N parameter) is “15” and the period of I and P pictures (so-called M parameter) is “3”. It is an example. That is, an example is shown in which one GOP is composed of 15 frames, and the number of frames from an I picture (or P picture) to the next P picture is three. In the figure, an I picture is an intra-coded image (non-predicted coded image) that does not require a reference image. The P picture and the B picture are forward and bidirectional predictive encoded images, respectively. As shown in the figure, the P picture uses an already encoded I picture or P picture as a reference image, and the B picture These are predictive coded images that are forward-predicted and bi-directionally predicted using the preceding and following I-pictures or P-pictures as reference images.
[0057]
FIG. 14 shows a state in which the screen order (B0, B1, I2, B3, B4, P5,...) Of the original image is partially replaced at the encoding process stage and is restored to the original arrangement order at the playback image stage. FIG. The insertion of the B picture in the encoding process stage is performed after encoding the I picture (or P picture) and the P picture before and after that. For example, focusing on B3 and B4 of the original image, after encoding I2 and P5, B3 and B4 are encoded using these I2 and P5 as reference images, and inserted after I2 and P5. In this stage, the arrangement order of “I2, B3, B4, P5” is replaced with “I2,..., P5, B3, B4”.
[0058]
Here, the important parameters of the GOP structure are the above-mentioned “N parameter” and “M parameter”, that is, the number of pictures (N) in the GOP and the period (M) in which the I or P picture appears. There are no usage restrictions on these parameters. (1) The value can be freely selected as long as the condition that the first GOP is an I picture on the bitstream and (2) the last GOP is an I or P picture in the original image arrangement order is satisfied. However, in practice, values that are considered to be optimal are set based on the image quality and the motion of moving images. For example, M is often selected to have a value of about 2 to 3, and N is often selected to have a random access unit of about 0.4 seconds to 1 second. By the way, the optimum value of M is determined by the motion of the moving image (small motion is intense motion and large M is gentle motion), but the optimal value of N is determined by the compromise between image quality and random access unit. This is because, if N is made small, the random access unit becomes fine and the convenience of the trick mode can be improved. On the other hand, the coding efficiency is lowered and the image quality is deteriorated.
[0059]
FIG. 15 is a principle operation flowchart of MPEG compression processing (particularly GOP layer generation processing) in an improved example of the above embodiment. In this flowchart, “CN”, “CM”, “i”, and “iΣ” are variables, and their uses are as follows.
[0060]
CN: Variable for storing N parameter (number of pictures in GOP)
CM: Variable for storing M parameter (cycle in which I or P picture appears)
i: Counter variable for counting the period in which an I or P picture appears
iΣ: Counter variable for counting the number of pictures in the GOP
[0061]
In this flowchart, first, an N parameter and an M parameter are set in variables CN and CM (step S31), and an initial value (0) is set in variables i and iΣ (steps S32 and S33), and an initialization process is executed. Thereafter, subsequent picture generation processing (steps S34 to S44) is executed.
[0062]
In this picture generation process, first, the screen GiΣ of the original image is read (step S34), then (step S35 will be described later), it is determined whether iΣ = 0 (step S36), and the determination result is YES. If there is, an intra-frame encoded image (I picture) of the screen GiΣ is generated (step S37). If NO, it is determined whether i <CM (step S39), and the determination result is YES. For example, a frame-interpolated bidirectional predictive encoded image (B picture) of the screen GiΣ is generated (step S40), and if NO, an interframe forward predictive encoded image (P picture) of the screen GiΣ is generated (step S341). ).
[0063]
If an I picture and a B picture are generated, both the variables i and iΣ are counted up (steps S38 and S43). If a P picture is generated, the variable i is initialized (step S42) and the variable iΣ is changed. Counting up (step S43) is performed, and in any case, it is determined whether iΣ = CN (step S44). If the determination result is NO, the GiΣ reading process (step S34) and subsequent steps are repeated. The process is executed.
[0064]
Here, in the flowchart shown in the figure, after reading the screen GiΣ of the original image (step S34), it is determined whether or not strobe light is emitted (step S35a). (Step S35b) and a process (step S35) for initializing the variable iΣ (step S35c) is performed. That is, in the case of strobe light emission, by initializing the variable iΣ in step S35b, the determination result (step S36) whether or not the next iΣ = 0 is forcibly set to “YES”, and step S37 is executed. In the case where the I picture (non-predictive coded image) is generated and the flash light is not emitted, step S40 or step S41 is executed according to the value of the variable i at that time, A feature is that a B picture or a P picture (both are predictive coded pictures) is generated.
[0065]
FIGS. 16 and 17 are GOP structure diagrams when the N parameter is “21” and “10” (both M = 3), respectively, and FIG. 16 shows the case where the strobe is not emitted (the determination result of step S35a is FIG. 17 shows the case where the strobe is emitted (when the determination result in step S35a is “YES”).
[0066]
In the GOP structure of FIG. 16, the appearance interval of the I picture is every 21 screens set with the N parameter, but in the GOP structure of FIG. 17, the appearance interval of the I picture is less than the N parameter, for example, every 10 screens. It has become. The appearance interval of I pictures in FIG. 17 (every 10 screens in the figure) corresponds to the flash emission interval, and the replacement image of the non-flash image in the GOP requires a B picture or a P picture, that is, both require a reference image. Compared to the previous embodiment in which the strobe non-emission image is simply replaced with the previous strobe emission image, the similarity of the replacement image can be eliminated, and the jerky feeling during video playback is improved. can do.
[0067]
Since the previous strobe light emission image is a replacement image of the strobe non-light emission image, the replacement image is a B picture or a P picture that is a predictive encoded image, but the next strobe light emission image is a replacement image of the strobe non-light emission image. In this case, the first replacement image is an I picture that is a non-predictive encoded image, and the subsequent replacement image and strobe emission image are B pictures or P pictures that are predictive encoded images.
[0068]
【The invention's effect】
According to the present invention, a moving image is generated in which an image at the time of the previous flash emission is used instead of an image at the time of no flash emission. Therefore, even in a dark place shooting using a strobe, a moving image file composed of still images having a predetermined period can be freely obtained regardless of the light emission period of the strobe.
Alternatively, when the still image is an image when no strobe light is emitted, instead of the image when the strobe light is not emitted, a predicted encoded image generated using the image when the strobe light is emitted is used as the moving image. By making one of the unit images to be configured, the similarity of the substitute images can be reduced, and the jerky feeling at the time of moving image reproduction can be improved.
[Brief description of the drawings]
FIG. 1 is an external view of an electronic still camera.
FIG. 2 is a conceptual functional block diagram of an electronic still camera.
FIG. 3 is a block diagram of a control unit.
FIG. 4 is a flowchart showing an overall outline of a control program.
FIG. 5 is a schematic flowchart of menu processing.
FIG. 6 is a flowchart of a recording mode processing program.
FIG. 7 is a flowchart of a moving image mode processing program.
FIG. 8 is a conceptual diagram showing an actual generation of a recording moving image file at the time of shooting in a dark place.
FIG. 9 is a configuration diagram necessary for generating a recording moving image file.
FIG. 10 is a conceptual diagram when a moving image file is generated using only a strobe non-light emitting image.
FIG. 11 is a flowchart illustrating a modification of the moving image mode process.
FIG. 12 is a schematic diagram showing the syntax of MPEG.
FIG. 13 is a diagram illustrating an example of a GOP structure.
FIG. 14 is a diagram illustrating an arrangement of images.
FIG. 15 is a principle operation flowchart of MPEG compression processing (particularly GOP layer generation processing) in an improved example of the embodiment;
FIG. 16 is a GOP structure diagram when no strobe light is emitted.
FIG. 17 is a GOP structure diagram when a strobe light is emitted.
[Explanation of symbols]
10 Electronic still camera (video recording device)
32 Imaging unit (imaging means)
33 Image processing unit (imaging means)
34 Strobe section (strobe)
36 control unit (strobe control means, first recording means, second recording means, imaging control means, third recording means)
Claims (13)
前記動画像の記録中において、補助光を間欠的に発光させる補助光制御手段と、
前記補助光の発光タイミングに対応する単位画像を記録する場合には、前記補助光の発光時に前記撮像手段により撮像された静止画像を該単位画像として記録する第1記録手段と、
前記補助光の非発光タイミングに対応する単位画像を記録する場合には、前記補助光の発光時に前記撮像手段により撮像された静止画像を利用して該単位画像を記録する第2記録手段と、
を備えたことを特徴とする動画記録装置。In a moving image recording apparatus that records a plurality of unit images constituting a moving image using still images sequentially captured by an imaging unit,
Auxiliary light control means for intermittently emitting auxiliary light during recording of the moving image;
When recording a unit image corresponding to the emission timing of the auxiliary light, a first recording unit that records a still image captured by the imaging unit as the unit image when the auxiliary light is emitted;
When recording a unit image corresponding to the non-light emission timing of the auxiliary light, a second recording unit that records the unit image using a still image captured by the imaging unit when the auxiliary light is emitted;
A moving picture recording apparatus comprising:
前記第2記録手段は、前記第1記録手段により記録された前記非予測符号化画像から予測される予測符号化画像を前記補助光の非発光タイミングに対応する単位画像として記録することを特徴とする請求項1記載の動画記録装置。The first recording unit records a non-predictive encoded image generated based on a still image captured by the imaging unit when the auxiliary light is emitted as a unit image corresponding to the emission timing of the auxiliary light,
The second recording unit records a predictive encoded image predicted from the non-predictive encoded image recorded by the first recording unit as a unit image corresponding to a non-emission timing of the auxiliary light. The moving image recording apparatus according to claim 1.
ストロボを間欠的に発光させるストロボ制御手段と、
前記ストロボ発光時に前記撮像手段により撮像された静止画像を、前記動画像を構成する単位画像の一つとして記録する第1記録手段と、
前記ストロボ非発光時に前記撮像手段により撮像されるべき静止画像の代わりに直前又は直後のストロボ発光時に前記撮像手段により撮像された静止画像を、前記動画像を構成する単位画像の一つとして記録する第2記録手段と、
を備えたことを特徴とする動画記録装置。 In a moving image recording apparatus that generates and records a moving image using still images sequentially captured by an imaging unit,
Strobe control means for intermittently emitting the strobe,
A first recording unit that records a still image captured by the imaging unit at the time of the strobe light emission as one of unit images constituting the moving image;
Instead of the still image to be captured by the imaging unit when the strobe is not emitting light, the still image captured by the imaging unit when the strobe is emitted immediately before or immediately after is recorded as one of the unit images constituting the moving image. A second recording means;
Video recording apparatus comprising the.
前記ストロボ発光時には、前記撮像手段により撮像された静止画像を、前記動画像を構成する単位画像の一つとして記録する一方、前記ストロボ非発光時には、前記撮像手段により撮像されるべき静止画像の代わりに直前又は直後のストロボ発光時に前記撮像手段により撮像された静止画像を、前記動画像を構成する単位画像の一つとして記録することを特徴とする動画記録方法。When the flash is fired, the still image captured by the imaging unit is recorded as one of the unit images constituting the moving image, while when the strobe is not flashed, instead of the still image to be captured by the imaging unit. A moving image recording method comprising: recording a still image captured by the imaging unit at the time of flash emission immediately before or immediately after as one of unit images constituting the moving image.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001213300A JP4247701B2 (en) | 2001-07-13 | 2001-07-13 | Movie recording apparatus and movie recording method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001213300A JP4247701B2 (en) | 2001-07-13 | 2001-07-13 | Movie recording apparatus and movie recording method |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2003032608A JP2003032608A (en) | 2003-01-31 |
| JP2003032608A5 JP2003032608A5 (en) | 2007-05-10 |
| JP4247701B2 true JP4247701B2 (en) | 2009-04-02 |
Family
ID=19048300
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001213300A Expired - Fee Related JP4247701B2 (en) | 2001-07-13 | 2001-07-13 | Movie recording apparatus and movie recording method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4247701B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4901230B2 (en) * | 2006-02-08 | 2012-03-21 | 興和株式会社 | Imaging system |
| JP5474653B2 (en) * | 2010-05-07 | 2014-04-16 | オリンパスイメージング株式会社 | Imaging apparatus and imaging method |
| JP2013126165A (en) * | 2011-12-15 | 2013-06-24 | Fujitsu Ltd | Imaging apparatus, imaging method, and program |
| JP6307769B2 (en) * | 2015-01-21 | 2018-04-11 | 大陽日酸株式会社 | Exhaust gas treatment method and exhaust gas treatment apparatus |
-
2001
- 2001-07-13 JP JP2001213300A patent/JP4247701B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2003032608A (en) | 2003-01-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4140181B2 (en) | Electronic camera | |
| US6906751B1 (en) | Digital camera and control method thereof | |
| JP4234968B2 (en) | Digital camera | |
| JP2006091446A (en) | Camera | |
| JP4239442B2 (en) | Electronic camera and program thereof | |
| JP2004157417A (en) | Digital camera and exposure setting method during AF control thereof | |
| JP3632668B2 (en) | Digital camera | |
| JP4250436B2 (en) | Display control device | |
| JP4247701B2 (en) | Movie recording apparatus and movie recording method | |
| JP2007096995A (en) | Imaging apparatus, imaging method, and program | |
| JPH08289180A (en) | Electronic still camera | |
| JP3843689B2 (en) | Digital camera | |
| JP3794529B2 (en) | Moving picture recording apparatus and moving picture encoding method | |
| JP4359074B2 (en) | Camera with strobe | |
| JP2004056257A (en) | Electronic camera | |
| JP2006165770A (en) | Digital camera | |
| JP3989657B2 (en) | camera | |
| JP2002199340A (en) | Electronic camera and electronic camera control method | |
| JP4761039B2 (en) | Imaging device | |
| JP2002171442A (en) | Electronic camera and light intensity control method | |
| JP5208295B2 (en) | Imaging apparatus and control method thereof | |
| JP4032417B2 (en) | Image recording device | |
| JP4384094B2 (en) | Electronic still camera | |
| JPS58215872A (en) | Electronic camera | |
| JP5022837B2 (en) | Imaging apparatus and control method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070316 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070316 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080917 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080930 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081127 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20081219 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090101 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120123 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130123 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130123 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |