JP5125133B2 - Image processing apparatus, imaging apparatus, and program - Google Patents

Image processing apparatus, imaging apparatus, and program Download PDF

Info

Publication number
JP5125133B2
JP5125133B2 JP2007026575A JP2007026575A JP5125133B2 JP 5125133 B2 JP5125133 B2 JP 5125133B2 JP 2007026575 A JP2007026575 A JP 2007026575A JP 2007026575 A JP2007026575 A JP 2007026575A JP 5125133 B2 JP5125133 B2 JP 5125133B2
Authority
JP
Japan
Prior art keywords
image
metadata
image data
data
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007026575A
Other languages
Japanese (ja)
Other versions
JP2008193465A (en
Inventor
智之 小川
盛宏 高木
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 JP2007026575A priority Critical patent/JP5125133B2/en
Priority to US12/219,914 priority patent/US20090282365A1/en
Publication of JP2008193465A publication Critical patent/JP2008193465A/en
Priority to US13/177,230 priority patent/US20110261244A1/en
Application granted granted Critical
Publication of JP5125133B2 publication Critical patent/JP5125133B2/en
Priority to US15/598,994 priority patent/US20170264826A1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像処理装置、撮像装置およびプログラムに関する。
The present invention, images processing device, an imaging device and program.

一般的な電子カメラには、撮像した画像をモニタに再生表示する機能が従来から実装されている。また、電子カメラでの画像の再生に関し、画像間の関連付けを示すリンク情報のテーブルを画像のデータとは別に記録しておき、このリンク情報に基づいて関連性のある画像を連続的に表示する構成も提案されている。例えば、特許文献1に上述の電子カメラの一例が開示されている。
特開2000−4420号公報
Conventional electronic cameras have a function of reproducing and displaying captured images on a monitor. In addition, regarding image reproduction with an electronic camera, a link information table indicating association between images is recorded separately from image data, and related images are continuously displayed based on the link information. A configuration is also proposed. For example, Patent Document 1 discloses an example of the above-described electronic camera.
JP 2000-4420 A

しかし、従来の電子カメラでは、画像ファイルとは別にリンク情報のテーブルを用意して画像ファイル間の関連性を管理する。そのため、記録媒体に記録されたリンク情報のテーブルの容量で、画像ファイルの記録数がその分制約されうる点で改善の余地があった
However, in the conventional electronic camera, a link information table is prepared separately from the image file to manage the relationship between the image files. For this reason, there is room for improvement in that the number of recorded image files can be limited by the capacity of the link information table recorded on the recording medium .

請求項1に記載の画像処理装置は、第1画像データ及び前記第1画像データに画像処理を施して生成された第2画像データの存在を示す第1メタデータを含む第1画像ファイルと、前記第2画像データ及び前記第2画像データが前記第1画像データに画像処理を施して生成されたことを示す第2メタデータを含む第2画像ファイルとを読み込む読込部と、前記第2画像データに基づく第2画像を表示装置に表示している場合、ユーザー操作により第1表示切替指示がなされたときは、前記第2メタデータに基づいて、前記第2画像を前記第1画像データに基づく第1画像に切り替えて前記表示装置に表示するよう制御する制御部とを備え、前記読込部は、前記第1画像データに画像処理を施して生成された第4画像データ及び前記第4画像データが前記第1画像データに画像処理を施して生成されたことを示す第4メタデータを含む第4画像ファイルを読み込み、前記制御部は、前記第2画像を前記表示装置に表示している際にユーザー操作により第3表示切替指示がなされた場合、前記第1画像を前記第2メタデータに基づいて切り替えることで前記第2画像を前記表示装置に表示していたときは、前記第2メタデータ及び前記第4メタデータに基づいて、前記第2画像を前記第4画像に切り替えて前記表示装置に表示し、前記第1画像を前記第2メタデータに基づかないで切り替えることで前記第2画像を前記表示装置に表示していたときは、前記第2メタデータ及び前記第4メタデータに基づくことなく、前記第2画像を所定の規則に基づいて指定された画像に切り替えて前記表示装置に表示することを特徴とする。 The image processing apparatus according to claim 1, wherein the first image file includes first image data and first metadata indicating presence of second image data generated by performing image processing on the first image data; A reading unit for reading the second image data and a second image file including second metadata indicating that the second image data is generated by performing image processing on the first image data; and the second image When a second image based on data is displayed on the display device, when a first display switching instruction is given by a user operation, the second image is converted into the first image data based on the second metadata. A control unit that controls to switch to the first image based on the first image and displays the image on the display device , wherein the reading unit performs fourth image data generated by performing image processing on the first image data and the fourth image. De Reads a fourth image file including fourth metadata indicating that the first image data is generated by performing image processing on the first image data, and the control unit displays the second image on the display device. When a third display switching instruction is given by a user operation, the second image is displayed on the display device by switching the first image based on the second metadata. Based on the metadata and the fourth metadata, the second image is switched to the fourth image and displayed on the display device, and the first image is switched without being based on the second metadata. When two images are displayed on the display device, the second image is switched to an image designated based on a predetermined rule without being based on the second metadata and the fourth metadata. And displaying on the display device.

請求項に記載の撮像装置は、被写体を撮像して画像データを生成する撮像部と、請求項1から請求項のいずれか一項に記載の画像処理装置とを備えることを特徴とする。 The imaging device according to claim 5 includes an imaging unit that captures an image of a subject and generates image data, and the image processing device according to any one of claims 1 to 4. .

請求項に記載のプログラムは、第1画像データ及び前記第1画像データに画像処理を施して生成された第2画像データの存在を示す第1メタデータを含む第1画像ファイルと、前記第2画像データ及び前記第2画像データが前記第1画像データに画像処理を施して生成されたことを示す第2メタデータを含む第2画像ファイルとを読み込む読込ステップと、前記第2画像データに基づく第2画像を表示装置に表示している場合、ユーザー操作により第1表示切替指示がなされたときは、前記第2メタデータに基づいて、前記第2画像を前記第1画像データに基づく第1画像に切り替えて前記表示装置に表示するよう制御する制御ステップとをコンピュータに実行させ、前記読込ステップは、前記第1画像データに画像処理を施して生成された第4画像データ及び前記第4画像データが前記第1画像データに画像処理を施して生成されたことを示す第4メタデータを含む第4画像ファイルを読み込み、前記制御ステップは、前記第2画像を前記表示装置に表示している際にユーザー操作により第3表示切替指示がなされた場合、前記第1画像を前記第2メタデータに基づいて切り替えることで前記第2画像を前記表示装置に表示していたときは、前記第2メタデータ及び前記第4メタデータに基づいて、前記第2画像を前記第4画像に切り替えて前記表示装置に表示し、前記第1画像を前記第2メタデータに基づかないで切り替えることで前記第2画像を前記表示装置に表示していたときは、前記第2メタデータ及び前記第4メタデータに基づくことなく、前記第2画像を所定の規則に基づいて指定された画像に切り替えて前記表示装置に表示することを特徴とする。
The program according to claim 6 includes a first image file including first image data and first metadata indicating presence of second image data generated by performing image processing on the first image data; A reading step of reading a second image file including second metadata indicating that the second image data and the second image data are generated by performing image processing on the first image data; In the case where the second image based is displayed on the display device, when a first display switching instruction is given by a user operation, the second image is based on the first image data based on the second metadata. to execute a control step of controlling to display on the display device is switched to the single image to the computer, the reading step is generated by performing image processing on the first image data A fourth image file including fourth metadata indicating that the fourth image data and the fourth image data are generated by performing image processing on the first image data is read, and the control step includes the second image Is displayed on the display device, and a third display switching instruction is given by a user operation, the second image is displayed on the display device by switching the first image based on the second metadata. The second image is switched to the fourth image based on the second metadata and the fourth metadata and displayed on the display device, and the first image is displayed on the second metadata. When the second image is displayed on the display device by switching without being based on the second metadata, the second image is not based on the second metadata and the fourth metadata. And displaying on the display device is switched to the specified image based on.

図1は、本実施形態の電子カメラの構成を示すブロック図である。また、図2は、本実施形態の電子カメラの背面部の構成を示す図である。
電子カメラは、撮像光学系11と、撮像素子12と、アナログ信号処理部13と、バッファメモリ14と、画像処理部15と、記録I/F16と、CPU17と、モニタ18と、レリーズ釦19および操作部材20と、バス21とを有している。ここで、バッファメモリ14、画像処理部15、記録I/F16、CPU17およびモニタ18は、それぞれバス21を介して接続されている。なお、レリーズ釦19および操作部材20は、それぞれCPU17に接続されている。
FIG. 1 is a block diagram showing the configuration of the electronic camera of this embodiment. FIG. 2 is a diagram illustrating the configuration of the back surface of the electronic camera of the present embodiment.
The electronic camera includes an imaging optical system 11, an imaging device 12, an analog signal processing unit 13, a buffer memory 14, an image processing unit 15, a recording I / F 16, a CPU 17, a monitor 18, a release button 19, and An operation member 20 and a bus 21 are provided. Here, the buffer memory 14, the image processing unit 15, the recording I / F 16, the CPU 17, and the monitor 18 are each connected via a bus 21. The release button 19 and the operation member 20 are each connected to the CPU 17.

撮像素子12は、撮像光学系11の像空間側に配置されている。撮像素子12は、撮像光学系11を通過した光束による被写体像を光電変換してアナログの画像信号を生成する。この撮像素子12の出力はアナログ信号処理部13に接続されている。
アナログ信号処理部13は、撮像素子12の出力に対してアナログ信号処理を施すアナログフロントエンド回路である。このアナログ処理部は、相関二重サンプリングや、画像信号のゲインの調整や、画像信号のA/D変換を行う。また、アナログ信号処理部13の出力はバッファメモリ14に接続されている。バッファメモリ14は、画像処理部15による画像処理の前後で撮影画像のデータなどを一時的に記録する。
The imaging element 12 is disposed on the image space side of the imaging optical system 11. The image sensor 12 photoelectrically converts a subject image by a light beam that has passed through the imaging optical system 11 to generate an analog image signal. The output of the image sensor 12 is connected to an analog signal processing unit 13.
The analog signal processing unit 13 is an analog front-end circuit that performs analog signal processing on the output of the image sensor 12. This analog processing unit performs correlated double sampling, image signal gain adjustment, and A / D conversion of the image signal. The output of the analog signal processing unit 13 is connected to the buffer memory 14. The buffer memory 14 temporarily records captured image data before and after the image processing by the image processing unit 15.

画像処理部15は、デジタルの画像信号に対して各種の画像処理(ホワイトバランス補正、色補間処理、色補正、色変換処理、階調変換、輪郭強調処理、色空間変換など)を施すASICである。
また、画像処理部15は、後述の再生モードにおいて本画像のデータの編集処理を実行する。上記の編集処理では、画像処理部15は、編集元の本画像のデータに画像処理を施して、編集元の本画像とは別に新たな編集画像(編集元の画像に画像処理を施した画像)のデータを生成する。
The image processing unit 15 is an ASIC that performs various types of image processing (white balance correction, color interpolation processing, color correction, color conversion processing, gradation conversion, contour enhancement processing, color space conversion, etc.) on a digital image signal. is there.
In addition, the image processing unit 15 executes editing processing of main image data in a reproduction mode described later. In the editing process described above, the image processing unit 15 performs image processing on the original image data of the editing source, and creates a new edited image (an image obtained by performing image processing on the editing source image) separately from the editing source main image. ) Data.

なお、編集処理で画像処理部15が実行する画像処理の種類としては、例えば、輪郭強調処理、コントラスト補正処理、赤目補正処理、彩度調整処理、ノイズ低減処理、画像解析を伴う光量補正処理(画像解析の結果に基づき画像の暗部またはハイライト部を特定し、その特定部分の階調を主に調整する処理)、複数の画像から1つの画像を合成する画像合成処理、などが挙げられる。   Note that the types of image processing performed by the image processing unit 15 in the editing processing include, for example, contour enhancement processing, contrast correction processing, red-eye correction processing, saturation adjustment processing, noise reduction processing, and light amount correction processing with image analysis ( For example, a process of specifying a dark part or a highlight part of an image based on the result of image analysis and mainly adjusting the gradation of the specified part), an image composition process of composing one image from a plurality of images, and the like.

記録I/F16には、記録媒体22を接続するためのコネクタが形成されている。そして、記録I/F16は、コネクタに接続された記録媒体22に対してデータの書き込み/読み込みを実行する。上記の記録媒体22は、ハードディスクや、半導体メモリを内蔵したメモリカードなどで構成される。なお、図1では記録媒体22の一例としてメモリカードを図示する。   A connector for connecting the recording medium 22 is formed in the recording I / F 16. The recording I / F 16 executes data writing / reading with respect to the recording medium 22 connected to the connector. The recording medium 22 is composed of a hard disk, a memory card incorporating a semiconductor memory, or the like. In FIG. 1, a memory card is illustrated as an example of the recording medium 22.

CPU17は、電子カメラの統括的な制御を行うプロセッサである。CPU17は、動作モード(一例として撮像モード、再生モードなど)に対応するシーケンスプログラムに従って、電子カメラの各部動作を制御する。例えば、撮像モードでのCPU17は、本画像の撮像処理や、撮像前に必要となる各種演算(AF演算、AE演算、オートホワイトバランス演算など)を実行する。なお、上記の再生モードに関する説明は後述する。   The CPU 17 is a processor that performs overall control of the electronic camera. The CPU 17 controls the operation of each part of the electronic camera according to a sequence program corresponding to an operation mode (for example, an imaging mode, a playback mode, etc.). For example, the CPU 17 in the imaging mode executes the imaging process of the main image and various calculations (AF calculation, AE calculation, auto white balance calculation, etc.) required before imaging. The description regarding the playback mode will be described later.

また、CPU17は、Exif(Exchangeable image file format for digital still cameras)規格に準拠して画像ファイルの生成を行う。なお、CPU17によって生成された画像ファイルは上記の記録媒体22に記録される。
ここで、図3に、画像ファイルのデータ構造を模式的に示す。画像ファイルは、撮像条件(露光時間、絞り値、撮像感度など)をはじめとするメタデータを記録するヘッダ領域と、画像のデータを記録する画像領域とを有している。また、画像ファイルのヘッダ領域は、TIFFヘッダとデータ領域(IFD)とで構成される。
Further, the CPU 17 generates an image file in conformity with the Exif (Exchangeable image file format for digital still cameras) standard. Note that the image file generated by the CPU 17 is recorded in the recording medium 22 described above.
FIG. 3 schematically shows the data structure of the image file. The image file has a header area for recording metadata including imaging conditions (exposure time, aperture value, imaging sensitivity, etc.) and an image area for recording image data. The header area of the image file is composed of a TIFF header and a data area (IFD).

なお、画像ファイルに含まれるデータのうち、Exif規格で対応していないデータは、Exif規格のMakerNoteタグを利用して画像ファイルのヘッダ領域に記録される。
モニタ18は、CPU17の指示に応じて各種画像を表示する。図2に示すように、本実施形態でのモニタ18は、カメラ筐体の背面に設けられた液晶ディスプレイで構成される。なお、モニタ18の構成は、接眼部を備えた電子ファインダなどであってもよい。ここで、再生モードでのモニタ18には、画像ファイルの画像を再生した画面が表示される。
Of the data included in the image file, data that is not supported by the Exif standard is recorded in the header area of the image file using the MakeNote tag of the Exif standard.
The monitor 18 displays various images according to instructions from the CPU 17. As shown in FIG. 2, the monitor 18 in the present embodiment is composed of a liquid crystal display provided on the back surface of the camera housing. The configuration of the monitor 18 may be an electronic viewfinder having an eyepiece. Here, a screen on which an image of the image file is reproduced is displayed on the monitor 18 in the reproduction mode.

レリーズ釦19は、半押し操作によるAFの指示入力と、全押し操作によるレリーズタイミング(本画像の露光開始)の指示入力とをユーザーから受け付ける。
操作部材20は、図2に示すように、モードダイヤル23と、マルチセレクタ24と、複数の入力釦25とを有している。モードダイヤル23は、電子カメラの動作モードの切替操作をユーザーから受け付ける。
The release button 19 receives from the user an AF instruction input by half-press operation and an instruction input of release timing (exposure start of the main image) by full-press operation.
As illustrated in FIG. 2, the operation member 20 includes a mode dial 23, a multi-selector 24, and a plurality of input buttons 25. The mode dial 23 receives an operation for switching the operation mode of the electronic camera from the user.

また、マルチセレクタ24は、本体部24aと、決定釦24bと、ダイヤル部24cとを有している。マルチセレクタ24の本体部24aの全体形状は円形に形成されており、上下左右の4方向に傾斜可能に構成されている。この本体部24aは、例えば、再生モードにおいてモニタ18に表示する再生画像の切り替え操作をユーザーから受け付ける。マルチセレクタ24の決定釦24bは、マルチセレクタ24の中央に配置されている。マルチセレクタ24のダイヤル部24cは全体形状が環状に形成されており、決定釦24bの外周において回動可能に構成されている。このダイヤル部24cおよび決定釦24bは、例えば再生モードにおいて、GUI(Graphical User Interface)形式でモニタ18に表示されたアイコンの操作(項目の選択および項目の決定)をユーザーから受け付ける。   The multi-selector 24 includes a main body 24a, a determination button 24b, and a dial 24c. The overall shape of the main body 24a of the multi-selector 24 is formed in a circular shape, and can be inclined in four directions, up, down, left, and right. The main body 24a accepts, from the user, for example, a switching operation of a playback image displayed on the monitor 18 in the playback mode. The decision button 24 b of the multi selector 24 is arranged at the center of the multi selector 24. The dial portion 24c of the multi-selector 24 is formed in an annular shape as a whole, and is configured to be rotatable on the outer periphery of the decision button 24b. For example, in the playback mode, the dial unit 24c and the determination button 24b accept operation of an icon (item selection and item determination) displayed on the monitor 18 in a GUI (Graphical User Interface) format from the user.

さらに、各々の入力釦25は、各々の動作モード毎に設定された入力操作をユーザーから受け付ける。なお、入力釦25には、再生モードを立ち上げる再生釦25aが含まれる。
以下、本実施形態の電子カメラの再生モードでの動作例を説明する。
まず、再生モードにおいて、ユーザーが画像の編集処理を行う場合を説明する。
Further, each input button 25 receives an input operation set for each operation mode from the user. The input button 25 includes a playback button 25a that activates a playback mode.
Hereinafter, an operation example in the playback mode of the electronic camera of the present embodiment will be described.
First, a case where the user performs an image editing process in the playback mode will be described.

ユーザーが再生モードを立ち上げる操作(例えば、モードダイヤル23の操作、再生釦25aの押圧)を行うと、CPU17は画像ファイルに記録された画像をモニタ18の画面に再生表示する。この再生画面の表示中において、ユーザーが操作部材20で編集処理の項目を指定すると、CPU17は以下の要領で編集画像の画像ファイルを生成する。
第1に、画像処理部15は、編集元の画像(再生画面で表示中の画像)のデータに対して、ユーザーから指定された画像処理を施す。そして、画像処理部15は、編集元の画像とは別に新たな編集画像のデータを生成する。
When the user performs an operation for starting the reproduction mode (for example, operation of the mode dial 23, pressing of the reproduction button 25a), the CPU 17 reproduces and displays the image recorded in the image file on the screen of the monitor 18. When the user designates an editing process item with the operation member 20 while the playback screen is displayed, the CPU 17 generates an image file of the edited image in the following manner.
First, the image processing unit 15 performs image processing designated by the user on the data of the original image (the image being displayed on the playback screen). Then, the image processing unit 15 generates new edited image data separately from the editing source image.

第2に、CPU17は、編集画像のヘッダ領域の各データをExif規格に準拠して生成する。なお、編集画像に関する撮像条件のメタデータについては、編集元の画像ファイルのデータが複製されて記録されることとなる。
第3に、CPU17は、編集画像の画像ファイルのヘッダ領域に、編集処理での画像処理の種類を示すデータと、編集元の画像ファイルの所在を示すファイルパスとを記録する。なお、画像合成処理の場合には、編集元の画像ファイルのファイルパスがヘッダ領域に複数記録される。
Second, the CPU 17 generates each data of the header area of the edited image in accordance with the Exif standard. As for the metadata of the imaging conditions related to the edited image, the data of the original image file is copied and recorded.
Thirdly, the CPU 17 records data indicating the type of image processing in the editing process and a file path indicating the location of the editing source image file in the header area of the image file of the edited image. In the case of the image composition process, a plurality of file paths of the image file as the editing source are recorded in the header area.

また、CPU17は、編集元の画像ファイルのヘッダ領域に、編集画像の画像ファイルの所在を示すファイルパスを記録する。これにより、画像ファイルのヘッダ領域からファイルパスが検出された場合には、CPU17はその画像ファイルと関連性のある他の画像ファイルの所在を把握することができる。
ここで、上記のファイルパスは、一例として、ルートディレクトリやドライブ名を起点として目的の画像ファイルの記録位置までの道筋を記述した文字列データなどで構成される。勿論、ファイルパスは相対パスであってもよい。なお、上記のファイルパスのデータは、いずれもMakerNoteタグを利用して各々のヘッダ領域に記録されることとなる。
Further, the CPU 17 records a file path indicating the location of the image file of the edited image in the header area of the original image file. Thereby, when the file path is detected from the header area of the image file, the CPU 17 can grasp the location of another image file related to the image file.
Here, as an example, the above file path is constituted by character string data describing a route from the root directory or drive name to the recording position of the target image file. Of course, the file path may be a relative path. The file path data is recorded in each header area using the MakerNote tag.

次に、再生モードにおいて、ユーザーがモニタ18の表示画像を切り替えて複数の画像を閲覧する場合の動作を、図4、図5の流れ図を参照しつつ説明する。
ここで、図4、図5の例では、説明の便宜上、記録媒体22に記録された画像N1から画像N9までの9フレーム分の画像ファイルを再生するものとする。上記の画像の番号(N1〜N9)は各々の画像のファイル番号の並び順を示すものである。また、画像N3,N4,N5までは画像N1を元画像とする編集画像である。さらに、画像N7,N8は、画像N3を元画像とする編集画像である。なお、図6に上記の各画像の関連性を模式的に示す。
Next, an operation when the user views a plurality of images by switching the display image on the monitor 18 in the playback mode will be described with reference to the flowcharts of FIGS. 4 and 5.
Here, in the examples of FIGS. 4 and 5, for convenience of explanation, it is assumed that nine frames of image files from image N1 to image N9 recorded on the recording medium 22 are reproduced. The image numbers (N1 to N9) indicate the arrangement order of the file numbers of the respective images. Further, images N3, N4, and N5 are edited images with the image N1 as an original image. Furthermore, the images N7 and N8 are edited images having the image N3 as an original image. FIG. 6 schematically shows the relevance of each image.

ステップ101:CPU17は、記録媒体22に記録されている全ての画像ファイルのヘッダ領域をスキャンする。そして、CPU17は、画像ファイルのヘッダ領域から検出したファイルパスに基づいて、画像ファイル間における元画像と編集画像との関係を示すリンクデータを生成する。このリンクデータの生成により、CPU17は画像ファイル同士の関連性を階層的に把握することが可能となる。したがって、CPU17は、同じ元画像に直接の関連性を有する複数の編集画像(一例として、画像N1に対する画像N3,N4,N5や、画像N3に対する画像N7,N8など)をリンクデータによって関連付けして抽出することが可能となる。   Step 101: The CPU 17 scans the header areas of all image files recorded on the recording medium 22. Then, the CPU 17 generates link data indicating the relationship between the original image and the edited image between the image files based on the file path detected from the header area of the image file. By generating the link data, the CPU 17 can grasp the relationship between the image files hierarchically. Therefore, the CPU 17 associates a plurality of edited images (for example, the images N3, N4, and N5 for the image N1 and the images N7 and N8 for the image N3) that are directly related to the same original image by link data. It becomes possible to extract.

ステップ102:CPU17は、関連画像表示のフラグをオフの状態にして初期化する。
ステップ103:CPU17は、再生対象となる画像ファイルから画像のデータを読み込む。なお、再生モードにおいて再生対象の画像がはじめて読み込まれる場合、CPU17は、ファイル番号の先頭(N1)または末尾(N9)の画像ファイルから画像を読み出す。
Step 102: The CPU 17 initializes the related image display flag by turning it off.
Step 103: The CPU 17 reads image data from the image file to be reproduced. When the image to be reproduced is read for the first time in the reproduction mode, the CPU 17 reads the image from the image file at the beginning (N1) or the end (N9) of the file number.

ステップ104:CPU17は、関連画像表示のフラグがオフの状態か否かを判定する。フラグがオフの状態の場合(YES側)にはCPU17はS105に移行する。一方、フラグがオンの状態の場合(NO側)にはCPU17はS115に移行する。なお、この場合(S104のNO側)は、CPU17は後述の関連画像表示モードで動作することとなる。   Step 104: The CPU 17 determines whether or not the related image display flag is off. If the flag is off (YES side), the CPU 17 proceeds to S105. On the other hand, when the flag is on (NO side), the CPU 17 proceeds to S115. In this case (NO side of S104), the CPU 17 operates in a related image display mode described later.

ステップ105:CPU17は、再生対象の画像ファイル(S103)に関連性のある画像ファイルがないか否かを判定する。具体的には、CPU17は、リンクデータ(S102)を参照して、再生対象の画像に対する元画像または編集画像がないか否かを判定する。関連する画像ファイルがない場合(YES側)には、CPU17はS106に移行する。一方、関連する画像ファイルがある場合(NO側)には、CPU17はS109に移行する。   Step 105: The CPU 17 determines whether or not there is an image file relevant to the image file to be reproduced (S103). Specifically, the CPU 17 refers to the link data (S102) and determines whether or not there is an original image or an edited image for the image to be reproduced. If there is no related image file (YES side), the CPU 17 proceeds to S106. On the other hand, if there is a related image file (NO side), the CPU 17 proceeds to S109.

ステップ106:この場合には、CPU17は、再生対象の画像ファイルから読み出した再生画像のみをモニタ18に表示する。なお、図7にS106でのモニタ18の表示画面の一例を示す。
ステップ107:CPU17は、次画像への表示切替操作(例えば、マルチセレクタ24の本体部24aでの操作)をユーザーから受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS108に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はユーザーからの入力を待機する。
Step 106: In this case, the CPU 17 displays only the reproduced image read from the image file to be reproduced on the monitor 18. FIG. 7 shows an example of the display screen of the monitor 18 in S106.
Step 107: The CPU 17 determines whether or not a display switching operation to the next image (for example, an operation on the main body 24a of the multi-selector 24) has been received from the user. If the above requirement is satisfied (YES side), the CPU 17 proceeds to S108. On the other hand, when the above requirement is not satisfied (NO side), the CPU 17 waits for an input from the user.

ステップ108:CPU17は、再生対象の画像ファイルよりも、ファイル番号の並び順が1つ後(または1つ前)となる画像ファイルを再生対象に指定する。その後、CPU17はS103に戻って上記動作を繰り返す。
一例として、S106において画像N2が表示されているときに、ユーザーが次画像への表示切替操作を行った場合を考える。この場合には、ファイル番号の順に従って、切替後のモニタ18には画像N3(または画像N1)が表示されることとなる。
Step 108: The CPU 17 designates, as a reproduction target, an image file whose file number is arranged one order after (or one before) the reproduction target image file. Thereafter, the CPU 17 returns to S103 and repeats the above operation.
As an example, consider a case where the user performs a display switching operation to the next image when the image N2 is displayed in S106. In this case, the image N3 (or the image N1) is displayed on the monitor 18 after switching according to the order of the file numbers.

ステップ109:この場合、CPU17は、再生対象の画像ファイルから読み出した再生画像と、関連画像の閲覧キーとをモニタ18に表示する。図8にS109でのモニタ18の表示画面の一例を示す。図8での表示画面には、再生画像の下側に、関連画像の閲覧キーがGUI形式で表示される。
ここで、上記の閲覧キーには、再生画像の元画像を閲覧するための元画像キーと、再生画像の編集画像を閲覧するための編集画像キーとの2種類がある。元画像キーは、リンクデータに基づいて再生画像に元画像があるとCPU17が判定した場合のみモニタ18に表示される。同様に、編集画像キーは、リンクデータに基づいて再生画像から生成された編集画像があるとCPU17が判定した場合のみモニタ18に表示される。なお、図8では、元画像キーおよび編集画像キーがモニタ18に両方表示された状態を示している。
Step 109: In this case, the CPU 17 displays the reproduced image read from the image file to be reproduced and the browse key for the related image on the monitor 18. FIG. 8 shows an example of the display screen of the monitor 18 in S109. On the display screen in FIG. 8, a browse key for a related image is displayed in the GUI format below the reproduced image.
Here, there are two types of browsing keys: an original image key for browsing the original image of the reproduced image and an edited image key for browsing the edited image of the reproduced image. The original image key is displayed on the monitor 18 only when the CPU 17 determines that the reproduced image has an original image based on the link data. Similarly, the edited image key is displayed on the monitor 18 only when the CPU 17 determines that there is an edited image generated from the reproduced image based on the link data. FIG. 8 shows a state where both the original image key and the edited image key are displayed on the monitor 18.

そして、ユーザーが操作部材20でモニタ18上のカーソル等を操作して閲覧キーへの入力を行うと、CPU17は、閲覧キーに対応する関連画像(元画像または編集画像)をモニタ18に表示する。ここで、表示中の再生画像から生成された編集画像が複数ある場合、CPU17は編集画像の閲覧キーへの入力があると、上記の編集画像のうちでファイル番号が最も古い編集画像を表示する。なお、表示中の再生画像から生成された編集画像が複数ある場合、CPU17は、ユーザーの指定した任意の編集画像をモニタ18に表示できるようにしてもよい。   Then, when the user operates the cursor or the like on the monitor 18 with the operation member 20 to input to the browse key, the CPU 17 displays a related image (original image or edited image) corresponding to the browse key on the monitor 18. . Here, when there are a plurality of edited images generated from the displayed reproduced image, the CPU 17 displays the edited image having the oldest file number among the above-mentioned edited images when there is an input to the editing image viewing key. . If there are a plurality of edited images generated from the displayed reproduced image, the CPU 17 may be configured to display an arbitrary edited image designated by the user on the monitor 18.

ステップ110:CPU17は、関連画像の閲覧キーへの入力操作を受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS111に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はS113に移行する。
ステップ111:CPU17は、関連画像表示のフラグをオンの状態にする。また、CPU17は、現在の再生対象である画像ファイル(初期画像の画像ファイル)のファイルパスを記録する。
Step 110: The CPU 17 determines whether or not an input operation to the browse key for the related image has been received. If the above requirement is satisfied (YES side), the CPU 17 proceeds to S111. On the other hand, if the above requirement is not satisfied (NO side), the CPU 17 proceeds to S113.
Step 111: The CPU 17 turns on the related image display flag. Further, the CPU 17 records the file path of the current image file to be reproduced (image file of the initial image).

ステップ112:CPU17は、閲覧キーに対応する画像ファイル(元画像または編集画像)を再生対象に指定する。その後、CPU17はS103に戻って上記動作を繰り返す。なお、この場合には関連画像表示のフラグがオンの状態であるので、上記のS104にて、CPU17は後述の関連画像表示モード(S115)に移行することとなる。
一例として、S109において画像N1が表示されているときに、ユーザーが閲覧キー(編集画像キー)を入力した場合を考える。この場合には、CPU17は関連画像表示モードに移行し、切替後のモニタ18には画像N3が表示される。なお、関連画像表示モードでの表示画面の説明はS115で後述する。
Step 112: The CPU 17 designates an image file (original image or edited image) corresponding to the viewing key as a reproduction target. Thereafter, the CPU 17 returns to S103 and repeats the above operation. In this case, since the related image display flag is on, the CPU 17 shifts to a related image display mode (S115) described later in S104.
As an example, consider a case where the user inputs a browse key (edited image key) when the image N1 is displayed in S109. In this case, the CPU 17 shifts to the related image display mode, and the image N3 is displayed on the monitor 18 after switching. The display screen in the related image display mode will be described later in S115.

ステップ113:CPU17は、次画像への表示切替操作(例えば、マルチセレクタ24の本体部24aでの操作)をユーザーから受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS114に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はS110に戻って上記動作を繰り返す。
ステップ114:CPU17は、再生対象の画像ファイルに対してファイル番号の並び順が1つ後(または1つ前)となる画像ファイルを再生対象に指定する。その後、CPU17はS103に戻って上記動作を繰り返す。
Step 113: The CPU 17 determines whether or not a display switching operation to the next image (for example, an operation on the main body 24a of the multi-selector 24) has been received from the user. If the above requirement is satisfied (YES side), the CPU 17 proceeds to S114. On the other hand, if the above requirement is not satisfied (NO side), the CPU 17 returns to S110 and repeats the above operation.
Step 114: The CPU 17 designates an image file whose file number order is one after (or one before) the image file to be reproduced as a reproduction target. Thereafter, the CPU 17 returns to S103 and repeats the above operation.

一例として、S109において画像N1が表示されているときに、ユーザーが次画像への表示切替操作を行った場合を考える。この場合には、ファイル番号の順に従って、切替後のモニタ18に画像N2(または画像N9)が表示されることとなる。
ステップ115:関連画像表示モードでのCPU17は、直前の表示画像の元画像または編集画像をモニタ18に表示する。図9にS115でのモニタ18の表示画面の一例を示す。図9での表示画面には、関連画像とともに、関連画像表示モードであることを示すモード表示が表示される。また、関連画像の下側には、関連画像の閲覧キー(元画像キーおよび編集画像キー)と、戻るキーとがGUI形式で表示される。
As an example, consider a case where the user performs a display switching operation to the next image when the image N1 is displayed in S109. In this case, the image N2 (or image N9) is displayed on the monitor 18 after switching according to the order of the file numbers.
Step 115: The CPU 17 in the related image display mode displays the original image or the edited image of the previous display image on the monitor 18. FIG. 9 shows an example of the display screen of the monitor 18 in S115. In the display screen in FIG. 9, a mode display indicating the related image display mode is displayed together with the related image. Further, below the related image, a related image browsing key (original image key and edited image key) and a return key are displayed in the GUI format.

ここで、ユーザーが操作部材20でモニタ18上のカーソル等を操作して戻るキーへの入力を行うと、CPU17は、関連画像表示モードに入る前に表示されていた初期画像を再びモニタ18に表示する。また、S115の表示画面の表示状態で、ユーザーが再生釦25aを押圧すると、CPU17は関連画像表示モードを解除して通常の表示状態に移行する。なお、関連画像の閲覧キーについての説明は、S109と共通するので重複説明を省略する。   Here, when the user operates the cursor or the like on the monitor 18 with the operation member 20 to input the return key, the CPU 17 again displays the initial image displayed before entering the related image display mode on the monitor 18. indicate. When the user presses the play button 25a in the display state of the display screen in S115, the CPU 17 cancels the related image display mode and shifts to a normal display state. In addition, since the description about the browsing key of a related image is common with S109, duplication description is abbreviate | omitted.

ステップ116:CPU17は、関連画像の閲覧キーへの入力操作を受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS117に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はS120に移行する。
ステップ117:CPU17は、閲覧キーに対応する画像ファイル(元画像または編集画像)を再生対象に指定する。
Step 116: The CPU 17 determines whether or not an input operation to the browse key for the related image has been accepted. If the above requirement is satisfied (YES side), the CPU 17 proceeds to S117. On the other hand, if the above requirement is not satisfied (NO side), the CPU 17 proceeds to S120.
Step 117: The CPU 17 designates an image file (original image or edited image) corresponding to the viewing key as a reproduction target.

ステップ118:CPU17は、S117で再生対象に指定した画像ファイルが初期画像であるか否かを判定する。具体的には、CPU17は、S117で再生対象となった画像ファイルのファイルパスが、S111で記録したファイルパスと一致するか否かを判定する。上記要件を満たす場合(YES側)には、CPU17はS121に移行する。一方、上記要件を満たさない場合(NO側)には、CPU17は、関連画像表示モードのままでS103に戻って上記動作を繰り返す。   Step 118: The CPU 17 determines whether or not the image file designated as the reproduction target in S117 is an initial image. Specifically, the CPU 17 determines whether or not the file path of the image file to be reproduced in S117 matches the file path recorded in S111. If the above requirement is satisfied (YES side), the CPU 17 proceeds to S121. On the other hand, if the above requirement is not satisfied (NO side), the CPU 17 returns to S103 and repeats the above operation while remaining in the related image display mode.

なお、S118のNO側の場合は、例えば、閲覧キーの操作で画像N1から画像N3に表示を切り替えて、さらに閲覧キーの操作で画像N3から画像N7に表示を切り替える場合に相当する。
ステップ119:CPU17は、戻るキーへの入力操作を受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS120に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はS122に移行する。
Note that the NO side in S118 corresponds to, for example, switching the display from the image N1 to the image N3 by operating the browse key and switching the display from the image N3 to the image N7 by operating the browse key.
Step 119: The CPU 17 determines whether or not an input operation to the return key has been accepted. If the above requirement is satisfied (YES side), the CPU 17 proceeds to S120. On the other hand, if the above requirement is not satisfied (NO side), the CPU 17 proceeds to S122.

ステップ120:CPU17は、S111で記録されたファイルパスに基づいて、初期画像の画像ファイルを再生対象に指定する。
ステップ121:この場合は、関連画像表示モードに入る前の初期画像に表示を切り替える場合に相当する。そのため、CPU17は、関連画像表示のフラグをオフの状態にして、関連画像表示モードを解除する。その後、CPU17はS103に戻って上記動作を繰り返す。
Step 120: The CPU 17 designates the image file of the initial image as a reproduction target based on the file path recorded in S111.
Step 121: This case corresponds to switching the display to the initial image before entering the related image display mode. Therefore, the CPU 17 turns off the related image display flag and cancels the related image display mode. Thereafter, the CPU 17 returns to S103 and repeats the above operation.

なお、S121のケースには、例えば、以下のような場合が該当する。(1)ユーザーが閲覧キーの操作で画像N1から画像N3に表示を切り替えた後に、さらに閲覧キーの操作で画像N3から画像N1に表示を戻す場合(S118のYES側)、(2)ユーザーが閲覧キーの操作で画像N1,N3,N7の順に表示を切り替えて、その後に戻るキーで画像N1に表示を戻す場合(S119のYES側)、などである。   In addition, the following cases correspond to the case of S121, for example. (1) When the user switches the display from the image N1 to the image N3 by operating the browse key and then returns the display from the image N3 to the image N1 by operating the browse key (YES in S118), (2) For example, the display is switched in the order of the images N1, N3, and N7 by the operation of the browse key and the display is returned to the image N1 by the return key thereafter (YES side of S119).

ステップ122:CPU17は、再生釦25aへの入力操作を受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS123に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はS124に移行する。
ステップ123:CPU17は、関連画像表示のフラグをオフの状態にして、関連画像表示モードを解除する。その後、CPU17は再生対象の画像ファイルを変更することなく、S103に戻って上記動作を繰り返す。この場合には、現在の再生対象となっている画像が、S109の状態(すなわち、モード表示および戻るキーの表示がない状態)でモニタ18に表示されることとなる。
Step 122: The CPU 17 determines whether or not an input operation to the reproduction button 25a has been accepted. If the above requirement is satisfied (YES side), the CPU 17 proceeds to S123. On the other hand, if the above requirement is not satisfied (NO side), the CPU 17 proceeds to S124.
Step 123: The CPU 17 turns off the related image display flag and cancels the related image display mode. Thereafter, the CPU 17 returns to S103 and repeats the above operation without changing the image file to be reproduced. In this case, the current playback target image is displayed on the monitor 18 in the state of S109 (that is, the mode display and the return key are not displayed).

ステップ124:CPU17は、次画像への表示切替操作(例えば、マルチセレクタ24の本体部24aでの操作)をユーザーから受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS125に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はS116に戻って上記動作を繰り返す。
ステップ125:CPU17は、リンクデータに基づいて、リンク元の画像を基準としてS115での表示画像と同じ階層に属する他の関連画像を抽出する。そして、CPU17は、上記の関連画像のグループのうちで、再生対象の画像ファイルに対してファイル番号の並び順が1つ後(または1つ前)となる画像ファイルを再生対象に指定する。その後、CPU17はS103に戻って上記動作を繰り返す。
Step 124: The CPU 17 determines whether or not a display switching operation to the next image (for example, an operation on the main body 24a of the multi-selector 24) has been received from the user. If the above requirement is satisfied (YES side), the CPU 17 proceeds to S125. On the other hand, if the above requirement is not satisfied (NO side), the CPU 17 returns to S116 and repeats the above operation.
Step 125: Based on the link data, the CPU 17 extracts other related images belonging to the same hierarchy as the display image in S115 with reference to the link source image. Then, the CPU 17 designates an image file whose file number arrangement order is one after (or one before) the image file to be reproduced from the group of related images described above as a reproduction target. Thereafter, the CPU 17 returns to S103 and repeats the above operation.

一例として、閲覧キーの操作で画像N1から画像N3に表示を切り替えて関連画像表示モードに移行した後に、ユーザーが次画像への表示切替操作を行った場合を考える。この場合には、リンク元の画像(N1)に対して表示画像(N3)と同一の階層にある画像N4,N5をCPU17が抽出する。そして、関連画像表示モードのままで次画像への切替操作を行うごとに、モニタ18にはN4,N5,N3,N4,・・・の順で画像が繰り返し表示されることとなる。なお、S125において他の関連画像が存在しない場合には、CPU17は次画像への表示切替操作を無効としてS116に移行する。以上で、図4、図5の説明を終了する。   As an example, consider a case where the user performs a display switching operation to the next image after switching the display from the image N1 to the image N3 by the operation of the browse key and shifting to the related image display mode. In this case, the CPU 17 extracts images N4 and N5 in the same hierarchy as the display image (N3) with respect to the link source image (N1). Each time the operation for switching to the next image is performed in the related image display mode, the image is repeatedly displayed on the monitor 18 in the order of N4, N5, N3, N4,. If there is no other related image in S125, the CPU 17 disables the display switching operation to the next image and proceeds to S116. Above, description of FIG. 4, FIG. 5 is complete | finished.

以下、本実施形態の作用効果を説明する。本実施形態の電子カメラでは、画像ファイルのヘッダ領域に記録されたファイルパスに基づいて、CPU17が画像ファイルの関連性を管理する。そして、CPU17は、再生中の画像に編集画像などがある場合にはモニタ18上に閲覧キーを表示してユーザーの注意を喚起する。また、CPU17は、ユーザーの閲覧キーの操作に応じて関連画像表示モードに移行し、リンク元の画像と関連性のある画像群の閲覧を容易に行えるようにしている。なお、関連画像表示モードでのモニタ18には、関連画像表示モードを示すモード表示が行われるので、ユーザーが混乱をきたすこともない。   Hereinafter, the effect of this embodiment is demonstrated. In the electronic camera of this embodiment, the CPU 17 manages the relevance of the image file based on the file path recorded in the header area of the image file. Then, when there is an edited image or the like in the image being reproduced, the CPU 17 displays a browse key on the monitor 18 to alert the user. Further, the CPU 17 shifts to a related image display mode in accordance with a user's operation of a viewing key so that an image group related to the link source image can be easily browsed. Note that since the mode display indicating the related image display mode is performed on the monitor 18 in the related image display mode, the user is not confused.

例えば、元画像と編集画像とが連番で記録されていない場合を考えると、通常の再生モードでは、ユーザーが2つの画像を対比するためには関連性のない画像を順次送る操作が必要となる。しかし、上記実施形態では、ユーザーは閲覧キーの操作で元画像と編集画像の表示を簡単に切り替えることができるので、ユーザーは元画像と編集画像とを対比して画像編集の効果を容易に確認することができる。さらに、関連画像表示モードに入る前の初期画像への表示切替や、関連画像表示モードの解除もユーザーは容易に行うことができるので、電子カメラの再生モードの利便性がより向上する。   For example, considering the case where the original image and the edited image are not recorded sequentially, in the normal playback mode, the user needs to perform an operation of sequentially sending unrelated images in order to compare the two images. Become. However, in the above embodiment, since the user can easily switch between the display of the original image and the edited image by operating the browse key, the user can easily confirm the effect of image editing by comparing the original image and the edited image. can do. Furthermore, since the user can easily switch the display to the initial image before entering the related image display mode and cancel the related image display mode, the convenience of the playback mode of the electronic camera is further improved.

なお、本実施形態では、画像ファイルのヘッダ領域に記録されたファイルパスに基づいてCPU17が必要なときにリンクデータを生成する。そのため、再生時における画像間の関連性の管理をより少ないデータで効率的に行なうことができる。
(実施形態の補足事項)
(1)上記実施形態では電子カメラで画像の再生を行う例を説明した。しかし、本発明では、画像ファイルを再生する機能を備えるビューアーや、画像再生プログラムを実行する汎用コンピュータで、上記実施形態の電子カメラと同様な画像処理装置を構成してもよい。なお、上記実施形態では、画像処理装置のプログラムはCPU17によって実行される。
In the present embodiment, the link data is generated when the CPU 17 needs it based on the file path recorded in the header area of the image file. Therefore, it is possible to efficiently manage the relationship between images during reproduction with less data.
(Supplementary items of the embodiment)
(1) In the above embodiment, an example in which an image is reproduced by an electronic camera has been described. However, in the present invention, an image processing apparatus similar to the electronic camera of the above-described embodiment may be configured by a viewer having a function of reproducing an image file or a general-purpose computer that executes an image reproduction program. In the above embodiment, the program of the image processing apparatus is executed by the CPU 17.

(2)上記実施形態では、元画像の画像ファイルと、編集画像の画像ファイルとに相互にファイルパスを記録する例を説明した。しかし、本発明は上記実施形態に限定されず、編集画像または元画像の画像ファイルの一方のみに相手方のファイルパスを記録するようにしてもよい。この場合は、特に編集画像の画像ファイルに元画像のファイルパスを記録するようにすることが好ましい。   (2) In the above-described embodiment, the example in which the file path is recorded in the original image file and the edited image file has been described. However, the present invention is not limited to the above embodiment, and the file path of the other party may be recorded only in one of the edited image or the image file of the original image. In this case, it is particularly preferable to record the file path of the original image in the image file of the edited image.

(3)上記実施形態において、画像ファイルを記録するフォルダなどが予め決められている場合には、CPU17はファイルパスの代わりに相手方の画像ファイルを特定できる情報(例えばファイル名など)を記録して、画像ファイルの関連性を管理してもよい。
(4)CPU17は、ヘッダ領域にファイルパスの記録された画像ファイルを消去する場合には、消去対象と関連性のある編集画像や元画像の画像ファイルのファイルパスを更新または削除してもよい。例えば、元画像が削除される場合に、CPU17は、残された編集画像の画像ファイルを、削除される画像よりも上位の元画像に関連付けし直してもよい。
(3) In the above embodiment, when a folder or the like for recording an image file is determined in advance, the CPU 17 records information (for example, a file name or the like) that can identify the image file of the other party instead of the file path. The relevance of image files may be managed.
(4) When erasing an image file whose file path is recorded in the header area, the CPU 17 may update or delete the file path of the edited image or the image file of the original image related to the erasure target. . For example, when the original image is deleted, the CPU 17 may re-associate the remaining image file of the edited image with a higher-order original image than the image to be deleted.

(5)上記実施形態では、再生モードにおける画像処理で編集画像の画像ファイルが生成される例を示したが、これに限定されるものではない。例えば、電子カメラが撮像時に自動的に生成した編集画像の画像ファイルについて本発明が適用されてもよい。
(6)上記実施形態では、簡単のため、1つの記録媒体22に画像ファイルが記録される例を示したが、例えば、記録I/F16に複数の記録媒体22を接続可能な場合において、画像ファイルが異なる記録媒体22に分散して記録されている場合にも、本発明を適用することは勿論可能である。
(5) In the above embodiment, the example in which the image file of the edited image is generated by the image processing in the reproduction mode is shown, but the present invention is not limited to this. For example, the present invention may be applied to an image file of an edited image that is automatically generated when an electronic camera captures an image.
(6) In the above embodiment, for the sake of simplicity, an example in which an image file is recorded on one recording medium 22 is shown. However, for example, when a plurality of recording media 22 can be connected to the recording I / F 16, Of course, the present invention can also be applied to a case where files are recorded in a distributed manner on different recording media 22.

(7)画像ファイルの関連付けは、元画像と編集画像との場合には限定されず、例えば、GPSなどで取得した撮影位置の共通性や、撮影日時の共通性などで関連付けしてもよい。
(8)上記実施形態のユーザーインターフェースはあくまで一例にすぎず、本発明では操作部およびモニタ18の表示は適宜変更することができる。例えば、元画像キー、編集画像キー、戻るキーの操作をGUIによらずに、入力釦25に割り振ってもよい。また、関連画像表示モードのモード表示は文字表示に限定されることなく、例えば、キャラクタ表示などで代替してもよい。
(7) The association of the image file is not limited to the case of the original image and the edited image. For example, the association may be performed based on the commonality of the photographing position acquired by GPS or the like, the commonality of the photographing date and time.
(8) The user interface of the above embodiment is merely an example, and in the present invention, the display of the operation unit and the monitor 18 can be changed as appropriate. For example, the operations of the original image key, the edited image key, and the return key may be assigned to the input button 25 without using the GUI. Further, the mode display in the related image display mode is not limited to the character display, and may be replaced with, for example, a character display.

なお、本発明は、その精神またはその主要な特徴から逸脱することなく他の様々な形で実施することができる。そのため、上述した実施形態はあらゆる点で単なる例示に過ぎず、限定的に解釈してはならない。本発明は、特許請求の範囲によって示されるものであって、本発明は明細書本文にはなんら拘束されない。さらに、特許請求の範囲の均等範囲に属する変形や変更は、全て本発明の範囲内である。   It should be noted that the present invention can be implemented in various other forms without departing from the spirit or main features thereof. Therefore, the above-described embodiment is merely an example in all respects and should not be interpreted in a limited manner. The present invention is defined by the claims, and the present invention is not limited to the text of the specification. Further, all modifications and changes belonging to the equivalent scope of the claims are within the scope of the present invention.

本実施形態の電子カメラの構成を示すブロック図The block diagram which shows the structure of the electronic camera of this embodiment 本実施形態の電子カメラの背面部の構成を示す図The figure which shows the structure of the back part of the electronic camera of this embodiment. 画像ファイルのデータ構造を模式的に示す図Diagram showing data structure of image file 再生モードにおいて複数の画像を閲覧する場合の動作を示す流れ図Flow chart showing operation when viewing multiple images in playback mode 図4の続きの流れ図Flow chart continued from FIG. 本実施形態での各画像の関連性を模式的に示す図The figure which shows typically the relationship of each image in this embodiment. S106でのモニタの表示画面の一例を示す図The figure which shows an example of the display screen of the monitor in S106 S109でのモニタの表示画面の一例を示す図The figure which shows an example of the display screen of the monitor in S109 S115でのモニタの表示画面の一例を示す図The figure which shows an example of the display screen of the monitor in S115

符号の説明Explanation of symbols

12…撮像素子、15…画像処理部、16…記録I/F、17…CPU、18…モニタ、20…操作部材、22…記録媒体
DESCRIPTION OF SYMBOLS 12 ... Imaging device, 15 ... Image processing part, 16 ... Recording I / F, 17 ... CPU, 18 ... Monitor, 20 ... Operation member, 22 ... Recording medium

Claims (6)

第1画像データ及び前記第1画像データに画像処理を施して生成された第2画像データの存在を示す第1メタデータを含む第1画像ファイルと、前記第2画像データ及び前記第2画像データが前記第1画像データに画像処理を施して生成されたことを示す第2メタデータを含む第2画像ファイルとを読み込む読込部と、
前記第2画像データに基づく第2画像を表示装置に表示している場合、ユーザー操作により第1表示切替指示がなされたときは、前記第2メタデータに基づいて、前記第2画像を前記第1画像データに基づく第1画像に切り替えて前記表示装置に表示するよう制御する制御部とを備え
前記読込部は、前記第1画像データに画像処理を施して生成された第4画像データ及び前記第4画像データが前記第1画像データに画像処理を施して生成されたことを示す第4メタデータを含む第4画像ファイルを読み込み、
前記制御部は、前記第2画像を前記表示装置に表示している際にユーザー操作により第3表示切替指示がなされた場合、前記第1画像を前記第2メタデータに基づいて切り替えることで前記第2画像を前記表示装置に表示していたときは、前記第2メタデータ及び前記第4メタデータに基づいて、前記第2画像を前記第4画像に切り替えて前記表示装置に表示し、前記第1画像を前記第2メタデータに基づかないで切り替えることで前記第2画像を前記表示装置に表示していたときは、前記第2メタデータ及び前記第4メタデータに基づくことなく、前記第2画像を所定の規則に基づいて指定された画像に切り替えて前記表示装置に表示すること
を特徴とする画像処理装置。
A first image file including first image data and first metadata indicating presence of second image data generated by subjecting the first image data to image processing; the second image data; and the second image data. A reading unit that reads a second image file including second metadata indicating that the first image data is generated by performing image processing on the first image data;
When a second image based on the second image data is displayed on a display device, when a first display switching instruction is given by a user operation, the second image is converted to the second image based on the second metadata. A control unit that controls to switch to a first image based on one image data and display on the display device ,
The reading unit includes fourth image data generated by performing image processing on the first image data and a fourth meta data indicating that the fourth image data is generated by performing image processing on the first image data. Read the 4th image file containing data,
The control unit switches the first image based on the second metadata when a third display switching instruction is given by a user operation while the second image is displayed on the display device. When the second image is displayed on the display device, based on the second metadata and the fourth metadata, the second image is switched to the fourth image and displayed on the display device, When the second image is displayed on the display device by switching the first image without being based on the second metadata, the first image is not based on the second metadata and the fourth metadata. An image processing apparatus, wherein two images are switched to an image designated based on a predetermined rule and displayed on the display device.
請求項1に記載の画像処理装置において、
前記所定の規則は、ファイル番号の順であること
を特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The image processing apparatus according to claim 1, wherein the predetermined rule is an order of file numbers .
請求項1又は請求項2に記載の画像処理装置において、
前記読込部は、前記第2画像データに画像処理を施して生成された第3画像データ及び前記第3画像データが前記第2画像データに画像処理を施して生成されたことを示す第3メタデータを含む第3画像ファイルを読み込み、
前記制御部は、前記第3画像データに基づく第3画像を前記表示装置に表示している場合、ユーザー操作により前記第1表示切替指示がなされたときは、前記第3メタデータに基づいて、前記第3画像を前記第2画像に切り替えて前記表示装置に表示し、ユーザー操作により第2表示切替指示がなされたときは、前記第2メタデータ及び前記第3メタデータに基づいて、前記第3画像を前記第1画像に切り替えて前記表示装置に表示するよう制御すること
を特徴とする画像処理装置。
The image processing apparatus according to claim 1 or 2,
The reading unit includes a third meta data generated by performing image processing on the second image data and a third meta data indicating that the third image data is generated by performing image processing on the second image data. Read the third image file containing data,
When the control unit displays a third image based on the third image data on the display device, when the first display switching instruction is made by a user operation, based on the third metadata, The third image is switched to the second image and displayed on the display device. When a second display switching instruction is given by a user operation, the second image and the third metadata are used to change the third image. An image processing apparatus , wherein three images are switched to the first image and controlled to be displayed on the display device.
請求項1から請求項3のいずれか一項に記載の画像処理装置において、The image processing apparatus according to any one of claims 1 to 3,
記録媒体に記録されている画像データに前記画像処理を施す画像処理部を更に備えることAn image processing unit for performing the image processing on the image data recorded on the recording medium;
を特徴とする画像処理装置。An image processing apparatus.
被写体を撮像して画像データを生成する撮像部と、An imaging unit that images a subject and generates image data;
請求項1から請求項4のいずれか一項に記載の画像処理装置とを備えることAn image processing apparatus according to any one of claims 1 to 4.
を特徴とする撮像装置。An imaging apparatus characterized by the above.
第1画像データ及び前記第1画像データに画像処理を施して生成された第2画像データの存在を示す第1メタデータを含む第1画像ファイルと、前記第2画像データ及び前記第2画像データが前記第1画像データに画像処理を施して生成されたことを示す第2メタデータを含む第2画像ファイルとを読み込む読込ステップと、A first image file including first image data and first metadata indicating presence of second image data generated by subjecting the first image data to image processing; the second image data; and the second image data. Reading a second image file including second metadata indicating that the first image data is generated by performing image processing on the first image data;
前記第2画像データに基づく第2画像を表示装置に表示している場合、ユーザー操作により第1表示切替指示がなされたときは、前記第2メタデータに基づいて、前記第2画像を前記第1画像データに基づく第1画像に切り替えて前記表示装置に表示するよう制御する制御ステップとをコンピュータに実行させ、When a second image based on the second image data is displayed on a display device, when a first display switching instruction is given by a user operation, the second image is converted to the second image based on the second metadata. A control step of controlling to switch to a first image based on one image data and display on the display device;
前記読込ステップは、前記第1画像データに画像処理を施して生成された第4画像データ及び前記第4画像データが前記第1画像データに画像処理を施して生成されたことを示す第4メタデータを含む第4画像ファイルを読み込み、The reading step includes fourth image data generated by performing image processing on the first image data and a fourth meta data indicating that the fourth image data is generated by performing image processing on the first image data. Read the 4th image file containing data,
前記制御ステップは、前記第2画像を前記表示装置に表示している際にユーザー操作により第3表示切替指示がなされた場合、前記第1画像を前記第2メタデータに基づいて切り替えることで前記第2画像を前記表示装置に表示していたときは、前記第2メタデータ及び前記第4メタデータに基づいて、前記第2画像を前記第4画像に切り替えて前記表示装置に表示し、前記第1画像を前記第2メタデータに基づかないで切り替えることで前記第2画像を前記表示装置に表示していたときは、前記第2メタデータ及び前記第4メタデータに基づくことなく、前記第2画像を所定の規則に基づいて指定された画像に切り替えて前記表示装置に表示することIn the control step, when a third display switching instruction is given by a user operation while displaying the second image on the display device, the first image is switched based on the second metadata. When the second image is displayed on the display device, based on the second metadata and the fourth metadata, the second image is switched to the fourth image and displayed on the display device, When the second image is displayed on the display device by switching the first image without being based on the second metadata, the first image is not based on the second metadata and the fourth metadata. Two images are switched to a specified image based on a predetermined rule and displayed on the display device
を特徴とするプログラム。A program characterized by
JP2007026575A 2007-02-06 2007-02-06 Image processing apparatus, imaging apparatus, and program Expired - Fee Related JP5125133B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2007026575A JP5125133B2 (en) 2007-02-06 2007-02-06 Image processing apparatus, imaging apparatus, and program
US12/219,914 US20090282365A1 (en) 2007-02-06 2008-07-30 Image processing apparatus, image reproducing apparatus, imaging apparatus and program recording medium
US13/177,230 US20110261244A1 (en) 2007-02-06 2011-07-06 Image processing apparatus, image reproducing apparatus, imaging apparatus and program recording medium
US15/598,994 US20170264826A1 (en) 2007-02-06 2017-05-18 Image processing apparatus, image reproducing apparatus, imaging apparatus and program recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007026575A JP5125133B2 (en) 2007-02-06 2007-02-06 Image processing apparatus, imaging apparatus, and program

Publications (2)

Publication Number Publication Date
JP2008193465A JP2008193465A (en) 2008-08-21
JP5125133B2 true JP5125133B2 (en) 2013-01-23

Family

ID=39753109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007026575A Expired - Fee Related JP5125133B2 (en) 2007-02-06 2007-02-06 Image processing apparatus, imaging apparatus, and program

Country Status (1)

Country Link
JP (1) JP5125133B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3535724B2 (en) * 1997-12-25 2004-06-07 キヤノン株式会社 Image capturing apparatus and method, and storage medium
JP4608824B2 (en) * 2001-07-13 2011-01-12 株式会社ニコン Electronic camera
JP3968260B2 (en) * 2002-03-22 2007-08-29 日本電信電話株式会社 Video-related information presentation device, method, program, and recording medium recording the program
JP4173709B2 (en) * 2002-09-26 2008-10-29 富士フイルム株式会社 Data management method, data management apparatus and program

Also Published As

Publication number Publication date
JP2008193465A (en) 2008-08-21

Similar Documents

Publication Publication Date Title
JP4143956B2 (en) Image display device and image management program
US20170264826A1 (en) Image processing apparatus, image reproducing apparatus, imaging apparatus and program recording medium
US20100026843A1 (en) Imaging device, edition device, image processing method, and program
JP2005197913A (en) Apparatus and method for image processing
US20050110879A1 (en) Image taking apparatus, image processing apparatus, and image processing program
JP2005026834A (en) Annotation providing apparatus and annotation providing program
JP2006245832A (en) Image reproducing apparatus
JP2006311067A (en) Electronic camera apparatus and history file creating method
US8970736B2 (en) Digital camera
JP5043742B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP2010062714A (en) Camera
JP5021546B2 (en) Multi-image file creation device, multi-image file creation program, and multi-image file creation method
JP5125133B2 (en) Image processing apparatus, imaging apparatus, and program
JP4992597B2 (en) Imaging apparatus and program
JP4860495B2 (en) Imaging device
JP2008182513A (en) Imaging apparatus with information writing function
JP4835947B2 (en) Image display device, image display control method, and program
JP2009225162A (en) Image editing method
JP2006310944A (en) Photographing apparatus
JP5229413B2 (en) IMAGING DEVICE, PROGRAM, AND DISPLAY CONTROL DEVICE
JP7256671B2 (en) Communication device and its control method and program
JPWO2007108345A1 (en) Recording / playback device
JP4312119B2 (en) Information playback device
JP2005086763A (en) Image display control apparatus, digital camera and image display control program
JP5258419B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120710

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120910

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121002

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121015

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5125133

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151109

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20151109

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees