JP2004096226A - Image processing apparatus, method, computer program, and computer-readable storage medium - Google Patents
Image processing apparatus, method, computer program, and computer-readable storage medium Download PDFInfo
- Publication number
- JP2004096226A JP2004096226A JP2002251708A JP2002251708A JP2004096226A JP 2004096226 A JP2004096226 A JP 2004096226A JP 2002251708 A JP2002251708 A JP 2002251708A JP 2002251708 A JP2002251708 A JP 2002251708A JP 2004096226 A JP2004096226 A JP 2004096226A
- Authority
- JP
- Japan
- Prior art keywords
- file
- moving image
- thumbnail
- editing
- image file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
       【課題】動画像を編集した後、サムネイルファイルを動画像ファイルとは別に新たに作成することで、編集後の動画像ファイルとサムネイルファイルを一致させた状態で、その動画像ファイルの内容を簡単に確認できるようにする。
【解決手段】動画像ファイルの編集を行う場合、まず編集対象となるファイル名と編集後の動画像ファイルの先頭フレームと最終フレームを指定し、新規保存の場合、保存ファイル名を新たに設定し、上書き保存の場合、編集対象と同じファイル名を設定する。そして、編集後の先頭フレームと最終フレーム情報に基づいて動画像ファイルを作成し、その後、作成した動画像ファイルの情報を反映したサムネイルファイルを作成する。
【選択図】   図3[PROBLEMS] To easily edit the contents of a moving image file in a state where the edited moving image file and the thumbnail file are matched by newly creating a thumbnail file separately from the moving image file after editing the moving image file. To be able to confirm. 
 When a moving image file is edited, first, a file name to be edited and a first frame and a last frame of the edited moving image file are designated, and in the case of new saving, a saving file name is newly set. When overwriting, set the same file name as the edit target. Then, a moving image file is created based on the first frame information and the last frame information after editing, and then a thumbnail file reflecting information of the created moving image file is created. 
 [Selection diagram] FIG.
    
Description
       【0001】
【発明の属する技術分野】
本発明は、動画像を撮像、記録、再生する撮像装置等に用いられる画像処理装置、方法、コンピュータプログラム、及びコンピュータ読み取り可能な記憶媒体に関する。
【0002】
【従来の技術】
従来、固体メモリ素子を有するメモリカードを記録媒体として、静止画像や動画像を記録再生する電子カメラ等の画像処理装置は既に市販されており、カラー液晶パネル等の電子ファインダを備える電子カメラも販売されている。これらの電子カメラによれば、撮影前の画像を連続して表示して電子カメラの使用者が構図を決定することや、撮影した画像を再生表示して確認することが可能である。特に、撮影した画像を撮影直後に再生する機能は利便性が高く、電子カメラの使用者にとって有益な機能となっている。
【0003】
他方、デジタルカメラにおいても、静止画のみならず動画像の撮影機能を持った製品も増えており、動画像の録画時間や画像サイズ等も向上している。このようなデジタルカメラの中には、動画像を撮影した際に動画像とは別ファイルとして動画像から1フレームを取り出してサムネイルファイルを作成するものもある。サムネイルファイルを作成することで、容易に動画像ファイルの内容を確認することができる。
【0004】
更に、一部のデジタルカメラにおいては、動画像の編集機能を持った製品もあり、動画像の切り取りや結合といったことも可能になっている。
【0005】
【発明が解決しようとする課題】
動画像を撮影する際にサムネイルファイルを作成するデジタルカメラでは、撮影した動画像を確認する場合、予めサムネイルファイルから画像を表示させている。サムネイルファイルをJPEG形式で作成することで、静止画と同じ処理で動画像の内容の一部を確認することができる。また、サムネイルファイルに動画像の撮影フレーム数等の情報を記すことで、動画像を解析しなくとも動画像の情報を取得することができる。
【0006】
しかし、編集機能を持ったデジタルカメラでは、動画像データの一部が編集によって削除された場合、編集後の動画像ファイルとサムネイルファイルが一致しなくなる事態が生じうる。例えば、サムネイルファイルで示す動画像の中の1フレームが編集後の動画像には含まれないという可能性もあり、動画像の記録時間の情報もずれてしまう。
【0007】
本発明は上記課題に鑑みてなされたもので、動画像ファイルを編集した後、サムネイルファイルを動画像ファイルとは別に新たに作成することで、編集後の動画像ファイルとサムネイルファイルを一致させた状態で、その動画像ファイルの内容を簡単に確認できるようにすることを目的とする。
【0008】
【課題を解決するための手段】
本発明の画像処理装置は、記録媒体に記録された動画像ファイルの編集を行う編集手段と、前記編集した動画像ファイルとは別ファイルとしてサムネイルファイルを生成するサムネイルファイル生成手段とを備えた点に特徴を有する。
【0009】
また、本発明の画像処理装置の他の特徴とするところは、撮像した動画像を記録媒体に記録し、再生表示可能である撮像装置に用いられている点にある。
【0010】
また、本発明の画像処理装置の他の特徴とするところは、前記サムネイルファイル生成手段は前記編集した動画像ファイルに含まれるフレームを取り出してサムネイルファイルを生成する点にある。
【0011】
また、本発明の画像処理装置の他の特徴とするところは、前記サムネイルファイル生成手段は前記編集した動画像ファイルからユーザにより指定されたフレームを取り出してサムネイルファイルを生成する点にある。
【0012】
また、本発明の画像処理装置の他の特徴とするところは、前記サムネイルファイル生成手段は前記動画像ファイルに対応する編集前のサムネイルファイルを参照して、前記編集した動画像ファイルのサムネイルファイルを生成する点にある。
【0013】
また、本発明の画像処理装置の他の特徴とするところは、前記編集手段によって動画像ファイルの更新を行う場合、その動画像ファイルの更新に対応して、既存のサムネイルファイルの更新を行う点にある。
【0014】
本発明の画像処理方法は、記録媒体に記録された動画像ファイルの編集を行う編集手順と、前記編集した動画像ファイルとは別ファイルとしてサムネイルファイルを生成するサムネイルファイル生成手順とを有する点に特徴を有する。
【0015】
本発明のコンピュータプログラムは、記録媒体に記録された動画像ファイルの編集を行う編集処理と、前記編集した動画像ファイルとは別ファイルとしてサムネイルファイルを生成するサムネイルファイル生成処理とをコンピュータに実行させる点に特徴を有する。
【0016】
本発明のコンピュータ読み取り可能な記憶媒体は、前記本発明のコンピュータプログラムを格納した点に特徴を有する。
【0017】
【発明の実施の形態】
以下、図面を参照して、本発明の画像処理装置、方法、コンピュータプログラム、及びコンピュータ読み取り可能な記憶媒体の実施の形態について説明する。
【0018】
図1は、本実施形態の画像処理装置を含むデジタルカメラ等の撮像装置100の構成を示す図である。同図において、10は撮影レンズ、12は絞り機能を備えるシャッター、14は光学像を電気信号に変換する撮像素子、16は撮像素子14のアナログ信号出力をディジタル信号に変換するA/D変換器である。
【0019】
18は撮像素子14、A/D変換器16、D/A変換器26にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22及びシステム制御回路50により制御される。
【0020】
20は画像処理回路であり、A/D変換器16からのデータ或いはメモリ制御回路22からのデータに対して所定の画素補間処理や色変換処理を行う。また、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御回路50が露光制御部40、測距制御部42に対して制御を行う、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を行っている。さらに、画像処理回路20においては、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。
【0021】
22はメモリ制御回路であり、A/D変換器16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮・伸長回路32を制御する。A/D変換器16のデータが画像処理回路20、メモリ制御回路22を介して、或いはA/D変換器16のデータが直接メモリ制御回路22を介して、画像表示メモリ24或いはメモリ30に書き込まれる。
【0022】
24は画像表示メモリ、26はD/A変換器、28はTFT LCD等から成る画像表示部であり、画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器26を介して画像表示部28により表示される。画像表示部28を用いて撮像した画像データを逐次表示すれば、電子ファインダ機能を実現することが可能である。また、画像表示部28は、システム制御回路50の指示により任意に表示をON/OFFすることが可能であり、表示をOFFにした場合には電力消費を大幅に低減することができる。
【0023】
30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を備えている。これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ30に対して行うことが可能となる。また、メモリ30はシステム制御回路50の作業領域としても使用することが可能である。
【0024】
32は適応離散コサイン変換(ADCT)等により画像データを圧縮伸長する圧縮・伸長回路であり、メモリ30に格納された画像を読み込んで圧縮処理或いは伸長処理を行い、処理を終えたデータをメモリ30に書き込む。
【0025】
40は絞り機能を備えるシャッター12を制御する露光制御部であり、フラッシュ48と連携することによりフラッシュ調光機能も有するものである。42は撮影レンズ10のフォーカシングを制御する測距制御部、44は撮影レンズ10のズーミングを制御するズーム制御部、46はバリアである保護部102の動作を制御するバリア制御部である。
【0026】
48はフラッシュであり、AF補助光の投光機能、フラッシュ調光機能も有する。露光制御部40、測距制御部42はTTL方式を用いて制御されており、撮像した画像データを画像処理回路20によって演算した演算結果に基づき、システム制御回路50が露光制御部40、測距制御部42に対して制御を行う。
【0027】
50は全体を制御するシステム制御回路である。なお、本実施形態では、システム制御回路50が主要構成要素となって、本発明でいう編集手段、サムネイルファイル生成手段としての機能を発揮する。52はシステム制御回路50の動作用の定数、変数、プログラム等を記憶するメモリである。
【0028】
54はシステム制御回路50でのプログラムの実行に応じて、文字、画像、音声等を用いて動作状態やメッセージ等を表示する液晶表示装置、スピーカー等の通知部であり、操作部近辺の視認し易い位置に単数或いは複数個所設置され、例えばLCDやLED、発音素子等の組み合わせにより構成されている。また、通知部54は、その一部の機能が光学ファインダ104内に設置されている。
【0029】
通知部54の表示内容のうち、LCD等に表示するものとしては、シングルショット/連写撮影表示、セルフタイマー表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタースピード表示、絞り値表示、露出補正表示、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200及び210の着脱状態表示、通信I/F動作表示、日付け・時刻表示、等がある。
【0030】
また、通知部54の表示内容のうち、光学ファインダ104内に表示するものとしては、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示、等がある。
【0031】
56は電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等が用いられる。
【0032】
60、62、64、66、68及び70は、システム制御回路50の各種の動作指示を入力するための操作部であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。
【0033】
ここで、これらの操作部の具体的な説明を行う。60はモードダイアルスイッチで、電源オフ、自動撮影モード、撮影モード、パノラマ撮影モード、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを切り替え設定することができる。
【0034】
62はシャッタースイッチSW1で、不図示のシャッターボタンの操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。
【0035】
64はシャッタースイッチSW2で、不図示のシャッターボタンの操作完了でONとなり、撮像素子12から読み出した信号をA/D変換器16、メモリ制御回路22を介してメモリ30に画像データを書き込む露光処理、画像処理回路20やメモリ制御回路22での演算を用いた現像処理、メモリ30から画像データを読み出し、圧縮・伸長回路32で圧縮を行い、記録媒体200或いは210に画像データを書き込む記録処理という一連の処理の動作開始を指示する。
【0036】
66は画像表示ON/OFFスイッチで、画像表示部28のON/OFFを設定することができる。この機能により、光学ファインダ104を用いて撮影を行う際に、TFT LCD等から成る画像表示部への電流供給を遮断することにより、省電力を図ることが可能となる。
【0037】
68はクイックレビューON/OFFスイッチで、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定する。なお、本実施例では特に、画像表示部28をOFFとした場合におけるクイックレビュー機能の設定をする機能を備えるものとする。
【0038】
70は各種ボタンやタッチパネル等からなる操作部で、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン等がある。
【0039】
80は電源制御部で、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成されており、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御回路50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。
【0040】
82はコネクタ、84はコネクタ、86はアルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプター等からなる電源である。
【0041】
90及び94はメモリカードやハードディスク等の記録媒体とのインタフェース、92及び96はメモリカードやハードディスク等の記録媒体と接続を行うコネクタ、98はコネクタ92及び或いは96に記録媒体200或いは210が装着されているか否かを検知する記録媒体着脱検知部である。なお、本実施形態では記録媒体を取り付けるインタフェース及びコネクタを2系統持つものとして説明しているが、これらインタフェース及びコネクタは、単数或いは複数、いずれの系統数を備える構成としても構わない。また、異なる規格のインタフェース及びコネクタを組み合わせて備える構成としても構わない。インタフェース及びコネクタとしては、PCMCIAカードやCF(コンパクトフラッシュ(R))カード等の規格に準拠したものを用いて構成して構わない。さらに、インタフェース90及び94、そしてコネクタ92及び96をPCMCIAカードやCF(コンパクトフラッシュ(R))カード等の規格に準拠したものを用いて構成した場合、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード、等の各種通信カードを接続することにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことができる。
【0042】
102は、レンズ10を含む撮像部を覆うことにより、撮像部の汚れや破損を防止するバリアである保護部である。
【0043】
104は光学ファインダであり、画像表示部28による電子ファインダ機能を使用すること無しに、光学ファインダのみを用いて撮影を行うことが可能である。また、光学ファインダ104内には、通知部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示等が設置されている。
【0044】
110は通信部で、RS232CやUSB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信、等の各種通信機能を有する。
【0045】
112は通信部110により他の機器と接続するコネクタ或いは無線通信の場合はアンテナである。
【0046】
200はメモリカードやハードディスク等の記録媒体である。記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部202、撮像装置100とのインタフェース204、撮像装置100と接続を行うコネクタ206を備えている。
【0047】
210はメモリカードやハードディスク等の記録媒体である。記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、撮像装置100とのインタフェース214、撮像装置100と接続を行うコネクタ216を備えている。
【0048】
図2は、撮像装置100の操作部材を説明するための図である。電源ボタン301はデジタルカメラの起動と終了に用いる。メニューボタン302は撮影モードの変更や日付の設定、画像のプロテクトや削除といったメニューへ入るときに使用するボタンである。また、各種設定モードを終了する場合にも使用する。決定ボタン303は選択項目の決定に用いる。
【0049】
表示ボタン304は画像に関する撮影情報の表示・非表示を切り替える。左ボタン305は選択項目を左に移動する場合や画像送りに用いる。右ボタン306は選択項目を右に移動する場合や画像送りに用いる。上ボタン307は選択項目を上に移動する場合に用いる。下ボタン308は選択項目を下に移動する場合に用いる。
【0050】
シャッターボタン310は撮影モードで撮影する場合に利用するボタンである。モード切替スイッチ311は録画モードと再生モードを切り替える。液晶画面312は画像を確認しながら撮影する場合に用いられ、また撮影した画像の確認にも用いられる。
【0051】
図3は、本実施形態の画像処理装置の処理動作の流れを示すフローチャートである。動画像編集を行う場合、まず編集対象となるファイル名(FILE1)と編集後の動画像の先頭フレーム(Ns)と最終フレーム(Ne)を指定する(ステップS301)。
【0052】
次にユーザが選択した保存方法が新規保存か否かを判別し(ステップS302)、新規保存でない場合は上書き保存か否かを判別する(ステップS303)。新規保存の場合、保存ファイル名を例えばFILE2として新たに設定する(ステップS304)。上書き保存の場合は、編集対象と同じファイル名(FILE1)を設定する(ステップS305)。
【0053】
そして、ステップS301にて設定した先頭フレームと最終フレーム情報に基づいてこの2フレーム間の画像データの動画像ファイルを作成する(ステップS306)。上書き保存の場合には既存の動画像ファイルを更新することになる。
【0054】
その後、作成した動画像ファイルの情報を反映したサムネイルファイルを作成する(ステップS307)。上書き保存の場合には、動画像ファイルの更新に対応して既存のサムネイルファイルを更新することになる。なお、このサムネイルファイル作成では、既存のサムネイルファイルの画像が編集後の動画像ファイルの画像に含まれている場合には、その既に存在している編集前のサムネイルファイルを元に作成することも可能である。
【0055】
図4は、動画像に対して編集を行う場合の液晶画面401(図2でいう液晶画面312)の表示を示す。画面401上には表示画像402、前部分カットボタン403、後部分カットボタン404、及び保存ボタン405が編集メニューとして左側に表示され、編集内容を記すインジケータ406、編集後のトータル秒数を示すカウンタ407が画面下部に表示される。
【0056】
上ボタン307と下ボタン308で編集メニューの項目を移動する。前部分カットボタン403又は後部分カットボタン404が選択対象となっている場合、左ボタン305と右ボタン306で編集位置を移動させることができる。保存ボタン405を選択すると図5に示すような編集保存ボタンが現れる。
【0057】
図5は編集保存画面である。図4の編集メニューのうち上下ボタンで保存ボタン405を選択すると編集保存ボタン501、502が現れる。左ボタン305と右ボタン306で保存方法を選択し、決定ボタン303で決定する。この際、記憶装置の残り容量を計算し、残り容量が少ない場合には上書き保存しか選択できないようにする。
【0058】
図6は、編集前後の動画像とサムネイルファイルの関係である。601は編集前の動画像ファイルの仮想的な構成を示しており、603は編集前の動画像に対するサムネイルファイルの仮想的な構成を示している。この状態から、編集作業によって新しく先頭フレームと最終フレームに指定された位置で切り取られなかった動画像603と、その情報を含むサムネイルファイル604が生成される。
【0059】
なお、図4に示した編集メニューは、前部分カットと後部分カットだけであるが、結合や分割といった編集内容でも同様であり、編集内容は限定されるものではない。
【0060】
また、図6に示した編集後生成されるサムネイルファイル604は、上述したが、既存のサムネイルファイルの画像情報が編集後の動画像ファイル内の画像情報に含まれる場合は、編集前のサムネイルファイル602を参照して作成するようにしてもよいし、動画像から情報を取得して作成してもよい。また、サムネイルとして動画像から取り出す画像は編集後の動画像ファイルの先頭フレームと決められていてもよいし、ユーザが決定するようにしてもよい。
【0061】
(その他の実施の形態)
上述した実施形態の機能を実現するべく各種のデバイスを動作させるように、該各種デバイスと接続された装置或いはシステム内のコンピュータに対し、上記実施形態の機能を実現するためのソフトウェアのプログラムコードを供給し、そのシステム或いは装置のコンピュータ(CPU或いはMPU)に格納されたプログラムに従って上記各種デバイスを動作させることによって実施したものも、本発明の範疇に含まれる。
【0062】
また、この場合、上記ソフトウェアのプログラムコード自体が上述した実施形態の機能を実現することになり、そのプログラムコード自体は本発明を構成する。そのプログラムコードの伝送媒体としては、プログラム情報を搬送波として伝搬させて供給するためのコンピュータネットワーク(LAN、インターネット等のWAN、無線通信ネットワーク等)システムにおける通信媒体(光ファイバ等の有線回線や無線回線等)を用いることができる。
【0063】
さらに、上記プログラムコードをコンピュータに供給するための手段、例えばかかるプログラムコードを格納した記録媒体は本発明を構成する。かかるプログラムコードを記憶する記録媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。
【0064】
また、コンピュータが供給されたプログラムコードを実行することにより、上述の実施形態の機能が実現されるだけでなく、そのプログラムコードがコンピュータにおいて稼働しているOS(オペレーティングシステム)或いは他のアプリケーションソフト等と共同して上述の実施形態の機能が実現される場合にもかかるプログラムコードは本発明の実施形態に含まれることはいうまでもない。
【0065】
さらに、供給されたプログラムコードがコンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後、そのプログラムコードの指示に基づいてその機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって上述した実施形態の機能が実現される場合にも本発明に含まれることはいうまでもない。
【0066】
なお、上記実施形態において示した各部の形状及び構造は、何れも本発明を実施するにあたっての具体化のほんの一例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその精神、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。例えば、記録媒体200及び210は、PCMCIAカードやコンパクトフラッシュ(R)等のメモリカード、ハードディスク等だけでなく、マイクロDAT、光磁気ディスク、CD−RやCD−WR等の光ディスク、DVD等の相変化型光ディスク等で構成されていても勿論問題無い。また、記録媒体200及び210がメモリカードとハードディスク等が一体となった複合媒体であっても勿論問題無い。さらに、その複合媒体から一部が着脱可能な構成としても勿論問題無い。また、記録媒体200及び210は撮像装置100と分離していて任意に接続可能なものとして説明したが、いずれか或いは全ての記録媒体が撮像装置100に固定したままとなっていても勿論問題無い。
【0067】
【発明の効果】
以上述べたように本発明によれば、動画像を編集した後に、動画像ファイルとは別にサムネイルファイルを新たに作成することで、編集後の動画像ファイルとサムネイルファイルを一致させた状態で、その動画像ファイルの内容を簡単に確認できるようにすることが可能となる。
【図面の簡単な説明】
【図1】本実施形態の画像処理装置を含むデジタルカメラ等の撮像装置100の構成を示す図である。
【図2】撮像装置100の操作部材を説明するための図である。
【図3】画像処理装置の処理動作の流れを示すフローチャートである。
【図4】動画像に対して編集を行う場合の画面表示の一例を示す図である。
【図5】編集保存画面の一例を示す図である。
【図6】編集前後の動画像とサムネイルファイルの関係を説明するための図である。
【符号の説明】
14   撮像素子
24   画像表示メモリ
28   画像表示部
30   メモリ
50   システム制御回路
54   表示部
200  記録媒体
201  記録媒体[0001] 
 TECHNICAL FIELD OF THE INVENTION 
 The present invention relates to an image processing device, a method, a computer program, and a computer-readable storage medium used for an imaging device that captures, records, and reproduces a moving image. 
 [0002] 
 [Prior art] 
 Conventionally, an image processing device such as an electronic camera for recording and reproducing a still image or a moving image using a memory card having a solid-state memory element as a recording medium is already on the market, and an electronic camera equipped with an electronic finder such as a color liquid crystal panel is also sold. Have been. According to these electronic cameras, it is possible for the user of the electronic camera to determine the composition by continuously displaying images before photographing and to reproduce and confirm the photographed images. In particular, the function of reproducing a photographed image immediately after photographing is highly convenient and is a useful function for the user of the electronic camera. 
 [0003] 
 On the other hand, in digital cameras, more and more products have a function of capturing not only still images but also moving images, and the recording time and image size of moving images have also been improved. Some of such digital cameras create a thumbnail file by extracting one frame from a moving image as a file separate from the moving image when the moving image is captured. By creating a thumbnail file, the contents of a moving image file can be easily confirmed. 
 [0004] 
 In addition, some digital cameras have a moving image editing function, and it is possible to cut or combine moving images. 
 [0005] 
 [Problems to be solved by the invention] 
 2. Description of the Related Art In a digital camera that creates a thumbnail file when capturing a moving image, an image is displayed in advance from the thumbnail file when confirming the captured moving image. By creating the thumbnail file in the JPEG format, a part of the content of the moving image can be confirmed by the same processing as the still image. In addition, by writing information such as the number of frames of a moving image in the thumbnail file, information on the moving image can be obtained without analyzing the moving image. 
 [0006] 
 However, in a digital camera having an editing function, when a part of moving image data is deleted by editing, a situation may occur in which the edited moving image file and the thumbnail file do not match. For example, there is a possibility that one frame in the moving image indicated by the thumbnail file is not included in the edited moving image, and the information of the recording time of the moving image is also shifted. 
 [0007] 
 SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and after editing a moving image file, by creating a new thumbnail file separately from the moving image file, the edited moving image file and the thumbnail file are matched. It is an object of the present invention to be able to easily confirm the contents of the moving image file in the state. 
 [0008] 
 [Means for Solving the Problems] 
 An image processing apparatus according to the present invention includes an editing unit that edits a moving image file recorded on a recording medium, and a thumbnail file generating unit that generates a thumbnail file as a file separate from the edited moving image file. It has features. 
 [0009] 
 Another feature of the image processing apparatus of the present invention is that the image processing apparatus is used in an image pickup apparatus capable of recording a captured moving image on a recording medium and reproducing and displaying the moving image. 
 [0010] 
 Another feature of the image processing apparatus of the present invention resides in that the thumbnail file generating means extracts a frame included in the edited moving image file and generates a thumbnail file. 
 [0011] 
 Another feature of the image processing apparatus of the present invention resides in that the thumbnail file generating means extracts a frame designated by a user from the edited moving image file and generates a thumbnail file. 
 [0012] 
 According to another feature of the image processing apparatus of the present invention, the thumbnail file generating unit refers to a thumbnail file before editing corresponding to the moving image file and generates a thumbnail file of the edited moving image file. The point is to generate. 
 [0013] 
 Another feature of the image processing apparatus of the present invention is that, when a moving image file is updated by the editing means, an existing thumbnail file is updated in accordance with the updating of the moving image file. It is in. 
 [0014] 
 The image processing method of the present invention has an editing procedure for editing a moving image file recorded on a recording medium, and a thumbnail file generating procedure for generating a thumbnail file as a file separate from the edited moving image file. Has features. 
 [0015] 
 The computer program of the present invention causes a computer to execute an editing process for editing a moving image file recorded on a recording medium and a thumbnail file generating process for generating a thumbnail file as a file separate from the edited moving image file. It is characterized by points. 
 [0016] 
 The computer-readable storage medium of the present invention is characterized in that the computer program of the present invention is stored. 
 [0017] 
 BEST MODE FOR CARRYING OUT THE INVENTION 
 Hereinafter, embodiments of an image processing apparatus, a method, a computer program, and a computer-readable storage medium of the present invention will be described with reference to the drawings. 
 [0018] 
 FIG. 1 is a diagram illustrating a configuration of an imaging device 100 such as a digital camera including the image processing device of the present embodiment. In FIG. 1, reference numeral 10 denotes a photographing lens, 12 denotes a shutter having an aperture function, 14 denotes an image sensor that converts an optical image into an electric signal, and 16 denotes an A / D converter that converts an analog signal output of the 
 [0019] 
 Reference numeral 18 denotes a timing generation circuit that supplies a clock signal and a control signal to the 
 [0020] 
 
 [0021] 
 A 
 [0022] 
 
 [0023] 
 
 [0024] 
 A compression / 
 [0025] 
 An exposure control unit 40 controls the shutter 12 having an aperture function, and also has a flash dimming function in cooperation with the 
 [0026] 
 
 [0027] 
 50 is a system control circuit for controlling the whole. In the present embodiment, the 
 [0028] 
 Reference numeral 54 denotes a notification unit such as a liquid crystal display device or a speaker that displays an operation state or a message using characters, images, sounds, or the like in accordance with the execution of the program in the 
 [0029] 
 Among the display contents of the notifying section 54, those displayed on the LCD or the like include a single shot / continuous shooting display, a self-timer display, a compression ratio display, a recording pixel number display, a recording number display, a remaining number of shots display, a shutter. Speed display, Aperture display, Exposure compensation display, Flash display, Red-eye reduction display, Macro shooting display, Buzzer setting display, Battery remaining battery display, Battery remaining display, Error display, Information display with multiple digits, Recording The display includes the attachment / detachment state display of the 
 [0030] 
 Further, among the display contents of the notification unit 54, those displayed in the optical viewfinder 104 include a focus display, a camera shake warning display, a flash charge display, a shutter speed display, an aperture value display, an exposure correction display, and the like. 
 [0031] 
 Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory, for example, an EEPROM or the like. 
 [0032] 
 
 [0033] 
 Here, these operation units will be specifically described. 
 [0034] 
 Reference numeral 62 denotes a shutter switch SW1, which is turned on during operation of a shutter button (not shown) to perform AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, EF (flash pre-flash) processing, and the like. Instruct operation start. 
 [0035] 
 Reference numeral 64 denotes a shutter switch SW2 which is turned on when the operation of a shutter button (not shown) is completed, and writes a signal read from the image sensor 12 into the 
 [0036] 
 An image display ON / OFF switch 66 can set ON / OFF of the image display unit 28. With this function, it is possible to save power by cutting off the current supply to an image display unit such as a TFT LCD when taking a picture using the optical finder 104. 
 [0037] 
 Reference numeral 68 denotes a quick review ON / OFF switch, which sets a quick review function for automatically playing back image data shot immediately after shooting. In this embodiment, a function for setting a quick review function when the image display unit 28 is turned off is provided. 
 [0038] 
 Reference numeral 70 denotes an operation unit including various buttons, a touch panel, and the like. A menu button, a set button, a macro button, a multi-screen playback page break button, a flash setting button, a single / continuous / self-timer switching button, and a menu shift + (plus) Buttons, a menu move- (minus) button, a play image move + (plus) button, a play image- (minus) button, a photographing image quality selection button, an exposure correction button, a date / time setting button, and the like. 
 [0039] 
 Reference numeral 80 denotes a power control unit, which includes a battery detection circuit, a DC-DC converter, a switch circuit for switching a block to be energized, and the like. The DC-DC converter is controlled based on an instruction from the 
 [0040] 
 Reference numeral 82 denotes a connector, 84 denotes a connector, and 86 denotes a power supply including a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a Li battery, and an AC adapter. 
 [0041] 
 Reference numerals 90 and 94 denote an interface with a recording medium such as a memory card or a hard disk, 
 [0042] 
 Reference numeral 102 denotes a protection unit which is a barrier that covers the imaging unit including the lens 10 to prevent the imaging unit from being stained or damaged. 
 [0043] 
 Reference numeral 104 denotes an optical finder, which enables photographing using only the optical finder without using the electronic finder function of the image display unit 28. In the optical viewfinder 104, some functions of the notification unit 54, for example, a focus display, a camera shake warning display, a flash charge display, a shutter speed display, an aperture value display, an exposure correction display, and the like are provided. 
 [0044] 
 A communication unit 110 has various communication functions such as RS232C, USB, IEEE1394, P1284, SCSI, modem, LAN, and wireless communication. 
 [0045] 
 
 [0046] 
 
 [0047] 
 210 is a recording medium such as a memory card or a hard disk. The 
 [0048] 
 FIG. 2 is a diagram for explaining operation members of the imaging device 100. A power button 301 is used to start and end the digital camera. A 
 [0049] 
 A 
 [0050] 
 A 
 [0051] 
 FIG. 3 is a flowchart illustrating the flow of the processing operation of the image processing apparatus according to the present embodiment. When performing moving image editing, first, a file name (FILE1) to be edited and a first frame (Ns) and a last frame (Ne) of the edited moving image are designated (step S301). 
 [0052] 
 Next, it is determined whether or not the storage method selected by the user is new storage (step S302). If not, it is determined whether or not overwrite storage is performed (step S303). In the case of new saving, a saving file name is newly set as, for example, FILE2 (step S304). In the case of overwriting, the same file name (FILE1) as the edit target is set (step S305). 
 [0053] 
 Then, a moving image file of image data between the two frames is created based on the first frame and last frame information set in step S301 (step S306). In the case of overwriting, the existing moving image file is updated. 
 [0054] 
 Thereafter, a thumbnail file reflecting the information of the created moving image file is created (step S307). In the case of overwriting, the existing thumbnail file is updated corresponding to the update of the moving image file. In this thumbnail file creation, if the image of the existing thumbnail file is included in the image of the edited moving image file, the thumbnail file may be created based on the existing thumbnail file before editing. It is possible. 
 [0055] 
 FIG. 4 shows a display of the liquid crystal screen 401 (the 
 [0056] 
 The item of the edit menu is moved by the up 
 [0057] 
 FIG. 5 shows an edit save screen. When the save button 405 is selected with the up and down buttons in the edit menu of FIG. 4, the edit save 
 [0058] 
 FIG. 6 shows a relationship between a moving image and a thumbnail file before and after editing. 
 [0059] 
 Although the editing menu shown in FIG. 4 includes only a front partial cut and a rear partial cut, the same applies to editing contents such as combination and division, and the editing contents are not limited. 
 [0060] 
 Although the 
 [0061] 
 (Other embodiments) 
 In order to operate various devices to realize the functions of the above-described embodiments, program codes of software for realizing the functions of the above-described embodiments are transmitted to an apparatus connected to the various devices or a computer in a system. The present invention also includes those which are supplied and operated by operating the above-described various devices according to a program stored in a computer (CPU or MPU) of the system or the apparatus. 
 [0062] 
 In this case, the software program code itself implements the functions of the above-described embodiment, and the program code itself constitutes the present invention. As a transmission medium of the program code, a communication medium (a wired line or a wireless line such as an optical fiber) in a computer network (WAN such as a LAN or the Internet, a wireless communication network, etc.) system for transmitting and supplying the program information as a carrier wave. Etc.) can be used. 
 [0063] 
 Further, means for supplying the program code to a computer, for example, a recording medium storing the program code constitutes the present invention. As a recording medium for storing such a program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, and the like can be used. 
 [0064] 
 When the computer executes the supplied program code, not only the functions of the above-described embodiments are realized, but also the OS (operating system) or other application software running on the computer. Needless to say, such a program code is also included in the embodiment of the present invention when the functions of the above-described embodiment are implemented in cooperation with the above. 
 [0065] 
 Further, after the supplied program code is stored in a memory provided in a function expansion board of a computer or a function expansion unit connected to the computer, a CPU provided in the function expansion board or the function expansion unit based on the instruction of the program code. It goes without saying that the present invention also includes a case where the functions of the above-described embodiments are implemented by performing part or all of the actual processing. 
 [0066] 
 It should be noted that the shapes and structures of the respective parts shown in the above embodiments are merely examples of the embodiment for carrying out the present invention, and the technical scope of the present invention is interpreted in a limited manner. It must not be done. That is, the present invention can be embodied in various forms without departing from the spirit or main features thereof. For example, the 
 [0067] 
 【The invention's effect】 
 As described above, according to the present invention, after editing a moving image, a new thumbnail file is created separately from the moving image file, so that the edited moving image file and the thumbnail file match, It is possible to easily confirm the contents of the moving image file. 
 [Brief description of the drawings] 
 FIG. 1 is a diagram illustrating a configuration of an imaging device 100 such as a digital camera including an image processing device according to an embodiment. 
 FIG. 2 is a diagram for explaining operation members of the imaging apparatus 100. 
 FIG. 3 is a flowchart illustrating a flow of a processing operation of the image processing apparatus. 
 FIG. 4 is a diagram showing an example of a screen display when editing a moving image. 
 FIG. 5 is a diagram showing an example of an edit save screen. 
 FIG. 6 is a diagram for explaining a relationship between a moving image and a thumbnail file before and after editing. 
 [Explanation of symbols] 
 14 
Claims (9)
前記編集した動画像ファイルとは別ファイルとしてサムネイルファイルを生成するサムネイルファイル生成手段とを備えたことを特徴とする画像処理装置。Editing means for editing a moving image file recorded on a recording medium;
An image processing apparatus comprising: a thumbnail file generating unit that generates a thumbnail file as a file different from the edited moving image file.
前記編集した動画像ファイルとは別ファイルとしてサムネイルファイルを生成するサムネイルファイル生成手順とを有することを特徴とする画像処理方法。An editing procedure for editing a moving image file recorded on a recording medium,
A thumbnail file generation procedure for generating a thumbnail file as a file separate from the edited moving image file.
前記編集した動画像ファイルとは別ファイルとしてサムネイルファイルを生成するサムネイルファイル生成処理とをコンピュータに実行させることを特徴とするコンピュータプログラム。Editing processing for editing a moving image file recorded on a recording medium;
A computer program for causing a computer to execute a thumbnail file generation process of generating a thumbnail file as a file separate from the edited moving image file.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| JP2002251708A JP2004096226A (en) | 2002-08-29 | 2002-08-29 | Image processing apparatus, method, computer program, and computer-readable storage medium | 
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| JP2002251708A JP2004096226A (en) | 2002-08-29 | 2002-08-29 | Image processing apparatus, method, computer program, and computer-readable storage medium | 
Publications (1)
| Publication Number | Publication Date | 
|---|---|
| JP2004096226A true JP2004096226A (en) | 2004-03-25 | 
Family
ID=32058225
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| JP2002251708A Pending JP2004096226A (en) | 2002-08-29 | 2002-08-29 | Image processing apparatus, method, computer program, and computer-readable storage medium | 
Country Status (1)
| Country | Link | 
|---|---|
| JP (1) | JP2004096226A (en) | 
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| JP2007166553A (en) * | 2005-12-16 | 2007-06-28 | Canon Inc | Moving image processing apparatus and moving image processing method | 
| JP2015035753A (en) * | 2013-08-09 | 2015-02-19 | キヤノン株式会社 | Image processing device | 
- 
        2002
        - 2002-08-29 JP JP2002251708A patent/JP2004096226A/en active Pending
 
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| JP2007166553A (en) * | 2005-12-16 | 2007-06-28 | Canon Inc | Moving image processing apparatus and moving image processing method | 
| JP2015035753A (en) * | 2013-08-09 | 2015-02-19 | キヤノン株式会社 | Image processing device | 
Similar Documents
| Publication | Publication Date | Title | 
|---|---|---|
| JP2005176136A (en) | Image processing apparatus, image reproduction method, program, and storage medium | |
| US20120176512A1 (en) | Image storage apparatus, image storage method, and control program executed in image storage apparatus | |
| JP4095383B2 (en) | Imaging apparatus, control method therefor, and storage medium | |
| JP4700796B2 (en) | Imaging apparatus, control method therefor, and storage medium | |
| JP2004096227A (en) | Audio processing device, method, computer program, and computer-readable storage medium | |
| JP2008072516A (en) | Image processing apparatus and image processing method | |
| JPH11259506A (en) | Image processing apparatus, image processing method, and recording medium | |
| JP2004096226A (en) | Image processing apparatus, method, computer program, and computer-readable storage medium | |
| JP4845539B2 (en) | Image pickup apparatus, control method and control program for the apparatus | |
| JP2002094871A (en) | Imaging device, method of controlling imaging device, and computer-readable storage medium | |
| JP4948011B2 (en) | Imaging apparatus, control method therefor, computer program, and storage medium | |
| JP4217411B2 (en) | Image processing apparatus, image processing method, recording medium, and program | |
| JP2003244654A (en) | Image processing apparatus, image processing method, and storage medium | |
| JP2002218382A (en) | Image processing apparatus and data processing method of image processing apparatus | |
| JP4560189B2 (en) | Imaging device | |
| JP2003244486A (en) | Imaging device and image reproducing device | |
| US7825979B2 (en) | Display control apparatus and display control method | |
| JP4208730B2 (en) | Data editing apparatus and method, and imaging apparatus | |
| JP4717762B2 (en) | Image reproducing apparatus, control method for image reproducing apparatus, program, and recording medium | |
| JP2005110128A (en) | Imaging apparatus and imaging control method | |
| JP4857358B2 (en) | Sound processing apparatus, imaging apparatus, sound processing method, computer program, and computer-readable storage medium | |
| JP2006203689A (en) | IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
| JP2008072443A (en) | Image processing apparatus and image processing method | |
| JP2008047168A (en) | Generating method of animation format data, generating device of animation format data, animation reproducing method, animation reproducing device, program, and storage medium | |
| JP3854795B2 (en) | Image processing apparatus, image processing apparatus control method, and storage medium storing computer-readable program |