JP3876973B2 - Image recording / reproducing method, image reproducing apparatus, and file management method and apparatus - Google Patents

Image recording / reproducing method, image reproducing apparatus, and file management method and apparatus Download PDF

Info

Publication number
JP3876973B2
JP3876973B2 JP2001316367A JP2001316367A JP3876973B2 JP 3876973 B2 JP3876973 B2 JP 3876973B2 JP 2001316367 A JP2001316367 A JP 2001316367A JP 2001316367 A JP2001316367 A JP 2001316367A JP 3876973 B2 JP3876973 B2 JP 3876973B2
Authority
JP
Japan
Prior art keywords
file
image file
frame
still image
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 - Lifetime
Application number
JP2001316367A
Other languages
Japanese (ja)
Other versions
JP2003125344A (en
Inventor
尚宜 椿
宏志 田中
杉夫 巻島
Original Assignee
富士フイルムホールディングス株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 富士フイルムホールディングス株式会社 filed Critical 富士フイルムホールディングス株式会社
Priority to JP2001316367A priority Critical patent/JP3876973B2/en
Publication of JP2003125344A publication Critical patent/JP2003125344A/en
Application granted granted Critical
Publication of JP3876973B2 publication Critical patent/JP3876973B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Processing Or Creating Images (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Television Signal Processing For Recording (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、動画像と静止画像を記録/再生する方法及び装置に係り、特に動画撮影中に高画素の静止画を記録し、その記録した動画及び静止画を再生する技術並びに記録した画像データの取り扱いを容易にするファイル管理技術に関する。
【0002】
【従来の技術】
近年、デジタルカメラの分野では静止画像だけでなく、動画像も記録可能なカメラが発売されている。デジタルカメラにおける動画の記録方式としては一般にMotionJPEGと呼ばれる方式が広く採用され、一部のカメラではMPEG方式が採用されている。MotionJPEGは、各フレーム画像をJPEG方式で圧縮し、一連の画像群として記録する方法であり、再生時は各フレームを連続的に再生する。この方法は、各フレーム画像の圧縮/伸張処理に時間を要するため、画素数及びフレームレートをあまり上げることができない。現時点で発売されているデジタルカメラにおける動画記録の最大値は画素数640×480で30フレーム/秒である。
【0003】
その一方、静止画像の記録フォーマットとしては、現在のところJPEGフォーマットが広く使用されている。また、最近になってウェーブレット(Wavelet)方式などプログレッシブ再生が可能な圧縮技術が見直され、JPEG−2000などの新たな方式も提案されている。
【0004】
動画及び静止画の両方を記録可能なデジタルカメラは、カメラ側で記録対象を動画又は静止画に切り換えて撮影を行うものが一般的であるが、動画記録中に特定のフレームだけ高画素で記録する機能を実現したいという要求がある。この点、従来から動画撮影中に静止画像を記録する方法がいくつか提案されている( 特開平10−200859号公報、特開平11−187350号公報、特開2000−69407号公報、特開2000−295568号公報等)。従来提案されている方法の多くは、動画データと静止画データをそれぞれ別ファイルとして記録している。
【0005】
【発明が解決しようとする課題】
しかしながら、動画内から特定の1フレームを抜き出して静止画像とする場合、元々動画として撮影されたものであるため、記録画素数が少ないという欠点がある。そのため、この静止画像のデータをプリント等に使用すると画質の粗い画像となってしまう。
【0006】
その一方、動画とは別に静止画のみを高画素で記録する方法も提案されているが(特開2000−352759号公報、特開2000−108121号公報)、既存のMotionJPEGやMPEGフォーマットにおいては、ある特定のフレームのみ画素数を変更して記録することができないため、高画素な静止画は別ファイルとして記録しなければならない。そのため、静止画と動画を関連づけるためには、別途関連付けのための情報を用意する必要がある。
【0007】
本発明はこのような事情に鑑みてなされたもので、動画撮影中に高画素の静止画を記録することができ、動画と静止画の対応付けが容易で、記録後の画像の取り扱いにも便利な画像の記録再生方法、画像再生装置並びにファイル管理方法及び装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
前記目的を達成するために本発明に係る画像記録再生方法は、撮像手段を介して撮像した動画のフレームデータをプログレッシブ再生可能な圧縮形式に従って符号化して記録する一方、記録された画像を復号して再生する画像の記録再生方法であって、予め設定された所定の解像度で動画のフレームデータを記録する通常の動画記録中にユーザから高画質記録の指示を受け入れ、当該指示の入力に応じて前記所定の解像度よりも高解像度のフレームデータを取得し、前記所定の解像度で記録された通常フレームと前記高解像度で記録された高画素記録フレームとから成る一群の動画データを一つの動画ファイルとして保存し、前記動画ファイル内の高画素記録フレームを動画再生する場合にはプログレッシブ方式によって前記所定の解像度まで再生する一方、前記高画素記録フレームを静止画として再生する場合には、前記所定の解像度よりも高い解像度で再生を行い、前記動画ファイル内の高画素記録フレームを仮想的な静止画ファイル(仮想静止画ファイルという。)としてファイル管理し、ファイルリストの表示要求に対して前記仮想静止画ファイルを含む仮想的なディレクトリ構造を提示し、前記仮想静止画ファイルへのアクセス時には前記動画ファイル内から該当フレームを抜き出して、一つの静止画ファイルに変換した後に出力することを特徴としている。
【0009】
本発明によれば、通常の動画記録中は、予め設定された一定の解像度でフレームデータが記録される。この動画記録中に、ユーザが高画質記録の指示を入力すると、当該指示の入力に応じて高解像度のフレームデータが記録される。高解像度で記録されたフレーム(高画素記録フレーム)も動画を構成するフレームデータの一つとして機能し、所定の解像度で記録されたフレーム(通常のフレーム)と高画素記録フレームは動画を構成する一連のフレーム群として同じ動画ファイル内に記録される。一つの動画ファイル内に複数の高画質記録フレームを記録することも可能である。
【0010】
記録方式には、再生時に低解像度の画像データから徐々に解像度を上げて再生することができるプログレッシブ機能を有する圧縮方式が採用されているため、高画素記録フレームを動画として再生する場合には通常フレームと同等の前記所定の解像度まで再生し、高画素記録フレームを静止画として単独で再生する場合には、前記所定の解像度よりも高い解像度で再生を行う。
【0011】
動画ファイル内に高画素記録フレームを埋め込むようにしたので、動画と静止画の対応付けが容易であり、高画素記録フレームを静止画と同様に取り扱うことができる。
【0013】
また、本発明によれば、動画ファイル内に高画素記録したフレームをあたかも独立した静止画ファイルであるかのように仮想的なディレクトリ管理を行い、その仮想ディレクトリ構造をユーザに提示するようにしたので、仮想静止画ファイルのファイル操作が簡単である。
【0015】
上記方法発明の実施に使用可能な画像再生装置を提供するために、本発明に係る画像再生装置は、プログレッシブ再生可能な圧縮形式に従って符号化された画像データを復号する信号処理手段と、前記復号された画像を出力する出力手段と、を備えた画像再生装置であって、該装置は、所定の解像度で記録された通常のフレーム及び前記所定の解像度よりも高解像度で記録された高画素記録フレームから成る一群の動画データが一つのファイルとして保存されている動画ファイルについて、当該動画ファイル内の高画素記録フレームを動画再生する場合にはプログレッシブ方式によって前記所定の解像度まで再生する一方、前記高画素記録フレームを静止画として再生する場合には、前記所定の解像度よりも高い解像度で再生を行う再生制御手段を備え、前記動画ファイル内の高画素記録フレームを仮想的な静止画ファイル(仮想静止画ファイルという。)としてファイル管理し、ファイルリストの表示要求に対して前記仮想静止画ファイルを含む仮想的なディレクトリ構造を提示するファイル管理手段を有し、前記仮想静止画ファイルへのアクセス時には前記動画ファイル内から該当フレームを抜き出して、一つの静止画ファイルに変換した後に出力することを特徴としている
【0016】
【発明の実施の形態】
以下添付図面に従って本発明に係る画像の記録再生方法、画像再生装置並びにファイル管理方法及び装置の好ましい実施の形態について詳説する。
【0017】
図1は、本発明が適用されたデジタルカメラ10の構成を示すブロック図である。デジタルカメラ10は、撮影レンズ12、絞り兼用メカシャッター14、CCD固体撮像素子(以下、CCDという。)16、アナログ信号処理部18、A/D変換器20、フレームメモリコントローラ22、フレームメモリ24、デジタル信号処理部26、圧縮伸張回路28、カードインターフェース30、メモリカード32、画像データバス34、ホストバス36、中央演算処理装置(CPU)38、CPU周辺回路40、各種の操作スイッチ41、タイミングジェネレータ42、VRAM(Video RAM )44、エンコーダ46、D/A変換器48等から構成される。
【0018】
CPU38は本システムの制御を司る制御装置であり、所定の制御プログラムに従ってカメラを動作させる。CPU38は、CPU周辺回路40を介して受入する各種の操作スイッチ41からの信号入力に基づいて各回路を統括制御する。CPU周辺回路40には、タイマ、ダイレクト・メモリアクセス(DMA)回路、割り込み制御回路、パラレル入/出力ポートなどが含まれる。また、CPU38はタイミングジェネレータ42を制御しており、該タイミングジェネレータ42から各ブロックに供給される同期信号によって各回路の同期が取られている。
【0019】
撮影レンズ12を介して入射した光は、絞り兼用メカシャッター14によって光量が調節された後、CCD16の受光面に結像される。CCD16の受光面には多数のフォトセンサ(感光画素)が平面的に配列されており、各フォトセンサにおいて受光量に応じた信号電荷に変換される。CCD16の各フォトセンサに蓄積された信号電荷は、CPU38によって制御される図示せぬCCD駆動回路から加えられる駆動パルスに基づいて順次転送され、信号電荷に応じた電圧信号(画像信号)として読み出される。CCD16はCCD駆動回路から与えられるシャッタゲートパルスによって不要蓄積電荷を排出することができ、これにより電荷蓄積時間を制御するいわゆる電子シャッター機能を備えている。
【0020】
また、CCD16は、受光面の感光画素から信号電荷を読み出す際に、垂直方向に間引きして読み出す機能を有している。そして、通常の動画記録時は垂直方向に間引いて読み出し、静止画記録時(高画素記録時)は間引かずに全画素のデータを読み出す。CCD16から読み出された信号は、アナログ信号処理部18において色分離やゲイン調整その他の所定のアナログ信号処理が施された後、A/D変換器20によりデジタル信号に変換される。デジタル信号化された画像データは、デジタル信号処理部26において輝度信号(Y信号)及び色差信号(Cr,Cb )に変換され、一旦フレームメモリ24に格納される。
【0021】
フレームメモリ24に格納された画像データは、圧縮伸張回路28で圧縮されながら、カードインターフェース30を介してメモリカード32に記録される。圧縮処理とメモリカード32への書き込み(記録)処理は同時に並行して行われる。
【0022】
通常、動画像を記録する場合には、フレームメモリコントローラ22より、フレームメモリ24の画像を水平方向に(或いは水平及び垂直方向に)間引きしながら画像を読み出して圧縮伸張回路28に渡すことになる。動画撮影中の音声データは図示せぬマイクロフォンからの信号をA/D変換することによって取得され、画像データとともにメモリカード32に記録される。
【0023】
記録媒体の形態は、メモリカード32に限定されず、磁気ディスク、光ディスク、光磁気ディスク、メモリスティックなど種々の媒体を用いることができる。使用される媒体に応じた信号処理手段とインターフェースが適用される。また、リムーバブルメディアに限らず、デジタルカメラ10に内蔵された記録媒体(内部メモリ)であってもよい。
【0024】
撮像中にデジタル信号処理部26で得られた輝度・色差信号(YC信号)は、VRAM44に供給され、このVRAM44に格納されたデータはエンコーダ46及びD/A変換器48を介してビデオ出力端子より外部出力され、テレビモニタ等の表示装置50に供給される。これにより、CCD16で撮像された画像が表示装置50に表示される。表示装置50として液晶ディスプレイ等を用い、これをデジタルカメラ10の本体に内蔵する形態も可能である。
【0025】
再生モード時にはメモリカード32に記録されている画像が読み出され、圧縮伸張回路28によって伸張処理された後、VRAM44に供給される。こうしてVRAM44に格納されたデータはエンコーダ46及びD/A変換器48を介してビデオ出力端子より外部出力され、表示装置50等に供給される。これにより、メモリカード32に格納されている画像の内容を表示装置50の画面上で確認することができる。
【0026】
図2はデジタルカメラ10の背面図である。同図に示すように、デジタルカメラ10は、シャッターボタン52、ファインダー53、モード切換ダイヤル54、液晶モニタ55、カーソルキー56、高画質モードボタン57、及びメニュー/実行ボタン58等を備えている。
【0027】
メニュー/実行ボタン58は、各モードの通常画面からメニュー画面へ遷移させる時に使用されるメニューボタンとしての機能と、カーソルキー56で選択した内容の確定や処理の実行(確認)指示を入力する実行ボタンとしての機能を兼備した操作ボタンである。
【0028】
カーソルキー56は、液晶モニタ55に表示される図示せぬカーソル(又はポインタ)の位置を移動させるための操作部であり、上下左右の各方向を自由に指定することができる。ユーザはカーソルキー56を操作して前記カーソルを所望のポイントに合わせた後、メニュー/実行ボタン58を押すことにより、カーソルの位置に応じた選択や入力を行うことができる。このカーソルキー56は画像再生時の送り/戻し操作にも使用される。なお、図に示したカーソルキー56に代えて、タッチパッド、トラックボール、又はジョイスティックなど他のポインティングデバイスを用いることも可能であり、また、液晶モニタ55上にタッチパネルを配置してもよい。
【0029】
シャッターボタン52は、静止画撮影モード時の撮影指示手段として機能するとともに、動画撮影モード時の録画スタート/ストップボタンとして兼用される。モード切換ダイヤル54はカメラの動作モードを切り換えるための操作部であり、該ダイヤルを回動操作することによって<静止画撮影モード/再生モード/動画撮影モード>の切り換えが可能である。「静止画撮影モード」は、静止画を記録する動作モードである。このモードで記録された静止画像のデータはプログレッシブ圧縮された画像ファイルとして保存される。「再生モード」はメモリカード32に格納されている画像データを再生して液晶モニタ55に出力したり、ビデオ端子等を介して外部機器にデータを出力する動作モードである。再生モードは、画像データに関連付けられている各種データを編集する編集モードとしても兼用される。「動画撮影モード」は動画を記録する動作モードである。本例では、1回の撮影で記録できる最長時間、画像サイズ、フレームレート等の条件が予め設定されており、例えば、1回の撮影で最長約160秒の音声(8kHz,8bit, モノラル)付きムービーを320×240ピクセル、10フレーム/秒の記録条件で記録できるものとする。なお、録画可能時間はメモリカード32の残容量に応じて変化する。このモードで記録された動画像のデータは各フレーム毎にプログレッシブ圧縮された動画ファイルとして保存される。
【0030】
動画撮影モードに設定された状態でシャッターボタン52を押すと、動画記録を開始し、再びシャッターボタン52を押すと動画記録を終了する。動画記録中に高画質モードボタン57を押すと、該ボタンが押されたタイミングで撮影された画像データはCCD読み出し時に間引きせずに高画素のまま記録される。本例では、高画質モードボタン57の押下に応動して1280×960画素の高画素記録を行うものとするが、CCDの性能に応じて更に高画素の記録を実施してもよい。また、高画素記録時の画素をユーザが適宜設定できるように構成する態様も好ましい。
【0031】
図3に動画ファイルのファイル構造を示す。デジタルカメラ10によって記録される動画ファイル70は、図3に示したように、ファイルヘッダー72、画像データのヘッダー73、音声データのヘッダー74、付属情報部75及び動画データ部76から構成される。ファイルヘッダー72には、動画ファイル全体に関する情報が記録されている。例えば、総フレーム数等の情報が記録されている。また、動画記録中に高画質モードボタン57を押して高画質記録を実行した場合には、このファイルヘッダー72内に高画素記録フレームのインデックスが記録される。インデックスの例を図4に示す。インデックスには、当該動画ファイル内において高画素記録したフレーム総数、フレーム番号及びアドレスの情報が書き込まれている。インデックスの情報は後述するファイル管理に活用される。
【0032】
図3に示した画像データのヘッダー73には、画像データに関する情報が記録されている。例えば、再生サイズやデータフォーマット等の情報が該ヘッダー73に記録されている。音声データのヘッダー74には、音声データに関する情報が記録されている。例えば、サンプルレート(周波数)、チャンネル数、1サンプルのビット数等が記録されている。
【0033】
付属情報部75には、撮影時の付属情報が記録される。撮影日や使用したカメラ等の情報が記録される。動画データ部76には動画データ本体が記録されている。画像データと音声データはインターリーブして記録される。
【0034】
次に、上記の如く構成されたデジタルカメラ10による動画及び静止画の記録/再生方法について説明する。
【0035】
本実施形態において、画像データの圧縮にはウエーブレット(Wavelet )変換を用いた圧縮方法を用いる。この方式は、再生時に低解像度の画像データから徐々に解像度を上げて再生するという「プログレッシブ機能」がある。図5にプログレッシブ機能の概念図を示す。同図に示したように、高画素(高解像度)で記録された画像データを再生する場合には、低解像度の画像から段階的に解像度を上げて最終的に高解像度の画像を再生することが可能であり、表示等に要求される解像度に合わせた解像度で画像出力が可能である。
【0036】
図6に、動画像データの画素サイズの概念図を示す。通常の動画フレームは、320×240の画素サイズで記録されるが、高画質モードボタン57の押下タイミングで取得されたフレーム画像については1280×960の画素サイズで記録される。
【0037】
図7は動画撮影モードの制御手順を示すフローチャートである。モード切換ダイヤル54によって動画撮影モードが選択されることにより、動画撮影の制御がスタートする。CPU38はシャッターボタン52の押下の有無を判定し(ステップS110)、シャッターボタン52の押下(録画スタートの指示)を検出すると動画記録の処理を開始する(ステップS112)。既に説明したように、通常の動画記録時にはCCD16の間引き読み出しを行い、低画素サイズ(320×240)で記録が行われる。動画記録中、CPU38は高画質モードボタン57の押下を監視し(ステップS114)、高画質モードボタン57の押下を検出すると、当該押下タイミングで撮像した画像データについては全画素読み出しを行い、高画素サイズ(1280×960)による記録を行う(ステップS116)。ステップS114において高画質モードボタン57が押されていない場合は、通常の動画記録処理を継続する。
【0038】
次に、ステップS118においてシャッターボタン52の押下の有無を判定する。シャッターボタン52の押下が検出されなければ、ステップS120に進み、所定の録画可能時間を録画し終えたか否かの判定を行う。録画可能時間以内であれば、ステップS112に戻り、上述の動画記録の処理が継続される。ステップS118でシャッターボタン52の押下(録画ストップの指示)を検出した場合、又はステップS120において録画可能時間に到達した場合には、動画記録の処理を停止する(ステップS122)。
【0039】
このようにして動画記録中に高画素記録したフレームは、動画内の1フレームとして再生可能であるとともに、静止画の画像データとしても取り扱うことができる。詳しくは後述するが、高画素記録したフレームは仮想的に静止画ファイルとしてディレクトリ管理され、通常の静止画ファイルと同様に扱うことができる。
【0040】
高画素記録したフレームの再生方法は、動画再生時と静止画再生時とで異なる。すなわち、図8に示したように、動画再生時には、最低画素数の画像から順に目的の画素数の画像(本例では320×240)の画像まで再生する。なお、他の割り込み処理等で処理が間に合わない場合は、途中で再生処理を止めて次のフレームの再生を開始する。その一方、静止画再生時には、記録されている最高画素(本例では1280×960)の静止画を再生する。
【0041】
図9は再生モードの制御手順を示すフローチャートである。モード切換ダイヤル54によって再生モードが選択されると、再生の制御がスタートし、メモリカード32に記録されているファイルが読み出される(ステップS210)。再生モードに切り換えた直後は、メモリカード32内の最終ファイル(最後に記録したファイル)が読み出される。
【0042】
読み出されたファイルの画像データは伸張処理された後(ステップS212)、液晶モニタ55に表示される(ステップS214)。読み出し対象のファイルが静止画ファイル又は高画素記録されたフレームの仮想静止画ファイルである場合には、当該静止画の画像内容が液晶モニタ55に一コマ表示される。また、読み出し対象のファイルが動画ファイルの場合は、先頭フレームの画像内容が表示され、動画再生開始の指示入力を受け付ける画面となる。
【0043】
次いで、CPU38は動画再生開始の指示が入力されたか否かの判定を行う(ステップS216)。動画ファイルの先頭フレームの画像が表示された状態でユーザが所定の操作手順に従って動画再生開始の指示を入力すると、CPU38はこれを検知して、当該動画ファイルの動画再生処理を開始する(ステップS220)。動画再生中、処理の対象フレームが通常の動画フレームであるか高画素記録フレームであるかを判別し(ステップS222)、高画素記録フレームである場合はプログレッシブ方式によって所定の解像度(320×240)まで再生する(ステップS224)。その一方、対象フレームが通常の動画フレームの場合には、記録した画素サイズの再生を行う。
【0044】
次いで、ステップS226において、動画再生の中止の指示が入力されたか否かの判定を行う。動画再生中に、再生中止の指示が入力されると、動画再生の処理が中止され、ステップS214に戻る。その一方、ステップS226において中止の指示が入力されなければ、ステップS228に進み、当該動画ファイルの再生を終了したか否かの判定を行う。再生の途中であれば、ステップS220に戻り、動画再生の処理を継続する。ステップS228において、動画ファイルの再生が終了したことを検出すると、ステップS214に戻り、先頭フレームの表示に復帰する。
【0045】
ステップS216において動画再生開始の指示が入力されなければ、ステップS240に進み、再生対象ファイルを変更する指示(いわゆるコマ送り/コマ戻しの指示)が入力されたか否かの判定を行う。ステップS240において再生ファイルを変更する指示が入力されない場合は、ステップS214に戻り、現在の表示状態を維持する。その一方、ステップS240において再生ファイルを変更する指示が入力された場合には、ステップS210に戻り、読み出し対象のファイルを変更してメモリカード32から別のファイルを読み出す。こうして、再生画像が変更される。
【0046】
次に、動画ファイル内に高画素記録したフレームの取り扱い方法について説明する。高画素記録したフレームの画像データは、実際には動画ファイル内に格納されているが、仮想的に静止画ファイルとして管理される。図10にメモリカードの実ディレクトリ構造を示し、図11に仮想ディレクトリ構造を示す。
【0047】
図10に示した実ディレクトリ構造によれば、ルートディレクトリ下の適当な階層に静止画格納用のディレクトリ(ディレクトリ名:「STILL 」)と、動画格納用のディレクトリ( ディレクトリ名:「MOVIE 」) が作成されており、「STILL 」ディレクトリ内に静止画ファイルが3枚記録され、「MOVIE 」ディレクトリ内に動画ファイルが2つ記録されている。各ファイルには記録順に従ってファイル番号が自動付与され、ファイル番号とファイル属性を示す拡張子を組み合わせたファイル名が付与される。
【0048】
動画ファイル「0001.MJ2」内の2フレームは高画素記録されており、動画ファイル「0002.MJ2」内の3フレームは高画素記録されているものとする。
【0049】
このような実ディレクトリ構造に対して、ディレクトリのリスト表示を行うと、図11に示す仮想ディレクトリ構造が表示される。図11によれば、動画ファイル「0001.MJ2」内の高画素記録フレームを「0004.JP2」、「0005.JP2」とし、動画ファイル「0002.MJ2」内の高画素記録フレームを「0006.JP2」、「0007.JP2」、「0008.JP2」として、あたかも静止画ファイルであるかのように仮想的に提示される。デジタルカメラ10の液晶モニタ55上に図11のようなファイルリストを表示させてもよいし、デジタルカメラ10に搭載された図示せぬ通信インターフェース部(例えば、USB端子)を介してデジタルカメラ10とパソコン(不図示)を接続し、パソコンのディスプレイにメモリカード32のファイルリストを表示させてもよい。
【0050】
高画素記録フレームに対応する仮想静止画ファイルへのアクセスは、以下のように行われる。
<仮想静止画ファイルの読み込み> 仮想静止画ファイルにアクセスすると、自動的に動画ファイルから該当フレームのデータを抜き出して、1個の静止画ファイルの形式に変換してアクセス元にデータを渡す。例えば、別メディアへ画像をコピーすると、別メディアへは1個の静止画ファイルがコピーされる。
<仮想静止画ファイルの上書き及び消去> 仮想静止画ファイルに対しては、自動的に書き込み防止保護(Write Protected )が設定されるものとし、上書きや消去の処理が禁止される。これは、画像の編集作業によって前後のフレームと異なる画素数や形式で記録されるのを防ぐためである。
【0051】
本例では、仮想静止画ファイルが書き込み防止保護されているものとして扱ったが、ファイルを所定の形式に変換した後に、動画の該当フレームのデータと入れ替える態様も可能である。
【0052】
また、上述した実施形態では、仮想静止画ファイルとして1解像度分(1280×960の画素サイズ)のみ提示したが、複数の解像度の画像それぞれを別ファイル(仮想的なファイル)として提示する態様も可能である。
【0053】
高画素記録フレームのインデックスは、動画ファイルのファイルヘッダーに記録する態様に限定されず、動画ファイル内の他の位置に記録してもよいし、別ファイルとして記録してもよい。
【0054】
上記説明では、仮想ディレクトリの提示や仮想静止画ファイルへのアクセス時の処理に際してインデックスの情報を利用したが、本発明の実施に際しては、これに限定されず、インデックスを用意せずに、動画ファイル内の各フレームを走査して高画素記録フレームを検索してもよい。
【0055】
【発明の効果】
以上説明したように本発明によれば、動画ファイル内に高画素記録フレームを埋め込んで記録するようにしたので、動画と静止画の対応付けが容易である。本発明はプログレッシブ再生可能な圧縮方式を採用しているため、高画素記録フレームを動画として再生する場合には通常フレームと同等の前記所定の解像度まで再生することができる一方、高画素記録フレームを静止画として単独で再生する場合には、前記所定の解像度よりも高い解像度で再生を行うことができる。
【0056】
また、本発明によれば、動画内に埋め込まれている高画素記録フレームを通常の静止画像と同様に容易に取り扱うことが可能となる。
【0057】
本発明は、静止画像を単独の別ファイルとして記録しないため、記録容量を削減できるという効果もある。また、記録した動画ファイルを再生する再生機の処理速度が遅い場合でも、フレーム落ち無く再生できるという利点がある。
【図面の簡単な説明】
【図1】本発明が適用されたデジタルカメラの構成を示すブロック図
【図2】本例のデジタルカメラの背面図
【図3】動画ファイルのファイル構造を示す概念図
【図4】動画ファイル内に記録される高画素記録フレームのインデックスの例を示す図表
【図5】プログレッシブ再生機能の説明図
【図6】動画像データの画素サイズを示した概念図
【図7】動画撮影モードの制御手順を示したフローチャート
【図8】高画素記録フレームの再生方法を示した説明図
【図9】再生モードの制御手順を示したフローチャート
【図10】実ディレクトリ構造を示す図
【図11】仮想ディレクトリ構造を示す図
【符号の説明】
10…デジタルカメラ、16…CCD、24…フレームメモリ、26…デジタル信号処理部、28…圧縮伸張回路、32…メモリカード、38…CPU、40…CPU周辺回路、50…表示装置、52…シャッターボタン、54…モード切換ダイヤル、55…液晶モニタ、57…高画質モードボタン
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method and apparatus for recording / reproducing moving images and still images, and in particular, a technique for recording a high-pixel still image during moving image shooting, and reproducing the recorded moving image and still image, and recorded image data The present invention relates to a file management technology that facilitates handling of files.
[0002]
[Prior art]
In recent years, in the field of digital cameras, cameras that can record not only still images but also moving images have been released. As a moving image recording method in a digital camera, a method generally called Motion JPEG is widely adopted, and an MPEG method is adopted in some cameras. Motion JPEG is a method in which each frame image is compressed by the JPEG method and recorded as a series of images. Each frame is reproduced continuously during reproduction. Since this method requires time for compression / decompression processing of each frame image, the number of pixels and the frame rate cannot be increased so much. The maximum value of moving image recording in a digital camera put on the market at the present time is 640 × 480 pixels and 30 frames / second.
[0003]
On the other hand, the JPEG format is currently widely used as a still image recording format. Recently, a compression technique capable of progressive reproduction such as a wavelet method has been reviewed, and a new method such as JPEG-2000 has been proposed.
[0004]
Digital cameras that can record both moving images and still images are generally those that take pictures by switching the recording target to moving images or still images on the camera side, but only a specific frame is recorded with high pixels during moving image recording. There is a demand to realize the function to do. In this regard, several methods for recording still images during moving image shooting have been proposed (Japanese Patent Laid-Open Nos. 10-200909, 11-187350, 2000-69407, and 2000). -295568. Many of the conventionally proposed methods record moving image data and still image data as separate files.
[0005]
[Problems to be solved by the invention]
However, when a specific frame is extracted from the moving image and used as a still image, there is a disadvantage that the number of recorded pixels is small because it was originally captured as a moving image. For this reason, if the still image data is used for printing or the like, an image with poor image quality is obtained.
[0006]
On the other hand, a method for recording only still images with high pixels apart from moving images has been proposed (Japanese Patent Laid-Open Nos. 2000-352759 and 2000-108121). However, in the existing Motion JPEG and MPEG formats, Since only a specific frame cannot be recorded with the number of pixels changed, a high-pixel still image must be recorded as a separate file. Therefore, in order to associate a still image and a moving image, it is necessary to prepare information for associating separately.
[0007]
  The present invention has been made in view of such circumstances, and can record a high-pixel still image during moving image shooting, easily associate a moving image with a still image, and can also handle an image after recording. Convenient image recording and playback methods and imagesStatueAn object of the present invention is to provide a raw device and a file management method and device.
[0008]
[Means for Solving the Problems]
  In order to achieve the above object, the image recording / reproducing method according to the present invention encodes and records the frame data of the moving image captured through the imaging means in accordance with a compression format capable of progressive reproduction, while decoding the recorded image. A method for recording and reproducing an image to be played back, which accepts a high-quality recording instruction from a user during normal moving picture recording for recording moving picture frame data at a predetermined resolution set in response to the input of the instruction Frame data having a resolution higher than the predetermined resolution is acquired, and a group of moving image data composed of a normal frame recorded at the predetermined resolution and a high pixel recording frame recorded at the high resolution is used as one moving image file. When the high-pixel recording frame in the moving image file is saved and played back, the progressive resolution is used to achieve the predetermined resolution. While playing, when reproducing the high pixel recording frame as a still image, line reproduction at a higher resolution than the predetermined resolutionA virtual directory that manages the high-pixel recording frame in the moving image file as a virtual still image file (referred to as a virtual still image file) and includes the virtual still image file in response to a file list display request. Present the structure, extract the corresponding frame from the video file when accessing the virtual still image file, convert it to one still image file, and output itIt is characterized by that.
[0009]
According to the present invention, during normal moving image recording, frame data is recorded at a predetermined fixed resolution. When the user inputs an instruction for high-quality recording during the moving image recording, high-resolution frame data is recorded in response to the input of the instruction. A frame recorded at a high resolution (high pixel recording frame) also functions as one of frame data constituting a moving image, and a frame (normal frame) recorded at a predetermined resolution and a high pixel recording frame constitute a moving image. It is recorded in the same moving image file as a series of frames. It is also possible to record a plurality of high-quality recording frames in one moving image file.
[0010]
The recording method employs a compression method that has a progressive function that can gradually increase the resolution from low-resolution image data during playback. When reproducing to the predetermined resolution equivalent to the frame and reproducing the high pixel recording frame alone as a still image, reproduction is performed at a resolution higher than the predetermined resolution.
[0011]
Since the high pixel recording frame is embedded in the moving image file, it is easy to associate the moving image and the still image, and the high pixel recording frame can be handled in the same manner as the still image.
[0013]
  Moreover, according to the present invention,Since the virtual directory management is performed as if the high-pixel-recorded frame in the video file is an independent still image file, and the virtual directory structure is presented to the user, the virtual still image file Easy to operate.
[0015]
  In order to provide an image reproducing apparatus that can be used to implement the above method invention,An image reproduction apparatus according to the present invention is an image reproduction apparatus including signal processing means for decoding image data encoded according to a compression format capable of progressive reproduction, and output means for outputting the decoded image. The apparatus includes a moving image file in which a group of moving image data including a normal frame recorded at a predetermined resolution and a high pixel recording frame recorded at a higher resolution than the predetermined resolution is stored as one file. When the high-pixel recording frame in the moving image file is reproduced as a moving image, it is reproduced up to the predetermined resolution by a progressive method, whereas when the high-pixel recording frame is reproduced as a still image, the predetermined resolution is used. Also equipped with playback control means for playback at higher resolutionsIn addition, the high-pixel recording frame in the moving image file is managed as a virtual still image file (referred to as a virtual still image file), and a virtual directory including the virtual still image file in response to a file list display request. Having a file management means for presenting a structure, and when accessing the virtual still image file, the corresponding frame is extracted from the moving image file, converted into one still image file, and then outputIt is characterized by.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
  An image recording / reproducing method, image, andStatueA preferred embodiment of a live device and a file management method and device will be described in detail.
[0017]
FIG. 1 is a block diagram showing a configuration of a digital camera 10 to which the present invention is applied. The digital camera 10 includes a photographic lens 12, a diaphragm combined mechanical shutter 14, a CCD solid-state imaging device (hereinafter referred to as CCD) 16, an analog signal processing unit 18, an A / D converter 20, a frame memory controller 22, a frame memory 24, Digital signal processing unit 26, compression / decompression circuit 28, card interface 30, memory card 32, image data bus 34, host bus 36, central processing unit (CPU) 38, CPU peripheral circuit 40, various operation switches 41, timing generator 42, a VRAM (Video RAM) 44, an encoder 46, a D / A converter 48, and the like.
[0018]
The CPU 38 is a control device that controls the system, and operates the camera according to a predetermined control program. The CPU 38 comprehensively controls each circuit based on signal inputs from various operation switches 41 received via the CPU peripheral circuit 40. The CPU peripheral circuit 40 includes a timer, a direct memory access (DMA) circuit, an interrupt control circuit, a parallel input / output port, and the like. Further, the CPU 38 controls the timing generator 42, and each circuit is synchronized by a synchronization signal supplied from the timing generator 42 to each block.
[0019]
The light incident through the taking lens 12 is imaged on the light receiving surface of the CCD 16 after the amount of light is adjusted by the diaphragm mechanical shutter 14. A large number of photosensors (photosensitive pixels) are arranged in a plane on the light receiving surface of the CCD 16 and converted into signal charges corresponding to the amount of light received by each photosensor. The signal charges accumulated in the photosensors of the CCD 16 are sequentially transferred based on drive pulses applied from a CCD drive circuit (not shown) controlled by the CPU 38 and read out as voltage signals (image signals) corresponding to the signal charges. . The CCD 16 can discharge unnecessary accumulated charges by a shutter gate pulse given from a CCD driving circuit, and has a so-called electronic shutter function for controlling the charge accumulation time.
[0020]
Further, the CCD 16 has a function of thinning out and reading out signal charges from the photosensitive pixels on the light receiving surface. Then, during normal moving image recording, the data is read out by thinning out in the vertical direction, and during still image recording (at the time of high pixel recording), data of all pixels is read out without being thinned out. The signal read from the CCD 16 is subjected to color separation, gain adjustment, and other predetermined analog signal processing in the analog signal processing unit 18, and then converted to a digital signal by the A / D converter 20. The image data converted into a digital signal is converted into a luminance signal (Y signal) and a color difference signal (Cr, Cb) by the digital signal processing unit 26 and temporarily stored in the frame memory 24.
[0021]
The image data stored in the frame memory 24 is recorded on the memory card 32 via the card interface 30 while being compressed by the compression / decompression circuit 28. The compression process and the writing (recording) process to the memory card 32 are performed simultaneously in parallel.
[0022]
Normally, when recording a moving image, the frame memory controller 22 reads out the image while thinning out the image in the frame memory 24 in the horizontal direction (or in the horizontal and vertical directions) and passes it to the compression / decompression circuit 28. . Audio data during moving image shooting is acquired by A / D converting a signal from a microphone (not shown), and recorded in the memory card 32 together with the image data.
[0023]
The form of the recording medium is not limited to the memory card 32, and various media such as a magnetic disk, an optical disk, a magneto-optical disk, and a memory stick can be used. A signal processing means and an interface corresponding to the medium to be used are applied. The recording medium (internal memory) built in the digital camera 10 is not limited to the removable medium.
[0024]
The luminance / color difference signal (YC signal) obtained by the digital signal processing unit 26 during imaging is supplied to the VRAM 44, and the data stored in the VRAM 44 is connected to the video output terminal via the encoder 46 and the D / A converter 48. Is output to the outside and supplied to a display device 50 such as a television monitor. As a result, an image captured by the CCD 16 is displayed on the display device 50. A configuration in which a liquid crystal display or the like is used as the display device 50 and is built in the main body of the digital camera 10 is also possible.
[0025]
In the reproduction mode, an image recorded on the memory card 32 is read out, decompressed by the compression / expansion circuit 28, and then supplied to the VRAM 44. The data stored in the VRAM 44 in this way is externally output from the video output terminal via the encoder 46 and the D / A converter 48 and supplied to the display device 50 and the like. Thereby, the content of the image stored in the memory card 32 can be confirmed on the screen of the display device 50.
[0026]
FIG. 2 is a rear view of the digital camera 10. As shown in the figure, the digital camera 10 includes a shutter button 52, a viewfinder 53, a mode switching dial 54, a liquid crystal monitor 55, a cursor key 56, a high image quality mode button 57, a menu / execution button 58, and the like.
[0027]
The menu / execution button 58 is a function as a menu button used when transitioning from the normal screen to the menu screen in each mode, and the execution of inputting the content selected with the cursor key 56 and the execution (confirmation) instruction This is an operation button that also functions as a button.
[0028]
The cursor key 56 is an operation unit for moving the position of a cursor (or pointer) (not shown) displayed on the liquid crystal monitor 55, and can freely specify each of the upper, lower, left and right directions. The user can select and input according to the position of the cursor by operating the cursor key 56 to move the cursor to a desired point and then pressing the menu / execution button 58. The cursor key 56 is also used for forward / backward operation during image reproduction. Note that other pointing devices such as a touch pad, a trackball, or a joystick can be used instead of the cursor key 56 shown in the drawing, and a touch panel may be disposed on the liquid crystal monitor 55.
[0029]
The shutter button 52 functions as a shooting instruction unit in the still image shooting mode and is also used as a recording start / stop button in the moving image shooting mode. The mode switching dial 54 is an operation unit for switching the operation mode of the camera, and can be switched between <still image shooting mode / playback mode / moving image shooting mode> by rotating the dial. The “still image shooting mode” is an operation mode for recording a still image. Still image data recorded in this mode is stored as a progressively compressed image file. “Reproduction mode” is an operation mode in which image data stored in the memory card 32 is reproduced and output to the liquid crystal monitor 55, or data is output to an external device via a video terminal or the like. The playback mode is also used as an editing mode for editing various data associated with image data. The “movie shooting mode” is an operation mode for recording a movie. In this example, conditions such as the maximum time that can be recorded in one shooting, image size, frame rate, etc. are preset, for example, with a maximum of about 160 seconds of audio (8 kHz, 8 bit, monaural) in one shooting. It is assumed that a movie can be recorded at a recording condition of 320 × 240 pixels and 10 frames / second. Note that the recordable time varies depending on the remaining capacity of the memory card 32. The moving image data recorded in this mode is stored as a progressively compressed moving image file for each frame.
[0030]
When the shutter button 52 is pressed in the moving image shooting mode, the moving image recording is started, and when the shutter button 52 is pressed again, the moving image recording is ended. When the high image quality mode button 57 is pressed during moving image recording, the image data captured at the timing when the button is pressed is recorded as high pixels without being thinned out when reading out the CCD. In this example, high pixel recording of 1280 × 960 pixels is performed in response to pressing of the high image quality mode button 57, but higher pixel recording may be performed according to the performance of the CCD. Further, an aspect in which the user can appropriately set the pixels at the time of high pixel recording is also preferable.
[0031]
FIG. 3 shows the file structure of the moving image file. As shown in FIG. 3, the moving image file 70 recorded by the digital camera 10 includes a file header 72, an image data header 73, an audio data header 74, an attached information portion 75, and a moving image data portion 76. In the file header 72, information regarding the entire moving image file is recorded. For example, information such as the total number of frames is recorded. In addition, when the high image quality mode button 57 is pressed during moving image recording to execute high image quality recording, the index of the high pixel recording frame is recorded in the file header 72. An example of the index is shown in FIG. In the index, information on the total number of frames, frame numbers, and addresses recorded with high pixels in the moving image file is written. The index information is used for file management to be described later.
[0032]
Information relating to image data is recorded in the header 73 of the image data shown in FIG. For example, information such as playback size and data format is recorded in the header 73. In the audio data header 74, information related to the audio data is recorded. For example, the sample rate (frequency), the number of channels, the number of bits of one sample, and the like are recorded.
[0033]
In the attached information section 75, attached information at the time of shooting is recorded. Information such as the shooting date and the camera used is recorded. The moving image data main body is recorded in the moving image data portion 76. Image data and audio data are recorded interleaved.
[0034]
Next, a method for recording / reproducing moving images and still images with the digital camera 10 configured as described above will be described.
[0035]
In this embodiment, a compression method using wavelet conversion is used for compressing image data. This method has a “progressive function” of gradually increasing the resolution from low-resolution image data during reproduction. FIG. 5 shows a conceptual diagram of the progressive function. As shown in the figure, when reproducing image data recorded with high pixels (high resolution), the resolution is gradually increased from the low resolution image and finally the high resolution image is reproduced. It is possible to output an image at a resolution that matches the resolution required for display or the like.
[0036]
FIG. 6 is a conceptual diagram of the pixel size of moving image data. A normal moving image frame is recorded with a pixel size of 320 × 240, but a frame image acquired when the high image quality mode button 57 is pressed is recorded with a pixel size of 1280 × 960.
[0037]
FIG. 7 is a flowchart showing the control procedure of the moving image shooting mode. When the moving image shooting mode is selected by the mode switching dial 54, the moving image shooting control is started. The CPU 38 determines whether or not the shutter button 52 has been pressed (step S110). When the CPU 38 detects that the shutter button 52 has been pressed (recording start instruction), it starts the moving image recording process (step S112). As already described, during normal moving image recording, thinning readout of the CCD 16 is performed, and recording is performed with a low pixel size (320 × 240). During the moving image recording, the CPU 38 monitors the pressing of the high image quality mode button 57 (step S114). When the CPU 38 detects the pressing of the high image quality mode button 57, the image data captured at the pressing timing is read out, and the high pixel is read. Recording with a size (1280 × 960) is performed (step S116). If the high image quality mode button 57 is not pressed in step S114, the normal moving image recording process is continued.
[0038]
Next, in step S118, it is determined whether or not the shutter button 52 has been pressed. If it is not detected that the shutter button 52 has been pressed, the process proceeds to step S120, where it is determined whether or not the predetermined recordable time has been recorded. If it is within the recordable time, the process returns to step S112, and the above-mentioned moving image recording process is continued. If the pressing of the shutter button 52 (recording stop instruction) is detected in step S118, or if the recordable time is reached in step S120, the moving image recording process is stopped (step S122).
[0039]
Thus, a frame recorded with high pixels during moving image recording can be reproduced as one frame in the moving image and can also be handled as image data of a still image. As will be described later in detail, a frame recorded with high pixels is virtually directory-managed as a still image file and can be handled in the same manner as a normal still image file.
[0040]
The method of reproducing a frame recorded with high pixels differs between when reproducing a moving image and when reproducing a still image. That is, as shown in FIG. 8, at the time of moving image reproduction, an image having a target number of pixels (320 × 240 in this example) is reproduced in order from the image having the minimum number of pixels. If the processing is not in time for other interrupt processing or the like, the playback processing is stopped halfway and playback of the next frame is started. On the other hand, at the time of still image reproduction, the recorded still image of the highest pixel (1280 × 960 in this example) is reproduced.
[0041]
FIG. 9 is a flowchart showing the control procedure of the reproduction mode. When the playback mode is selected by the mode switching dial 54, playback control starts and the file recorded on the memory card 32 is read (step S210). Immediately after switching to the reproduction mode, the last file (last recorded file) in the memory card 32 is read.
[0042]
The image data of the read file is decompressed (step S212) and then displayed on the liquid crystal monitor 55 (step S214). When the file to be read is a still image file or a virtual still image file of a frame recorded with high pixels, the image content of the still image is displayed on the liquid crystal monitor 55 as a single frame. When the file to be read is a moving image file, the image content of the first frame is displayed, and a screen for accepting an instruction input for starting moving image reproduction is displayed.
[0043]
Next, the CPU 38 determines whether or not an instruction to start moving image reproduction has been input (step S216). When the user inputs an instruction to start moving image reproduction in accordance with a predetermined operation procedure while the image of the first frame of the moving image file is displayed, the CPU 38 detects this and starts moving image reproduction processing of the moving image file (step S220). ). During reproduction of a moving image, it is determined whether the processing target frame is a normal moving image frame or a high pixel recording frame (step S222). If it is a high pixel recording frame, a predetermined resolution (320 × 240) is determined by a progressive method. (Step S224). On the other hand, when the target frame is a normal moving image frame, the recorded pixel size is reproduced.
[0044]
Next, in step S226, it is determined whether an instruction to stop moving image playback has been input. If an instruction to stop playback is input during moving image playback, the processing of moving image playback is stopped and the process returns to step S214. On the other hand, if no stop instruction is input in step S226, the process proceeds to step S228, and it is determined whether or not the reproduction of the moving image file has ended. If it is in the middle of reproduction, the process returns to step S220 to continue the moving image reproduction process. If it is detected in step S228 that the reproduction of the moving image file has been completed, the process returns to step S214 to return to the display of the first frame.
[0045]
If an instruction to start moving image reproduction is not input in step S216, the process proceeds to step S240, and it is determined whether an instruction to change the file to be reproduced (so-called frame advance / frame return instruction) is input. If an instruction to change the playback file is not input in step S240, the process returns to step S214, and the current display state is maintained. On the other hand, if an instruction to change the playback file is input in step S240, the process returns to step S210, the file to be read is changed, and another file is read from the memory card 32. Thus, the reproduced image is changed.
[0046]
Next, a method of handling a frame recorded with high pixels in a moving image file will be described. The image data of a frame recorded with high pixels is actually stored in a moving image file, but is virtually managed as a still image file. FIG. 10 shows the real directory structure of the memory card, and FIG. 11 shows the virtual directory structure.
[0047]
According to the actual directory structure shown in FIG. 10, a still image storage directory (directory name: “STILL”) and a movie storage directory (directory name: “MOVIE”) are stored in an appropriate hierarchy below the root directory. Three still image files are recorded in the “STILL” directory, and two moving image files are recorded in the “MOVIE” directory. Each file is automatically assigned a file number in accordance with the recording order, and a file name that is a combination of the file number and an extension indicating a file attribute is assigned.
[0048]
Two frames in the moving image file “0001.MJ2” are recorded with high pixels, and three frames in the moving image file “0002.MJ2” are recorded with high pixels.
[0049]
When a directory list is displayed for such a real directory structure, a virtual directory structure shown in FIG. 11 is displayed. According to FIG. 11, the high pixel recording frames in the moving image file “0001.MJ2” are “0004.JP2” and “0005.JP2,” and the high pixel recording frames in the moving image file “0002.MJ2” are “0006. JP2 "," 0007.JP2 ", and" 0008.JP2 "are virtually presented as if they were still image files. A file list as shown in FIG. 11 may be displayed on the liquid crystal monitor 55 of the digital camera 10, and with the digital camera 10 via a communication interface unit (not shown) (for example, a USB terminal) mounted on the digital camera 10. A personal computer (not shown) may be connected to display the file list of the memory card 32 on the personal computer display.
[0050]
Access to the virtual still image file corresponding to the high pixel recording frame is performed as follows.
<Reading of Virtual Still Image File> When the virtual still image file is accessed, the data of the corresponding frame is automatically extracted from the moving image file, converted into one still image file format, and the data is passed to the access source. For example, when an image is copied to another medium, one still image file is copied to the other medium.
<Overwriting and Erasing Virtual Still Image Files> For virtual still image files, write protection protection (Write Protected) is automatically set, and overwriting and erasing processing is prohibited. This is to prevent images from being recorded with a different number of pixels and format from the previous and subsequent frames due to image editing operations.
[0051]
In this example, the virtual still image file is treated as being write-protected, but it is also possible to replace the file with the data of the corresponding frame of the moving image after converting the file into a predetermined format.
[0052]
In the above-described embodiment, only one resolution (1280 × 960 pixel size) is presented as a virtual still image file. However, it is also possible to present each image having a plurality of resolutions as a separate file (virtual file). It is.
[0053]
The index of the high pixel recording frame is not limited to the aspect of recording in the file header of the moving image file, and may be recorded at another position in the moving image file or as a separate file.
[0054]
In the above description, the index information is used when presenting the virtual directory or accessing the virtual still image file. However, the present invention is not limited to this, and the video file is not prepared without preparing the index. A high pixel recording frame may be searched by scanning each of the frames.
[0055]
【The invention's effect】
As described above, according to the present invention, since a high pixel recording frame is embedded and recorded in a moving image file, it is easy to associate a moving image with a still image. Since the present invention employs a compression method capable of progressive reproduction, when reproducing a high-pixel recording frame as a moving image, it can reproduce up to the predetermined resolution equivalent to a normal frame, In the case of reproducing alone as a still image, reproduction can be performed at a resolution higher than the predetermined resolution.
[0056]
Further, according to the present invention, a high pixel recording frame embedded in a moving image can be easily handled in the same manner as a normal still image.
[0057]
Since the present invention does not record a still image as a separate file, there is an effect that the recording capacity can be reduced. In addition, there is an advantage that even if the processing speed of the playback device that plays back the recorded moving image file is slow, it can be played back without dropping frames.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a digital camera to which the present invention is applied.
FIG. 2 is a rear view of the digital camera of this example.
FIG. 3 is a conceptual diagram showing the file structure of a moving image file.
FIG. 4 is a chart showing an example of an index of a high pixel recording frame recorded in a moving image file.
FIG. 5 is an explanatory diagram of the progressive playback function.
FIG. 6 is a conceptual diagram showing the pixel size of moving image data.
FIG. 7 is a flowchart showing the control procedure of the moving image shooting mode.
FIG. 8 is an explanatory diagram showing a method for reproducing a high pixel recording frame.
FIG. 9 is a flowchart showing a playback mode control procedure;
FIG. 10 is a diagram showing a real directory structure
FIG. 11 is a diagram showing a virtual directory structure
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 ... Digital camera, 16 ... CCD, 24 ... Frame memory, 26 ... Digital signal processing part, 28 ... Compression / decompression circuit, 32 ... Memory card, 38 ... CPU, 40 ... CPU peripheral circuit, 50 ... Display apparatus, 52 ... Shutter Button 54 mode switching dial 55 liquid crystal monitor 57 high image quality mode button

Claims (4)

撮像手段を介して撮像した動画のフレームデータをプログレッシブ再生可能な圧縮形式に従って符号化して記録する一方、記録された画像を復号して再生する画像の記録再生方法であって、
予め設定された所定の解像度で動画のフレームデータを記録する通常の動画記録中にユーザから高画質記録の指示を受け入れ、当該指示の入力に応じて前記所定の解像度よりも高解像度のフレームデータを取得し、
前記所定の解像度で記録された通常フレームと前記高解像度で記録された高画素記録フレームとから成る一群の動画データを一つの動画ファイルとして保存し、
前記動画ファイル内の高画素記録フレームを動画再生する場合にはプログレッシブ方式によって前記所定の解像度まで再生する一方、前記高画素記録フレームを静止画として再生する場合には、前記所定の解像度よりも高い解像度で再生を行い、
前記動画ファイル内の高画素記録フレームを仮想的な静止画ファイル(仮想静止画ファイルという。)としてファイル管理し、ファイルリストの表示要求に対して前記仮想静止画ファイルを含む仮想的なディレクトリ構造を提示し、
前記仮想静止画ファイルへのアクセス時には前記動画ファイル内から該当フレームを抜き出して、一つの静止画ファイルに変換した後に出力することを特徴とする画像の記録再生方法。
An image recording and reproducing method for encoding and recording frame data of a moving image captured through an imaging unit according to a compression format capable of progressive reproduction, and decoding and reproducing the recorded image,
During normal video recording, which records video frame data at a predetermined resolution set in advance, an instruction for high-quality recording is received from the user, and frame data having a resolution higher than the predetermined resolution is input in accordance with the input of the instruction Acquired,
A group of moving image data composed of a normal frame recorded at the predetermined resolution and a high pixel recording frame recorded at the high resolution is stored as a moving image file.
When the high pixel recording frame in the moving image file is reproduced as a moving image, it is reproduced up to the predetermined resolution by a progressive method, while when the high pixel recording frame is reproduced as a still image, it is higher than the predetermined resolution. There line playback on the resolution,
A high-pixel recording frame in the moving image file is managed as a virtual still image file (referred to as a virtual still image file), and a virtual directory structure including the virtual still image file is displayed in response to a file list display request. Presented,
An image recording / reproducing method characterized in that, when accessing the virtual still image file, the corresponding frame is extracted from the moving image file, converted into one still image file, and then output .
プログレッシブ再生可能な圧縮形式に従って符号化された画像データを復号する信号処理手段と、前記復号された画像を出力する出力手段と、を備えた画像再生装置であって、該装置は、
所定の解像度で記録された通常のフレーム及び前記所定の解像度よりも高解像度で記録された高画素記録フレームから成る一群の動画データが一つのファイルとして保存されている動画ファイルについて、当該動画ファイル内の高画素記録フレームを動画再生する場合にはプログレッシブ方式によって前記所定の解像度まで再生する一方、前記高画素記録フレームを静止画として再生する場合には、前記所定の解像度よりも高い解像度で再生を行う再生制御手段を備え、
前記動画ファイル内の高画素記録フレームを仮想的な静止画ファイル(仮想静止画ファイルという。)としてファイル管理し、ファイルリストの表示要求に対して前記仮想静止画ファイルを含む仮想的なディレクトリ構造を提示するファイル管理手段を有し、前記仮想静止画ファイルへのアクセス時には前記動画ファイル内から該当フレームを抜き出して、一つの静止画ファイルに変換した後に出力することを特徴とする画像再生装置。
An image reproduction apparatus comprising: a signal processing unit that decodes image data encoded according to a compression format that can be progressively reproduced; and an output unit that outputs the decoded image.
For a moving image file in which a group of moving image data composed of a normal frame recorded at a predetermined resolution and a high pixel recording frame recorded at a higher resolution than the predetermined resolution is stored as one file, When the high-pixel recording frame is played back as a moving image, it is played back to the predetermined resolution by a progressive method. for example Bei the playback control means for performing,
A high-pixel recording frame in the moving image file is managed as a virtual still image file (referred to as a virtual still image file), and a virtual directory structure including the virtual still image file is displayed in response to a file list display request. An image reproduction apparatus comprising file management means for presenting, extracting a corresponding frame from the moving image file and converting it to a single still image file when accessing the virtual still image file .
動画ファイル内に格納されている複数のフレームデータのうち、少なくとも一つのフレームを仮想的な静止画ファイル(仮想静止画ファイルという。)としてファイル管理し、
ファイルリストの表示要求に対して前記仮想静止画ファイルを含む仮想的なディレクトリ構造を提示し、前記仮想静止画ファイルへのアクセス時には前記動画ファイル内から該当フレームを抜き出して、一つの静止画ファイルに変換した後に出力することを特徴とするファイル管理方法。
File management of at least one frame among a plurality of frame data stored in the video file as a virtual still image file (referred to as a virtual still image file),
In response to a file list display request, a virtual directory structure including the virtual still image file is presented, and when accessing the virtual still image file, the corresponding frame is extracted from the moving image file to form a single still image file. A file management method characterized by outputting after conversion.
動画ファイル内に記録されている複数のフレームデータのうち、少なくとも一つのフレームを仮想的な静止画ファイル(仮想静止画ファイルという。)としてファイル管理するファイル管理手段と、
ファイルリストの表示要求に対して前記仮想静止画ファイルを含む仮想的なディレクトリ構造を提示する仮想ディレクトリ構造提示手段と、
前記仮想静止画ファイルへのアクセス時には前記動画ファイル内から該当フレームを抜き出して、一つの静止画ファイルに変換した後に出力するファイル変換手段と、
を備えたことを特徴とするファイル管理装置。
File management means for managing at least one frame as a virtual still image file (referred to as a virtual still image file) out of a plurality of frame data recorded in the video file;
Virtual directory structure presenting means for presenting a virtual directory structure including the virtual still image file in response to a file list display request;
File conversion means for extracting the corresponding frame from the moving image file when accessing the virtual still image file, and converting it to a single still image file;
A file management apparatus comprising:
JP2001316367A 2001-10-15 2001-10-15 Image recording / reproducing method, image reproducing apparatus, and file management method and apparatus Expired - Lifetime JP3876973B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001316367A JP3876973B2 (en) 2001-10-15 2001-10-15 Image recording / reproducing method, image reproducing apparatus, and file management method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001316367A JP3876973B2 (en) 2001-10-15 2001-10-15 Image recording / reproducing method, image reproducing apparatus, and file management method and apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006253075A Division JP4348486B2 (en) 2006-09-19 2006-09-19 Image recording / reproducing method and image recording / reproducing apparatus

Publications (2)

Publication Number Publication Date
JP2003125344A JP2003125344A (en) 2003-04-25
JP3876973B2 true JP3876973B2 (en) 2007-02-07

Family

ID=19134392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001316367A Expired - Lifetime JP3876973B2 (en) 2001-10-15 2001-10-15 Image recording / reproducing method, image reproducing apparatus, and file management method and apparatus

Country Status (1)

Country Link
JP (1) JP3876973B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3992659B2 (en) * 2003-08-08 2007-10-17 三洋電機株式会社 Imaging device
KR100713404B1 (en) * 2005-03-24 2007-05-04 삼성전자주식회사 Apparatus and method for photographing during video recording
JP4510686B2 (en) * 2005-04-15 2010-07-28 キヤノン株式会社 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
DE602006009191D1 (en) 2005-07-26 2009-10-29 Canon Kk Imaging device and method
JP4775648B2 (en) * 2006-08-16 2011-09-21 ソニー株式会社 Imaging apparatus, control method, and program
JP4827659B2 (en) * 2006-08-25 2011-11-30 キヤノン株式会社 Image processing apparatus, image processing method, and computer program
JP5556246B2 (en) * 2010-03-05 2014-07-23 パナソニック株式会社 Imaging device
JP6758946B2 (en) 2015-09-09 2020-09-23 キヤノン株式会社 Imaging device and playback device

Also Published As

Publication number Publication date
JP2003125344A (en) 2003-04-25

Similar Documents

Publication Publication Date Title
JP3551181B2 (en) Recording device and recording method
US7609896B2 (en) Recorder and method therefor, player and therefor, program, and recording medium
US6781629B2 (en) Digital camera and image reproducing apparatus and method
EP1349390A2 (en) A system for capturing and archiving motion video segments
US20050237396A1 (en) Data recording apparatus and electronic camera
JP3822380B2 (en) Image signal processing device
US7319480B2 (en) Method and apparatus for compressing motion image files to provide an improved image navigation display
US6654051B1 (en) Digital camera
US20040027480A1 (en) Information processing apparatus and method for operating same
EP1400973A2 (en) Recording apparatus and method, recording medium, and program
JP3876973B2 (en) Image recording / reproducing method, image reproducing apparatus, and file management method and apparatus
US20030184658A1 (en) System and method for capturing motion video segments and providing still and motion image files
US20010043278A1 (en) Information input apparatus
US20030184656A1 (en) System and method for associating index images with motion video segments
JP4253396B2 (en) Electronic camera device
JP4348486B2 (en) Image recording / reproducing method and image recording / reproducing apparatus
JP2000069428A (en) Digital camera system
KR101480407B1 (en) Digital image processing apparatus, method for controlling the same and medium of recording the method
JP4570234B2 (en) Electronic camera
JP2000333130A (en) Method and device for moving picture data
JP4234662B2 (en) Electronic device and data recording method thereof
JP4166148B2 (en) Image recording device
JP2009118195A (en) Imaging apparatus and method
JPH09307848A (en) Information processing unit
JPH09297641A (en) Information processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060714

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060721

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060919

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061024

R150 Certificate of patent or registration of utility model

Ref document number: 3876973

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091110

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091110

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091110

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101110

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111110

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121110

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121110

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131110

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250