JP2005027292A - Image data structure, image recording apparatus, and image reproduction system - Google Patents
Image data structure, image recording apparatus, and image reproduction system Download PDFInfo
- Publication number
- JP2005027292A JP2005027292A JP2004172288A JP2004172288A JP2005027292A JP 2005027292 A JP2005027292 A JP 2005027292A JP 2004172288 A JP2004172288 A JP 2004172288A JP 2004172288 A JP2004172288 A JP 2004172288A JP 2005027292 A JP2005027292 A JP 2005027292A
- Authority
- JP
- Japan
- Prior art keywords
- template
- image
- image data
- 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
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、予め決められたフォーマットで再生される画像データの構造と、それを用いた画像記録装置と画像再生システムに関する。 The present invention relates to a structure of image data reproduced in a predetermined format, and an image recording apparatus and an image reproduction system using the structure.
従来、回転、トリミング等の画像処理を施した画像データを記録する代わりに、画像処理を施す前のもとの画像データと、画像データに対して回転、トリミング等の画像処理をするために必要なパラメータやプログラムコードとを関連付けて記録する方法が知られている(例えば特許文献1参照)。 Conventionally, instead of recording image data that has undergone image processing such as rotation and trimming, it is necessary to perform image processing such as rotation and trimming on the original image data and image data before image processing. There is known a method of recording various parameters and program codes in association with each other (see, for example, Patent Document 1).
これらの方法によると、画像処理を施した画像データを再生するために必要な情報を、画像処理を施さずに記録することができるため、短時間で記録することができる。また、これらの方法によると、画像処理を施していない画像データが画像再生装置に入力されるため、画像再生装置では、必要に応じて、画像処理を施さずにもとの画像データを再生することもできる。 According to these methods, information necessary for reproducing image data subjected to image processing can be recorded without being subjected to image processing, and can be recorded in a short time. In addition, according to these methods, since image data that has not been subjected to image processing is input to the image reproduction device, the image reproduction device reproduces the original image data without performing image processing, if necessary. You can also.
しかし、画像データに画像処理を施すために必要なデータ量が大きい場合、画像処理を施すための情報を画像データとともに画像記録装置で記録したり画像再生装置に送信したりすると、画像処理を施した画像データを再生するために画像記録装置と画像再生装置との間で受け渡されるデータ量が大きくなる。例えば写真画像データに背景画像データを合成して再生するためには、データ量が大きい背景画像データを写真画像データに関連付けて画像記録装置から画像再生装置に受け渡す必要がある。 However, if the amount of data required to perform image processing on the image data is large, if the information for performing image processing is recorded together with the image data by the image recording device or transmitted to the image reproducing device, the image processing is performed. The amount of data transferred between the image recording apparatus and the image reproducing apparatus in order to reproduce the image data that has been reproduced increases. For example, in order to combine and reproduce photographic image data with background image data, it is necessary to transfer background image data having a large data amount from the image recording apparatus to the image reproducing apparatus in association with the photographic image data.
本発明は、このような問題を解決するために創作されたものであって、画像記録装置で設定したフォーマットで再生するために画像記録装置から画像再生装置に受け渡される情報のデータ量を低減可能な画像記録装置と、画像データ構造と、それを用いて画像データを再生する画像再生システムとを提供することを目的とする。 The present invention was created to solve such problems, and reduces the amount of information transferred from the image recording apparatus to the image reproducing apparatus for reproduction in the format set by the image recording apparatus. It is an object of the present invention to provide a possible image recording apparatus, an image data structure, and an image reproduction system for reproducing image data using the image data structure.
上記目的を達成するため、本発明に係る画像データ構造は、画像データと、前記画像データの再生フォーマットを規定するテンプレートデータの識別子とが前記テンプレートデータと異なる単一のファイルに記録されている。テンプレートデータに基づいて画像データを再生することにより、予め決められたフォーマットで画像データを再生することができる。画像データが記録されるファイルにテンプレートデータそのものを記録するのではなく、テンプレートデータを取得するための識別子を画像データともにファイルに記録することにより、予め決められたフォーマットで再生可能な画像ファイルのデータ量を低減することができる。 In order to achieve the above object, in the image data structure according to the present invention, the image data and the identifier of the template data that defines the reproduction format of the image data are recorded in a single file different from the template data. By reproducing the image data based on the template data, the image data can be reproduced in a predetermined format. Rather than recording the template data itself in the file in which the image data is recorded, the image file data that can be reproduced in a predetermined format is recorded in the file together with the image data identifier for acquiring the template data. The amount can be reduced.
前記識別子は、前記テンプレートデータを電気通信回線を通じて取得するための識別子でもよい。
前記識別子は、テンプレートデータのパス名でもよい。
前記識別子は、テンプレートデータのUUID(Universal Unique ID)でもよい。
識別子としてUUIDを用いることにより、テンプレートデータのアドレスが変更されても、画像データを記録したときに設定されたテンプレートデータを用いて当該画像データを再生することができる。
The identifier may be an identifier for acquiring the template data through a telecommunication line.
The identifier may be a path name of template data.
The identifier may be a UUID (Universal Unique ID) of template data.
By using the UUID as the identifier, even if the address of the template data is changed, the image data can be reproduced using the template data set when the image data is recorded.
前記テンプレートデータに基づいて前記画像データが再生されるときに前記画像データに施される回転処理を規定する回転情報が前記ファイルに記録されていてもよい。画像データが表す対象物に応じて画像データの回転処理を予め規定しておくことにより、テンプレートデータが規定する再生フォーマットに応じた適切な方向に回転させてから、画像データをテンプレートデータに基づいて再生することが可能になる。例えば、縦長のフレーミングでデジタルカメラによって作成された画像データを、横長のフレーミングで作成される画像データを差し込むことを前提に規定された再生フォーマットを用いて再生すると、例えばテンプレートデータが規定する背景画像の天地と、デジタルカメラで撮影された対象物の天地とが一致しなくなる。このような場合、画像データにテンプレートデータを関連付けるとき、画像データを回転させ、回転させた画像データをテンプレートデータに差し込んだ状態を確認した後に、そのテンプレートデータにその画像データを差し込むときには例えばどの方向に何度回転させるべきかといった回転情報を記録しておくことにより、差し込み時には、回転情報を利用して背景画像の天地とデジタルカメラで撮影された対象物の天地とが一致するように画像データをテンプレートデータに差し込むことが可能になる。 Rotation information that defines a rotation process performed on the image data when the image data is reproduced based on the template data may be recorded in the file. By predefining the rotation processing of the image data according to the object represented by the image data, the image data is rotated based on the template data after being rotated in an appropriate direction according to the reproduction format specified by the template data. It becomes possible to play. For example, when image data created by a digital camera with portrait framing is played back using a playback format defined on the assumption that image data created with landscape framing is inserted, for example, a background image defined by template data And the top and bottom of the object photographed with the digital camera do not match. In such a case, when associating the template data with the image data, after rotating the image data and confirming the state where the rotated image data is inserted into the template data, for example, in which direction the image data is inserted into the template data By recording the rotation information such as how many times it should be rotated, the image data can be used so that the top of the background image matches the top of the object photographed by the digital camera using the rotation information when inserting. Can be inserted into the template data.
上記目的を達成するため、本発明に係る画像記録装置は、画像データに前記画像データの再生フォーマットを規定するテンプレートデータを関連付ける関連付け手段と、前記画像データと前記画像データに関連付けられた前記テンプレートの識別子とを前記テンプレートデータと異なる単一のファイルに記録する記録手段と、を備える。テンプレートデータに基づいて画像データを再生することにより、予め決められたフォーマットで画像データを再生することができる。画像データが記録されるファイルにテンプレートデータそのものを記録するのではなく、テンプレートデータを取得するための識別子を画像データともにファイルに記録することにより、予め決められたフォーマットで再生可能な画像ファイルのデータ量を低減することができる。 In order to achieve the above object, an image recording apparatus according to the present invention comprises an associating means for associating image data with template data defining a reproduction format of the image data, and the image data and the template associated with the image data. Recording means for recording the identifier in a single file different from the template data. By reproducing the image data based on the template data, the image data can be reproduced in a predetermined format. Rather than recording the template data itself in the file in which the image data is recorded, the image file data that can be reproduced in a predetermined format is recorded in the file together with the image data identifier for acquiring the template data. The amount can be reduced.
前記識別子は、前記テンプレートデータを電気通信回線を通じて取得するための識別子でもよい。
前記テンプレートデータに基づいて前記画像データが再生されるときに前記画像データに施される回転処理を規定する回転情報を設定する回転設定手段をさらに備え、前記記録手段は、前記回転情報を前記ファイルに記録してもよい。
The identifier may be an identifier for acquiring the template data through a telecommunication line.
Rotation setting means for setting rotation information defining rotation processing performed on the image data when the image data is reproduced based on the template data, and the recording means stores the rotation information in the file May be recorded.
上記目的を達成するため、本発明に係る画像再生システムは、電気通信回線を通じて相互に交信可能なテンプレートサーバと画像再生装置とを備え、テンプレートサーバは、画像データの再生フォーマットを規定する複数のテンプレートデータを記憶している記憶手段と、画像再生装置から受信した識別子に対応したテンプレートデータを画像再生装置に送信する送信手段とを備え、画像再生装置は、テンプレートデータのいずれかに対応した識別子と画像データとを含む画像ファイルを入力する入力手段と、入力した識別子をテンプレートサーバに送信し、送信した識別子に対応するテンプレートデータをテンプレートサーバから受信する受信手段と、入力した画像データを受信したテンプレートデータに基づいて再生する再生手段とを備えることを特徴とする。画像再生装置では、テンプレートデータに基づいて画像データを再生することにより、予め決められたフォーマットで画像データを再生することができる。本発明では、画像再生装置において、電気通信回線を通じてテンプレートデータを取得するための識別子を画像データとともに記録された画像ファイルを入力し、入力した識別子に対応するテンプレートデータをサーバから受信する。画像再生装置におけるこれらの処理により、テンプレートデータそのものを画像データとともにリムーバブルメモリに記録して画像再生装置に入力したり、テンプレートデータそのものを画像データとともに画像記録装置から画像再生装置に送信したりする必要が無くなる。したがって、リムーバブルメモリを介してデータを受け渡す場合であれば、リムーバブルメモリの容量が小さい場合であっても予め決められたフォーマットで再生される画像データを画像記録装置から画像再生装置に搬送することができる。また、通信回線を介してデータを受け渡す場合であれば、通信経路が低速な場合であっても予め決められたフォーマットで再生される画像データを画像記録装置から画像再生装置に短時間で搬送できる。 In order to achieve the above object, an image reproduction system according to the present invention includes a template server and an image reproduction device that can communicate with each other through a telecommunication line, and the template server defines a plurality of templates that define a reproduction format of image data. Storage means for storing data, and transmission means for transmitting template data corresponding to the identifier received from the image reproduction apparatus to the image reproduction apparatus, the image reproduction apparatus including an identifier corresponding to any of the template data, An input means for inputting an image file including image data; a receiving means for transmitting the input identifier to the template server; receiving template data corresponding to the transmitted identifier from the template server; and a template for receiving the input image data With playback means for playback based on data And wherein the Rukoto. In the image reproducing device, the image data can be reproduced in a predetermined format by reproducing the image data based on the template data. In the present invention, an image file in which an identifier for acquiring template data through an electric communication line is recorded together with the image data is input to the image reproduction apparatus, and template data corresponding to the input identifier is received from the server. Through these processes in the image playback device, it is necessary to record the template data itself together with the image data in the removable memory and input it to the image playback device, or to transmit the template data itself together with the image data from the image recording device to the image playback device. Disappears. Therefore, when transferring data via a removable memory, even when the capacity of the removable memory is small, image data to be reproduced in a predetermined format is transferred from the image recording apparatus to the image reproducing apparatus. Can do. In addition, when transferring data via a communication line, even when the communication path is slow, image data to be reproduced in a predetermined format is transported from the image recording apparatus to the image reproducing apparatus in a short time. it can.
尚、本発明に備わる複数の手段の各機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら複数の手段の各機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。
また、本発明は装置の発明として特定できるだけでなく、プログラムの発明としても、そのプログラムを記録した記録媒体の発明としても、方法の発明としても特定することができる。
The functions of the plurality of means provided in the present invention are realized by hardware resources whose functions are specified by the configuration itself, hardware resources whose functions are specified by a program, or a combination thereof. The functions of the plurality of means are not limited to those realized by hardware resources that are physically independent of each other.
The present invention can be specified not only as an apparatus invention but also as a program invention, a recording medium recording the program, and a method invention.
以下、本発明の実施の形態を複数の実施例に基づいて説明する。
(第一実施例)
第一実施例は、識別子としてテンプレートデータのパスを用いる場合の例である。第一実施例ではテンプレートデータが記録されているテンプレートファイルのURL(Uniform Resource Locator)をテンプレートデータのパスとして用いる場合を例に説明する。URLは電気通信回線に接続されたコンピュータに記憶されているファイルのアドレスを示す情報であり、テンプレートファイルのURLをパスとして用いると電気通信回線を通じてテンプレートデータを取得することが可能になる。尚、テンプレートデータのパスは、テンプレートデータを記憶しているテンプレートサーバを一意に特定できる情報とテンプレートサーバにおいてテンプレートデータを一意に特定できる情報とを含む情報であればテンプレートファイルのURL以外の情報であってもよい。又、第一実施例では画像データをテンプレートデータに基づいて印刷することで再生する場合を例に説明する。
Hereinafter, embodiments of the present invention will be described based on a plurality of examples.
(First Example)
The first embodiment is an example in which a template data path is used as an identifier. In the first embodiment, a case where a template file URL (Uniform Resource Locator) in which template data is recorded is used as a template data path will be described as an example. The URL is information indicating the address of a file stored in a computer connected to the telecommunication line. If the URL of the template file is used as a path, the template data can be acquired through the telecommunication line. The template data path is information other than the template file URL as long as the information includes information that can uniquely identify the template server storing the template data and information that can uniquely identify the template data in the template server. There may be. In the first embodiment, an example will be described in which image data is reproduced by printing based on template data.
図2は、本発明の第一実施例に係る画像記録装置としてのディジタルカメラ1、テンプレートサーバ2、及び画像再生装置としてのプリンタ3、並びにテンプレートサーバ2からテンプレートファイルをダウンロードしてリムーバブルメモリ18に記憶するパーソナルコンピュータ4を示す模式図である。テンプレートサーバ2、プリンタ3、及びパーソナルコンピュータ4は電気通信回線としてのインターネットNで相互に交信可能に接続されている。尚、電気通信回線は電話回線であってもよい。また電気通信回線は有線通信回線であってもよいし無線通信回線であってもよい。特許請求の範囲に記載の画像再生システムは、テンプレートサーバ2、プリンタ3、及びインターネットNに相当する。
FIG. 2 shows a
図3は、ディジタルカメラ1のハードウェア構成を示す模式図である。
制御部19は、CPU19a、フラッシュメモリ19b、ワークメモリ19cを備える。CPU19aはフラッシュメモリ19bに記憶されているプログラムを実行してディジタルカメラ1の全体を制御する。また、CPU19aは所定のプログラムを実行することで、撮像部20で作成された写真画像データとテンプレートファイルのURLとが記録された画像ファイルを作成する。フラッシュメモリ19bは各種のプログラムやデータを記憶しているメモリである。また、フラッシュメモリ19bはリムーバブルメモリ18から読み込んだテンプレートファイルを記憶するためのメモリとしても用いられる。ワークメモリ19cはプログラムやデータを一時的に記憶するためのメモリである。
FIG. 3 is a schematic diagram illustrating a hardware configuration of the
The
撮像部20は、光学系11、イメージセンサ12、センサコントローラ13、A/D変換部(ADC)14、画像処理部15、圧縮・伸張部16などを備える。光学系11は、レンズ、絞り等で構成され、イメージセンサ12の受光面に被写体の光学像を結像させる。イメージセンサ12は、2次元空間に離散的に配置された受光セルとCCD(Charge Coupled Device)等の電荷転送素子とを備え、光学系11により結像される光学像を光電変換して得られる電荷を受光セル毎に一定時間蓄積し、受光セル毎の受光量に応じた電気信号を出力する。ADC14は、イメージセンサ12から出力される電気信号を量子化してディジタル信号に変換する。画像処理部15は、ADC14から出力されたディジタル信号に対し、画像形成処理、ホワイトバランス補正、γ補正、色空間変換等を施して画像データとしての写真画像データを作成する。圧縮・伸張部16は、写真画像データの系列変換及びエントロピー符号化を行うことにより写真画像データを圧縮し、それらの逆変換を施すことにより写真画像データを伸張する。
The
入力部17は、リムーバブルメモリ18を接続するためのカードスロット、メモリコントローラなどを備える。入力部17は制御部19によって制御され、リムーバブルメモリ18に記憶されている各種のデータの読み込み、及びリムーバブルメモリ18へのデータの書き込みを行う。
操作部22は、画像ファイルの作成を指示するための撮像スイッチやメニューを操作するための各種のスイッチなどを備える。
The
The
表示部23は、ディスプレイコントローラ、LCD(Liquid Crystal Display)などを備える。LCDはディスプレイコントローラによって制御され、画像ファイルに記録されている画像データが表す画像や、テンプレートファイルを選択するためのメニューなどを表示する。
The
図4は、テンプレートサーバ2のハードウェア構成を示すブロック図である。
CPU31はROM32や外部記憶装置35に記憶されたプログラムを実行してテンプレートサーバ2の全体を制御する。また、CPU31は外部記憶装置35に記憶されたwebサーバプログラムを実行することで送信手段としても機能する。ROM32は各種のプログラムやデータを予め記憶しているメモリであり、RAM33は各種のプログラムやデータを一時的に記憶するメモリである。
FIG. 4 is a block diagram illustrating a hardware configuration of the
The
記憶手段としての外部記憶装置35は、ハードディスクなどで構成され、オペレーティングシステム(OS)、各種のプログラム、複数のテンプレートファイルが記憶されている。ハードディスクはOSによってディレクトリ構造で管理されており、テンプレートファイルは例えば記録しているテンプレートデータの内容に応じて適切なディレクトリに整理されて記憶されている。
The
送信手段としてのネットワークインタフェース34は、モデムやネットワークインタフェースカードなどで構成され、インターネットNに接続されている。
図5は、プリンタ3のハードウェア構成を示すブロック図である。プリンタ3はパーソナルコンピュータ等による制御を必要とせず、画像データを単独で印刷可能な所謂スタンドアロン型プリンタである。
The
FIG. 5 is a block diagram illustrating a hardware configuration of the
制御部46は、CPU46a、フラッシュメモリ46b、及びワークメモリ46cを備える。CPU46aはフラッシュメモリ46bに記憶されているプログラムを実行してプリンタ3の全体を制御する。また、CPU46aはフラッシュメモリ46bに記憶されているプログラムを実行することで入力手段、受信手段、及び再生手段としても機能する。フラッシュメモリ46bは各種のプログラムやデータなどを記憶しているメモリである。ワークメモリ46cは、プログラムやデータを一時的に記憶するためのメモリである。尚、ワークメモリ46cは画像処理部43がデータを一時的に記憶するためのメモリとしても用いられる。
The
入力手段としての入力部41は、リムーバブルメモリ18を接続するためのカードスロット、メモリコントローラなどを備える。入力部41は制御部46によって制御され、リムーバブルメモリ18に記憶されている画像ファイルを読み込むことで画像ファイルをプリンタ3に入力する。
受信手段としてのネットワークインタフェース45は、モデムやネットワークインタフェースカードなどで構成され、インターネットNに接続されている。
The
The
再生手段としての画像処理部43は、ワークメモリ46cに記憶された画像ファイルとテンプレートファイルとに基づいて印刷データを作成するASICである。具体的には例えば、JPEG規格で圧縮されている写真画像データの伸張、伸張された写真画像データの色空間の変換、ガンマ補正、カラーバランス調整、シャープネス調整、コントラスト調整、写真画像データの解像度を印刷解像度に変換する解像度変換、写真画像データを2値化する2値化処理、2値化された写真画像データをプリンタエンジンに転送すべき順序に並べ替えて印刷データを生成するインターレス処理などを制御部46と協働して実行する。尚、それらの処理を制御部46と画像処理部43とのいずれで行うかは適宜選択し得る設計事項である。
The
再生手段としてのプリンタエンジン44は、画像処理部43で生成された印刷データに基づいて印刷を実行する。プリンタエンジン44は印字ヘッドを搭載するキャリッジ、キャリッジを往復移動させる駆動機構、印刷用紙を搬送する搬送機構などで構成され、それらは制御部46によって制御される。キャリッジには印字ヘッドの他に印字ヘッドが吐出するインクを蓄える複数のインクタンクが色毎に搭載されている。尚、プリンタエンジン44は例えばレーザ方式で印刷を遂行するものであってもよい。
The
表示部48は、ディスプレイコントローラ、LCDなどを備える。LCDはディスプレイコントローラによって制御され、画像ファイルを選択するためのメニューなどを表示する。
操作部47は、印刷を指示するための印刷スイッチや、メニューを操作するための各種のスイッチなどを備える。
The
The
図6は、テンプレートデータ及びテンプレートファイルを示す模式図である。図7(A)は図6に示すテンプレートファイルを用いた印刷を説明するための模式図であり、図7(B)はその印刷結果を示す平面図である。テンプレートデータとは、画像データを再生するフォーマットを定義するデータである。具体的には例えば、印刷用紙のサイズ(例えば「はがき」)、印刷用紙の向きを規定する情報(例えば「縦長」)、写真画像データを配置する枠(写真画像枠)を規定する情報(例えば枠の右上座標「(x1,y1)」と枠の左下座標「(x2,y2)」)などを定義したスクリプト71、及び写真画像データに合成する背景画像データ72のことをいう。尚、背景画像データを用いるか否かは任意に選択でき、不要であれば背景データをテンプレートデータに含めないようにしてもよい。テンプレートファイル70は、テンプレートデータを所定のデータ構造で格納しているファイルである。尚、スクリプトと背景画像データとはそれぞれ異なるファイルに記録してもよく、その場合、テンプレートファイルとは複数のファイルのことを指すことになる。
FIG. 6 is a schematic diagram showing template data and a template file. FIG. 7A is a schematic diagram for explaining printing using the template file shown in FIG. 6, and FIG. 7B is a plan view showing the printing result. Template data is data defining a format for reproducing image data. Specifically, for example, the size of the printing paper (for example, “postcard”), the information for defining the orientation of the printing paper (for example, “vertically long”), and the information for defining the frame (photo image frame) for arranging the photo image data (for example, The
図8は、テンプレートファイルとテンプレートファイルのURLとを関連付けて記憶しておくための関連付けテーブルを示す模式図である。関連付けテーブルはパーソナルコンピュータ4によって作成されるテーブルである。パーソナルコンピュータ4はテンプレートサーバ2からテンプレートファイルのURLが記録されたwebページをダウンロードして表示し、ユーザがURLを選択すると、選択されたURLをテンプレートサーバ2に送信する。テンプレートサーバ2からテンプレートファイルを受信すると、パーソナルコンピュータ4は受信したテンプレートファイルのファイル名と当該テンプレートファイルのURLとを関連付けテーブルの同一行に格納する。これにより、テンプレートファイルとテンプレートファイルのURLとが関連付けられる。尚、テンプレートサーバ2側で予めURLをテンプレートファイル中に記録しておくようにしてもよい。その場合はテンプレートファイルとURLとが予め関連付けられていることになるため、パーソナルコンピュータ4で関連付けテーブルを作成することは不要になる。また、パーソナルコンピュータ4はテンプレートファイルをダウンロードするのではなく、背景画像データが表す画像のサムネイル画像データとテンプレートファイルのURLとが記録されたファイルをダウンロードするようにしてもよい。サムネイル画像データは背景画像データに比べてデータ量が小さくて済むため、ダウンロードが短時間で行える上、ディジタルカメラ1のフラッシュメモリ19bの記憶領域を節約できる。
FIG. 8 is a schematic diagram showing an association table for associating and storing the template file and the URL of the template file. The association table is a table created by the
図1は、本発明の第一実施例に係る画像データ構造を有する画像ファイルを示す模式図である。図示するように画像ファイルは、ヘッダ領域51、画像データ領域52を含んでいる。ヘッダ領域51は画像データ領域52の先頭アドレスを示すポインタ、テンプレートファイルのURL、その他、作成日付、画像サイズなどのヘッダ情報が記録される領域である。画像データ領域52は写真画像データが記録される領域である。再生の際にはヘッダ領域51からポインタを読み込むことで画像データ領域52の先頭アドレスを特定でき、それにより写真画像データを読み込むことができる。 FIG. 1 is a schematic diagram showing an image file having an image data structure according to the first embodiment of the present invention. As illustrated, the image file includes a header area 51 and an image data area 52. The header area 51 is an area in which header information such as a pointer indicating the head address of the image data area 52, the URL of the template file, the creation date, and the image size is recorded. The image data area 52 is an area where photographic image data is recorded. At the time of reproduction, by reading a pointer from the header area 51, the head address of the image data area 52 can be specified, and thereby photo image data can be read.
図9は、ディジタルカメラ1、パーソナルコンピュータ4、及び画像再生システムの処理の流れを示すシーケンスチャートである。
S105では、パーソナルコンピュータ4はユーザによって選択されたURLをテンプレートサーバ2に送信してテンプレートファイルをダウンロードする。
S110では、関連付けテーブルを作成する。作成後、テンプレートファイルと作成した関連付けテーブルとをリムーバブルメモリ18に記憶する。
FIG. 9 is a sequence chart showing the flow of processing of the
In S105, the
In S110, an association table is created. After creation, the template file and the created association table are stored in the
S115では、ユーザはリムーバブルメモリ18を取り外してディジタルカメラ1に接続する。リムーバブルメモリ18が接続されると、ディジタルカメラ1はテンプレートファイルと関連付けテーブルとを読み込んでフラッシュメモリ19bに記憶する。これにより、テンプレートファイルと関連付けテーブルとがディジタルカメラ1に受け渡される。テンプレートファイルと関連付けテーブルとは、画像ファイルを記憶するための容量を確保するためにフラッシュメモリ19bに記憶された後にリムーバブルメモリ18から消去してもよいし、しなくてもよい。
In S115, the user removes the
S120では、ディジタルカメラ1はフラッシュメモリ19bに記憶されたテンプレートファイルの選択を受け付ける。具体的には例えば、ディジタルカメラ1のユーザは操作部22を操作してテンプレートファイルを選択するためのメニューを表示させ、目的のテンプレートファイルのファイル名を選択して所定のスイッチを押下する。所定のスイッチが押下されると、ディジタルカメラ1はそのとき選択された状態にあるファイル名で特定されるテンプレートファイルを選択されたテンプレートファイルとして受け付けられ、S125で作成される写真画像データに、選択されたテンプレートファイルが関連付けられる。
In S120, the
S125では、ディジタルカメラ1は写真画像データを作成する。具体的には、ユーザにより撮像スイッチが押下されると、ディジタルカメラ1はそのときフレームインしている被写体を表す写真画像データを作成する。
尚、ディジタルカメラ1は、写真画像データを作成した後に、その写真画像データをテンプレートファイルに基づいて表示部23に表示してもよい。さらに、ディジタルカメラ1は、写真画像データをテンプレートファイルに基づいて表示した状態で、写真画像データの回転指示を受け付け、受け付けた指示に応じて写真画像データを回転させ、回転後の写真画像データをテンプレートファイルに基づいて表示してもよい。
S130では、写真画像データとテンプレートファイルのURLとを記録した画像ファイルを作成する。具体的には、S120で選択されたテンプレートファイルに関連付けられているURLをフラッシュメモリ19bに記録されている関連付けテーブルから読み込み、読み込んだURLと、S125で作成した写真画像データとが記録された画像ファイルを作成する。作成後、画像ファイルをリムーバブルメモリ18に記憶する。
尚、ディジタルカメラ1は、テンプレートファイルの識別子として、リムーバブルメモリに記録されているテンプレートファイルのパスを利用してもよい。具体的には例えば、ディジタルカメラ1は、テンプレートファイルと画像ファイルを1つのリムーバブルメモリに記録し、画像ファイルのヘッダ領域51にテンプレートファイルのパスを記録してもよい。
また、ディジタルカメラ1は、テンプレートファイルに基づいて写真画像データが表示されているときに受け付けた回転指示に応じて、写真画像データの回転情報を画像ファイルのヘッダ領域51に記録してもよい。回転情報は、テンプレートファイルに基づいて写真画像データを再生するシステムが写真画像データの回転方向と回転角度を一意に特定できる情報であればどのような形態であってもよい。
In S125, the
The
In S130, an image file in which the photographic image data and the URL of the template file are recorded is created. Specifically, the URL associated with the template file selected in S120 is read from the association table recorded in the flash memory 19b, and the read URL and the image in which the photograph image data created in S125 is recorded. Create a file. After creation, the image file is stored in the
The
Further, the
S135では、ユーザはリムーバブルメモリ18を取り外してプリンタ3に接続する。これにより、画像ファイルがプリンタ3に受け渡される。
S140では、プリンタ3はリムーバブルメモリ18に記憶された画像ファイルの中から印刷する画像ファイルの選択を受け付ける。
S145では、プリンタ3はテンプレートファイルのURLをテンプレートサーバ2に送信する。具体的には、ユーザによって画像ファイルが選択されると、プリンタ3は選択された画像ファイルをリムーバブルメモリ18から読み込む。これにより画像ファイルがプリンタ3に入力される。次に、入力した画像ファイルのヘッダ領域51に記録されているURLを読み込み、読み込んだURLをテンプレートサーバ2に送信する。
In S135, the user removes the
In S <b> 140, the
In S145, the
S150では、テンプレートサーバ2は当該URLで一意に特定されるテンプレートファイルをプリンタ3に送信する。
尚、テンプレートファイルと画像ファイルが1つのリムーバブルメモリに記録されている場合、S145及びS150の処理は不要である。この場合、プリンタ3は、S140で選択される印刷対象の画像ファイルのヘッダ領域51に記録されているテンプレートファイルのパスを参照してテンプレートファイルをリムーバブルメモリ18から読み込むことができる。
S155では、プリンタ3は入力した写真画像データを受信したテンプレートデータに基づいて印刷する。具体的には、プリンタ3の制御部46は、入力部41で入力した画像ファイルに記録されている写真画像データと受信したテンプレートファイルに記録されているテンプレートデータとに基づいて画像処理部43と協働して画像処理を実行し、作成した印刷データをプリンタエンジン44に出力する。プリンタエンジン44は印刷データが出力されると当該印刷データに基づいて印刷を行う。
尚、画像ファイルに回転情報が記録されている場合、プリンタ3は、写真画像データを回転させ、回転後の写真画像データをテンプレートデータに基づいて印刷してもよい。またプリンタ3は、画像ファイルに回転情報が記録されている場合、その回転情報を有効に利用するか、無効にするかをユーザに選択させてもよい。
In S150, the
Note that when the template file and the image file are recorded in one removable memory, the processing of S145 and S150 is not necessary. In this case, the
In S155, the
When rotation information is recorded in the image file, the
以上説明した本発明の第一実施例に係る画像ファイルによると、写真画像データとインターネットNを通じてテンプレートファイルを取得するためのURLとが1ファイルに記録される。このため、写真画像データの再生フォーマットを規定するテンプレートファイルを、当該写真画像データが記録されている画像ファイルに記録されているURLを用いて取得することができる。従って、写真画像データを予め決められたフォーマットで印刷することができる。 According to the image file according to the first embodiment of the present invention described above, the photographic image data and the URL for acquiring the template file through the Internet N are recorded in one file. For this reason, the template file that defines the reproduction format of the photo image data can be acquired using the URL recorded in the image file in which the photo image data is recorded. Accordingly, the photographic image data can be printed in a predetermined format.
更に、本発明の第一実施例に係る画像再生システムによると、プリンタ3はURLに対応するテンプレートファイルをテンプレートサーバ2からダウンロードできるので、ディジタルカメラ1で作成した写真画像データをテンプレートデータに基づいて印刷する場合、プリンタ3へは画像ファイルだけを受け渡せばよく、テンプレートファイルを受け渡す必要がない。このため、ディジタルカメラ1からプリンタ3へ受け渡すデータ量が小さくて済み、リムーバブルメモリ18の容量が小さい場合であっても写真画像データをディジタルカメラ1からプリンタ3に搬送することができる。
Furthermore, according to the image reproduction system of the first embodiment of the present invention, the
尚、本実施例では、テンプレートファイルと関連付けテーブルとをパーソナルコンピュータ4でダウンロードし、リムーバブルメモリ18を介してディジタルカメラ1に渡しているが、ディジタルカメラ1をインターネットNに接続可能に構成し、ディジタルカメラ1が直にテンプレートサーバからダウンロードするようにしてもよい。
また、本実施例では、ディジタルカメラ1でテンプレートファイルと画像ファイルの関連づけを行っているが、パーソナルコンピュータ、携帯電話、PDA(Personal Digital Assistants)等の画像データを処理可能な各種の情報端末においてテンプレートファイルと画像ファイルを関連付けることが可能である。
In this embodiment, the template file and the association table are downloaded by the
In this embodiment, the template file and the image file are associated with each other by the
また、第一実施例ではプリンタ3で印刷することで再生する場合を例に説明したが、画像再生装置は表示装置を備えたパーソナルコンピュータであってもよく、表示装置に表示することで再生するようにしてもよい。また、画像再生装置はプロジェクタであってもよく、スクリーンに投影することで再生してもよい。
また、本実施例ではディジタルカメラ1からプリンタ3へのデータの搬送はリムーバブルメモリ18によって行うが、データはインターネットNやシリアルケーブルなどの通信経路を介して搬送してもよく、その場合、本発明の第一実施例に係る画像再生システムによるとデータ量が小さくて済むため通信経路が低速な場合であってもデータの受け渡しに要する時間を短縮できる。
In the first embodiment, the case where reproduction is performed by printing with the
In this embodiment, the data is transferred from the
(第二実施例)
第二実施例は、識別子としてテンプレートファイルのUUID(Universally Unique Identifier)を用いる場合の例である。尚、第二実施例では第一実施例と実質的に同一の部分については説明を省略する。
UUIDとは、日時、ネットワークインタフェースカードのMACアドレス、乱数などを組み合わせて生成される所定ビット長の数値であり、重複しないことが保証された数値である。第二実施例のテンプレートサーバ2の外部記憶装置35にはUUIDを生成するための生成プログラムが記憶されており、CPU31は生成プログラムを実行することでUUIDを生成する。
(Second embodiment)
The second embodiment is an example in which a UUID (Universally Unique Identifier) of a template file is used as an identifier. In the second embodiment, description of substantially the same parts as in the first embodiment is omitted.
The UUID is a numerical value with a predetermined bit length generated by combining the date and time, the MAC address of the network interface card, a random number, and the like, and is a numerical value that is guaranteed not to overlap. A generation program for generating a UUID is stored in the
図10は、第二実施例のテンプレートサーバ2がテンプレートファイルとテンプレートファイルのUUIDとの管理に用いる管理テーブルを示す模式図である。テンプレートサーバ2はテンプレートファイルに割り当てるためのUUIDを生成し、当該テンプレートファイルのディレクトリ名及びファイル名と、生成したUUIDとを管理テーブルの同一行に格納する。テンプレートサーバ2はプリンタ3からUUIDを受信すると、管理テーブルにおいて当該UUIDと同一の行に格納されているディレクトリ名及びファイル名で一意に特定されるテンプレートファイルをプリンタ3に送信する。
FIG. 10 is a schematic diagram showing a management table used by the
図11は、第二実施例の関連付けテーブルを示す模式図である。第二実施例では、パーソナルコンピュータ4はテンプレートサーバ2からテンプレートファイルのURLと当該テンプレートファイルのUUIDとが記録されたwebページをダウンロードして表示し、ユーザがURLを選択すると、選択されたURLをテンプレートサーバ2に送信する。テンプレートサーバ2からテンプレートファイルを受信すると、パーソナルコンピュータ4は受信したテンプレートファイルのファイル名と当該テンプレートファイルのUUIDとを関連付けテーブルの同一行に格納する。
FIG. 11 is a schematic diagram illustrating an association table according to the second embodiment. In the second embodiment, the
図12は、第二実施例の画像ファイルの構造を示す模式図である。第二実施例の画像ファイルのヘッダ領域61には、画像データ領域62の先頭アドレスを示すポインタ、テンプレートファイルのUUID、その他、作成日付、画像サイズなどのヘッダ情報が記録される。
写真画像データは作成した後に直ぐプリンタ3で印刷されるとは限らず、時間をおいて印刷される場合もある。その場合、その間にテンプレートサーバ2においてテンプレートファイルが別のディレクトリに移動されてしまうようなこともあり得る。識別子としてテンプレートファイルのURLを用いる場合、テンプレートファイルが別のディレクトリに移動されるとプリンタ3はテンプレートファイルにアクセスできなくなるが、UUIDを用いる場合はテンプレートファイルを移動する際にテンプレートサーバ2側で管理テーブルを更新しておけば、プリンタ3はディレクトリが変更されたとしても写真画像データが記録されたときに設定されたテンプレートファイルにアクセスできる。従って、写真画像データが記録されたときに設定されたテンプレートファイルを用いて当該写真画像データを印刷できる。
FIG. 12 is a schematic diagram showing the structure of the image file of the second embodiment. In the header area 61 of the image file of the second embodiment, a pointer indicating the head address of the image data area 62, the UUID of the template file, and other header information such as the creation date and the image size are recorded.
The photographic image data is not always printed by the
1 ディジタルカメラ(画像記録装置)、2 テンプレートサーバ、3 プリンタ(画像再生装置)、31 CPU(送信手段)、34 ネットワークインタフェース(送信手段)、35 外部記憶装置(記憶手段)、41 入力部(入力手段)、43 画像処理部(再生手段)、44 プリンタエンジン(再生手段)、45 ネットワークインタフェース(受信手段)、46 制御部(受信手段、再生手段)、51 ヘッダ領域、52 画像データ領域
DESCRIPTION OF
Claims (9)
前記画像データと前記画像データに関連付けられた前記テンプレートの識別子とを前記テンプレートデータと異なる単一のファイルに記録する記録手段と、
を備えることを特徴とする画像記録装置。 Association means for associating image data with template data defining a reproduction format of the image data;
Recording means for recording the image data and the identifier of the template associated with the image data in a single file different from the template data;
An image recording apparatus comprising:
前記記録手段は、前記回転情報を前記ファイルに記録することを特徴とする請求項6又は7に記載の画像記録装置。 A rotation setting unit that sets rotation information that defines a rotation process performed on the image data when the image data is reproduced based on the template data;
The image recording apparatus according to claim 6, wherein the recording unit records the rotation information in the file.
前記テンプレートサーバは、画像データの再生フォーマットを規定する複数のテンプレートデータを記憶している記憶手段と、前記画像再生装置から受信した識別子に対応した前記テンプレートデータを前記画像再生装置に送信する送信手段とを備え、
前記画像再生装置は、前記テンプレートデータのいずれかに対応した識別子と画像データとを含む画像ファイルを入力する入力手段と、入力した識別子を前記テンプレートサーバに送信し、送信した識別子に対応する前記テンプレートデータを前記テンプレートサーバから受信する受信手段と、入力した画像データを受信したテンプレートデータに基づいて再生する再生手段とを備えることを特徴とする画像再生システム。
A template server and an image playback device that can communicate with each other through a telecommunication line,
The template server stores a plurality of template data that defines a reproduction format of image data, and a transmission unit that transmits the template data corresponding to the identifier received from the image reproduction device to the image reproduction device. And
The image reproduction apparatus includes an input unit that inputs an image file including an identifier corresponding to any of the template data and image data, and transmits the input identifier to the template server, and the template corresponding to the transmitted identifier. An image reproduction system comprising: reception means for receiving data from the template server; and reproduction means for reproducing input image data based on the received template data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004172288A JP2005027292A (en) | 2003-06-10 | 2004-06-10 | Image data structure, image recording apparatus, and image reproduction system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003164893 | 2003-06-10 | ||
JP2004172288A JP2005027292A (en) | 2003-06-10 | 2004-06-10 | Image data structure, image recording apparatus, and image reproduction system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005027292A true JP2005027292A (en) | 2005-01-27 |
Family
ID=34196920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004172288A Withdrawn JP2005027292A (en) | 2003-06-10 | 2004-06-10 | Image data structure, image recording apparatus, and image reproduction system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005027292A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007280553A (en) * | 2006-04-11 | 2007-10-25 | Hitachi Ltd | Contents reproducing device with contents directory template |
JP2009510644A (en) * | 2005-10-03 | 2009-03-12 | エンキャップ アー エス | Method and configuration for secure authentication |
-
2004
- 2004-06-10 JP JP2004172288A patent/JP2005027292A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009510644A (en) * | 2005-10-03 | 2009-03-12 | エンキャップ アー エス | Method and configuration for secure authentication |
US8335925B2 (en) | 2005-10-03 | 2012-12-18 | Encap As | Method and arrangement for secure authentication |
JP2007280553A (en) * | 2006-04-11 | 2007-10-25 | Hitachi Ltd | Contents reproducing device with contents directory template |
JP4556903B2 (en) * | 2006-04-11 | 2010-10-06 | 株式会社日立製作所 | Content playback device with content directory template |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7414746B2 (en) | Image data communication method | |
JP2006345319A (en) | Image pickup device and control method thereof | |
US7095436B2 (en) | Digital camera capable of outputting image data to external apparatus | |
JP5100182B2 (en) | Data transfer device, data reception device, and data transfer system | |
US8982390B2 (en) | Image forming apparatus, image printing system, image combining and outputting method, and computer product | |
JP4502392B2 (en) | Image processing apparatus and control method thereof | |
JP2013085219A (en) | Information processing device, information processing program and information processing method | |
JP2006293580A (en) | System for providing image with voice | |
JP4616500B2 (en) | Image transmitting apparatus, method and program | |
JP2006295815A (en) | Photograph processing device | |
JP2011077654A (en) | Imaging apparatus, control method thereof and program | |
JP2011176716A (en) | Electronic apparatus, camera, and image processing program | |
JP4196522B2 (en) | Information transmitting apparatus, information communication system, information transmitting method, information reproducing method, and computer-readable recording medium recording information transmitting program | |
JP2005027292A (en) | Image data structure, image recording apparatus, and image reproduction system | |
KR100810692B1 (en) | Vector image composition system and thereof | |
JP2002232761A (en) | Picture recording method, picture transmission method and picture recording apparatus | |
JP2005150892A (en) | Digital still camera, image data storage device, and their controlling method | |
US20060066886A1 (en) | Image-processing system, image-processing method, and product of image-processing program | |
JP2002354309A (en) | Digital camera link system and record medium recording image data processing program | |
JP2008060886A (en) | External storage device | |
JP2001268485A (en) | Image transmitter and print system | |
JP2004120280A (en) | Image processor | |
KR20090027995A (en) | Method for outputting an image | |
JP4395617B2 (en) | Image data management system, digital camera, external device, recording medium, and image data management method | |
KR20050000292A (en) | Method and system for wireless photograph output using camera mobile phone and digital camera with wireless communication function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20060818 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20061222 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20061226 |
|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070904 |