JP5125133B2 - Image processing apparatus, imaging apparatus, and program - Google Patents
Image processing apparatus, imaging apparatus, and program Download PDFInfo
- 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
Links
Images
Description
本発明は、画像処理装置、撮像装置およびプログラムに関する。
The present invention, images processing device, an imaging device and program.
一般的な電子カメラには、撮像した画像をモニタに再生表示する機能が従来から実装されている。また、電子カメラでの画像の再生に関し、画像間の関連付けを示すリンク情報のテーブルを画像のデータとは別に記録しておき、このリンク情報に基づいて関連性のある画像を連続的に表示する構成も提案されている。例えば、特許文献1に上述の電子カメラの一例が開示されている。
しかし、従来の電子カメラでは、画像ファイルとは別にリンク情報のテーブルを用意して画像ファイル間の関連性を管理する。そのため、記録媒体に記録されたリンク情報のテーブルの容量で、画像ファイルの記録数がその分制約されうる点で改善の余地があった。
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.
請求項5に記載の撮像装置は、被写体を撮像して画像データを生成する撮像部と、請求項1から請求項4のいずれか一項に記載の画像処理装置とを備えることを特徴とする。 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. .
請求項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画像を所定の規則に基づいて指定された画像に切り替えて前記表示装置に表示することを特徴とする。
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
撮像素子12は、撮像光学系11の像空間側に配置されている。撮像素子12は、撮像光学系11を通過した光束による被写体像を光電変換してアナログの画像信号を生成する。この撮像素子12の出力はアナログ信号処理部13に接続されている。
アナログ信号処理部13は、撮像素子12の出力に対してアナログ信号処理を施すアナログフロントエンド回路である。このアナログ処理部は、相関二重サンプリングや、画像信号のゲインの調整や、画像信号のA/D変換を行う。また、アナログ信号処理部13の出力はバッファメモリ14に接続されている。バッファメモリ14は、画像処理部15による画像処理の前後で撮影画像のデータなどを一時的に記録する。
The
The analog
画像処理部15は、デジタルの画像信号に対して各種の画像処理(ホワイトバランス補正、色補間処理、色補正、色変換処理、階調変換、輪郭強調処理、色空間変換など)を施すASICである。
また、画像処理部15は、後述の再生モードにおいて本画像のデータの編集処理を実行する。上記の編集処理では、画像処理部15は、編集元の本画像のデータに画像処理を施して、編集元の本画像とは別に新たな編集画像(編集元の画像に画像処理を施した画像)のデータを生成する。
The
In addition, the
なお、編集処理で画像処理部15が実行する画像処理の種類としては、例えば、輪郭強調処理、コントラスト補正処理、赤目補正処理、彩度調整処理、ノイズ低減処理、画像解析を伴う光量補正処理(画像解析の結果に基づき画像の暗部またはハイライト部を特定し、その特定部分の階調を主に調整する処理)、複数の画像から1つの画像を合成する画像合成処理、などが挙げられる。
Note that the types of image processing performed by the
記録I/F16には、記録媒体22を接続するためのコネクタが形成されている。そして、記録I/F16は、コネクタに接続された記録媒体22に対してデータの書き込み/読み込みを実行する。上記の記録媒体22は、ハードディスクや、半導体メモリを内蔵したメモリカードなどで構成される。なお、図1では記録媒体22の一例としてメモリカードを図示する。
A connector for connecting the
CPU17は、電子カメラの統括的な制御を行うプロセッサである。CPU17は、動作モード(一例として撮像モード、再生モードなど)に対応するシーケンスプログラムに従って、電子カメラの各部動作を制御する。例えば、撮像モードでのCPU17は、本画像の撮像処理や、撮像前に必要となる各種演算(AF演算、AE演算、オートホワイトバランス演算など)を実行する。なお、上記の再生モードに関する説明は後述する。
The
また、CPU17は、Exif(Exchangeable image file format for digital still cameras)規格に準拠して画像ファイルの生成を行う。なお、CPU17によって生成された画像ファイルは上記の記録媒体22に記録される。
ここで、図3に、画像ファイルのデータ構造を模式的に示す。画像ファイルは、撮像条件(露光時間、絞り値、撮像感度など)をはじめとするメタデータを記録するヘッダ領域と、画像のデータを記録する画像領域とを有している。また、画像ファイルのヘッダ領域は、TIFFヘッダとデータ領域(IFD)とで構成される。
Further, the
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
レリーズ釦19は、半押し操作によるAFの指示入力と、全押し操作によるレリーズタイミング(本画像の露光開始)の指示入力とをユーザーから受け付ける。
操作部材20は、図2に示すように、モードダイヤル23と、マルチセレクタ24と、複数の入力釦25とを有している。モードダイヤル23は、電子カメラの動作モードの切替操作をユーザーから受け付ける。
The
As illustrated in FIG. 2, the
また、マルチセレクタ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
さらに、各々の入力釦25は、各々の動作モード毎に設定された入力操作をユーザーから受け付ける。なお、入力釦25には、再生モードを立ち上げる再生釦25aが含まれる。
以下、本実施形態の電子カメラの再生モードでの動作例を説明する。
まず、再生モードにおいて、ユーザーが画像の編集処理を行う場合を説明する。
Further, each
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
First, the
第2に、CPU17は、編集画像のヘッダ領域の各データをExif規格に準拠して生成する。なお、編集画像に関する撮像条件のメタデータについては、編集元の画像ファイルのデータが複製されて記録されることとなる。
第3に、CPU17は、編集画像の画像ファイルのヘッダ領域に、編集処理での画像処理の種類を示すデータと、編集元の画像ファイルの所在を示すファイルパスとを記録する。なお、画像合成処理の場合には、編集元の画像ファイルのファイルパスがヘッダ領域に複数記録される。
Second, the
Thirdly, the
また、CPU17は、編集元の画像ファイルのヘッダ領域に、編集画像の画像ファイルの所在を示すファイルパスを記録する。これにより、画像ファイルのヘッダ領域からファイルパスが検出された場合には、CPU17はその画像ファイルと関連性のある他の画像ファイルの所在を把握することができる。
ここで、上記のファイルパスは、一例として、ルートディレクトリやドライブ名を起点として目的の画像ファイルの記録位置までの道筋を記述した文字列データなどで構成される。勿論、ファイルパスは相対パスであってもよい。なお、上記のファイルパスのデータは、いずれもMakerNoteタグを利用して各々のヘッダ領域に記録されることとなる。
Further, the
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
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
ステップ101:CPU17は、記録媒体22に記録されている全ての画像ファイルのヘッダ領域をスキャンする。そして、CPU17は、画像ファイルのヘッダ領域から検出したファイルパスに基づいて、画像ファイル間における元画像と編集画像との関係を示すリンクデータを生成する。このリンクデータの生成により、CPU17は画像ファイル同士の関連性を階層的に把握することが可能となる。したがって、CPU17は、同じ元画像に直接の関連性を有する複数の編集画像(一例として、画像N1に対する画像N3,N4,N5や、画像N3に対する画像N7,N8など)をリンクデータによって関連付けして抽出することが可能となる。
Step 101: The
ステップ102:CPU17は、関連画像表示のフラグをオフの状態にして初期化する。
ステップ103:CPU17は、再生対象となる画像ファイルから画像のデータを読み込む。なお、再生モードにおいて再生対象の画像がはじめて読み込まれる場合、CPU17は、ファイル番号の先頭(N1)または末尾(N9)の画像ファイルから画像を読み出す。
Step 102: The
Step 103: The
ステップ104:CPU17は、関連画像表示のフラグがオフの状態か否かを判定する。フラグがオフの状態の場合(YES側)にはCPU17はS105に移行する。一方、フラグがオンの状態の場合(NO側)にはCPU17はS115に移行する。なお、この場合(S104のNO側)は、CPU17は後述の関連画像表示モードで動作することとなる。
Step 104: The
ステップ105:CPU17は、再生対象の画像ファイル(S103)に関連性のある画像ファイルがないか否かを判定する。具体的には、CPU17は、リンクデータ(S102)を参照して、再生対象の画像に対する元画像または編集画像がないか否かを判定する。関連する画像ファイルがない場合(YES側)には、CPU17はS106に移行する。一方、関連する画像ファイルがある場合(NO側)には、CPU17はS109に移行する。
Step 105: The
ステップ106:この場合には、CPU17は、再生対象の画像ファイルから読み出した再生画像のみをモニタ18に表示する。なお、図7にS106でのモニタ18の表示画面の一例を示す。
ステップ107:CPU17は、次画像への表示切替操作(例えば、マルチセレクタ24の本体部24aでの操作)をユーザーから受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS108に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はユーザーからの入力を待機する。
Step 106: In this case, the
Step 107: The
ステップ108:CPU17は、再生対象の画像ファイルよりも、ファイル番号の並び順が1つ後(または1つ前)となる画像ファイルを再生対象に指定する。その後、CPU17はS103に戻って上記動作を繰り返す。
一例として、S106において画像N2が表示されているときに、ユーザーが次画像への表示切替操作を行った場合を考える。この場合には、ファイル番号の順に従って、切替後のモニタ18には画像N3(または画像N1)が表示されることとなる。
Step 108: The
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
ステップ109:この場合、CPU17は、再生対象の画像ファイルから読み出した再生画像と、関連画像の閲覧キーとをモニタ18に表示する。図8にS109でのモニタ18の表示画面の一例を示す。図8での表示画面には、再生画像の下側に、関連画像の閲覧キーがGUI形式で表示される。
ここで、上記の閲覧キーには、再生画像の元画像を閲覧するための元画像キーと、再生画像の編集画像を閲覧するための編集画像キーとの2種類がある。元画像キーは、リンクデータに基づいて再生画像に元画像があるとCPU17が判定した場合のみモニタ18に表示される。同様に、編集画像キーは、リンクデータに基づいて再生画像から生成された編集画像があるとCPU17が判定した場合のみモニタ18に表示される。なお、図8では、元画像キーおよび編集画像キーがモニタ18に両方表示された状態を示している。
Step 109: In this case, the
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
そして、ユーザーが操作部材20でモニタ18上のカーソル等を操作して閲覧キーへの入力を行うと、CPU17は、閲覧キーに対応する関連画像(元画像または編集画像)をモニタ18に表示する。ここで、表示中の再生画像から生成された編集画像が複数ある場合、CPU17は編集画像の閲覧キーへの入力があると、上記の編集画像のうちでファイル番号が最も古い編集画像を表示する。なお、表示中の再生画像から生成された編集画像が複数ある場合、CPU17は、ユーザーの指定した任意の編集画像をモニタ18に表示できるようにしてもよい。
Then, when the user operates the cursor or the like on the
ステップ110:CPU17は、関連画像の閲覧キーへの入力操作を受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS111に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はS113に移行する。
ステップ111:CPU17は、関連画像表示のフラグをオンの状態にする。また、CPU17は、現在の再生対象である画像ファイル(初期画像の画像ファイル)のファイルパスを記録する。
Step 110: The
Step 111: The
ステップ112:CPU17は、閲覧キーに対応する画像ファイル(元画像または編集画像)を再生対象に指定する。その後、CPU17はS103に戻って上記動作を繰り返す。なお、この場合には関連画像表示のフラグがオンの状態であるので、上記のS104にて、CPU17は後述の関連画像表示モード(S115)に移行することとなる。
一例として、S109において画像N1が表示されているときに、ユーザーが閲覧キー(編集画像キー)を入力した場合を考える。この場合には、CPU17は関連画像表示モードに移行し、切替後のモニタ18には画像N3が表示される。なお、関連画像表示モードでの表示画面の説明はS115で後述する。
Step 112: The
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
ステップ113:CPU17は、次画像への表示切替操作(例えば、マルチセレクタ24の本体部24aでの操作)をユーザーから受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS114に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はS110に戻って上記動作を繰り返す。
ステップ114:CPU17は、再生対象の画像ファイルに対してファイル番号の並び順が1つ後(または1つ前)となる画像ファイルを再生対象に指定する。その後、CPU17はS103に戻って上記動作を繰り返す。
Step 113: The
Step 114: The
一例として、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
Step 115: The
ここで、ユーザーが操作部材20でモニタ18上のカーソル等を操作して戻るキーへの入力を行うと、CPU17は、関連画像表示モードに入る前に表示されていた初期画像を再びモニタ18に表示する。また、S115の表示画面の表示状態で、ユーザーが再生釦25aを押圧すると、CPU17は関連画像表示モードを解除して通常の表示状態に移行する。なお、関連画像の閲覧キーについての説明は、S109と共通するので重複説明を省略する。
Here, when the user operates the cursor or the like on the
ステップ116:CPU17は、関連画像の閲覧キーへの入力操作を受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS117に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はS120に移行する。
ステップ117:CPU17は、閲覧キーに対応する画像ファイル(元画像または編集画像)を再生対象に指定する。
Step 116: The
Step 117: The
ステップ118:CPU17は、S117で再生対象に指定した画像ファイルが初期画像であるか否かを判定する。具体的には、CPU17は、S117で再生対象となった画像ファイルのファイルパスが、S111で記録したファイルパスと一致するか否かを判定する。上記要件を満たす場合(YES側)には、CPU17はS121に移行する。一方、上記要件を満たさない場合(NO側)には、CPU17は、関連画像表示モードのままでS103に戻って上記動作を繰り返す。
Step 118: The
なお、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
ステップ120:CPU17は、S111で記録されたファイルパスに基づいて、初期画像の画像ファイルを再生対象に指定する。
ステップ121:この場合は、関連画像表示モードに入る前の初期画像に表示を切り替える場合に相当する。そのため、CPU17は、関連画像表示のフラグをオフの状態にして、関連画像表示モードを解除する。その後、CPU17はS103に戻って上記動作を繰り返す。
Step 120: The
Step 121: This case corresponds to switching the display to the initial image before entering the related image display mode. Therefore, the
なお、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
Step 123: The
ステップ124:CPU17は、次画像への表示切替操作(例えば、マルチセレクタ24の本体部24aでの操作)をユーザーから受け付けたか否かを判定する。上記要件を満たす場合(YES側)にはCPU17はS125に移行する。一方、上記要件を満たさない場合(NO側)にはCPU17はS116に戻って上記動作を繰り返す。
ステップ125:CPU17は、リンクデータに基づいて、リンク元の画像を基準としてS115での表示画像と同じ階層に属する他の関連画像を抽出する。そして、CPU17は、上記の関連画像のグループのうちで、再生対象の画像ファイルに対してファイル番号の並び順が1つ後(または1つ前)となる画像ファイルを再生対象に指定する。その後、CPU17はS103に戻って上記動作を繰り返す。
Step 124: The
Step 125: Based on the link data, the
一例として、閲覧キーの操作で画像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
以下、本実施形態の作用効果を説明する。本実施形態の電子カメラでは、画像ファイルのヘッダ領域に記録されたファイルパスに基づいて、CPU17が画像ファイルの関連性を管理する。そして、CPU17は、再生中の画像に編集画像などがある場合にはモニタ18上に閲覧キーを表示してユーザーの注意を喚起する。また、CPU17は、ユーザーの閲覧キーの操作に応じて関連画像表示モードに移行し、リンク元の画像と関連性のある画像群の閲覧を容易に行えるようにしている。なお、関連画像表示モードでのモニタ18には、関連画像表示モードを示すモード表示が行われるので、ユーザーが混乱をきたすこともない。
Hereinafter, the effect of this embodiment is demonstrated. In the electronic camera of this embodiment, the
例えば、元画像と編集画像とが連番で記録されていない場合を考えると、通常の再生モードでは、ユーザーが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
(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
(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
(4) When erasing an image file whose file path is recorded in the header area, the
(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
(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
なお、本発明は、その精神またはその主要な特徴から逸脱することなく他の様々な形で実施することができる。そのため、上述した実施形態はあらゆる点で単なる例示に過ぎず、限定的に解釈してはならない。本発明は、特許請求の範囲によって示されるものであって、本発明は明細書本文にはなんら拘束されない。さらに、特許請求の範囲の均等範囲に属する変形や変更は、全て本発明の範囲内である。 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.
12…撮像素子、15…画像処理部、16…記録I/F、17…CPU、18…モニタ、20…操作部材、22…記録媒体
DESCRIPTION OF
Claims (6)
前記第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.
前記所定の規則は、ファイル番号の順であること
を特徴とする画像処理装置。 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 .
前記読込部は、前記第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.
記録媒体に記録されている画像データに前記画像処理を施す画像処理部を更に備えることAn image processing unit for performing the image processing on the image data recorded on the recording medium;
を特徴とする画像処理装置。An image processing apparatus.
請求項1から請求項4のいずれか一項に記載の画像処理装置とを備えることAn image processing apparatus according to any one of claims 1 to 4.
を特徴とする撮像装置。An imaging apparatus characterized by the above.
前記第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
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)
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 |
-
2007
- 2007-02-06 JP JP2007026575A patent/JP5125133B2/en not_active Expired - Fee Related
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 |