JP2006287588A - Image processing apparatus and method, data file structure, computer program, and storage medium - Google Patents
Image processing apparatus and method, data file structure, computer program, and storage medium Download PDFInfo
- Publication number
- JP2006287588A JP2006287588A JP2005104364A JP2005104364A JP2006287588A JP 2006287588 A JP2006287588 A JP 2006287588A JP 2005104364 A JP2005104364 A JP 2005104364A JP 2005104364 A JP2005104364 A JP 2005104364A JP 2006287588 A JP2006287588 A JP 2006287588A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- image
- file
- information
- data 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.)
- Withdrawn
Links
Images
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、画像処理装置、画像処理方法、データファイル構造、コンピュータプログラム及び記憶媒体に関する。 The present invention relates to an image processing apparatus, an image processing method, a data file structure, a computer program, and a storage medium.
近年、撮影データを複数の圧縮方式によってファイルを生成するデジタルカメラが実用化されている。これらのデジタルカメラでは、一般の多くのアプリケーションで扱うことが可能なJPEG(国連の機関である国際標準化機構(ISO)と国際電信電話諮問機関(CCITT:現在はITU−T)が共同でまとめた非可逆変換方式を主とした圧縮規格。拡張子は「○○.jpg」と表記され、その呼び名は検討グループ"Joint Photograph Expert Group"の名前に由来する。)データを生成できることは言うまでもなく、撮像素子からの出力を劣化させずに出力した、いわゆるRAWデータを生成できるものも少なくない。なお、このRAWデータを可逆圧縮方式で圧縮し、生成データ量を抑えている場合もある。 In recent years, digital cameras that generate files of photographed data using a plurality of compression methods have been put into practical use. These digital cameras can be handled by many general applications. JPEG (Collaborated by the International Organization for Standardization (ISO), the United Nations organization, and the International Telegraph and Telephone Consultative Organization (CCITT: now ITU-T)) Compression standard mainly for lossy conversion method.The extension is written as “XX.jpg” and its name is derived from the name of the study group “Joint Photograph Expert Group”.) Needless to say, it can generate data, Many of them can generate so-called RAW data output without deteriorating the output from the image sensor. Note that this RAW data may be compressed by a lossless compression method to reduce the amount of generated data.
図6は、現在最も多くのデジタルカメラにて出力可能なDCFデータの構造の概略を示す図である。図6に示すようにDCFデータは、JPEGデータの先頭を示すマーカ(SOIマーカ)とJPEGデータの最後を示すマーカ(EOIマーカ)の間にDCFヘッダ部601と呼ばれるメタデータ、サムネイル画像部602、JPEG画像部603を内包している。このうちDCFヘッダ部601には、DCF(Design rule for Camera File system)として規格化された情報だけでなく、メーカ独自の情報を埋め込むことも可能となっている。拡張子は「○○.jpg」と表記される。
FIG. 6 is a diagram showing an outline of the structure of DCF data that can be output by the most digital cameras at present. As shown in FIG. 6, DCF data includes metadata called a
次に、図7は、RAWデータの構造の概略を示す図である。図7において、RAWデータは、RAWヘッダ部701、サムネイル画像部702、再生用JPEG画像部703及びRAWデータ部704から構成される。拡張子は「○○.RAW」などと表記されることが多い。RAWデータ部704に格納されるRAWデータそのものはデータ量が多く画像確認等には通常は適さないため、サムネイル画像部702や再生用JPEG画像部703を設けて、参照用の画像を添付することが多い。なお、また、RAWデータの解像度や階調及び圧縮方式等は各メーカ又はデバイスによって異なる。
Next, FIG. 7 is a diagram showing an outline of the structure of RAW data. In FIG. 7, the RAW data includes a RAW
最近のデジタルカメラでは、上記のDCFデータ又はRAWデータ、或いはその両方を出力するようにユーザが設定することによって、所望のデータを生成することが可能となっている。特に、一回の撮影によって両方を出力可能な場合、一つには、DCFデータとRAWデータの2つを出力する方法がある。すなわち、図6のDCFデータと図7のRAWデータの両方を出力する方法である。また別の方法としては、RAWデータ内にJPEG画像を埋め込む方法がある。この場合、図8に示すように、RAWデータが、RAWヘッダ部801、サムネイル画像部802、再生用JPEG画像の代わりにユーザの指定した解像度のJPEG画像部803及びRAWデータ部804で構成されることとなる(特許文献1を参照。)。
しかしながら、図7や図8に示すようなRAWデータでは拡張子のみならず、図6に示したDCFデータやJPEGデータなどの汎用のデータ構造とは異なり、汎用アプリケーションでは通常再生や編集ができないという問題がある。 However, the RAW data as shown in FIGS. 7 and 8 is not limited to the extension, and unlike the general-purpose data structures such as DCF data and JPEG data shown in FIG. There's a problem.
また、一回の撮影においてDCFデータとRAWデータとの両方を出力する場合、それぞれに必要なメタデータを含むヘッダ情報や、両方のファイルに同じ画像が含まれる場合もあり、全体でのデータサイズが増大するという問題がある。例えば、図6の構造を持つDCFデータと図7の構造を持つRAWデータの両方を出力する場合、サムネイル画像部602と702とは重複しており、再生用JPEG画像部703はJPEG画像部603で代用可能なため無駄である。このような重複・無駄は、撮影可能枚数の減少や記録及び転送時間の増大という問題にも繋がってしまう。
Also, when outputting both DCF data and RAW data in a single shooting, header information including the necessary metadata for each, and the same image may be included in both files, the overall data size There is a problem that increases. For example, when both DCF data having the structure of FIG. 6 and RAW data having the structure of FIG. 7 are output, the
また、図8に示すようなRAWデータ内にJPEG画像を埋め込む場合、データサイズの問題は発生しないが、前述のように、RAWデータが汎用のデータ構造ではないことにより、汎用のアプリケーションで再生や編集ができないことには変わりなく、せっかくJPEG画像を埋め込んでもそれを再生できない状況が発生する、という問題は同様である。 In addition, when a JPEG image is embedded in RAW data as shown in FIG. 8, there is no data size problem. However, as described above, RAW data is not a general-purpose data structure. The problem is that editing cannot be performed, and even if a JPEG image is embedded, it cannot be played back.
本発明は、上述の問題を解決するためになされたものであり、複数の圧縮方式のデータ出力時のサイズ削減と、パーソナルコンピュータ等で再生可能な汎用性を両立できる画像データを提供することを目的とする。 The present invention has been made to solve the above-described problems, and provides image data that can achieve both size reduction when outputting data of a plurality of compression methods and versatility that can be reproduced by a personal computer or the like. Objective.
上記課題を解決するための本発明は、撮影対象を撮影して得られる第1の画像データを取得する画像取得手段と、前記第1の画像データを第2及び第3の画像データに変換する変換手段と、前記第1乃至第3の画像データを含む画像データファイルを生成するファイル生成手段とを備え、前記画像データファイルは、前記画像データファイルにおける前記第1の画像データの開始位置を特定するための第1の位置情報を含み、かつ、前記第2の画像データの本体と前記第2の画像データの終了を示す符号との間に前記第1の画像データが位置するように生成されることを特徴とする。 In order to solve the above problems, the present invention provides image acquisition means for acquiring first image data obtained by imaging a subject to be imaged, and converts the first image data into second and third image data. Conversion means and file generation means for generating an image data file including the first to third image data, wherein the image data file specifies a start position of the first image data in the image data file And the first image data is generated so that the first image data is positioned between the main body of the second image data and a code indicating the end of the second image data. It is characterized by that.
本発明によれば、複数の圧縮方式のデータ出力時のサイズ削減と、パーソナルコンピュータ等で再生可能な汎用性を両立できる画像データを提供できる。 According to the present invention, it is possible to provide image data that can achieve both size reduction when outputting data of a plurality of compression methods and versatility that can be reproduced by a personal computer or the like.
以下、図面を参照し、本発明に好適な実施形態を説明する。 Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
[第1の実施形態]
図1において、100は本実施形態における画像処理装置である。画像処理装置100は、デジタルカメラ、デジタルビデオカメラ、カメラ付き携帯端末(カメラ付き携帯電話を含む)のいずれであってもよい。以下では、画像処理装置100がデジタルカメラである場合について説明する。
[First Embodiment]
In FIG. 1,
画像処理装置100内において、10は撮像レンズ、11は絞り、12はシャッター、14は光学像を電気信号に変換する撮像素子、16は撮像素子14のアナログ信号出力をディジタル信号に変換するA/D変換器である。18は撮像素子14、A/D変換器16、表示制御部26にそれぞれクロック信号や制御信号を供給するタイミング発生部であり、メモリ制御部22及びシステム制御部50により制御される。
In the
20は画像処理部であり、A/D変換器16からの画像データ或いはメモリ制御部22からの画像データに対して、画像データに付加されている処理データに基づき、所定の画素補間処理や色変換処理を行う。また、画像処理部20は、A/D変換器16から出力される画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御部50がシャッター制御部34、絞り制御部40及び測距制御部42に対して、TTL(スルー・ザ・レンズ)方式のオートフォーカス(AF)処理、自動露出(AE)処理、ストロボプリ発光(EF)処理を行っている。さらに、画像処理部20は、A/D変換器16から出力される画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のオートホワイトバランス(AWB)処理も行っている。
22はメモリ制御部であり、A/D変換器16、タイミング発生部18、画像処理部20、画像表示メモリ24、表示制御部26、メモリ30、圧縮伸長部32を制御する。A/D変換器16から出力される画像データは、画像処理部20、メモリ制御部22を介して、或いはメモリ制御部22のみを介して、画像表示メモリ24或いはメモリ30に書き込まれる。
A
24は画像表示メモリ、26は表示制御部、28はTFT LCD(Liquid Crystal Display)等を有する画像表示部である。画像表示メモリ24に書き込まれた表示用の画像データは画像表示部26を介して画像表示部28に表示される。
画像表示部28を用いて撮像した画像データを逐次表示すれば、電子ファインダ機能を実現することが可能である。なお、画像表示部28は、システム制御部50の指示により表示のON又はOFFが可能である。画像表示部28の表示をOFFにした場合、画像処理装置100の電力消費を大幅に低減することができる。また、画像表示部28は、合焦、手振れ、シャッタースピード、絞り値、露出補正等に関する情報をシステム制御部50からの指示に従って表示する。
If the image data captured using the
30は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに充分な記憶容量を備えている。これにより、複数枚の静止画像を連続して撮影する連写やパノラマ撮影の場合にも、高速かつ大量の画像をメモリ30に書き込むことができる。また、メモリ30はシステム制御部50の作業領域としても使用することが可能である。更に、後述する記録媒体から画像データをメモリ30に読み出し、画像処理部20やメモリ制御部22を介して画像表示メモリ24に画像データを書き込む処理をし、表示制御部26により画像表示部28に表示する場合にも使用される。
ここで、メモリ30の構成の概略は図15に示すようになる。図15において、メモリ30は、撮影した静止画像や動画像を一時的に格納し、特にサムネイル画像やJPEG画像をキャッシュするための画像記憶バッファ領域1501、画像記憶バッファ1501にキャッシュされたサムネイル画像の情報をリストするサムネイル画像キャッシュリスト1502、画像記憶バッファ領域1501にキャッシュされたJPEG画像の情報をリストするJPEG画像キャッシュリスト1503、及び、システム制御部50の作業領域としてのワークエリア1504で構成される。
Here, the outline of the configuration of the
32はメモリ30から読み出した画像データを所定の画像圧縮方法(例えば、適応離散コサイン変換(ADCT)等)に従って例えばJPEGデータに画像圧縮し、画像圧縮された画像データをメモリ30に書き込む機能及びメモリ30から読み出した画像データを伸長し、伸長した画像データをメモリ30に書き込む機能を有する圧縮伸長部である。
32 is a function and memory for compressing image data read out from the
34はシャッター12を制御するシャッター制御部、40は絞り11を制御する絞り制御部である。42は撮像レンズ10のフォーカシングを制御する測距制御部、46はストロボ、48はストロボ46の発光を制御するストロボ制御部である。
50は画像処理装置100全体を制御するシステム制御部である。52はシステム制御部50の動作用の定数、変数、プログラム等を記憶するROMなどのメモリであり、メモリ52には撮像処理を行うプログラム、画像処理を行うプログラム、作成した画像ファイルデータを記録媒体に記録するプログラム、画像ファイルデータを記録媒体から読み出すプログラムや、後述する図3〜5、図9〜11、及び図14のフローで示した各種プログラムと、上記プログラムのマルチタスク構成を実現し実行するOSなどの各種プログラムなどが記録されている。各プログラムにはメッセージキューが作成され、メッセージキューにメッセージがFIFO(First In First Out)的に積まれ、各プログラム間でメッセージのやり取りを行うことで各プログラムが連携して制御され、上記各機能の制御が行われている。
A
60、62、64、66、67,68,69は、システム制御部50の各種の動作指示を入力するための操作手段であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。
ここで、これらの操作手段の具体的な説明を行う。 Here, a specific description of these operating means will be given.
60はモードダイアルスイッチで、電源ON/OFF、再生モード、自動撮影モード、プログラム撮影モード、シャッター速度優先撮影モード、絞り優先撮影モード、マニュアル撮影モード、ポートレート撮影モード、風景撮影モード、接写撮影モード、スポーツ撮影モード、夜景撮影モード、再生モード、マルチ画面再生・消去モード、編集モード、ファイル読み取り専用属性変更モード、PC接続モード等の各機能モードを切り替え設定することができる。
62はレリーズスイッチSW1で、不図示のレリーズボタンの操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(ストロボプリ発光)処理等の動作開始を指示する。
64はレリーズスイッチSW2で、不図示のレリーズボタンの操作完了でONとなり、撮像素子14から読み出した信号をA/D変換器16、メモリ制御部22を介してメモリ30に画像データを書き込む露光処理、画像処理部20やメモリ制御部22での演算を用いた現像処理、メモリ30から画像データを読み出し、圧縮伸長部32で画像圧縮を行い、記録媒体100に画像データを書き込む記録処理という一連の処理の動作開始を指示する。
A release switch SW2 is turned on when a release button (not shown) is operated, and an exposure process of writing image data to the
66は、メニュー操作スイッチであり、不図示のメニューキー、セットキー、十字キー等の組み合わせで構成され、カメラの撮影条件や現像条件などの各種設定の変更や画像ファイルの表示操作を、画像表示部28を見ながら行うことができる。
67は、編集操作スイッチであり、不図示の編集キー、セットキー、十字キーなどの組み合わせで構成され、画像データファイルの編集を画像表示部28を見ながらおこなうことができる。
68は、消去操作スイッチであり、不図示の消去キー、十字キーなどの組み合わせで構成され、画像データファイルの消去を画像表示部28を見ながら行うことができる。
69は、読み取り専用属性変更操作スイッチであり、不図示のセットキー、十字キーなどの組み合わせで構成され、画像データファイルの読み取り専用属性を画像表示部28を見ながら行うことができる。
80は電源制御部で、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成されており、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御部50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。
A power control unit 80 includes a battery detection circuit, a DC-DC converter, a switch circuit that switches a block to be energized, and the like. In addition, the DC-DC converter is controlled based on an instruction from the
90はメモリカードやハードディスク等の記録媒体との入出力インタフェース、92はメモリカードやハードディスク等の記録媒体と接続を行うコネクタである。
なお、本実施の形態では記録媒体を取り付けるインタフェース及びコネクタを1系統持つものとして説明している。勿論、記録媒体を取り付けるインタフェース及びコネクタは、単数或いは複数、いずれの系統数を備える構成としても構わない。また、異なる規格のインタフェース及びコネクタを組み合わせて備える構成としてもよい。 In the present embodiment, it is assumed that there is one interface and connector for attaching a recording medium. Of course, the interface and the connector for attaching the recording medium may have a single or a plurality of systems and any number of systems. Moreover, it is good also as a structure provided with combining the interface and connector of a different standard.
インタフェース及びコネクタとしては、PCMCIAカードやコンパクトフラッシュ(登録商標)カード等の規格に準拠したものを用いて構成することが可能である。インタフェース90及びコネクタ92をPCMCIAカードやCFカード等の規格に準拠したものを用いて構成した場合、LANカードやモデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード、等の各種通信カードを接続することにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことができる。
The interface and connector can be configured using a PCMCIA card, a compact flash (registered trademark) card, or the like that conforms to a standard. When the
100はメモリカードやハードディスク等の記録媒体である。記録媒体100は、半導体メモリや磁気ディスク等から構成される記録部202と、画像処理装置100とのインタフェース104と、画像処理装置100と接続を行うコネクタ106とを備えている。
次に、本実施形態に対応する画像データファイルの構造について図2を参照して説明する。図2は、本実施形態に対応する画像処理装置がRAWデータを含むDCFファイルを生成する設定とされ、撮影処理により作成されたメモリ30内の画像データを記録媒体101に記録する場合の、画像データファイルの構造の一例を示す図である。
Next, the structure of the image data file corresponding to this embodiment will be described with reference to FIG. FIG. 2 shows an image when the image processing apparatus corresponding to the present embodiment is set to generate a DCF file including RAW data, and image data in the
本実施形態では、画像データファイル200はデジタルカメラにおいて汎用的に使用されているDCFファイルの形式とし、大きくDCFヘッダ部201、サムネイル画像部202、JPEG画像部203、RAWヘッダ部204、RAWデータ部209及びJPEGデータの最後を示すマーカ(EOIマーカ)210の各領域からなる。
In the present embodiment, the image data file 200 is a DCF file format that is generally used in digital cameras, and is roughly divided into a
ここで、DCFヘッダ部201はDCFヘッダ情報を格納する領域であって、予め所定のデータサイズが与えられている。DCFヘッダ情報には、JPEG画像部203に格納される画像データに関連する撮影情報やパラメータ等のメタデータが含まれると共に、JPEG画像までのオフセット値A(205)、RAWヘッダ部204までのオフセット値B(206)及びサムネイル画像までのオフセット値D(207)が含まれる。このオフセット値A、B及びDにより各画像データやヘッダ部の開始位置、即ち各データやヘッダ部の区切りが特定されることとなる。サムネイル画像部202は、画像表示部28に複数枚(インデックス)表示を行う際などに利用するために、JPEG画像部203に格納されているJPEG画像等を間引いてリサイズしたサムネイル画像を格納する領域である。JPEG画像部203は、RAWデータを画像処理部20で処理した後、圧縮して得られたJPEG画像データを格納する領域である。
Here, the
RAWヘッダ部204はRAWヘッダ情報を格納する領域であって、予め所定のデータサイズが与えられている。RAWヘッダ情報には、RAWデータの撮影情報やパラメータ等のメタデータが含まれると共に、RAWデータまでのオフセット値C(208)が含まれる。オフセット値Bとオフセット値Cとにより、画像データファイル200内におけるRAWデータの位置を特定することが可能となる。RAWデータ部209は、撮像素子14から読み出された現像・圧縮前の容量の大きい画像データであるRAWデータを格納する領域である。なお、RAWデータの後ろにはJPEGデータの最後を示すマーカ(EOIマーカ)210があるため、DCFフォーマットとしての正当性が保たれることになる。また、RAWデータの有無乃至はRAWデータの位置を示すRAWヘッダ部204の情報は、DCFヘッダ部201内に格納されても良い。その場合には、オフセット値Bは、RAWデータまでのオフセットを表す値となる。
The
参考までに800万画素の撮像素子14として、本実施形態である図2と、従来例である図6のDCFデータと図7のRAWデータの両方を出力した場合のデータサイズを比較する。DCFヘッダ部201、601及びRAWヘッダ部204、701、801のサイズは約10KB、サムネイル画像部202、602、702、802のサイズは約10KB、JPEG画像部203、803は約4MB、再生用JPEG画像部はJPEG画像の1/2の解像度として約2MB、RAWデータ部は約6MBとする。この場合、本実施形態では約10MB、従来例では約12MBとなり、約2MBのサイズ減少が達成される。これにより、本実施形態によれば、従来の5枚分のデータ量で、1枚多い6枚分の画像データファイルを出力することができる。 なお、以上では本発明の画像処理装置がRAWデータを含むDCFファイル(画像データファイル200)を生成するという実施形態で説明を行っているが、RAWデータに限らず、例えばRAWデータを画像処理した結果を圧縮せずビットマップデータとして含むDCFファイル(画像データファイル200)を生成するという実施形態でも有効であることは言うまでもない。
For reference, the data size when the
更に、DCFヘッダ情報に含まれるオフセット値A、B及びDにより各画像データやヘッダ部の開始位置が特定されるため、例えば、RAW(あるいはビットマップ)ヘッダ部204及びRAW(あるいはビットマップ)データ部209は、DCFヘッダ部201あるいはサムネイル画像部202の直後にあっても良い。
Furthermore, since the start position of each image data and header part is specified by the offset values A, B, and D included in the DCF header information, for example, RAW (or bitmap)
次に、本実施形態における画像データファイルの記録動作を図3を参照して説明する。図3は、撮影から記録媒体100への画像データファイル記録までの一連のシーケンスを説明するフローチャートである。ここでは、撮影の前に予め撮影者が、自分の好みの画像処理を行うのに必要なRAWデータの出力をメニュー操作スイッチ66の操作にて設定してある場合とそうでない場合の処理について、説明を行っている。
Next, an image data file recording operation in the present embodiment will be described with reference to FIG. FIG. 3 is a flowchart for explaining a series of sequences from shooting to image data file recording on the
まず、ステップS301では、先に図1の説明で述べたように、不図示のレリーズスイッチを構成するSW1(62)、SW2(64)の操作に応答し、AF処理、AE処理、露光処理までの一連の撮影処理が行われる。 First, in step S301, as described above with reference to FIG. 1, in response to the operation of SW1 (62) and SW2 (64) constituting a release switch (not shown), AF processing, AE processing, and exposure processing are performed. A series of shooting processes are performed.
次に、ステップS302では、RAWデータを出力する設定がなされているか否かの判定を行う。RAWデータを出力する設定がなされていると判定された場合(ステップS302において「YES」)は、ステップS303に分岐して処理が行われる。一方、RAWデータを出力しない設定がなされていると判定された場合(ステップS302において「NO」)は、ステップS304に分岐して処理が行われる。 Next, in step S302, it is determined whether or not the setting for outputting RAW data has been made. If it is determined that the setting for outputting RAW data has been made (“YES” in step S302), the process branches to step S303 and processing is performed. On the other hand, if it is determined that the setting for not outputting RAW data has been made ("NO" in step S302), the process branches to step S304 and the process is performed.
そして、ステップS303では、RAWデータを含むDCFファイルである画像データファイル200の生成処理が行われ、生成された画像データファイル200はメモリ30に一時保存される。RAWデータを含むDCFファイル生成処理の詳細については図4を参照して後述する。また、ステップS304では、RAWデータを含まないDCFファイル(画像データファイル200)の生成処理が行われ、生成された画像データファイル200はメモリ30に一時保存される。RAWデータを含まないDCFファイル生成処理の詳細については図5を参照して後述する。
In step S <b> 303, the image data file 200 that is a DCF file including RAW data is generated, and the generated image data file 200 is temporarily stored in the
ステップS305では、ステップS303又はステップS304において生成され、メモリ30に一時保存された画像データファイル200を、記録媒体100へ書き込む処理を行う。
In step S305, a process of writing the image data file 200 generated in step S303 or step S304 and temporarily stored in the
次に、図3のフローチャートにおけるステップS303に対応するDCFファイル生成処理について、図4を参照して説明する。図4は、本実施形態に対応する、RAWデータを含むDCFファイル(画像データファイル200)を生成する生成処理の一例に対応するフローチャートである。 Next, the DCF file generation process corresponding to step S303 in the flowchart of FIG. 3 will be described with reference to FIG. FIG. 4 is a flowchart corresponding to an example of a generation process for generating a DCF file (image data file 200) including RAW data, corresponding to the present embodiment.
まず、ステップS401において、メモリ制御部22を介してメモリ30のワークエリア1504にDCFヘッダ部201とRAWヘッダ部204を確保する。次に、ステップS402において、A/D変換器16、画像処理部20、メモリ制御部22を介して、或いはA/D変換器16から直接メモリ制御部22を介して、メモリ30の画像記憶バッファ領域1501に撮影したRAWデータを書き込む撮影処理を実行する。
First, in
システム制御部50は、メモリ30の画像記憶バッファ領域1501内のRAWデータをメモリ制御部22を介して読み出して、現像処理を行うために必要なWB(ホワイトバランス)積分演算処理、OB(オプティカルブラック)積分演算処理を行い、演算結果をシステム制御部50の内部メモリ或いはメモリ52に記憶する。
The
そして、システム制御部50は、ステップS403において、メモリ制御部22と、必要に応じて画像処理回路20とを用いて、メモリ30の画像記憶バッファ領域1501内のRAWデータを読み出して、システム制御部50の内部メモリ或いはメモリ52に記憶した演算結果を用いて、AWB(オートホワイトバランス)処理、ガンマ変換処理、色変換処理を含む各種現像処理を行う。ステップS403ではさらに、ダーク取り込み処理において取り込んだダーク画像データを用いて減算処理を行うことにより、撮像素子14の暗電流ノイズ等を打ち消すダーク補正演算処理も併せて行う。
In step S403, the
システム制御部50は更に、ステップS404において、メモリ30の画像記憶バッファ領域1501内のRAWデータを処理した結果を読み出し、設定されたモードに応じた画像圧縮処理を圧縮・伸長回路32により行い、ステップS405において、メモリ30の画像記憶バッファ領域1501の空き領域に、撮影して一連の処理を終えたJPEG画像とサムネイル画像とを転送する。
In step S404, the
システム制御部50は、ステップS406において、メモリ30内に格納されているDCFヘッダ、サムネイル画像、JPEG画像、RAWヘッダ、RAWデータから、画像記憶バッファ領域1501内に画像データファイル200を作成する。このとき、画像データファイル200のRAWデータ部209の後には、JPEGデータの最後を示すマーカ(EOIマーカ)210が格納される。また、DCF画像ヘッダ部201に、JPEG画像までのオフセット205、RAWヘッダ部204までのオフセット206及びサムネイル画像までのオフセット207を、RAWヘッダ部204にRAWデータまでのオフセット208を設定する。
In step S406, the
より具体的に、画像記憶バッファ領域1501に一時保存されたサムネイル画像とJPEG画像とRAWデータについてのシャッタースピードや露出時間などの撮影情報などからメタデータが生成され、更に、各データサイズに基づいてオフセット205〜208が生成される。これにより、DCFヘッダ情報及びRAWヘッダ情報が生成され、それぞれDCFヘッダ部201及びRAWヘッダ部204に設定される。
More specifically, metadata is generated from shooting information such as shutter speed and exposure time for thumbnail images, JPEG images, and RAW data temporarily stored in the image
これにより、DCFヘッダ部201内にはRAWデータの存在の有無及び場所を示す情報(オフセット206)格納されることとなる。例えば、もしオフセット206のオフセット値Bが"0"(又は、RAWデータが画像データファイル200内に含まれていないことを示す所定値であるか、さもなくば、オフセット206自体がDCFヘッダ部201に存在しない場合)であれば、RAWデータは画像データファイル200には格納されていないこととなるが、この場合にはオフセット値Bに所定のオフセット値が与えられるので、RAWデータが画像データファイル200内に格納されており、かつ、その格納場所をオフセット値Bを利用して特定できる。
As a result, information (offset 206) indicating the presence / absence and location of RAW data is stored in the
次に、図3のフローチャートにおけるステップS304に対応するDCFファイル生成処理について、図5を参照して説明する。図5は、本実施形態に対応する、RAWデータを含まないDCFファイル(画像データファイル200)を生成する生成処理の一例に対応するフローチャートである。 Next, the DCF file generation process corresponding to step S304 in the flowchart of FIG. 3 will be described with reference to FIG. FIG. 5 is a flowchart corresponding to an example of a generation process for generating a DCF file (image data file 200) that does not include RAW data, corresponding to the present embodiment.
まず、ステップS501では、画像処理及び圧縮方式の設定に伴い、撮影処理によって得られた出力データからサムネイル画像とJPEG画像が生成され、メモリ30に一時保存される。ここでの処理は、図4におけるステップS401からS405と同様である。
First, in step S <b> 501, a thumbnail image and a JPEG image are generated from the output data obtained by the shooting process according to the settings of the image processing and the compression method, and are temporarily stored in the
ステップS502では、メモリ30に一時保存されたサムネイル画像とJPEG画像についてのシャッタースピードや露出時間などの撮影情報などからメタデータが生成され、更に、各データサイズに基づいてオフセット205〜207が生成される。これにより、DCFヘッダ情報が生成され、メモリ30に一時保存される。なお、ここではRAWデータは画像データファイル200に含まれないので、RAWヘッダ情報は生成されず、また、オフセット206に格納されるオフセット値Bは"0"或いは、RAWデータが画像データファイル200内に含まれていないことを示す所定値に設定される。また、RAWデータが画像データファイル200に含まれない場合には、オフセット206自体を生成しないように制御しても良い。
In step S502, metadata is generated from shooting information such as shutter speed and exposure time for thumbnail images and JPEG images temporarily stored in the
次に、ステップS503では、メモリ30に一時保存されたサムネイル画像、JPEG画像及びDCFヘッダ情報に基づいて、DCFヘッダ部201、サムネイル画像部202及びJPEG画像部203の各領域が生成され、RAWデータを含まない画像データファイル200が生成される。
Next, in step S503, each area of the
本実施形態では、画像データファイルを記録媒体100に記録する場合について説明したが、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合う場合も同様である。
In the present embodiment, the case where the image data file is recorded on the
以上のように、本実施形態に対応する発明は、撮影データを複数の圧縮方式によって生成可能な画像処理装置に関するものであり、JPEGデータに他の圧縮方式の画像を内包させることにより、複数の圧縮方式でのデータ出力時のサイズ削減と、パーソナルコンピュータ等で再生可能な汎用性を両立させることが可能となる。 As described above, the invention corresponding to the present embodiment relates to an image processing apparatus that can generate shooting data by a plurality of compression methods. By including images of other compression methods in JPEG data, a plurality of images can be obtained. It is possible to achieve both size reduction when outputting data in the compression method and versatility that can be reproduced by a personal computer or the like.
より具体的に、本実施形態に対応する画像処理装置によれば、メーカ及びデバイスによって異なるとされるRAWデータの記録においても、パーソナルコンピュータ等で再生可能なJPEGデータとしての正当性を保ったままRAWデータを付帯して記録することができる。さらに、JPEGデータとRAWデータの両方を出力する場合、ヘッダ情報やサムネイル画像などが重複して生成されることないため、全体のデータサイズが減少することによって、撮影可能枚数の増加、記録・転送時間の減少といった効果がある。 More specifically, according to the image processing apparatus corresponding to the present embodiment, the validity of JPEG data that can be played back by a personal computer or the like is maintained even in the recording of RAW data, which differs depending on the manufacturer and device. RAW data can be attached and recorded. Furthermore, when both JPEG data and RAW data are output, header information and thumbnail images are not duplicated, so the overall data size is reduced, increasing the number of shootable images and recording / transferring. This has the effect of reducing time.
[第2の実施形態]
本発明の実施形態に対応する画像処理装置は、表示用画像または本画像を内部メモリにキャッシュしないものとして構成されても良い。しかしこの場合には、再生の際に記録媒体から画像ファイルを毎度読み出し、表示用画像または本画像を抽出し、表示させることになるため、再生に時間がかかってしまう。
[Second Embodiment]
The image processing apparatus corresponding to the embodiment of the present invention may be configured not to cache the display image or the main image in the internal memory. However, in this case, since the image file is read from the recording medium each time during reproduction, the display image or the main image is extracted and displayed, it takes time for reproduction.
一方、画像処理装置を、表示用画像、本画像を内部メモリにキャッシュして再生を高速化するように構成することができる。この場合には、画像データファイルからJPEG画像を取り出すためにJPEG画像のデータから開始を示すマーカを探索し、そこから後ろの全てのデータを切り出してキャッシュするといった処理を行うことができる。しかし、一つの画像データファイルがサムネイル画像とJPEG画像、さらにRAWデータといった複数画像データから構成される場合、撮影後、再生時に画像データファイル全体またはJPEG画像から後ろの全てのデータをキャッシュすると、必要が無いRAWデータまで一緒にキャッシュされるので、空き容量を圧迫し、キャッシュできる画像の数が大幅に減ってしまうのでメモリを効率的に使うことができないという不具合が生じる。 On the other hand, the image processing apparatus can be configured to cache the display image and the main image in the internal memory to speed up the reproduction. In this case, in order to extract the JPEG image from the image data file, a marker indicating the start is searched from the data of the JPEG image, and all subsequent data can be cut out and cached. However, if one image data file is composed of multiple image data such as thumbnail images, JPEG images, and RAW data, it is necessary to cache the entire image data file or all the data after the JPEG image during playback after shooting. Since even RAW data with no data is cached together, there is a problem that the available capacity is reduced and the number of images that can be cached is greatly reduced, so that the memory cannot be used efficiently.
そこで、本実施形態では、第1の実施形態に対応して生成された、サムネイル画像、JPEG画像、RAWデータと、各画像までのオフセットを格納したヘッダからなるDCFファイルフォーマットの画像データファイルを利用して、画像データファイルに含まれる複数の画像データを独立して抽出することを可能とし、また、再生において必要の無い現像用画像を切り離して表示用画像または本画像だけをキャッシュすることで、撮影後の再生を素早くし、メモリの使用効率の向上を可能とする発明を説明する。 Therefore, in the present embodiment, an image data file in a DCF file format including thumbnail images, JPEG images, RAW data, and headers storing offsets to the respective images, generated corresponding to the first embodiment is used. In addition, it is possible to independently extract a plurality of image data included in the image data file, and by separating only the display image or the main image by separating the development image that is not necessary for reproduction, A description will be given of an invention that enables quick reproduction after shooting to improve the use efficiency of a memory.
以下、本実施形態に対応する画像処理装置において、メモリ30におけるキャッシュ更新処理を、図9を参照して説明する。図9は、本実施形態に対応するキャッシュ更新処理の一例に対応するフローチャートである。ここで、メモリ30では、画像データファイル200を構成するJPEG画像、サムネイル画像及びDCFヘッダ情報、又は、その一部のパラメータを含んだデータをそれぞれ独立したキャッシュとして、サムネイル画像キャッシュリスト1502及びJPEG画像キャッシュリスト1503により管理しており、キャッシュの更新方法は共通である。以下、サムネイル画像のキャッシュを例に挙げ、キャッシュの更新処理について説明する。
Hereinafter, cache update processing in the
撮影、または再生時にメモリ30の画像記憶バッファ領域1501に画像データが転送される場合、システム制御部50は、ステップS901においてメモリ30に空きがあるかを判定する。もし、メモリ30に空きがあると判定された場合には(ステップS901で「YES」)、ステップS903に進んで当該空き領域にサムネイル画像を書き込むと共に、サムネイル画像キャッシュリスト1502へ当該サムネイル画像の情報を追加する。一方、画像記憶バッファ領域1501に空きが無いと判定された場合には(ステップS901で「NO」)、ステップS902においてサムネイル画像キャッシュリスト1502の先頭(古い方)に格納されているサムネイル画像を画像記憶バッファ領域1501から開放し、その後でステップS903において、新たに生成された空き領域にサムネイル画像を書き込むと共に、メモリ30の所定領域に転送された画像の情報を新たにキャッシュリストに追加し、キャッシュリストの更新もする。
When image data is transferred to the image
以上の処理により、メモリ30に空き容量の余裕が無い場合であっても、キャッシュの詰め替えにより効率よくメモリ30を使用することが可能となる。また、詰め替えの際にキャッシュリストの先頭(古い方)から開放することにより、再生時は新しい方の画像データから表示するのでキャッシュヒット率が上がり、高速な再生が可能となる。
With the above processing, even when the
次に、図10を参照して、本実施形態に対応する画像処理装置における撮影時のキャッシュ処理について説明する。図10は、本実施形態に対応する画像処理装置における撮影時のキャッシュ処理動作の一例に対応するフローチャートである。 Next, with reference to FIG. 10, the cache processing at the time of shooting in the image processing apparatus corresponding to the present embodiment will be described. FIG. 10 is a flowchart corresponding to an example of the cache processing operation at the time of shooting in the image processing apparatus corresponding to the present embodiment.
まず、ステップS1001において、画像処理装置のユーザにより、レリーズスイッチSW2(64)が押されて撮影が行なわれると、システム制御部50は、撮像して所定時間蓄積した撮像信号を撮像素子14から読み出す。以下、ステップS1002乃至ステップS1007までは、図4におけるステップS401乃至406と同様であるので、説明を省略する。
First, in step S1001, when the user of the image processing apparatus presses the release switch SW2 (64) to perform shooting, the
ステップS1008では、システム制御部50は、インタフェース90とコネクタ92とを介して、記録媒体101へ書き込みを行う。
In step S <b> 1008, the
システム制御部50は、ステップS1009において、画像記憶バッファ領域1501にある画像データファイル200のうち、サムネイル画像の情報をサムネイル画像キャッシュリスト1502に追加し、続いてステップS1010においてJPEG画像の情報をJPEG画像キャッシュリスト1503に追加し、キャッシュリストの更新をする。
In step S1009, the
以上の処理により、撮影後すぐに撮影画像を表示したい場合に、サムネイル画像キャッシュリスト1502にあるサムネイル画像の情報や、JPEG画像キャッシュリスト1503にあるJPEG画像の情報から、画像表示部28に表示するための画像データを瞬時に取得することが可能となる。最後に、ステップS1011において、画像記憶バッファ領域1501におけるRAWヘッダ部204及びRAWデータ部205に対応する領域を開放することで容量の大きなRAWデータ分のメモリが空くので、画像記憶バッファ領域1501により多くのサムネイル画像やJPEG画像をキャッシュすることが可能となり、メモリの使用効率を向上することができる。
Through the above processing, when it is desired to display a photographed image immediately after photographing, the
[第3の実施形態]
本実施形態では、第2の実施形態における処理手順により作成され、記録媒体101に保存された画像ファイルの再生時の動作について説明する。
[Third Embodiment]
In the present embodiment, an operation at the time of reproducing an image file created by the processing procedure in the second embodiment and stored in the
図11は、本実施形態に対応する画像処理装置における画像ファイルの再生時の動作を説明するフローチャートである。 FIG. 11 is a flowchart for explaining the operation at the time of reproduction of an image file in the image processing apparatus corresponding to the present embodiment.
図11において、画像処理装置のユーザによりメニュー操作スイッチ66の操作を介して、画像ファイルの再生指示を受け付けると、システム制御部50は、ステップS1101において、メモリ30のサムネイル画像キャッシュリスト1502から再生指示に対応するサムネイル画像を探索する。ステップS1102では、目的とするサムネイル画像の探索に成功したか否かが判断され、探索に成功した場合(ステップS1102において「YES」)には、ステップS1007へ移行する。一方、探索に失敗した場合、即ち、目的とするサムネイル画像が見つからなかった場合(ステップS1102のいて「NO」)には、ステップS1103において、インタフェース90とコネクタ92とを介して、記録媒体101から画像データファイル200のうち、DCFヘッダ部201をメモリ30の画像記憶バッファ領域1501に読み出す。
In FIG. 11, when the user of the image processing apparatus receives an instruction to reproduce an image file through the operation of the
システム制御部50は、ステップS1104において、読み出したDCFヘッダ部201を解析し、システム制御回路50は、DCFヘッダ部201に基づいてJPEG画像までのオフセット205に格納されている値A、RAWヘッダ部204までのオフセット206に格納されている値B、及び、サムネイル画像部202までのオフセット207に格納されている値Dを取得する。更に、記憶媒体101からオフセット値Bに基づいてRAWヘッダ部204を読み出し、RAWデータまでのオフセット208に格納されている値Cを取得する。但し、オフセット値Cは、インデックス再生を行う場合には不要であるので、後述するJPEG画像の表示を行う場合に取得するようにしてもよい。
In step S1104, the
ステップS1105では、取得したオフセット値A及びDに基づいて、記憶媒体101内の画像データファイル200からサムネイル画像部202に格納されているサムネイル画像のみを抽出し、続くステップS1106において、図9に対応する更新処理に基づいて、画像記憶バッファ領域1501に格納すると共に、サムネイル画像キャッシュリスト1502に当該サムネイル画像の情報を追加する。
In step S1105, based on the acquired offset values A and D, only the thumbnail image stored in the
ステップS1107では、再生を行うサムネイル画像が複数枚(インデックス)であるか否かを判定する。もし、複数枚画像表示を行うと判定された場合(ステップS1107において「YES」)には、ステップS1112に移行して、必要枚数分のサムネイル画像がキャッシュされたか否かを、サムネイル画像キャッシュリスト1502の内容に基づいて判定し、必要枚数分がキャッシュされていると判定された場合には(ステップS1112において「YES」)、ステップS1113へ移行して、キャッシュ画像をメモリ制御部22を介して画像表示メモリ24に書き込む。更に、ステップS1114において、画像表示メモリ24に書き込まれた画像データが表示制御部26を介して画像表示部28により表示される。
In step S1107, it is determined whether there are a plurality of thumbnail images (indexes) to be reproduced. If it is determined that a plurality of images are to be displayed (“YES” in step S1107), the process proceeds to step S1112 to determine whether or not the required number of thumbnail images has been cached. If it is determined that the necessary number of sheets is cached (“YES” in step S1112), the process proceeds to step S1113, and the cached image is transferred to the image via the
一方、一枚画像表示を行うと判定された場合(ステップS1107において「NO」)には、ステップS1108において、システム制御部50はメモリ30のJPEG画像キャッシュリスト1503から再生対称となるJPEG画像を探索する。もし、目的とするJPEG画像が見つかった場合(ステップS1109において「YES」)には、ステップS1113へ移行して、キャッシュされているJPEG画像をメモリ制御部22を介して画像表示メモリ24に書き込み、更にステップS1114において、画像表示部28により画像表示を行う。
On the other hand, if it is determined to display one image (“NO” in step S1107), in step S1108, the
一方、目的とするJPEG画像が見つからなかった場合(ステップS1109において「NO」)には、ステップS1110において、ステップS1104で取得している場合にはオフセット値A、B及びCに基づいて、記憶媒体101内の画像データファイル200からRAWヘッダ部204及びRAWデータ部209を切り取ってJPEG画像のみを読み出す。次に、ステップS1111において、システム制御部50は、図9に対応するキャッシュ更新処理に従い、読み出したJPEG画像を画像記憶バッファ領域1501に格納すると共に、当該JPEG画像の情報をJPEG画像キャッシュリスト1503に追加する。その後、ステップS1113へ移行して、上述の処理を実行して処理を終了する。
On the other hand, when the target JPEG image is not found (“NO” in step S1109), in step S1110, if acquired in step S1104, the storage medium is based on the offset values A, B, and C. The
以上の処理により、複数枚(インデックス)を再生する場合は、記憶媒体101からサムネイル画像のみを取得しJPEG画像を取得する処理を省略できるので、TFTに表示するまでの時間を短縮することが可能となる。また、JPEG画像を再生する場合は、JPEG画像のオフセットだけでなく、RAWデータのオフセットが分かるので、JPEG画像以外の余分なデータを切り捨てることでJPEG画像のみを記憶媒体101から読み出すことが可能となり、読み出し時間を短縮できる。また、JPEG画像のみをメモリ30内にキャッシュすることが可能になるためメモリ効率を向上することができる。
With the above processing, when reproducing a plurality of images (indexes), it is possible to omit the processing of acquiring only the thumbnail image from the
[第4の実施形態]
上記の第2及び第3の実施形態では、RAWデータ以外のサムネイル画像やJPEG画像を画像記憶バッファ領域1501に読み出した後、キャッシュリストに追加することとしていたが、本実施形態では、キャッシュリストに追加する画像の種別を予めユーザがUI(ユーザーインターフェース)を用いて選択できる場合を説明する。
[Fourth Embodiment]
In the second and third embodiments described above, thumbnail images other than RAW data and JPEG images are read out to the image
図12及び図13は、本実施形態に対応するUI画面の一例を示す図である。図14は、本実施形態に対応する画像処理装置におけるUI画面を用いてキャッシュする画像を選択する処理の一例に対応するフローチャートである。以下、図12乃至図14を参照して本実施形態におけるキャッシュする画像を選択する処理の流れを説明する。 12 and 13 are diagrams illustrating examples of UI screens corresponding to the present embodiment. FIG. 14 is a flowchart corresponding to an example of processing for selecting an image to be cached using a UI screen in the image processing apparatus corresponding to the present embodiment. Hereinafter, a flow of processing for selecting an image to be cached in the present embodiment will be described with reference to FIGS.
まず、ステップS1401において、ユーザにからメニュー操作スイッチ66の操作を受け付けると(ステップS1401において「YES」)、ステップS1402において、システム制御部50は画像表示部28に図12に対応するメニュー画面1201を表示する。
First, in step S1401, when the user accepts an operation of the menu operation switch 66 (“YES” in step S1401), in step S1402, the
図12においては、選択可能な項目として複数の項目が表示されるが、ステップS1403では、メニュー画面1201においてメニュー操作スイッチ66の操作により「キャッシュ画像選択1202」が選択されたか否かを判定する。もし、「キャッシュ画像選択1202」が選択されたと判定された場合(ステップS1403において「YES」)には、ステップS1404において、図13に示すような画像一覧表示画面1301を画像表示部28に表示する。
In FIG. 12, a plurality of items are displayed as selectable items. In step S1403, it is determined whether or not “
一方、「キャッシュ画像選択1202」以外の項目が選択されたと判定された場合(ステップS1403において「NO」)には、ステップS1407に移行して、選択された項目に対応する画面を表示して所定の処理を実行した後、処理を終了する。
On the other hand, if it is determined that an item other than “
ステップS1405では、メニュー操作スイッチ66の操作に基づいて、画像一覧表示画面1301における画像1303の選択が行われたか否かを判定する。もし、画像1303のうちのいずれかが選択されたと判定された場合には(ステップS1405において「YES」)、ステップS1406において、画像一覧表示画面1301のうち、選択を受け付けた画像種別1303に対応するチェックボックス1302にマークを表示する。画像種別の指定は複数受け付けることも可能であり、その場合にはキャッシュされる画像の種別も複数となる。
In step S1405, based on the operation of the
以上の処理により、本実施形態によれば、ユーザーは、メモリ30にキャッシュされる画像の種別を予め選択可能となり、これにより、例えばビットマップ(Bitmap)データがキャッシュ対象として予め選択されていた場合には、拡大再生時に記録媒体100から読み出して処理する時間が短縮されるため、高速かつ高精細な画像表示が可能となる。
Through the above processing, according to the present embodiment, the user can select in advance the type of image to be cached in the
[その他の実施形態]
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、及びデジタルカメラ等)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、デジタルカメラ、デジタルビデオカメラなど)に適用してもよい。
[Other Embodiments]
Note that the present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a digital camera, and the like), and an apparatus (for example, a digital camera and a digital video camera) including a single device. You may apply to.
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Another object of the present invention is to supply a storage medium (or recording medium) in which a program code of software that realizes the functions of the above-described embodiments is recorded to a system or apparatus, and the computer (or CPU or CPU) of the system or apparatus. Needless to say, this can also be achieved by the MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function is based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
Claims (25)
前記第1の画像データを第2及び第3の画像データに変換する変換手段と、
前記第1乃至第3の画像データを含む画像データファイルを生成するファイル生成手段と
を備え、
前記画像データファイルは、前記画像データファイルにおける前記第1の画像データの開始位置を特定するための第1の位置情報を含み、かつ、前記第2の画像データの本体と前記第2の画像データの終了を示す符号との間に前記第1の画像データが位置するように生成されることを特徴とする画像処理装置。 Image acquisition means for acquiring first image data obtained by imaging the imaging target;
Conversion means for converting the first image data into second and third image data;
File generating means for generating an image data file including the first to third image data,
The image data file includes first position information for specifying a start position of the first image data in the image data file, and the main body of the second image data and the second image data An image processing apparatus, wherein the first image data is generated so as to be positioned between a code indicating the end of the first image data.
前記ファイル生成手段は、前記設定受付手段より前記第1の画像データを含める設定を受け付けた場合に、前記第1の画像データを含む前記画像データファイルを生成することを特徴とする請求項1に記載の画像処理装置。 A setting receiving means for receiving a setting as to whether or not to include the first image data in the image data file;
The file generation unit generates the image data file including the first image data when receiving a setting including the first image data from the setting reception unit. The image processing apparatus described.
前記一時記憶された画像データファイルを記憶する第2の記憶手段と、
前記第1の記憶手段に一時記憶された前記画像データファイルを前記第2の記憶手段に記憶させた後、前記画像リストに前記第2及び第3の画像データの情報を追加し、前記第1の記憶手段から前記第1の画像データを削除する制御手段と
を更に備えることを特徴とする請求項1乃至4のいずれかに記載の画像処理装置。 First storage means for temporarily storing the image data file and the image list;
Second storage means for storing the temporarily stored image data file;
After the image data file temporarily stored in the first storage means is stored in the second storage means, information on the second and third image data is added to the image list, and the first The image processing apparatus according to claim 1, further comprising a control unit that deletes the first image data from the storage unit.
前記画像リスト中で前記再生指示を受け付けた画像データの情報を探索する探索手段と、
前記再生指示を受け付けた画像データの情報が前記画像リスト中に含まれている場合に、前記第1の記憶手段より対応する画像データを読み出す読出手段と、
読み出された画像データを表示する表示手段と
を更に備えることを特徴とする請求項5に記載の画像処理装置。 Reproduction instruction receiving means for receiving an instruction to reproduce image data included in the image data file stored in the second storage means;
Search means for searching for information of image data for which the reproduction instruction has been accepted in the image list;
A reading unit that reads out the corresponding image data from the first storage unit when information of the image data for which the reproduction instruction has been received is included in the image list;
6. The image processing apparatus according to claim 5, further comprising display means for displaying the read image data.
前記画像処理装置は、
前記第2の記憶手段に記憶されている複数の画像データファイルに含まれる前記第3の画像データの再生指示を受け付ける再生指示受付手段と、
前記画像リスト中で前記再生指示を受け付けた前記第3の画像データの情報を探索する探索手段と、
前記再生指示を受け付けた画像データの情報が前記画像リスト中に含まれていない場合に、前記第2の記憶手段より前記第2及び第3の位置情報を取得し、前記第2及び第3の位置情報に基づいて前記再生指示を受け付けた前記第3の画像データのみを前記第2の記憶手段より前記第1の記憶手段に読み出す読出手段と、
前記第3の画像データを表示する表示手段とを更に備え、
前記制御手段は、前記第1の記憶手段に読み出された前記第3の画像データの情報を前記画像リストに追加することを特徴とする請求項5に記載の画像処理装置。 The image data file further includes second and third position information for specifying the positions of the second and third image data in the image data file,
The image processing apparatus includes:
Reproduction instruction receiving means for receiving a reproduction instruction for the third image data included in the plurality of image data files stored in the second storage means;
Search means for searching for information of the third image data that has received the reproduction instruction in the image list;
When the information of the image data for which the reproduction instruction has been received is not included in the image list, the second and third position information is obtained from the second storage means, and the second and third position information is acquired. Reading means for reading only the third image data for which the reproduction instruction has been received based on position information from the second storage means to the first storage means;
Display means for displaying the third image data;
The image processing apparatus according to claim 5, wherein the control unit adds the information of the third image data read out to the first storage unit to the image list.
前記画像処理装置は、
前記第2の記憶手段に記憶されている画像データファイルに含まれる前記第2の画像データの再生指示を受け付ける再生指示受付手段と、
前記画像リスト中で前記再生指示を受け付けた前記第2の画像データの情報を探索する探索手段と、
前記再生指示を受け付けた画像データの情報が前記画像リスト中に含まれていない場合に、前記第2の記憶手段より前記第1及び第2の位置情報を取得し、前記第1及び第2の位置情報に基づいて前記再生指示を受け付けた前記第2の画像データのみを前記第2の記憶手段より前記第1の記憶手段に読み出す読出手段と、
前記第2の画像データを表示する表示手段とを更に備え、
前記制御手段は、前記第1の記憶手段に読み出された前記第2の画像データの情報を前記画像のリストに追加することを特徴とする請求項5に記載の画像処理装置。 The image data file further includes second and third position information for specifying the positions of the second and third images in the image data file;
The image processing apparatus includes:
Reproduction instruction receiving means for receiving a reproduction instruction for the second image data included in the image data file stored in the second storage means;
Search means for searching for information of the second image data that has received the reproduction instruction in the image list;
When the information of the image data for which the reproduction instruction has been received is not included in the image list, the first and second position information is acquired from the second storage means, and the first and second position information are acquired. Reading means for reading only the second image data for which the reproduction instruction has been received based on position information from the second storage means to the first storage means;
Display means for displaying the second image data;
The image processing apparatus according to claim 5, wherein the control unit adds the information of the second image data read to the first storage unit to the list of images.
前記制御手段は、前記画像種別受付手段により受け付けた種別に対応する画像の情報のみを前記画像リストに追加することを特徴とする請求項5乃至8のいずれかに記載の画像処理装置。 An image type accepting unit for accepting an image type to be added to the image list;
The image processing apparatus according to claim 5, wherein the control unit adds only image information corresponding to the type received by the image type reception unit to the image list.
前記第1の画像データを第2及び第3の画像データに変換する変換工程と、
前記第1乃至第3の画像データを含む画像データファイルを生成するファイル生成工程と
を備え、
前記画像データファイルは、前記画像データファイルにおける前記第1の画像データの開始位置を特定するための第1の位置情報を含み、かつ、前記第2の画像データの本体と前記第2の画像データの終了を示す符号との間に前記第1の画像データが位置するように生成されることを特徴とする画像処理方法。 An image acquisition step of acquiring first image data obtained by shooting a shooting target;
A conversion step of converting the first image data into second and third image data;
A file generation step of generating an image data file including the first to third image data,
The image data file includes first position information for specifying a start position of the first image data in the image data file, and the main body of the second image data and the second image data An image processing method, wherein the first image data is generated such that the first image data is positioned between the first code data and a code indicating the end of the first image data.
前記ファイル生成工程は、前記設定受付工程より前記第1の画像データを含める設定を受け付けた場合に、前記第1の画像データを含む前記画像データファイルを生成することを特徴とする請求項10に記載の画像処理方法。 A setting reception step for receiving a setting as to whether or not to include the first image data in the image data file;
The said file generation process produces | generates the said image data file containing the said 1st image data, when the setting which includes the said 1st image data is received from the said setting reception process. The image processing method as described.
前記一時記憶された画像データファイルを第2の記憶部に記憶する第2の記憶工程と、
前記第1の記憶部に一時記憶された前記画像データファイルを前記第2の記憶部に記憶させた後、前記画像リストに前記第2及び第3の画像データの情報を追加し、前記第1の記憶工程から前記第1の画像データを削除する制御工程と
を更に備えることを特徴とする請求項10乃至13のいずれかに記載の画像処理方法。 A first storage step of temporarily storing the image data file and the image list in a first storage unit;
A second storage step of storing the temporarily stored image data file in a second storage unit;
After the image data file temporarily stored in the first storage unit is stored in the second storage unit, the information of the second and third image data is added to the image list, and the first The image processing method according to claim 10, further comprising a control step of deleting the first image data from the storage step.
前記画像リスト中で前記再生指示を受け付けた画像データの情報を探索する探索工程と、
前記再生指示を受け付けた画像データの情報が前記画像リスト中に含まれている場合に、前記第1の記憶部より対応する画像データを読み出す読出工程と、
読み出された画像データを表示する表示工程と
を更に備えることを特徴とする請求項14に記載の画像処理方法。 A reproduction instruction receiving step for receiving an instruction to reproduce image data included in the image data file stored in the second storage unit;
A search step of searching for information of image data for which the reproduction instruction has been accepted in the image list;
A step of reading out the corresponding image data from the first storage unit when information on the image data for which the reproduction instruction has been received is included in the image list;
The image processing method according to claim 14, further comprising a display step of displaying the read image data.
前記画像処理方法は、
前記第2の記憶部に記憶されている複数の画像データファイルに含まれる前記第3の画像データの再生指示を受け付ける再生指示受付工程と、
前記画像リスト中で前記再生指示を受け付けた前記第3の画像データの情報を探索する探索工程と、
前記再生指示を受け付けた画像データの情報が前記画像リスト中に含まれていない場合に、前記第2の記憶部より前記第2及び第3の位置情報を取得し、前記第2及び第3の位置情報に基づいて前記再生指示を受け付けた前記第3の画像データのみを前記第2の記憶部より前記第1の記憶部に読み出す読出工程と、
前記第3の画像データを表示する表示工程とを更に備え、
前記制御工程では、前記第1の記憶部に読み出された前記第3の画像データの情報が前記画像のリストに追加されることを特徴とする請求項14に記載の画像処理方法。 The image data file further includes second and third position information for specifying the positions of the second and third image data in the image data file,
The image processing method includes:
A reproduction instruction receiving step of receiving an instruction to reproduce the third image data included in the plurality of image data files stored in the second storage unit;
A search step of searching for information of the third image data that has received the reproduction instruction in the image list;
When the information of the image data for which the reproduction instruction has been received is not included in the image list, the second and third position information is acquired from the second storage unit, and the second and third position information is acquired. A reading step of reading only the third image data for which the reproduction instruction has been received based on position information from the second storage unit to the first storage unit;
A display step of displaying the third image data,
The image processing method according to claim 14, wherein in the control step, information of the third image data read out to the first storage unit is added to the list of images.
前記画像処理方法は、
前記第2の記憶部に記憶されている画像データファイルに含まれる前記第2の画像データの再生指示を受け付ける再生指示受付工程と、
前記画像リスト中で前記再生指示を受け付けた前記第2の画像データの情報を探索する探索工程と、
前記再生指示を受け付けた画像データの情報が前記画像リスト中に含まれていない場合に、前記第2の記憶部より前記第1及び第2の位置情報を取得し、前記第1及び第2の位置情報に基づいて前記再生指示を受け付けた前記第2の画像データのみを前記第2の記憶部より前記第1の記憶部に読み出す読出工程と、
前記第2の画像データを表示する表示工程とを更に備え、
前記制御工程では、前記第1の記憶部に読み出された前記第2の画像データの情報が前記画像のリストに追加されることを特徴とする請求項14に記載の画像処理方法。 The image data file further includes second and third position information for specifying the positions of the second and third image data in the image data file,
The image processing method includes:
A reproduction instruction receiving step for receiving a reproduction instruction for the second image data included in the image data file stored in the second storage unit;
A search step of searching for information of the second image data that has received the reproduction instruction in the image list;
When the information of the image data for which the reproduction instruction has been received is not included in the image list, the first and second position information is acquired from the second storage unit, and the first and second position information is acquired. A reading step of reading only the second image data for which the reproduction instruction has been received based on position information from the second storage unit to the first storage unit;
A display step of displaying the second image data,
The image processing method according to claim 14, wherein in the control step, information of the second image data read to the first storage unit is added to the list of images.
前記制御工程では、前記画像種別受付工程により受け付けた種別に対応する画像の情報のみが前記画像リストに追加されることを特徴とする請求項14乃至17のいずれかに記載の画像処理方法。 An image type accepting step for accepting an image type to be added to the image list;
18. The image processing method according to claim 14, wherein in the control step, only information on an image corresponding to the type received in the image type reception step is added to the image list.
前記第1の画像データを第2及び第3の画像データに変換する変換手段と、
前記第1乃至第3の画像データを含む画像データファイルを生成するファイル生成手段と
を備え、
前記画像データファイルは、前記画像データファイルにおける前記第1の画像データの開始位置を特定するための第1の位置情報を含み、かつ、前記第1の位置情報と前記第2の画像データの終了を示す符号との間に前記第1の画像データが位置するように生成されることを特徴とする画像処理装置。 Image acquisition means for acquiring first image data obtained by imaging the imaging target;
Conversion means for converting the first image data into second and third image data;
File generating means for generating an image data file including the first to third image data,
The image data file includes first position information for specifying a start position of the first image data in the image data file, and the end of the first position information and the second image data An image processing apparatus, wherein the first image data is generated so as to be positioned between a reference sign indicating the position of the first image data.
前記第1の画像データを第2及び第3の画像データに変換する変換工程と、
前記第1乃至第3の画像データを含む画像データファイルを生成するファイル生成工程と
を備え、
前記画像データファイルは、前記画像データファイルにおける前記第1の画像データの開始位置を特定するための第1の位置情報を含み、かつ、前記第1の位置情報と前記第2の画像データの終了を示す符号との間に前記第1の画像データが位置するように生成されることを特徴とする画像処理方法。 An image acquisition step of acquiring first image data obtained by shooting a shooting target;
A conversion step of converting the first image data into second and third image data;
A file generation step of generating an image data file including the first to third image data,
The image data file includes first position information for specifying a start position of the first image data in the image data file, and the end of the first position information and the second image data An image processing method, wherein the first image data is generated such that the first image data is located between the first code data and the reference code indicating the number.
前記第2の画像データと前記第3の画像データを少なくとも含む画像データファイルを生成するファイル生成手段と、
前記画像データファイルは、前記第1の画像データの存在に関する第1の情報と、前記第2の画像データの終了を示す第2の情報とを含み、更に、前記画像データファイルに前記第1の画像データを含める場合には、前記第1の情報と前記第2の情報との間に前記第1の画像データが格納されるように、前記ファイル生成手段を制御する制御手段と
を備えることを特徴とする画像処理装置。 Conversion means for converting the input first image data into second and third image data;
File generating means for generating an image data file including at least the second image data and the third image data;
The image data file includes first information regarding the presence of the first image data, and second information indicating the end of the second image data, and further includes the first information in the image data file. A control means for controlling the file generation means so that the first image data is stored between the first information and the second information when including image data. A featured image processing apparatus.
前記第1の画像データを含む画像データファイルを生成するか否かを判断する判断手段と、
前記判断手段によって、前記第1の画像データを含む画像データファイルを生成しないと判断された場合は、前記第2の画像データと前記第3の画像データと、前記第2の画像データの終了を示す第1の情報とを含む画像データファイルを生成し、
前記判断手段によって、前記第1の画像データを含む画像データファイルを生成すると判断された場合は、前記第2の画像データ、前記第3の画像データ、前記第2の画像データの終了を示す第1の情報、及び、前記第1の情報よりも前に位置する前記第1の画像データを含む画像データファイルを生成することを特徴とする画像処理装置。 Conversion means for converting the input first image data into second and third image data;
Determining means for determining whether to generate an image data file including the first image data;
If it is determined by the determining means that the image data file including the first image data is not generated, the second image data, the third image data, and the end of the second image data are terminated. Generating an image data file including first information to be shown;
When it is determined by the determination means that an image data file including the first image data is generated, the second image data, the third image data, and the second image data indicating the end of the second image data are displayed. An image data file including the first information and the first image data located before the first information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005104364A JP2006287588A (en) | 2005-03-31 | 2005-03-31 | Image processing apparatus and method, data file structure, computer program, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005104364A JP2006287588A (en) | 2005-03-31 | 2005-03-31 | Image processing apparatus and method, data file structure, computer program, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006287588A true JP2006287588A (en) | 2006-10-19 |
Family
ID=37409022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005104364A Withdrawn JP2006287588A (en) | 2005-03-31 | 2005-03-31 | Image processing apparatus and method, data file structure, computer program, and storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006287588A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009171538A (en) * | 2007-12-17 | 2009-07-30 | Mitsubishi Electric Corp | Image reproducing device, digital television and image reproducing method |
JP2010114534A (en) * | 2008-11-04 | 2010-05-20 | Canon Inc | Image communication device and image communication method |
US8934150B2 (en) | 2012-08-24 | 2015-01-13 | Brother Kogyo Kabushiki Kaisha | Image processing system, image processing method, image processing apparatus, and non-transitory computer readable medium storing image processing program |
-
2005
- 2005-03-31 JP JP2005104364A patent/JP2006287588A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009171538A (en) * | 2007-12-17 | 2009-07-30 | Mitsubishi Electric Corp | Image reproducing device, digital television and image reproducing method |
JP2010114534A (en) * | 2008-11-04 | 2010-05-20 | Canon Inc | Image communication device and image communication method |
US8934150B2 (en) | 2012-08-24 | 2015-01-13 | Brother Kogyo Kabushiki Kaisha | Image processing system, image processing method, image processing apparatus, and non-transitory computer readable medium storing image processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8400528B2 (en) | Imaging device | |
US7522196B2 (en) | Image sensing apparatus and control method thereof | |
JP5351593B2 (en) | File management apparatus and control method thereof | |
JP2007221723A (en) | Image processing apparatus and control method thereof | |
JP2004120069A (en) | Image processing apparatus, image processing method, and program for realizing the method | |
JP4671053B2 (en) | Image recording apparatus and image recording method | |
JP2007081732A (en) | Imaging apparatus | |
JP2011077654A (en) | Imaging apparatus, control method thereof and program | |
JP5317547B2 (en) | Image processing apparatus and image processing apparatus control method | |
KR100756155B1 (en) | Image processing apparatus, control method thereof and storage medium | |
JP2006287588A (en) | Image processing apparatus and method, data file structure, computer program, and storage medium | |
JP4905017B2 (en) | Image display apparatus and program | |
JP4612874B2 (en) | Imaging apparatus and control method thereof | |
JP4757206B2 (en) | Image processing apparatus, image processing apparatus control method, and computer program | |
JP2007124150A (en) | Apparatus and method for image processing, and for processing image data file, computer program, and recording medium | |
KR101480407B1 (en) | Digital image processing apparatus, method for controlling the same and medium of recording the method | |
JP2005109658A (en) | Photographing apparatus | |
JP2007221722A (en) | Image processing apparatus and control method thereof | |
JP2008172653A (en) | Imaging apparatus, image management method, and program | |
JP4211764B2 (en) | Electronic camera, image recording apparatus, image recording method and program | |
JP2004153369A (en) | Digital camera and backup apparatus | |
JP2012049622A (en) | Photography control device and photography control method | |
JP7213657B2 (en) | IMAGING DEVICE, CONTROL METHOD AND PROGRAM THEREOF | |
JP2007166024A (en) | Imaging apparatus and control method thereof | |
JP4766706B2 (en) | Image processing apparatus, control method therefor, program, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20080603 |