JP2008193582A - Camera, information processing apparatus, data structure of data file, data file generation device, and program for data file generation - Google Patents

Camera, information processing apparatus, data structure of data file, data file generation device, and program for data file generation Download PDF

Info

Publication number
JP2008193582A
JP2008193582A JP2007028052A JP2007028052A JP2008193582A JP 2008193582 A JP2008193582 A JP 2008193582A JP 2007028052 A JP2007028052 A JP 2007028052A JP 2007028052 A JP2007028052 A JP 2007028052A JP 2008193582 A JP2008193582 A JP 2008193582A
Authority
JP
Japan
Prior art keywords
data
program
file
explanation
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007028052A
Other languages
Japanese (ja)
Inventor
Masahira Motoki
方平 元宜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2007028052A priority Critical patent/JP2008193582A/en
Publication of JP2008193582A publication Critical patent/JP2008193582A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To execute a program by reading an image file containing program data in a header portion. <P>SOLUTION: A file reading unit 104a reads an image file including a header portion and a data portion from a memory card, and a display control unit 104b determines whether program data describing executable programs are contained in the header portion of the read image file. In the case where it is determined that the program data are contained in the header portion, a program execution unit 104c executes the program by reading the program data. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、カメラ、情報処理装置、データファイルのデータ構造、データファイル生成装置、およびデータファイル生成用プログラムに関する。   The present invention relates to a camera, an information processing device, a data structure of a data file, a data file generation device, and a data file generation program.

次のようなデジタル画像保存方法が知られている。この方法では、画像ファイル内に画像ヘッダー、画像データ、および非標準メタデータを記述し、画像ヘッダー内には、画像形式、サイズなどの標準的なメタデータを記録していた(例えば、特許文献1)。   The following digital image storage methods are known. In this method, an image header, image data, and non-standard metadata are described in an image file, and standard metadata such as an image format and size is recorded in the image header (for example, patent literature). 1).

特開2003−299016号公報JP 2003-299016 A

しかしながら、従来のデジタル画像保存方法では、画像ヘッダー内に標準的なメタデータしか記述しないため、ヘッダーを十分に活用できていなかった。   However, in the conventional digital image storage method, since only standard metadata is described in the image header, the header cannot be fully utilized.

本発明によるカメラは、記録媒体からヘッダー部とデータ部とを有する画像ファイルを読み込み、読み込んだ画像ファイルのヘッダー部に、実行可能なプログラムを記述したプログラムデータが含まれているか否かを判定し、ヘッダー部にプログラムデータが含まれていると判定した場合には、プログラムデータを読み込んでプログラムを実行することを特徴とする。
このカメラでは、データ部には、ヘッダー部に含まれるプログラムの説明を表示した説明用の画像データを含み、ヘッダー部にプログラムデータが含まれていると判定した場合には、データ部から説明用の画像データを読み込んで表示装置に表示することが好ましい。
また、記録媒体に複数の画像ファイルが記録され、各ファイルのヘッダー部にプログラムデータが含まれている場合には、複数の画像ファイルのデータ部から説明用の画像データをそれぞれ読み込んで表示装置に表示し、表示装置上で使用者によって選択された説明用の画像データを含む画像ファイルのヘッダー部からプログラムデータを読み込んでプログラムを実行するようにしてもよい。
本発明による情報処理装置は、ヘッダー部とデータ部とを有するデータファイルを読み込み、読み込んだデータファイルのヘッダー部に、実行可能なプログラムを記述したプログラムデータが含まれているか否かを判定し、ヘッダー部にプログラムデータが含まれていると判定した場合には、プログラムデータを読み込んでプログラムを実行することを特徴とする。
この情報処理装置では、データ部には、ヘッダー部に含まれるプログラムの説明に関する説明用データを含み、ヘッダー部にプログラムデータが含まれていると判定した場合には、データ部から説明用データを読み込んで、使用者にプログラムの説明を提示することが好ましい。
また、記録媒体に複数のデータファイルが記録され、各ファイルのヘッダー部にプログラムデータが含まれている場合には、複数のデータファイルのデータ部から説明用データを読み込んで、使用者にそれぞれのプログラムの説明を提示し、使用者によって選択された説明用データを含むデータファイルのヘッダー部からプログラムデータを読み込んでプログラムを実行するようにしてもよい。
本発明によるデータファイルのデータ構造は、ヘッダー部とデータ部とを有し、ヘッダー部には当該データファイルを読み込んだ装置で実行可能なプログラムを記述したプログラムデータを含み、データ部には当該データファイルを読み込んだ装置で出力可能なプログラムの説明に関する説明用データを含むことを特徴とする。
本発明によるデータファイル生成装置およびデータファイル生成用プログラムでは、ヘッダー部とデータ部とを有するデータファイルを生成し、データファイルを読み込んだ装置で実行する処理を指定し、指定した処理を、データファイルを読み込んだ装置で実行するためのプログラムを生成し、生成したプログラムのデータをヘッダー部に格納してデータファイルを生成することを特徴とする。
このとき、プログラムの説明に関する説明用データを生成し、生成した説明用データを、データファイルのデータ部に格納してもよい。
また、データファイルは、プログラムの説明を表示した画像データを説明用データとした画像ファイル、およびプログラムの説明用音声を記録した音声データを説明用データとした音声ファイルのいずれかであることが好ましい。
The camera according to the present invention reads an image file having a header portion and a data portion from a recording medium, and determines whether or not program data describing an executable program is included in the header portion of the read image file. When it is determined that the program data is included in the header part, the program is read and the program is executed.
In this camera, the data part includes image data for explanation displaying the explanation of the program included in the header part, and when it is determined that the header part contains program data, the data part explains it. It is preferable that the image data is read and displayed on the display device.
Also, when a plurality of image files are recorded on the recording medium and the program data is included in the header portion of each file, the image data for explanation is read from the data portion of the plurality of image files, respectively, and is displayed on the display device. The program may be executed by reading the program data from the header portion of the image file that is displayed and includes the explanatory image data selected by the user on the display device.
The information processing apparatus according to the present invention reads a data file having a header part and a data part, determines whether or not program data describing an executable program is included in the header part of the read data file, When it is determined that the program data is included in the header portion, the program is read and the program is executed.
In this information processing apparatus, the data portion includes explanatory data related to the description of the program included in the header portion. When it is determined that the header portion includes the program data, the data portion includes the explanatory data. It is preferable to read and present the explanation of the program to the user.
In addition, when a plurality of data files are recorded on the recording medium and the program data is included in the header portion of each file, the explanation data is read from the data portion of the plurality of data files, and the user is notified of each data file. A description of the program may be presented, and the program may be executed by reading the program data from the header portion of the data file including the explanatory data selected by the user.
The data structure of the data file according to the present invention has a header portion and a data portion, and the header portion includes program data describing a program executable by the device that has read the data file, and the data portion includes the data. It includes data for explanation relating to the explanation of a program that can be output by the device that has read the file.
In the data file generation device and the data file generation program according to the present invention, a data file having a header portion and a data portion is generated, a process to be executed by the device that has read the data file is specified, and the specified process is performed on the data file. A program for executing the program on a device that reads the program is generated, and data of the generated program is stored in a header portion to generate a data file.
At this time, the explanation data regarding the explanation of the program may be generated, and the generated explanation data may be stored in the data portion of the data file.
Further, the data file is preferably either an image file in which image data displaying a description of the program is used as explanatory data, or an audio file in which audio data in which the audio for explaining the program is recorded is used as explanatory data. .

本発明によれば、ヘッダーを十分に活用することができる。   According to the present invention, the header can be fully utilized.

―第1の実施の形態―
図1は、第1の実施の形態におけるカメラの一実施の形態の構成を示すブロック図である。カメラ100は、操作部材101と、レンズ102と、撮像素子103と、制御装置104と、メモリ105と、メモリカードスロット106と、モニタ107とを備えている。操作部材101は、使用者によって操作される種々の入力部材、例えば電源ボタン、レリーズスイッチ、ズームボタン、十字キー、決定ボタン、再生ボタン、削除ボタンなどを含んでいる。
-First embodiment-
FIG. 1 is a block diagram illustrating a configuration of an embodiment of a camera according to the first embodiment. The camera 100 includes an operation member 101, a lens 102, an image sensor 103, a control device 104, a memory 105, a memory card slot 106, and a monitor 107. The operation member 101 includes various input members operated by the user, such as a power button, a release switch, a zoom button, a cross key, a determination button, a playback button, and a delete button.

レンズ102は、複数の光学レンズ群から構成されるが、図1では代表して1枚のレンズで表している。撮像素子103は、例えばCCDやCMOSであり、レンズ102により結像した被写体像を撮像して画像を取得する。そして、取得した画像のデータ(画像データ)を制御装置104へ出力する。制御装置104は、入力された画像データをメモリ105へ出力して記録し、画像データに対して種々の画像処理を施す。   The lens 102 is composed of a plurality of optical lens groups, but is represented by a single lens in FIG. The image sensor 103 is, for example, a CCD or a CMOS, and captures a subject image formed by the lens 102 to acquire an image. The acquired image data (image data) is output to the control device 104. The control device 104 outputs and records the input image data to the memory 105, and performs various image processing on the image data.

メモリ105は、例えばフラッシュメモリであって、撮像素子103で撮像された画像や後述するメモリカードスロット106を介して読み込んだ画像ファイルを一時的に記録するためのバッファメモリとして使用される。また、カメラ100を動作させるためのプログラムであるファームウェアや、後述する制御装置104で実行される種々のプログラムが格納される。メモリカードスロット106は、画像を記録する記録媒体としてのメモリカードを挿入するためのスロットであり、メモリカードにデータを書き込んだり、メモリカードからデータを読み込んだりすることができる。   The memory 105 is, for example, a flash memory, and is used as a buffer memory for temporarily recording an image captured by the image sensor 103 and an image file read via a memory card slot 106 described later. In addition, firmware that is a program for operating the camera 100 and various programs executed by the control device 104 described later are stored. The memory card slot 106 is a slot for inserting a memory card as a recording medium for recording images, and can write data into the memory card and read data from the memory card.

モニタ107は、デジタルカメラ100の背面に搭載された液晶モニタ(背面モニタ)であり、撮像素子103で撮像された画像やメモリカードから読み込んだ画像を表示する。また、カメラ100を設定するための設定メニューなども表示される。   The monitor 107 is a liquid crystal monitor (rear monitor) mounted on the back of the digital camera 100 and displays an image captured by the image sensor 103 and an image read from a memory card. A setting menu for setting the camera 100 is also displayed.

制御装置104は、CPU、メモリやその他の周辺回路により構成され、ファイル読み込み部104aと、表示制御部104bと、プログラム実行部104cとを機能的に有している。なお、104a〜104cの各要素による処理は、制御装置104がメモリ105からプログラムを読み込んで起動することによって実行される。以下、104a〜104cの各要素による処理について説明する。   The control device 104 includes a CPU, a memory, and other peripheral circuits, and functionally includes a file reading unit 104a, a display control unit 104b, and a program execution unit 104c. Note that the processing by the elements 104 a to 104 c is executed by the control device 104 reading a program from the memory 105 and starting it. Hereinafter, the process by each element of 104a-104c is demonstrated.

ファイル読み込み部104aは、メモリカードスロット106に、記録媒体としてのメモリカードが挿入されると、メモリカードに記録されている画像ファイルを読み込み、メモリ105をバッファメモリとして使用して記録する。本実施の形態では、画像ファイルは、例えば公知のExif形式の画像ファイルのように、ヘッダー部とデータ部とを有している。従来、ヘッダー部とデータ部とを有する画像ファイルにおいては、データ部に画像が格納され、ヘッダー部には、データ部に格納された画像の撮影条件等の付加情報が格納されるのが一般的であった。   When a memory card as a recording medium is inserted into the memory card slot 106, the file reading unit 104a reads an image file recorded on the memory card and records it using the memory 105 as a buffer memory. In the present embodiment, the image file has a header portion and a data portion, for example, like a known Exif format image file. Conventionally, in an image file having a header portion and a data portion, an image is stored in the data portion, and additional information such as photographing conditions of the image stored in the data portion is generally stored in the header portion. Met.

しかしながら本実施の形態では、画像ファイルのヘッダー部にカメラ100で実行可能なプログラムデータを格納しておき、データ部にはヘッダー部に格納したプログラムの説明を表示した説明用の画像データを格納しておく。すなわち、画像ファイルは、図2に示すようなデータ構造になっている。なお、本実施の形態では、画像ファイルの生成は、あらかじめ外部の機器、例えばサーバーやパソコン上で行われ、生成された画像ファイルがメモリカードに記録されているものとする。   However, in this embodiment, program data that can be executed by the camera 100 is stored in the header portion of the image file, and the image data for explanation that displays the description of the program stored in the header portion is stored in the data portion. Keep it. That is, the image file has a data structure as shown in FIG. In the present embodiment, the image file is generated in advance on an external device such as a server or a personal computer, and the generated image file is recorded on the memory card.

表示制御部104bは、ファイル読み込み部104aによって読み込まれた画像ファイルのヘッダー部にプログラムデータが含まれているか否かを判定する。例えば、ヘッダー部の先頭には、ヘッダー部がプログラムデータを含むことを示す情報、例えば「program」や「firmware」などの文字列が記述されており、表示制御部104bは、は、ヘッダー部の先頭にこの文字列が含まれているかを判断することによって、ヘッダー部にプログラムデータが含まれているか否かを判定する。   The display control unit 104b determines whether program data is included in the header portion of the image file read by the file reading unit 104a. For example, information indicating that the header part includes program data, for example, a character string such as “program” or “firmware” is described at the head of the header part. The display control unit 104b By determining whether or not this character string is included at the beginning, it is determined whether or not program data is included in the header portion.

そして、表示制御部104bは、ヘッダー部にプログラムデータが含まれていると判定した場合には、データ部からプログラムの説明を表示した説明用の画像データを読み込んで、モニタ107へ出力する。このとき、メモリカード内に複数の画像ファイルが記録されている場合には、その中からヘッダー部にプログラムデータを含む画像ファイルのみを抽出してモニタ107へ一覧表示、例えばサムネイル表示する。図3は、メモリカード内に4枚のヘッダー部にプログラムデータを含む画像ファイルが含まれていた場合のモニタ107の表示例を示す図である。   When the display control unit 104b determines that the program data is included in the header part, the display control unit 104b reads the image data for explanation displaying the explanation of the program from the data part, and outputs it to the monitor 107. At this time, when a plurality of image files are recorded in the memory card, only the image file including the program data in the header portion is extracted from the image file and displayed as a list on the monitor 107, for example, as a thumbnail. FIG. 3 is a diagram illustrating a display example of the monitor 107 when an image file including program data is included in four header portions in the memory card.

この図3に示す例では、メモリカード内にはカメラ100のファームウェアをアップデートするためのプログラムをヘッダー部に含んだ4つの画像ファイルが記録されていることを示している。すなわち、メモリカード内には、モニタ107に表示された各画像に記されているプログラムの説明から、少なくとも以下の(A)〜(D)の4つの画像ファイルが含まれていることがわかる。   The example shown in FIG. 3 shows that four image files including a program for updating the firmware of the camera 100 in the header portion are recorded in the memory card. That is, it can be seen from the description of the program written in each image displayed on the monitor 107 that the memory card contains at least the following four image files (A) to (D).

(A)データ部に画像3aを含み、ヘッダー部にカメラ100のファームウェアをバージョン2.0(Ver2.0)にアップデートするためのプログラムデータを含む画像ファイル。
(B)データ部に画像3bを含み、ヘッダー部にカメラ100のファームウェアをバージョン2.1(Ver2.1)にアップデートするためのプログラムデータを含む画像ファイル。
(C)データ部に画像3cを含み、ヘッダー部にカメラ100のファームウェアをバージョン2.2(Ver2.2)にアップデートするためのプログラムデータを含む画像ファイル。
(D)データ部に画像3dを含み、ヘッダー部にカメラ100のファームウェアをバージョン2.3(Ver2.3)にアップデートするためのプログラムデータを含む画像ファイル。
(A) An image file that includes the image 3a in the data portion and includes program data for updating the firmware of the camera 100 to version 2.0 (Ver 2.0) in the header portion.
(B) An image file that includes the image 3b in the data portion and includes program data for updating the firmware of the camera 100 to version 2.1 (Ver2.1) in the header portion.
(C) An image file that includes the image 3c in the data portion and includes program data for updating the firmware of the camera 100 to version 2.2 (Ver 2.2) in the header portion.
(D) An image file that includes the image 3d in the data portion, and includes program data for updating the firmware of the camera 100 to version 2.3 (Ver2.3) in the header portion.

使用者は、モニタ107に表示された画像の中から、実行したいプログラム(カメラ100にインストールしたいファームウェアのアップデートプログラム)をヘッダー部に含む画像ファイルに対応する画像を操作部材101操作して選択する。例えば、十字キー3eを操作して画像選択状況を変更し、決定キー3fを押下して画像の選択を決定する。使用者によっていずれかの画像が選択された場合には、表示制御部104bは、選択された画像をモニタ107に全画面表示した後、その画像に対応するプログラムを実行してよいか否かを使用者に確認する。   The user selects the image corresponding to the image file including the program to be executed (firmware update program to be installed in the camera 100) in the header portion from the images displayed on the monitor 107 by operating the operation member 101. For example, the image selection status is changed by operating the cross key 3e, and the selection of the image is determined by pressing the enter key 3f. When one of the images is selected by the user, the display control unit 104b displays the selected image on the monitor 107, and then determines whether or not to execute a program corresponding to the image. Check with the user.

図4は、使用者が操作部材101を操作して画像3cを選択したときに、表示制御装置104bが画像3cを全画面表示した場合の具体例を示す図である。また、図5は、さらに使用者に対してプログラムを実行するか否かを確認するための確認メッセージ5aを表示した場合の具体例を示す図である。この図5に示す例において、使用者が確認メッセージ5aに応答して「Yes」を選択してプログラムの実行に同意すると、プログラム実行部104cは、モニタ107上に全画面表示されている画像3cに対応する画像ファイルのヘッダー部に含まれているプログラムデータをメモリ105上に展開して実行する。   FIG. 4 is a diagram illustrating a specific example when the display control device 104b displays the image 3c in full screen when the user operates the operation member 101 to select the image 3c. FIG. 5 is a diagram showing a specific example when a confirmation message 5a for confirming whether or not to execute the program is further displayed to the user. In the example shown in FIG. 5, when the user selects “Yes” in response to the confirmation message 5 a and agrees to execute the program, the program execution unit 104 c displays the image 3 c displayed on the monitor 107 in full screen. The program data included in the header portion of the image file corresponding to is expanded on the memory 105 and executed.

カメラ100のファームウェアは、上述したようにメモリ105に記録されており、プログラム実行部104cによってファームウェアのアップデートプログラムが実行されることによって、当該メモリ105に記録されているファームウェアが書き換えられてアップデートされる。ここでは、画像3cが選択されたことから、カメラ100のファームウェアが、バージョン2.2にアップデートされる。   The firmware of the camera 100 is recorded in the memory 105 as described above. When the firmware update program is executed by the program execution unit 104c, the firmware recorded in the memory 105 is rewritten and updated. . Here, since the image 3c is selected, the firmware of the camera 100 is updated to version 2.2.

一方、使用者が確認メッセージ5aに応答して「NO」を選択してプログラムの実行を拒否した場合には、表示制御部104bは、モニタ107の表示を図3に示す状態に戻して、使用者からの画像の選択を待つ。   On the other hand, when the user selects “NO” in response to the confirmation message 5a and refuses to execute the program, the display control unit 104b returns the display on the monitor 107 to the state shown in FIG. Wait for selection of image from the person.

また、画像ファイルのヘッダー部には、ファームウェア以外のアプリケーションプログラムのデータが含まれることもある。この場合には、使用者がモニタ107上で画像を選択すると、プログラム実行部104cは、選択された画像に対応するアプリケーションプログラムをメモリ105上に展開して、メモリ105を作業領域としてアプリケーションを起動する。例えば、ヘッダー部にゲーム用のプログラムデータが含まれている場合には、プログラム実行部104cは、使用者が選択した画像に対応するゲームアプリケーションを起動する。   The header portion of the image file may include application program data other than firmware. In this case, when the user selects an image on the monitor 107, the program execution unit 104c develops an application program corresponding to the selected image on the memory 105, and starts the application using the memory 105 as a work area. To do. For example, when the program data for the game is included in the header part, the program execution part 104c activates a game application corresponding to the image selected by the user.

図6は、第1の実施の形態における制御措置104で実行される処理の流れを示すフローチャートである。図6に示す処理は、メモリカードスロット106にメモリカードが挿入されると起動するプログラムとして制御装置104によって実行される。   FIG. 6 is a flowchart showing the flow of processing executed by the control measure 104 in the first embodiment. The process shown in FIG. 6 is executed by the control device 104 as a program that is activated when a memory card is inserted into the memory card slot 106.

ステップS10において、ファイル読み込み部104aは、メモリカードに記録されている画像ファイルを読み込み、メモリ105をバッファメモリとして使用して記録する。その後、ステップS20へ進み、表示制御部104bは、ファイル読み込み部104aによって読み込まれた画像ファイルのヘッダー部にプログラムデータが含まれているか否かを判断する。肯定判断した場合には、ステップS30へ進み、読み込んだ画像ファイルのデータ部から画像データを読み込んでモニタ107へ出力し、ステップS40へ進む。これに対して、否定判断した場合には、画像データを読み込まずにステップS40へ進む。   In step S10, the file reading unit 104a reads the image file recorded on the memory card, and records it using the memory 105 as a buffer memory. Thereafter, the process proceeds to step S20, and the display control unit 104b determines whether or not the program data is included in the header portion of the image file read by the file reading unit 104a. If the determination is affirmative, the process proceeds to step S30, image data is read from the data portion of the read image file, output to the monitor 107, and the process proceeds to step S40. On the other hand, if a negative determination is made, the process proceeds to step S40 without reading the image data.

ステップS40では、画像読み込み部104aは、メモリカードに記録されている全ての画像ファイルの読み込みが完了したか否かを判断する。否定判断した場合には、ステップS10へ戻って画像ファイルの読み込みを継続する。一方、肯定判断した場合には、ステップS50へ進む。ステップS50では、表示制御部104bは、使用者によってモニタ107上でいずれかの画像が選択されたか否かを判断する。否定判断した場合には、後述するステップS90へ進む。これに対して、肯定判断した場合には、ステップS60へ進む。   In step S40, the image reading unit 104a determines whether reading of all the image files recorded on the memory card has been completed. If a negative determination is made, the process returns to step S10 to continue reading the image file. On the other hand, if a positive determination is made, the process proceeds to step S50. In step S50, the display control unit 104b determines whether any image is selected on the monitor 107 by the user. If a negative determination is made, the process proceeds to step S90 described later. On the other hand, if a positive determination is made, the process proceeds to step S60.

ステップS60では、表示制御部104bは、選択された画像をモニタ107に全画面表示した後、その画像に対応するプログラムを実行してよいか否かを使用者に確認するための確認メッセージを表示する。その後、ステップS70へ進み、確認メッセージに応答して、使用者がプログラムの実行に同意したか否かを判断する。否定判断した場合、すなわち使用者がプログラムの実行を拒否した場合には、表示制御部104bは、モニタ107の表示を図3に示す状態に戻してステップS50へ戻る。これに対して肯定判断した場合には、ステップS80へ進む。   In step S60, the display control unit 104b displays the selected image on the monitor 107, and then displays a confirmation message for confirming to the user whether or not the program corresponding to the image can be executed. To do. Thereafter, the process proceeds to step S70, and in response to the confirmation message, it is determined whether or not the user has agreed to execute the program. If a negative determination is made, that is, if the user refuses to execute the program, the display control unit 104b returns the display on the monitor 107 to the state shown in FIG. 3 and returns to step S50. If an affirmative determination is made in response to this, the process proceeds to step S80.

ステップS80では、プログラム実行部104cは、モニタ107上に全画面表示されている画像3cに対応する画像ファイルのヘッダー部に含まれているプログラムデータをメモリ105上に展開して実行する。例えば、ヘッダー部にファームウェアアップデート用のプログラムデータが含まれている場合には、メモリ105を作業領域として当該プログラムを実行することによって、メモリ105に記録されているファームウェアをアップデートする。また、ヘッダー部にアプリケーションプログラムデータが含まれている場合には、メモリ105を作業領域として当該プログラムを実行することによって、アプリケーションを起動する。その後、ステップS90へ進む。   In step S80, the program execution unit 104c develops the program data included in the header part of the image file corresponding to the image 3c displayed on the full screen on the monitor 107 on the memory 105 and executes the program data. For example, when firmware update program data is included in the header portion, the firmware recorded in the memory 105 is updated by executing the program using the memory 105 as a work area. When the application program data is included in the header portion, the application is started by executing the program using the memory 105 as a work area. Thereafter, the process proceeds to step S90.

ステップS90では、使用者によって操作部材101が操作されることにより、モニタ107への画像の表示の終了が指示されたか否かを判断する。否定判断した場合には、表示制御部104bは、モニタ107の表示を図3に示す状態に戻してステップS60へ戻る。これに対して、肯定判断した場合にはステップS100へ進み、表示制御部104bは、モニタ107への画像の表示を終了して、処理を終了する。   In step S <b> 90, it is determined whether or not the user has operated the operation member 101 to instruct the end of image display on the monitor 107. If a negative determination is made, the display control unit 104b returns the display on the monitor 107 to the state shown in FIG. 3 and returns to step S60. On the other hand, when an affirmative determination is made, the process proceeds to step S100, where the display control unit 104b ends the display of the image on the monitor 107 and ends the process.

以上説明した第1の実施の形態によれば、以下のような作用効果を得ることができる。
(1)画像ファイルは、ヘッダー部とデータ部とを有し、ヘッダー部にはプログラムデータを格納し、データ部にはプログラムの説明用の画像データを格納したデータ構造とするようにした。これによって、画像ファイルのヘッダー部を有効活用することができる。
According to the first embodiment described above, the following operational effects can be obtained.
(1) The image file has a header part and a data part, the program part is stored in the header part, and the data part has a data structure in which image data for explaining the program is stored. Thereby, the header part of the image file can be effectively used.

(2)ファイル読み込み部104aは、メモリカードからヘッダー部とデータ部とを有する画像ファイルを読み込み、表示制御部104bは、読み込んだ画像ファイルのヘッダー部に、実行可能なプログラムを記述したプログラムデータが含まれているか否かを判定した。そして、ヘッダー部にプログラムデータが含まれていると判定した場合には、プログラム実行部104cは、プログラムデータを読み込んでプログラムを実行するようにした。これによって、ヘッダー部に含まれるプログラムを自動的に実行することができる。 (2) The file reading unit 104a reads an image file having a header part and a data part from the memory card, and the display control unit 104b receives program data describing an executable program in the header part of the read image file. It was determined whether it was included. When it is determined that the program data is included in the header portion, the program execution unit 104c reads the program data and executes the program. Thus, the program included in the header part can be automatically executed.

(3)画像ファイルのデータ部には、ヘッダー部に含まれるプログラムの説明を表示した説明用の画像データを含み、表示制御部104bは、ヘッダー部にプログラムデータが含まれていると判定した場合には、データ部から説明用の画像データを読み込んでモニタ107に表示するようにした。これによって、使用者は、画像ファイルに含まれているプログラムの内容を把握することができる。 (3) When the data portion of the image file includes image data for explanation that displays the description of the program included in the header portion, and the display control unit 104b determines that the program data is included in the header portion The image data for explanation is read from the data portion and displayed on the monitor 107. As a result, the user can grasp the contents of the program included in the image file.

(4)メモリカードに複数の画像ファイルが記録され、各ファイルのヘッダー部にプログラムデータが含まれている場合には、表示制御部104bは、複数の画像ファイルのデータ部から説明用の画像データをそれぞれ読み込んでモニタ107に表示するようにした。そして、プログラム実行部104cは、モニタ107上で使用者によって選択された説明用の画像データを含む画像ファイルのヘッダー部からプログラムデータを読み込んでプログラムを実行するようにした。これによって、使用者は、複数の画像ファイルの中から使用者が実行したいプログラムを含む画像ファイルを選択して、プログラムの実行を指示することができる。 (4) When a plurality of image files are recorded on the memory card and the program data is included in the header portion of each file, the display control unit 104b reads the image data for explanation from the data portion of the plurality of image files. Are read and displayed on the monitor 107. The program execution unit 104c reads the program data from the header portion of the image file including the image data for explanation selected by the user on the monitor 107, and executes the program. Thus, the user can select an image file including a program that the user wants to execute from a plurality of image files and instruct execution of the program.

―第2の実施の形態―
第2の実施の形態では、第1の実施の形態で上述した画像ファイルを生成するデータファイル生成装置について説明する。図7は、第2の実施の形態におけるデータファイル生成装置の一実施の形態の構成を示すブロック図である。データファイル生成装置200は、例えばサーバーが用いられ、入力装置201と、制御装置202と、メモリ203と、メモリカードインターフェース204と、モニタ205とを備えている。
-Second embodiment-
In the second embodiment, a data file generating apparatus that generates the image file described above in the first embodiment will be described. FIG. 7 is a block diagram showing a configuration of an embodiment of a data file generation device according to the second embodiment. The data file generation device 200 is a server, for example, and includes an input device 201, a control device 202, a memory 203, a memory card interface 204, and a monitor 205.

入力装置201は、キーボードやマウスなどの使用者によって操作される種々の装置を含む。制御装置202は、CPU、メモリやその他の周辺回路により構成され、表示制御部202aと、プログラムデータ生成部202bと、説明用データ生成部202cと、ファイル生成部202dとを機能的に有している。なお、202a〜202dの各要素による処理は、制御装置202がメモリ203からプログラム(データファイル生成用プログラム)を読み込んで起動することによって実行される。202a〜202dの各要素による処理については後述する。   The input device 201 includes various devices operated by a user such as a keyboard and a mouse. The control device 202 includes a CPU, a memory, and other peripheral circuits, and functionally includes a display control unit 202a, a program data generation unit 202b, an explanation data generation unit 202c, and a file generation unit 202d. Yes. The processing by the elements 202a to 202d is executed when the control device 202 reads a program (data file generation program) from the memory 203 and starts it. Processing by the respective elements 202a to 202d will be described later.

メモリ203は、例えばフラッシュメモリであって、制御装置202によって実行される種々のプログラムが格納されている。また、制御装置202がプログラムを実行するためのバッファメモリとしても使用される。メモリカードインターフェース204は、例えばメモリカードスロットであって、記録媒体としてのメモリカードへデータを書き込んだり、メモリカードからデータを読み込んだりすることができる。本実施の形態では、後述するようにファイル生成部202dによって生成される画像ファイルがメモリカードインターフェース204によってメモリカードに書き込まれる。モニタ205は、例えば液晶モニタであって、その表示内容は表示制御部202aによって制御される。   The memory 203 is a flash memory, for example, and stores various programs executed by the control device 202. It is also used as a buffer memory for the control device 202 to execute a program. The memory card interface 204 is, for example, a memory card slot, and can write data to a memory card as a recording medium or read data from the memory card. In the present embodiment, the image file generated by the file generation unit 202d is written to the memory card by the memory card interface 204 as will be described later. The monitor 205 is a liquid crystal monitor, for example, and the display content is controlled by the display control unit 202a.

使用者は、本実施の形態におけるファイル生成装置200を用いて第1の実施の形態で上述した画像ファイルを生成するために、入力装置201を操作してファイル生成アプリケーションの起動を指示する。制御装置202は、使用者によってファイル生成アプリケーションの起動が指示されると、ファイル生成アプリケーションを起動するためのデータファイル生成用プログラムをメモリ203上に展開して実行する。   In order to generate the image file described in the first embodiment using the file generation apparatus 200 according to the present embodiment, the user operates the input apparatus 201 to instruct activation of the file generation application. When the user is instructed to start the file generation application, the control device 202 develops and executes a data file generation program for starting the file generation application on the memory 203.

ファイル生成アプリケーションが起動すると、表示制御部202aは、モニタ205にファイル生成用画面を表示する。例えば、表示制御部202aは、図8に示すようなヘッダー部にカメラのファームウェアをアップデートするためのプログラムを自動生成するためのファイル生成用画面をモニタ205へ表示する。   When the file generation application is activated, the display control unit 202a displays a file generation screen on the monitor 205. For example, the display control unit 202a displays on the monitor 205 a file generation screen for automatically generating a program for updating the camera firmware in the header as shown in FIG.

このファイル生成用画面上にはプログラム生成機能が割り当てられたボタン8aおよび8bが表示されており、各ボタンには、そのボタンを押下することによって生成されるプログラムの説明が書かれている。使用者は、ボタンに書かれた説明を読むことによって、そのボタンを押下することによって、カメラにどのような機能を追加するためのファームウェアを提供できるかを確認することができる。   Buttons 8a and 8b to which a program generation function is assigned are displayed on the file generation screen, and each button has a description of a program generated by pressing the button. The user can confirm what kind of function can be provided to the camera by reading the description written on the button and pressing the button.

なお、図8に示す例では、カメラのファームウェアをベーシックバージョン1.01にアップデートするためのプログラムを生成するときに押下するボタン8aと、マニュアル撮影用バージョン1.01にアップデートするためのプログラムを生成するときに押下するボタン8bとが表示されている。また、それぞれのボタンには、ファームウェアをアップデートすることによってカメラに追加される機能も記されている。   In the example shown in FIG. 8, a button 8a to be pressed when generating a program for updating the camera firmware to the basic version 1.01, and a program for updating to the manual shooting version 1.01 are generated. A button 8b to be pressed when the button is pressed is displayed. Each button also has a function added to the camera by updating the firmware.

そして、プログラム生成部202bは、使用者によって押下されたボタンに応じたファームウェアアップデート用のプログラムを生成して、生成したプログラムのデータをメモリ203へ記憶する。なお、プログラム生成部202bは、使用者によってボタンが押下されたときにプログラムの生成を行わなくても、あらかじめ各ボタンに対応したプログラムを準備しておき、そのプログラムのデータを読み込んでメモリ203へ記憶するようにしてもよい。   Then, the program generation unit 202b generates a firmware update program corresponding to the button pressed by the user, and stores the generated program data in the memory 203. Note that the program generation unit 202b prepares a program corresponding to each button in advance without generating a program when the button is pressed by the user, and reads the data of the program into the memory 203. You may make it memorize | store.

同時に、説明用データ生成部202cは、使用者によって押下されたボタンに記載されているプログラムの説明を表示したプログラムの説明用の画像データを生成して、メモリ203へ記録する。この場合も、あらかじめ各ボタンに対応した説明用の画像データを準備しておき、説明用データ生成部202cは、その説明用の画像データを読み込んでメモリ203へ記憶するようにしてもよい。   At the same time, the explanation data generation unit 202 c generates image data for explanation of the program displaying the explanation of the program described in the button pressed by the user, and records it in the memory 203. Also in this case, the image data for explanation corresponding to each button may be prepared in advance, and the explanation data generation unit 202c may read the image data for explanation and store it in the memory 203.

ファイル生成部202dは、メモリ203に記録されているプログラムのデータをヘッダー部に格納し、説明用の画像データをデータ部に格納した図2で上述したデータ構造の画像ファイルを生成する。そして、ファイル生成部202dは、生成した画像ファイルをメモリカードインターフェース204へ出力し、メモリカードに書き込む。これによって、第1の実施の形態で上述したカメラ100で読み込み可能な画像ファイルを生成することができる。   The file generation unit 202d generates the image file having the data structure described above with reference to FIG. 2 in which the program data recorded in the memory 203 is stored in the header portion and the image data for explanation is stored in the data portion. Then, the file generation unit 202d outputs the generated image file to the memory card interface 204 and writes it to the memory card. As a result, an image file that can be read by the camera 100 described in the first embodiment can be generated.

図9は、図8とは異なる形態のファイル生成用画面の具体例を示す図である。この図9に示すファイル生成用画面では、使用者は、カメラ側で表示する標準の使用言語をカメラメニューの使用言語欄9aで選択する。そして、機能選択欄9bにおいて、ファームウェアをアップデートすることによってカメラに追加したい機能を選択する。すなわち、使用者は、入力装置201を操作して、機能選択欄9b内に表示されている選択可能な機能のうち、カメラに追加したい機能にのみチェックを入れる。使用者は、言語の選択、および機能の選択を完了した後に、Firmware作成ボタン9cを押下して、ファームウェアアップデート用のプログラムの作成を指示する。   FIG. 9 is a diagram showing a specific example of a file generation screen in a form different from that in FIG. In the file generation screen shown in FIG. 9, the user selects a standard language to be displayed on the camera side in the language menu 9a of the camera menu. Then, in the function selection column 9b, the function to be added to the camera is selected by updating the firmware. In other words, the user operates the input device 201 to check only the functions to be added to the camera among the selectable functions displayed in the function selection field 9b. After completing the selection of the language and the function, the user presses the Firmware creation button 9c to instruct the creation of a firmware update program.

プログラム生成部202bは、使用者によってFirmware作成ボタン9cが押下されたことを検出すると、カメラメニューの使用言語欄9aで選択された言語用のファームウェアであって、かつ機能選択欄9bで選択された機能をカメラに追加するためのファームウェアをカメラに提供するためのプログラムを生成して、メモリ203に記録する。また、説明用データ生成部202cは、カメラメニューの使用言語欄9aで選択された言語でプログラムの説明を表示した画像データを生成して、メモリ203に記録する。   When the program generation unit 202b detects that the firmware creation button 9c has been pressed by the user, it is firmware for the language selected in the language selection field 9a of the camera menu and is selected in the function selection field 9b. A program for providing the camera with firmware for adding a function to the camera is generated and recorded in the memory 203. Further, the explanation data generation unit 202 c generates image data in which the explanation of the program is displayed in the language selected in the use language column 9 a of the camera menu, and records it in the memory 203.

ファイル生成部202dは、メモリ203に記録されているプログラムのデータをヘッダー部に格納し、説明用の画像データをデータ部に格納した画像ファイルを生成する。そして、ファイル生成部202dは、生成した画像ファイルをメモリカードインターフェース204へ出力し、メモリカードに書き込む。これによって、使用者が任意に選択した機能をカメラに追加するためのプログラムをヘッダー部に含む画像ファイルを生成することができる。   The file generation unit 202d stores the program data recorded in the memory 203 in the header portion, and generates an image file in which the image data for explanation is stored in the data portion. Then, the file generation unit 202d outputs the generated image file to the memory card interface 204 and writes it to the memory card. As a result, an image file including a program for adding a function arbitrarily selected by the user to the camera in the header portion can be generated.

なお、ファイル生成用画面は、図8および図9のいずれか一方を採用するようにしてもよく、使用者が目的に応じて選択できるようにしてもよい。これらの図8または図9に示すファイル生成用画面で画像ファイルを生成することによって、生成した画像ファイルを読み込んだカメラで実行する処理を指定して、指定した処理のみを実行するためプログラムを生成することができる。   Note that either one of FIG. 8 and FIG. 9 may be adopted as the file generation screen, or the user may select it according to the purpose. By generating an image file on the file generation screen shown in FIG. 8 or FIG. 9, a process to be executed by the camera that reads the generated image file is specified, and a program is generated to execute only the specified process. can do.

図10は、第2の実施の形態における制御装置202で実行される処理の流れを示すフローチャートである。図10に示す処理は、使用者によって入力装置201が操作され、ファイル生成アプリケーションの起動が指示されると起動するプログラム(データファイル生成用プログラム)として制御装置202によって実行される。   FIG. 10 is a flowchart illustrating a flow of processing executed by the control device 202 according to the second embodiment. The processing shown in FIG. 10 is executed by the control device 202 as a program (data file generation program) that starts when the user operates the input device 201 and gives an instruction to start a file generation application.

ステップS210において、表示制御部202aは、図8または図9に示すようなファイル生成用画面をモニタ205へ表示して、ステップS220へ進む。ステップS220では、プログラム生成部202bは、上述したように、図8におけるボタン8aまたは8bが押下されるか、あるいは図9におけるFirmware作成ボタン9cが押下されることによって、プログラムの生成が指示されたか否かを判断する。肯定判断した場合には、ステップS230へ進み、プログラム生成部202bは、使用者による指示に基づいてファームウェアアップデート用のプログラムを生成して、生成したプログラムのデータをメモリ203へ記憶する。その後、ステップS240へ進む。   In step S210, the display control unit 202a displays a file generation screen as shown in FIG. 8 or FIG. 9 on the monitor 205, and proceeds to step S220. In step S220, as described above, the program generation unit 202b has been instructed to generate a program by pressing the button 8a or 8b in FIG. 8 or by pressing the Firmware creation button 9c in FIG. Judge whether or not. When an affirmative determination is made, the process proceeds to step S230, where the program generation unit 202b generates a firmware update program based on an instruction from the user, and stores the generated program data in the memory 203. Thereafter, the process proceeds to step S240.

ステップS240では、説明用データ生成部202cは、プログラム生成部202bで生成したプログラムの説明を表示したプログラムの説明用の画像データを生成して、メモリ203へ記録する。その後、ステップS250へ進み、ファイル生成部202dは、メモリ203に記録されているプログラムのデータをヘッダー部に格納し、説明用の画像データをデータ部に格納した図2で上述したデータ構造の画像ファイルを生成して、ステップS260へ進む。ステップS260では、ファイル生成部202dは、生成した画像ファイルをメモリカードインターフェース204へ出力してメモリカードに書き込み、処理を終了する。   In step S240, the explanation data generation unit 202c generates image data for explanation of the program displaying the explanation of the program generated by the program generation unit 202b, and records it in the memory 203. Thereafter, the process proceeds to step S250, in which the file generation unit 202d stores the program data recorded in the memory 203 in the header part and the image data structure described above with reference to FIG. 2 in which the image data for explanation is stored in the data part. A file is generated and the process proceeds to step S260. In step S260, the file generation unit 202d outputs the generated image file to the memory card interface 204, writes it in the memory card, and ends the process.

以上説明した第2の実施の形態によれば、以下のような作用効果を得ることができる。
(1)プログラム生成部202bは、ファイル生成用画面での使用者による機能の選択内容に基づいて、ヘッダー部とデータ部とを有する画像ファイルを読み込んだカメラ(装置)で実行する処理を指定し、指定した処理をカメラで実行するためのプログラムを生成するようにした。そして、ファイル生成部202dは、生成したプログラムのデータをヘッダー部に格納して画像ファイルを生成するようにした。これによって、使用者がカメラ上で実行したいと考えている処理を実行するためのプログラムデータをヘッダー部に含む画像ファイルを生成することができる。
According to the second embodiment described above, the following operational effects can be obtained.
(1) The program generation unit 202b specifies processing to be executed by the camera (device) that has read the image file having the header portion and the data portion, based on the function selection content by the user on the file generation screen. A program to execute the specified process with the camera was generated. Then, the file generation unit 202d stores the generated program data in the header part to generate an image file. Thus, an image file including program data for executing processing that the user wants to execute on the camera can be generated.

(2)説明用データ生成部202cは、プログラムの説明に関する説明用の画像データを生成し、画像ファイル生成部202dは、説明用の画像データを画像ファイルのデータ部に格納するようにした。これによって、ヘッダー部に含めたプログラムの説明を表示した画像データを含む画像ファイルを生成して、使用者に対してプログラムの説明を提示することができる。 (2) The explanation data generation unit 202c generates explanation image data relating to the explanation of the program, and the image file generation unit 202d stores the explanation image data in the data part of the image file. Accordingly, an image file including image data displaying the description of the program included in the header portion can be generated, and the description of the program can be presented to the user.

―変形例―
なお、上述した実施の形態のカメラは、以下のように変形することもできる。
(1)上述した第1の実施の形態では、表示制御部104bは、メモリカード内に複数の画像ファイルが記録されている場合には、その中からヘッダー部にプログラムデータを含む画像ファイルのみを抽出してモニタ107へ一覧表示する例について説明した。しかしながら、表示制御部104bは、メモリカード内に複数の画像ファイルが記録されている場合には、メモリカードに記録されている画像ファイルに対応する画像を全て表示し、その中のヘッダー部にプログラムデータを含む画像ファイルに対応する画像のみ表示形態を変更するようにしてもよい。例えば、ヘッダー部にプログラムデータを含む画像ファイルに対応する画像のみを枠で囲んだり、プログラムデータを含む旨を示す情報、例えばアイコンを画像に対応付けて表示したりしてもよい。
-Modification-
The camera according to the above-described embodiment can be modified as follows.
(1) In the first embodiment described above, when a plurality of image files are recorded in the memory card, the display control unit 104b selects only an image file including program data in the header portion from among them. The example of extracting and displaying the list on the monitor 107 has been described. However, when a plurality of image files are recorded in the memory card, the display control unit 104b displays all the images corresponding to the image files recorded in the memory card, and the program in the header portion therein Only the image corresponding to the image file including data may be changed in the display form. For example, only an image corresponding to an image file including program data in the header portion may be surrounded by a frame, or information indicating that the program data is included, for example, an icon may be displayed in association with the image.

(2)上述した第1の実施の形態では、画像ファイルをカメラ100で読み込んで、ヘッダー部に含まれるプログラムデータを実行する例について説明した。しかしながら、画像ファイルを読み込んで表示できる情報処理装置であれば、カメラ以外の装置にも本発明は適用可能である。 (2) In the above-described first embodiment, the example in which the image file is read by the camera 100 and the program data included in the header portion is executed has been described. However, the present invention can be applied to apparatuses other than cameras as long as the information processing apparatus can read and display an image file.

(3)上述した第1および第2の実施の形態では、ヘッダー部とデータ部を有する画像ファイルのヘッダー部にプログラムデータを格納し、データ部にプログラムの説明用の画像データを格納しておき、これを読み込んだカメラ100では、データ部に含まれるプログラムの説明用の画像データを読み込んで画像をモニタ107に表示する例について説明した。しかしながら、本発明の対象は画像ファイルに限定されない。すなわち、ヘッダー部とデータ部を有するデータファイルのヘッダー部にプログラムデータを格納し、データ部にプログラムの説明用データを格納するようにすれば、当該データファイルは画像ファイルに限定されない。 (3) In the first and second embodiments described above, program data is stored in the header portion of an image file having a header portion and a data portion, and image data for explaining the program is stored in the data portion. In the camera 100 that has read this, an example has been described in which image data for explanation of a program included in the data portion is read and an image is displayed on the monitor 107. However, the subject of the present invention is not limited to image files. That is, if the program data is stored in the header portion of the data file having the header portion and the data portion and the data for explaining the program is stored in the data portion, the data file is not limited to the image file.

例えば、データファイルは、プログラムの説明用音声を記録した音声データを説明用データとした音声ファイルとしてもよい。この場合、表示制御部104cは、音声ファイルのヘッダー部にプログラムデータを含むと判定した場合には、音声ファイルのファイル名などの各ファイルを識別するための情報をモニタ107に表示する。そして、使用者が表示されたいずれかのファイル名を操作部材を操作して選択すると、そのファイル名に対応した説明用の音声データをデータ部から読み込んで、不図示のスピーカーから出力する。これによって、使用者に対してプログラムの説明を音声によって提供することができる。   For example, the data file may be an audio file in which audio data in which audio for explaining the program is recorded is used as explanatory data. In this case, when the display control unit 104c determines that the program data is included in the header portion of the audio file, the display control unit 104c displays information for identifying each file such as the file name of the audio file on the monitor 107. When one of the displayed file names is selected by operating the operation member, the audio data for explanation corresponding to the file name is read from the data portion and output from a speaker (not shown). Thereby, the description of the program can be provided to the user by voice.

使用者が音声による説明を確認した後、実行したいプログラムに対応するファイル名を選択すると、プログラム実行部104cは、選択されたファイル名に対応する音声ファイルのヘッダー部からプログラムデータを読み込んで実行する。なお、上述した変形例(2)と同様に、この変形例(3)もカメラ以外の機器、例えば音楽プレイヤーなどに適用可能である。   When the user confirms the description by voice and then selects a file name corresponding to the program to be executed, the program execution unit 104c reads and executes the program data from the header portion of the audio file corresponding to the selected file name. . Similar to the above-described modification (2), this modification (3) can also be applied to devices other than cameras, such as a music player.

(4)上述した第2の実施の形態では、データファイル生成装置200は、例えばサーバーが用いられ、生成した画像ファイルをメモリカードインターフェース204に挿入されたメモリカードへ記録する例について説明した。すなわち、使用者はサーバー上で画像ファイルを生成して、サーバーに搭載されたメモリカードインターフェース204を使用してメモリカードに画像ファイルを書き込む例について説明した。しかしながら、データファイル生成装置200として、ネットワーク、例えばインターネットに接続されたサーバーを用い、使用者はパソコンからデータファイル生成装置200として機能するサーバーにアクセスして画像ファイルを生成するようにしてもよい。そして、サーバー上で生成した画像ファイルをパソコンにダウンロードし、パソコンに搭載されたメモリカードインターフェースを使用してメモリカードに画像ファイルを書き込むようにしてもよい。 (4) In the above-described second embodiment, the data file generating apparatus 200 has been described as an example in which a server is used and the generated image file is recorded on a memory card inserted into the memory card interface 204. That is, an example has been described in which the user generates an image file on the server and writes the image file to the memory card using the memory card interface 204 mounted on the server. However, a server connected to a network, for example, the Internet may be used as the data file generating apparatus 200, and the user may access a server functioning as the data file generating apparatus 200 from a personal computer to generate an image file. Then, the image file generated on the server may be downloaded to a personal computer, and the image file may be written to the memory card using a memory card interface installed in the personal computer.

例えば、データファイル生成装置200としてのサーバーは、インターネット上で上述した画像ファイル生成画面を表示するホームページを提供し、使用者は当該ホームページにアクセスして画像ファイルを生成する。そして、使用者は、生成した画像ファイルをホームページからダウンロードしてパソコンに取り込み、メモリカードに記録するようにする。これによって、多くの使用者がネットワークを介してサーバーにアクセスし、画像ファイルの生成を行うことができるようになる。   For example, the server as the data file generation device 200 provides a home page that displays the above-described image file generation screen on the Internet, and the user accesses the home page to generate an image file. Then, the user downloads the generated image file from the home page, loads it into the personal computer, and records it on the memory card. As a result, many users can access the server via the network and generate an image file.

なお、本発明の特徴的な機能を損なわない限り、本発明は、上述した実施の形態における構成に何ら限定されない。   Note that the present invention is not limited to the configurations in the above-described embodiments as long as the characteristic functions of the present invention are not impaired.

カメラの一実施の形態の構成を示すブロック図である。It is a block diagram which shows the structure of one Embodiment of a camera. 画像ファイルのデータ構造を模式的に示した図である。It is the figure which showed the data structure of the image file typically. メモリカード内に4枚のヘッダー部にプログラムデータを含む画像ファイルが含まれていた場合のモニタ107の表示例を示す図である。It is a figure which shows the example of a display of the monitor 107 when the image file containing program data is contained in the header part of 4 sheets in the memory card. 使用者が操作部材101を操作して画像3cを選択したときに、表示制御装置104bが画像3cを全画面表示した場合の具体例を示す図である。FIG. 10 is a diagram illustrating a specific example when the display control device 104b displays the image 3c in full screen when the user operates the operation member 101 to select the image 3c. 使用者に対してプログラムを実行するか否かを確認するためのメッセージ5aを表示した場合の具体例を示す図である。It is a figure which shows the specific example at the time of displaying the message 5a for confirming whether a program is run with respect to a user. 第1の実施の形態における制御措置104で実行される処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the process performed by the control measure 104 in 1st Embodiment. 第2の実施の形態におけるデータファイル生成装置の位置実施の形態の構成を示すブロック図である。It is a block diagram which shows the structure of position embodiment of the data file production | generation apparatus in 2nd Embodiment. ファイル生成用画面の具体例を示す第1の図である。It is a 1st figure which shows the specific example of the screen for file generation. ファイル生成用画面の具体例を示す第2の図である。It is a 2nd figure which shows the specific example of the screen for file generation. 第2の実施の形態における制御措置202で実行される処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the process performed by the control measure 202 in 2nd Embodiment.

符号の説明Explanation of symbols

100 カメラ、101 操作部材、102 レンズ、103 撮像素子、104、202 制御装置、104a ファイル読み込み部、104b、202a 表示制御部、104c プログラム実行部、105、203 メモリ、106 メモリカードスロット、107、205 モニタ、200 データファイル生成装置、201 入力装置、202b プログラム生成部、202c 説明用データ生成部、202d ファイル生成部、204 メモリカードインターフェース 100 Camera, 101 Operation member, 102 Lens, 103 Image sensor, 104, 202 Control device, 104a File reading unit, 104b, 202a Display control unit, 104c Program execution unit, 105, 203 Memory, 106 Memory card slot, 107, 205 Monitor, 200 Data file generation device, 201 Input device, 202b Program generation unit, 202c Explanation data generation unit, 202d File generation unit, 204 Memory card interface

Claims (15)

記録媒体からヘッダー部とデータ部とを有する画像ファイルを読み込む読込手段と、
前記読込手段で読み込んだ前記画像ファイルの前記ヘッダー部に、実行可能なプログラムを記述したプログラムデータが含まれているか否かを判定する判定手段と、
前記判定手段で前記ヘッダー部に前記プログラムデータが含まれていると判定した場合には、前記プログラムデータを読み込んで前記プログラムを実行する実行手段とを備えることを特徴とするカメラ。
Reading means for reading an image file having a header portion and a data portion from a recording medium;
Determining means for determining whether or not program data describing an executable program is included in the header portion of the image file read by the reading means;
When the determination unit determines that the program data is included in the header portion, the camera includes an execution unit that reads the program data and executes the program.
請求項1に記載のカメラにおいて、
前記データ部には、前記ヘッダー部に含まれる前記プログラムの説明を表示した説明用の画像データを含み、
前記判定手段で前記ヘッダー部に前記プログラムデータが含まれていると判定した場合には、前記データ部から前記説明用の画像データを読み込んで表示装置に表示する表示制御手段をさらに備えることを特徴とするカメラ。
The camera of claim 1,
The data portion includes image data for explanation that displays an explanation of the program included in the header portion,
When the determination unit determines that the program data is included in the header portion, the display unit further includes a display control unit that reads the image data for explanation from the data portion and displays it on a display device. Camera.
請求項2に記載のカメラにおいて、
前記記録媒体に複数の画像ファイルが記録され、各ファイルの前記ヘッダー部に前記プログラムデータが含まれている場合には、前記表示制御手段は、前記複数の画像ファイルの前記データ部から前記説明用の画像データをそれぞれ読み込んで前記表示装置に表示し、
前記実行手段は、前記表示装置上で使用者によって選択された前記説明用の画像データを含む前記画像ファイルの前記ヘッダー部から前記プログラムデータを読み込んで前記プログラムを実行することを特徴とするカメラ。
The camera according to claim 2,
When a plurality of image files are recorded on the recording medium and the program data is included in the header portion of each file, the display control means starts from the data portion of the plurality of image files for the explanation. Each image data is read and displayed on the display device,
The execution unit reads the program data from the header portion of the image file including the image data for description selected by the user on the display device, and executes the program.
ヘッダー部とデータ部とを有するデータファイルを読み込む読込手段と、
前記読込手段で読み込んだ前記データファイルの前記ヘッダー部に、実行可能なプログラムを記述したプログラムデータが含まれているか否かを判定する判定手段と、
前記判定手段で前記ヘッダー部に前記プログラムデータが含まれていると判定した場合には、前記プログラムデータを読み込んで前記プログラムを実行する実行手段とを備えることを特徴とする情報処理装置。
Reading means for reading a data file having a header portion and a data portion;
Determining means for determining whether or not program data describing an executable program is included in the header portion of the data file read by the reading means;
An information processing apparatus comprising: an execution unit that reads the program data and executes the program when the determination unit determines that the program data is included in the header portion.
請求項4に記載の情報処理装置において、
前記データ部には、前記ヘッダー部に含まれる前記プログラムの説明に関する説明用データを含み、
前記判定手段で前記ヘッダー部に前記プログラムデータが含まれていると判定した場合には、前記データ部から前記説明用データを読み込んで、使用者に前記プログラムの説明を提示する提示手段をさらに備えることを特徴とする情報処理装置。
The information processing apparatus according to claim 4,
The data portion includes explanatory data related to the description of the program included in the header portion,
When the determination means determines that the program data is included in the header portion, the information processing device further includes a presentation means for reading the explanation data from the data portion and presenting the explanation of the program to the user. An information processing apparatus characterized by that.
請求項5に記載の情報処理装置において、
前記記録媒体に複数のデータファイルが記録され、各ファイルの前記ヘッダー部に前記プログラムデータが含まれている場合には、前記提示手段は、前記複数のデータファイルの前記データ部から前記説明用データを読み込んで、使用者にそれぞれの前記プログラムの説明を提示し、
前記実行手段は、使用者によって選択された前記説明用データを含む前記データファイルの前記ヘッダー部から前記プログラムデータを読み込んで前記プログラムを実行することを特徴とする情報処理装置。
The information processing apparatus according to claim 5,
In the case where a plurality of data files are recorded on the recording medium and the program data is included in the header portion of each file, the presenting means transmits the explanation data from the data portion of the plurality of data files. And present the description of each program to the user,
The information processing apparatus, wherein the execution unit reads the program data from the header portion of the data file including the explanatory data selected by a user and executes the program.
請求項6に記載の情報処理装置において、
前記データファイルは、前記プログラムの説明を表示した画像データを前記説明用データとした画像ファイル、および前記プログラムの説明用音声を記録した音声データを前記説明用データとした音声ファイルのいずれかであることを特徴とする情報処理装置。
The information processing apparatus according to claim 6,
The data file is either an image file in which image data displaying the explanation of the program is used as the explanation data, or an audio file in which voice data in which explanation audio for the program is recorded is used as the explanation data. An information processing apparatus characterized by that.
ヘッダー部とデータ部とを有するデータファイルのデータ構造であって、
前記ヘッダー部には当該データファイルを読み込んだ装置で実行可能なプログラムを記述したプログラムデータを含み、
前記データ部には当該データファイルを読み込んだ装置で出力可能な前記プログラムの説明に関する説明用データを含むことを特徴とするデータファイルのデータ構造。
A data structure of a data file having a header part and a data part,
The header portion includes program data describing a program that can be executed by the device that has read the data file,
A data structure of a data file, wherein the data portion includes explanatory data relating to the description of the program that can be output by a device that has read the data file.
請求項8に記載のデータファイルのデータ構造において、
前記データファイルは、前記プログラムの説明を表示した画像データを前記説明用データとした画像ファイル、および前記プログラムの説明用音声を記録した音声データを前記説明用データとした音声ファイルのいずれかであることを特徴とするデータファイルのデータ構造。
The data structure of the data file according to claim 8,
The data file is either an image file in which image data displaying the explanation of the program is used as the explanation data, or an audio file in which voice data in which explanation audio for the program is recorded is used as the explanation data. The data structure of the data file characterized by that.
ヘッダー部とデータ部とを有するデータファイルを生成するデータファイル生成手段と、
前記データファイルを読み込んだ装置で実行する処理を指定する指定手段と、
前記指定手段で指定した前記処理を、前記データファイルを読み込んだ装置で実行するためのプログラムを生成するプログラム生成手段とを備え、
前記データファイル生成手段は、前記プログラム生成手段で生成したプログラムのデータを前記ヘッダー部に格納して前記データファイルを生成することを特徴とするデータファイル生成装置。
Data file generating means for generating a data file having a header portion and a data portion;
A designation means for designating processing to be executed by the device that has read the data file;
Program generation means for generating a program for executing the processing specified by the specifying means on the device that has read the data file;
The data file generation device is characterized in that the data file generation means stores the data of the program generated by the program generation means in the header part to generate the data file.
請求項10に記載のデータファイル生成装置において、
前記プログラムの説明に関する説明用データを生成する説明用データ生成手段をさらに備え、
前記データファイル生成手段は、前記説明用データ生成手段で生成した前記説明用データを、前記データファイルの前記データ部に格納することを特徴とするデータファイル生成装置。
The data file generation device according to claim 10,
Further comprising explanatory data generating means for generating explanatory data relating to the description of the program,
The data file generating device stores the explanatory data generated by the explanatory data generating unit in the data part of the data file.
請求項11に記載のデータファイル生成装置において、
前記データファイルは、前記プログラムの説明を表示した画像データを前記説明用データとした画像ファイル、および前記プログラムの説明用音声を記録した音声データを前記説明用データとした音声ファイルのいずれかであることを特徴とするデータファイル生成装置。
The data file generation device according to claim 11,
The data file is either an image file in which image data displaying the explanation of the program is used as the explanation data, or an audio file in which voice data in which explanation audio for the program is recorded is used as the explanation data. A data file generation device characterized by that.
コンピュータに、
ヘッダー部とデータ部とを有するデータファイルを生成するデータファイル生成手順と、
前記データファイルを読み込んだ装置で実行する処理を指定する指定手順と、
前記指定手順で指定した前記処理を、前記データファイルを読み込んだ装置で実行するためのプログラムを生成するプログラム生成手順とを実行させ、
前記データファイル生成手順は、前記プログラム生成手順で生成したプログラムのデータを前記ヘッダー部に格納して前記データファイルを生成することを特徴とするデータファイル生成用プログラム。
On the computer,
A data file generation procedure for generating a data file having a header portion and a data portion;
A specification procedure for specifying a process to be executed by the device that has read the data file;
A program generation procedure for generating a program for executing the processing specified in the specification procedure on the device that has read the data file;
In the data file generation procedure, the data file is generated by storing the data of the program generated in the program generation procedure in the header portion.
請求項13に記載のデータファイル生成用プログラムにおいて、
コンピュータに、
前記プログラムの説明に関する説明用データを生成する説明用データ生成手順をさらに実行させ、
前記データファイル生成手順は、前記説明用データ生成手順で生成した前記説明用データを、前記データファイルの前記データ部に格納することを特徴とするデータファイル生成用プログラム。
In the data file generating program according to claim 13,
On the computer,
Further executing an explanation data generation procedure for generating explanation data relating to the explanation of the program,
In the data file generation procedure, the explanation data generated in the explanation data generation procedure is stored in the data portion of the data file.
請求項14に記載のデータファイル生成用プログラムにおいて、
前記データファイルは、前記プログラムの説明を表示した画像データを前記説明用データとした画像ファイル、および前記プログラムの説明用音声を記録した音声データを前記説明用データとした音声ファイルのいずれかであることを特徴とするデータファイル生成用プログラム。
In the data file generating program according to claim 14,
The data file is either an image file in which image data displaying the explanation of the program is used as the explanation data, or an audio file in which voice data in which explanation audio for the program is recorded is used as the explanation data. A data file generation program characterized by that.
JP2007028052A 2007-02-07 2007-02-07 Camera, information processing apparatus, data structure of data file, data file generation device, and program for data file generation Pending JP2008193582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007028052A JP2008193582A (en) 2007-02-07 2007-02-07 Camera, information processing apparatus, data structure of data file, data file generation device, and program for data file generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007028052A JP2008193582A (en) 2007-02-07 2007-02-07 Camera, information processing apparatus, data structure of data file, data file generation device, and program for data file generation

Publications (1)

Publication Number Publication Date
JP2008193582A true JP2008193582A (en) 2008-08-21

Family

ID=39753213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007028052A Pending JP2008193582A (en) 2007-02-07 2007-02-07 Camera, information processing apparatus, data structure of data file, data file generation device, and program for data file generation

Country Status (1)

Country Link
JP (1) JP2008193582A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015133076A (en) * 2014-01-15 2015-07-23 カシオ計算機株式会社 Terminal equipment, function setting system, function setting method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015133076A (en) * 2014-01-15 2015-07-23 カシオ計算機株式会社 Terminal equipment, function setting system, function setting method, and program

Similar Documents

Publication Publication Date Title
US8795089B2 (en) Game device, image processing method, and information recording medium
JP4354806B2 (en) Moving image management apparatus and method
JP2008206138A (en) Imaging apparatus and image processor
JP2006245832A (en) Image reproducing apparatus
JP2005157615A (en) Imaging device, image processor and image processing program
JP2008010979A (en) Camera apparatus
JP2006311067A (en) Electronic camera apparatus and history file creating method
JP4674728B2 (en) Image selecting apparatus, image selecting apparatus control method, program, and recording medium
JP7146428B2 (en) Image recording device and its control method
JP2008193582A (en) Camera, information processing apparatus, data structure of data file, data file generation device, and program for data file generation
JP5556260B2 (en) Image recording apparatus and image recording program
JP2008263425A (en) Data recorder and data recording program
JP5141447B2 (en) Image display device and image display program
JP2008005344A (en) File management system, imaging apparatus, external apparatus, and file management method, program, and computer readable storage medium
JP2011087221A (en) Camera
JP2007067949A (en) Image reproducing system image reproducing apparatus, imaging device and information processor
JP2006339935A (en) Video camera
JP2020088510A (en) Image recording device and control method of the same
JP2012023612A (en) Imaging apparatus and imaging method
JP2010183351A (en) Image data holding apparatus, and image processing program
KR100621529B1 (en) Apparatus and method for setting OSD background image in home video device
JP2008219425A (en) Image processor and image processing method
JP2004304776A (en) Image capture apparatus
JP2005086763A (en) Image display control apparatus, digital camera and image display control program
JP2003125347A (en) Digital camera