[go: up one dir, main page]

JP2004064297A - Image processing device, image display device, image processing program, and image display program - Google Patents

Image processing device, image display device, image processing program, and image display program Download PDF

Info

Publication number
JP2004064297A
JP2004064297A JP2002218265A JP2002218265A JP2004064297A JP 2004064297 A JP2004064297 A JP 2004064297A JP 2002218265 A JP2002218265 A JP 2002218265A JP 2002218265 A JP2002218265 A JP 2002218265A JP 2004064297 A JP2004064297 A JP 2004064297A
Authority
JP
Japan
Prior art keywords
image
data file
processing
data
association information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002218265A
Other languages
Japanese (ja)
Inventor
Masami Baba
馬場 真佐美
Yuichi Katagishi
片岸 勇一
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 JP2002218265A priority Critical patent/JP2004064297A/en
Publication of JP2004064297A publication Critical patent/JP2004064297A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus and an image display apparatus in which a relation between an original image and images before and after processing can easily be recognized. <P>SOLUTION: The image processing apparatus records history information of the image processing to an area in which camera information of an image data file is recorded. In history information of an image data file after application of the image processing, a name of the image data file before application of the processing is recorded, and in history information of a data file of the original image, an identification symbol representing the original image is recorded. The image display apparatus displays a relation between the image (data file) before the processing and the image (data file) after the processing in a tree form on the basis of the history information when the history information is recorded in the image data file. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、画像を加工する画像加工装置、画像を表示する画像表示装置、画像加工用プログラム、および画像表示用プログラムに関する。
【0002】
【従来の技術】
原画像もしくは原画像を加工した画像の一部を加工して新たな画像を生成する画像加工が知られている。画像加工には、カラーバランスやコントラストの変更の他に、画像の強調や修正、画像サイズやアスペクト比の変更など多岐にわたる加工が含まれる。
【0003】
【発明が解決しようとする課題】
加工前の画像に画像加工をして新たな画像を生成する場合、加工後の画像のデータファイルは加工前の画像のデータファイル名と異なるファイル名で記録される。1つの原画像から複数の加工画像が生成され、加工画像からさらに加工画像が生成されると、原画像ならびに加工前後の画像の関係がわかりにくくなる。
【0004】
本発明の目的は、原画像および加工前後の画像を関連づけるようにした画像加工装置、関連づけられた画像を表示する画像表示装置、画像加工用プログラムおよび画像表示用プログラムを提供することにある。
【0005】
【課題を解決するための手段】
(1)請求項1に記載の発明による画像加工装置は、第1のデータファイルに含まれる原画像の少なくとも一部を加工して第2のデータファイルを生成する第1のデータファイル生成手段と、第2のデータファイルに含まれる画像の少なくとも一部を再加工して第3のデータファイルを生成する第2のデータファイル生成手段と、第2のデータファイルに、加工後の画像のデータと、加工の前後の画像間の関連づけ情報のデータとを含めるように第1のデータファイル生成手段を制御し、第3のデータファイルに、再加工後の画像のデータと、再加工の前後の画像間の関連づけ情報のデータとを含めるように第2のデータファイル生成手段を制御する制御手段とを備えることにより、上述した目的を達成する。
画像加工装置はさらに、第1のデータファイルに原画像のデータファイルであることを示す情報を追加する関連づけ情報編集手段を備えてもよく、この場合の第2のデータファイルに含める関連づけ情報は、第1のデータファイルを示す情報にするとよく、第3のデータファイルに含める関連づけ情報は、第2のデータファイルを示す情報にするとよい。
関連づけ情報編集手段は、第1のデータファイルが消去されたとき、第1のデータファイルを示す情報に代えて原画像のデータファイルであることを示す情報を第2のデータファイルに追加するとよい。
関連づけ情報編集手段は、第2のデータファイルが消去されたとき、第2のデータファイルを示す情報に代えて第1のデータファイルを示す情報を第3のデータファイルに追加するとよい。
【0006】
(2)請求項5に記載の発明による画像表示装置は、第1のデータファイルに含まれる第1の画像データによる画像を表示装置に表示するための画像信号を生成する画像信号生成回路と、第1の画像および第1の画像へ加工する前の第2の画像間の第1の関連づけ情報を第1のデータファイルが含み、第2の画像データを含む第2のデータファイルが第2の画像および第2の画像へ加工する前の第3の画像間の第2の関連づけ情報を含む場合に、第1の関連づけ情報および第2の関連づけ情報をそれぞれ表示するための画像信号をさらに生成するように画像信号生成回路を制御する制御回路とを備えることにより、上述した目的を達成する。
第1および第2の関連づけ情報は、それぞれ加工前の画像のデータファイルを示す情報にするとよく、加工前の画像が未加工画像である場合は原画像のデータファイルであることを示す情報にするとよい。関連づけ情報の表示は、加工前の画像に対応するマークおよび加工後の画像に対応するマークの相互を結ぶツリー表示にするとよい。
画像表示装置はさらに、ツリー表示の中から加工前後のいずれかの画像に対応するマークを選択するための操作部材を備えてもよく、この場合の制御回路は、操作部材によって選択されたマークに対応する画像のデータファイルによる画像を表示するための画像信号を生成するとともに、ツリー表示の中で選択されたマークを他のマークと異なる態様で表示するための画像信号を生成するように画像信号生成回路をさらに制御することもできる。
制御回路は、選択されたマークに対応する画像へ加工する前の画像のデータファイルによる画像を表示するための画像信号をさらに生成し、加工前後の画像のいずれか一方を他方と異なる態様で表示するように画像信号生成回路を制御してもよい。
制御回路はさらに、選択されたマークに対応する画像が加工前の画像と相違する部分を異なる態様で表示するための画像信号を生成するように画像信号生成回路を制御してもよい。
画像表示装置は、加工前の画像に対応する縮小画像および加工後の画像に対応する縮小画像の相互を結ぶツリー表示で関連づけ情報の表示を行ってもよい。
【0007】
(3)請求項11に記載の発明による画像加工用プログラムは、第1のデータファイルに含まれる原画像の少なくとも一部を加工し、加工後の画像のデータと、加工の前後の画像間の関連づけ情報のデータとを含めて第2のデータファイルを生成する第1のデータファイル生成処理と、第2のデータファイルに含まれる画像の少なくとも一部を再加工し、再加工後の画像のデータと、再加工の前後の画像間の関連づけ情報のデータとを含めて第3のデータファイルを生成する第2のデータファイル生成処理とをコンピュータ装置に実行させることにより、上述した目的を達成する。
第1のデータファイルに、原画像のデータファイルであることを示す情報を追加する関連づけ情報編集処理を行ってもよく、この場合の第2のデータファイルに含める関連づけ情報は第1のデータファイルを示す情報に、第3のデータファイルに含める関連づけ情報は第2のデータファイルを示す情報にするとよい。
【0008】
(4)請求項13に記載の発明による画像表示用プログラムは、第1のデータファイルに含まれる第1の画像データによる画像を表示装置に表示するための画像信号を生成する処理と、第1の画像および第1の画像へ加工する前の第2の画像間の第1の関連づけ情報を第1のデータファイルが含み、第2の画像データを含む第2のデータファイルが第2の画像および第2の画像へ加工する前の第3の画像間の第2の関連づけ情報を含む場合に、第1の関連づけ情報および第2の関連づけ情報をそれぞれ表示するための画像信号をさらに生成する処理とをコンピュータ装置に実行させることにより、上述した目的を達成する。
【0009】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態を説明する。
図1は、本発明の一実施の形態による電子カメラの概要を説明するブロック図である。電子カメラは、CPU10と、撮像装置11と、メモリ12と、フラッシュメモリ13と、操作部材14と、フレームメモリ15と、LCDモニタ16と、インターフェイス回路17とを有する。各ブロックはデータバスを介してデータの送受を行う。記録媒体20はメモリカードなどによって構成され、電子カメラに対して着脱可能にされている。
【0010】
CPU10は、電子カメラの動作を制御する。電子カメラは、撮影した画像データを記録媒体20に記録する撮影モードと、記録媒体20に記録されている画像データによる画像をLCDモニタ16に再生表示する再生モードとを有する。撮影モードおよび再生モードの切替えは、操作部材14のうちモード切替えスイッチ(不図示)の操作によって行う。
【0011】
−撮影モード−
操作者がモード切替えスイッチを撮影モード側に操作すると、モード切替えスイッチからCPU10へモード切替え操作信号が送られる。CPU10は、電子カメラを撮影モードに切り替える。操作者が操作部材14を構成するレリーズボタン(不図示)を操作すると、操作部材14がレリーズ操作信号をCPU10へ出力する。CPU10は、レリーズ操作信号が入力されると電子カメラに撮影動作を開始させる。撮像装置11は、不図示の撮像素子、A/D変換回路、および画像処理回路を含む。撮像装置11は、被写体像を撮像して得られる撮像信号をA/D変換し、ディジタル変換した信号に対して輪郭補償やガンマ補正、色温度調整などの所定の画像処理を施す。画像処理後のデータは、メモリ12に一時格納される。
【0012】
メモリ12に格納された画像データは、撮像装置11内の画像処理回路によってJPEGなどの方式で所定の比率にデータ圧縮され、再びメモリ12に格納される。CPU10は、メモリ12内の画像データ、撮影時のカメラデータや当該画像の情報などを示すデータをTIFF形式のファイルデータにフォーマット変換し、TIFF形式のデータおよびJPEG形式のデータをExifファイルとして記録媒体20へ記録する。カメラデータには、撮影条件などが含まれる。画像情報には、当該画像の撮影日時などが含まれる。
【0013】
フラッシュメモリ13には、CPU10が実行するプログラムが格納される。フラッシュメモリ13に格納されるプログラムは、たとえば、アップグレードの場合に書き換え可能に構成されている。メモリ12は、上述した画像データの一時的な格納や、CPU10による作業領域として使用される。
【0014】
フレームメモリ15は、LCDモニタ16に表示する表示用画像データを格納する。CPU10は、上記画像処理後にメモリ12に格納されている画像データをLCDモニタ16の表示サイズに応じてサイズ変換し、変換後の表示用画像データをフレームメモリ15に書き込む。これにより、モニタ画像がLCDモニタ16に表示される。
【0015】
インターフェイス回路17は、電子カメラがパーソナルコンピュータ(以下パソコンと呼ぶ)や通信機器などの外部機器との間でデータの送受を行うときに使用される。
【0016】
−再生モード−
操作者が操作部材14を構成するモード切替えスイッチ(不図示)を再生モード側に操作すると、モード切替えスイッチからCPU10へモード切替え操作信号が送られる。CPU10は、電子カメラを再生モードに切り替え、記録媒体20に記録されている画像データファイルから画像データを読出し、当該画像をLCDモニタ16に表示するように表示用データをフレームメモリ15へ書き込む。これにより、再生画像がLCDモニタ16に表示される。
【0017】
本発明は、上記電子カメラで記録した画像データファイルの画像に加工を施した場合に、加工後の画像と加工前の画像との関係がわかるようにしたものである。すなわち、画像に加工を施すとき、加工後の画像のデータファイルに加工前の画像のデータファイルを示す情報を記録し、加工前の画像が未加工画像(原画像)の場合は、当該データファイルに原画像のデータファイルであることを示す情報を記録する。一方、データファイルによる画像を表示装置に表示するとき、データファイル内に記録されている加工前の画像のデータファイルを示す情報、および原画像のデータファイルであることを示す情報に応じて、加工前後の画像のデータファイルの関係を示す情報を画像とともに表示する。
【0018】
−電子カメラによる画像加工−
データファイル内の画像の加工は、電子カメラもしくはパソコンによって行う。電子カメラで行う場合は、操作者が再生画像をLCDモニタ16に表示させて行う。電子カメラが再生モードに切替え操作されて最初にLCDモニタ16に表示する画像は、記録媒体20に記録されている画像データファイルのうち、撮影日時が最新のコマに対応する画像とする。再生表示には、画像データファイル内の副画像データが用いられる。
【0019】
図2は、画像データファイルのフォーマットを説明する図である。図2において、画像データファイルは、ヘッダと、主画像(JPEG画像)情報と、カメラ情報と、副画像(サムネイル画像)データと、主画像(JPEG画像)データとを有する。カメラ情報には、カメラデータおよび履歴情報が含まれる。カメラデータは、撮影時のシャッタ速度や絞り値などを示すデータである。履歴情報は、当該データファイルに画像加工処理を施した場合に記録する情報であり、画像データファイルが撮影時に記録媒体20に記録された時点ではブランクにされている。
【0020】
CPU10は、画像再生時に画像データファイルから図2の副画像データをメモリ12に一旦読出し、当該副画像(サムネイル画像)をLCDモニタ16に表示させる。表示するコマを切替えるには、操作者が操作部材14を構成する十字スイッチ(不図示)を操作して選択する。CPU10は、十字スイッチが左向きに操作されると、現在表示中のコマより1つ前のコマに対応する副画像をLCDモニタ16に表示させる。CPU10は、十字スイッチが右向きに操作されると、現在表示中のコマより1つ後のコマに対応する副画像をLCDモニタ16に表示させる。
【0021】
電子カメラで行う画像加工は、たとえば、コントラスト調整やカラーバランス調整などである。操作者は、LCDモニタ16に表示されているコマの画像に対してコントラスト調整の画像加工を行うとき、操作部材14を構成するメニュースイッチ(不図示)を操作し、コントラスト調整のメニューを選択する。CPU10がコントラスト調整を行うための表示データを生成し、フレームメモリ15に書き込むと、不図示のコントラスト調整操作表示がLCDモニタ16に表示中の副画像に重ねてオーバレイ表示される。なお、この時点でLCDモニタ16に表示中のコマに対応する画像データファイルを加工前の画像データファイルと呼ぶ。
【0022】
操作者は、コントラスト調整操作表示にしたがって上述した十字スイッチ(不図示)を操作する。CPU10は、十字スイッチが右方向に操作されるとコントラスト調整値を現在の設定値より高く、十字スイッチが左方向に操作されるとコントラスト調整値を現在の設定値より低くするように撮像装置11へ指示を送出する。これにより、メモリ12に読み出されている副画像データが撮像装置11へ送られ、撮像装置11が副画像データに対してコントラスト調整を行う。コントラスト調整後の副画像データは、再びメモリ12に格納されるとともにフレームメモリ15にも書き込まれる。この結果、操作者は、コントラスト調整後の副画像をLCDモニタ16の表示画面で確認できる。
【0023】
操作者は、LCDモニタ16に表示されているコマの画像に対してカラーバランス調整の画像加工を行うとき、操作部材14を構成するメニュースイッチ(不図示)を操作し、カラーバランス調整のメニューを選択する。CPU10がカラーバランス調整を行うための表示データを生成し、フレームメモリ15に書き込むと、不図示のカラーバランス調整操作表示がLCDモニタ16に表示中の副画像に重ねてオーバレイ表示される。
【0024】
操作者は、カラーバランス調整操作表示にしたがって上述した十字スイッチ(不図示)を操作する。CPU10は、十字スイッチが上方向もしくは下方向に操作されると、操作信号に応じて赤色、緑色、青色のいずれかを示すマーク(不図示)を選択する。CPU10は、十字スイッチが右方向に操作されると、その時点で選択されている色の信号を現在の設定値より強くし、十字スイッチが左方向に操作されると、その時点で選択されている色の信号を現在の設定値より弱くするように撮像装置11に指示を送出する。これにより、メモリ12上の副画像データが撮像装置11へ送られ、撮像装置11が副画像データに対してカラーバランス調整を行う。カラーバランス調整後の副画像データは、再びメモリ12に格納されるとともにフレームメモリ15にも書き込まれる。この結果、操作者は、カラーバランス調整後の副画像をLCDモニタ16の表示画面で確認できる。
【0025】
操作者が操作部材14を構成する決定スイッチ(不図示)を操作すると、決定操作信号がCPU10へ送られる。CPU10は、LCDモニタ16に表示中の副画像に対応するコマのデータファイルから主画像データを読み出してメモリ12に格納し、撮像装置11に副画像データと同様の画像加工を指示する。撮像装置11は、JPEG圧縮された主画像データを伸張し、伸張した主画像データに対して画像加工処理を施す。撮像装置11は、画像加工後の主画像データを再びJPEG圧縮する。
【0026】
CPU10は、加工前の画像のデータファイルの名称を履歴情報として付加し、メモリ12内の主画像データ、副画像データ、カメラ情報などを示すデータをTIFF形式のファイルデータにフォーマット変換し、Exifファイルとして記録媒体20へ新たなファイル名称で記録する。これにより、画像加工後の画像データファイルが記録媒体20に追加される。図3は、画像加工後のデータファイルのフォーマットを説明する図である。図2に比べて、加工前の画像のデータファイルの名称が履歴情報として記録されている。
【0027】
CPU10はさらに、加工前の画像のデータファイル内の履歴情報がブランクにされている場合に、当該データファイルが原画像のデータファイルであることを示す情報を履歴情報として記録媒体20へ追加記録する。図4は、この場合の画像加工前のデータファイルのフォーマットを説明する図である。図3に比べて、原画像のデータファイルであることを示す識別記号が履歴情報として記録されている。
【0028】
−パソコンによる画像加工−
データファイル内の画像の加工をパソコンによって行う場合は、記録媒体20に記録されているデータファイルをパソコンへ移した上で、パソコン上で画像加工プログラムを実行して行う。記録媒体20内の画像データファイルをパソコンへ移す方法は、電子カメラに装着されている記録媒体20からインターフェイス回路17を介してパソコン(不図示)へ送出する方法と、記録媒体20を電子カメラから取り外してパソコンの読み取り装置(不図示)に装着し、パソコンが画像データファイルを記録媒体20から直接読み取る方法とがあるが、いずれの方法でもよい。
【0029】
操作者は、記録媒体20内の画像データファイルをパソコンのストレージ装置(不図示)へ取り込み、取り込んだデータファイルの画像データに対して画像加工プログラムを用いて画像加工を施し、画像加工後のデータファイルを得る。図5は、画像加工プログラムによる画像加工処理の流れを説明するフローチャートである。図5のステップS11において、パソコンのシステムコントローラ(不図示)は、加工前の画像のデータファイルをストレージ装置から読み込む。システムコントローラは、操作者によるキーボードなどの入力操作によって指定された画像のデータファイルを加工前画像として読み込み、ステップS12へ進む。
【0030】
ステップS12において、システムコントローラは、操作者による入力操作に応じて所定の画像加工処理を行う。画像加工処理は、トリミング、修正、カラーバランス調整、およびコントラスト調整などの少なくとも1つを行う。システムコントローラは、加工前画像のデータファイルのJPEG圧縮された主画像データを伸張し、画像加工処理後に再びJPEG圧縮する。また、画像加工後の主画像データ(非圧縮)をリサイズ処理して主画像データよりデータサイズが小さい副画像データを生成する。画像加工後の主画像データから副画像データを得るので、加工内容が主画像(JPEG画像)データおよび副画像(サムネイル)データに共通に反映される。システムコントローラは、画像加工処理を終了するとステップS13へ進む。ステップS13において、システムコントローラは、加工前の画像のデータファイルに履歴情報が記録されているか否かを判定する。
【0031】
パソコンのシステムコントローラは、加工前の画像のデータファイルの履歴情報が記録されている場合にステップS13を肯定判定してステップS14へ進み、加工前の画像のデータファイルの履歴情報がブランクにされている場合にステップS13を否定判定してステップS16へ進む。ステップS16へ進む場合は、加工前の画像が原画像の場合であり、ステップS14へ進む場合は、加工前の画像が以前加工された画像の場合である。
【0032】
ステップS14において、システムコントローラは、加工前の画像のデータファイルの名称を履歴情報として付加してステップS15へ進む。ステップS15において、システムコントローラは、加工処理後の主画像データおよび副画像データ、カメラ情報などを示すデータをTIFF形式のファイルデータにフォーマット変換し、Exifファイルとしてストレージ装置へ新たなファイル名称で記録し、図5による処理を終了する。ストレージ装置に追加された画像データファイルは、図3のように、加工前の画像のデータファイルの名称が履歴情報として記録されたものである。
【0033】
ステップS16において、システムコントローラは、加工前の画像のデータファイルの名称を履歴情報として付加してステップS17へ進む。ステップS17において、システムコントローラは、加工処理後の主画像データおよび副画像データ、カメラ情報などを示すデータをTIFF形式のファイルデータにフォーマット変換し、Exifファイルとしてストレージ装置へ新たに記録してステップS18へ進む。
【0034】
ステップS18において、システムコントローラは、加工前の画像のデータファイル内の履歴情報として、当該データファイルが原画像のデータファイルであることを示す情報を付加してステップS19へ進む。ステップS19において、システムコントローラは、履歴情報を付加した加工前の画像データファイルをストレージ装置へ上書き記録し、図5による処理を終了する。ストレージ装置に上書きされた画像データファイルは、図4のように、原画像データファイルであることを示す識別記号が履歴情報として記録されたものである。
【0035】
−パソコンによる画像の表示−
パソコンがストレージ装置(不図示)内に複数の画像データファイルを有し、これら画像データファイルによる画像を表示装置に再生表示するとき、最初に表示装置に表示する画像は、ストレージ装置に記録されている画像データファイルのうち、撮影日時が最新のコマに対応する画像とする。再生表示には、画像データファイル内の主画像データを用いる。操作者は、記録媒体20内の画像データファイルをパソコンのストレージ装置へ取り込み、画像表示プログラムを用いて再生表示を実行させる。図6は、画像表示プログラムによる再生表示処理の流れを説明するフローチャートである。
【0036】
図6のステップS51において、システムコントローラは、撮影日時が最新のコマを選択コマとし、選択コマの画像データファイルを開き、上述した履歴情報が記録されているか否かを判定する。システムコントローラは、履歴情報が記録されている場合に当該履歴情報を読み込み、ステップS51を肯定判定してステップS52へ進む。システムコントローラは、履歴情報がブランクの場合にステップS51を否定判定してステップS55へ進む。
【0037】
ステップS52において、システムコントローラは、選択コマ以外の他の画像データファイルをそれぞれ開き、履歴情報が記録されている場合にそれらを読み込んで各画像データファイルの名称とともに記憶し、ステップS53へ進む。履歴情報が記録されていないデータファイルについては何もしない。ステップS53において、システムコントローラは、ツリー情報を生成してステップS54へ進む。ツリー情報は、画像加工前の画像(データファイル)と、この画像(データファイル)を加工した後の画像(データファイル)との関係を示す情報である。システムコントローラは、選択コマを加工前後の画像とする全ての画像について、ツリー表示を行うために必要な情報を生成する。
【0038】
図7は、ツリー表示の一例を説明する図である。図7において、マーク71〜74は、それぞれ加工画像を示すマークである。マーク75は、原画像を示すマークである。マーク71が太く表示されているのは、マーク71が選択コマに対応することを示す。なお、選択コマに対応するマークを太く表示する代わりに、他のマークと色を変えて表示してもよい。図7によるツリーは、原画像75を加工前の画像として、加工後の画像73および加工後の画像74がそれぞれ生成されたことを示す。ツリーはさらに、加工画像73を加工前の画像として、加工後の画像71および加工後の画像72がそれぞれ生成されたことを示す。この場合、原画像75に対応する画像データファイルの履歴情報には、原画像であることを示す識別記号が記されている。画像73および画像74に対応する画像データファイルの履歴情報には、それぞれ画像75に対応する画像データファイルの名称が記されている。画像71および画像72に対応する画像データファイルの履歴情報には、それぞれ画像73に対応する画像データファイルの名称が記されている。
【0039】
図6のステップS54において、システムコントローラは、選択コマの副画像データと、上記ツリー表示に必要な画像データファイルの副画像データとをそれぞれの画像データファイルから読み出してステップS55へ進む。ステップS55において、システムコントローラは、選択コマの主画像データを画像データファイルから読み出してステップS56へ進む。
【0040】
ステップS56において、システムコントローラは、JPEG圧縮された主画像データを伸張し、伸張後の画像を表示装置に表示させる。システムコントローラはさらに、表示中の選択コマの画像に重ねて上記ツリー表示をオーバレイ表示させる。図8は、表示画像の一例を示す図である。図8において、選択コマの主画像81と、ツリー表示82とが表示されている。図9は、ツリー表示82を拡大した図である。図9において、図7のマーク71〜75の代わりに、各マーク71〜75に対応するサムネイル画像71A〜75Aが表示されている。サムネイル画像のうち、選択コマに対応するサムネイル画像71Aの枠が太く表示される。システムコントローラは、以上のように表示処理を行うとステップS57へ進む。
【0041】
ステップS57において、システムコントローラは、ツリー表示82によりコマ選択が行われたか否かを判定する。システムコントローラは、操作者によるポインティングデバイスなどの入力操作によってサムネイル画像71A〜75Aのいずれかを選択する操作信号が入力されると、ステップS57を肯定判定してステップS55へ戻る。システムコントローラは、サムネイル画像71A〜75Aのいずれかを選択する操作信号が入力されない場合は、ステップS57を否定判定してステップS58へ進む。
【0042】
ステップS58において、システムコントローラは、キーボードなどの入力装置によりコマ選択が行われたか否かを判定する。システムコントローラは、操作者による画像データファイル名などの入力操作によってツリー表示82以外のコマを選択する操作信号が入力されると、ステップS58を肯定判定してステップS51へ戻る。システムコントローラは、コマ選択する操作信号が入力されない場合は、ステップS58を否定判定してステップS59へ進む。ステップS59において、システムコントローラは、終了するか否かを判定する。システムコントローラは、操作者によって終了操作が行われた場合に図6による処理を終了し、終了操作が行われない場合にステップS57へ戻る。
【0043】
以上説明した実施の形態によれば、次の作用効果が得られる。
(1)画像データファイルのカメラ情報を記録する領域に、画像加工の履歴情報を記録するようにした。画像加工処理を施した後の画像データファイルの履歴情報には加工処理を施す前の画像のデータファイルの名称を記録し、原画像のデータファイルの履歴情報には原画像であることを示す識別記号を記録する。これにより、画像データファイルの履歴情報をチェックするだけで、画像加工前の画像(データファイル)と、この画像(データファイル)を加工した後の画像(データファイル)との関係を知ることができる。
【0044】
(2)上記(1)の加工前の画像(データファイル)、および加工後の画像(データファイル)の関係をツリー表示させるようにしたので、画像を加工する前後の関係を視覚的にわかりやすく表示することができる。とくに、原画像を加工した子画像、子画像をさらに加工した孫画像が存在する場合や、同一の画像から異なる複数の加工画像を生成した場合に、各画像の加工前後の関係を明確に示せるから、加工処理を施した画像データの検索が行いやい。
(3)ツリー表示にサムネイル画像を用いたので、ツリーを構成する画像データがどんな画像であるかを視覚的にわかりやすく表示することができる。また、データ圧縮されていないサムネイル画像をツリー表示に用いることにより、ツリー表示のための伸張処理が不要であり、伸張処理を行う場合に比べてツリー表示処理時間を短くすることができる。
【0045】
(4)表示コマの選択を、ツリー表示82のサムネイル画像71A〜75Aの選択で行うようにしたので、操作者にとって使いやすい画像表示装置を提供することができる。
【0046】
以上の説明では、電子カメラで行う画像加工についてコントラスト調整やカラーバランス調整を例に上げて説明し、パソコンで行う画像加工について、トリミング、修正、カラーバランス調整、およびコントラスト調整を例に上げて説明した。画像加工は、電子カメラおよびパソコンに限らず、スキャナなどの画像読取装置で行ってもよい。
【0047】
また、画像に対して行う加工は、電子カメラやスキャナで撮像して得た未加工の画像(原画像)の少なくとも一部を変更するものであれば、上述した加工処理以外のものでもよい。
【0048】
原画像のデータファイルを消去するとき、この原画像(データファイル)から加工して得た画像(データファイル)を新たに原画像(データファイル)にするとよい。すなわち、履歴情報として原画像であることを示す識別記号が記録された画像データファイルを消去するとき、当該画像データファイル名を履歴情報として記録している画像データファイルについて、その履歴情報を原画像であることを示す識別記号に書き換える。これにより、原画像を加工した子画像(データファイル)を新たに原画像(データファイル)にすることができる。
【0049】
原画像を加工した子画像(データファイル)、子画像をさらに加工した孫画像(データファイル)が存在する状態で子画像のデータファイルを消去するとき、孫画像(データファイル)を新たに子画像(データファイル)にするとよい。すなわち、子画像(データファイル)を消去するとき、当該子画像データファイルの履歴情報に記録されている画像データファイルの名称を、孫画像データファイルの履歴情報に上書き更新する。これにより、原画像を加工した子画像(データファイル)を消去しても、原画像(データファイル)と孫画像(新たな子画像)(データファイル)との間の履歴情報を残すことができる。
【0050】
上述した説明では、選択コマのみについて主画像を表示するようにしたが、選択コマの画像に加工する前のコマの主画像も表示するようにしてもよい。この場合には、一方の画像の輝度を落として表示したり、一方の画像を破線で表示して区別できるようにするとよい。
【0051】
また、図10に示すように、両画像の相違部分のみを選択コマの主画像と異なる態様で表示させてもよい。図10の例では、マーク71に対応する選択コマの主画像71Dが実線で表示され、当該主画像71Dおよびマーク73に対応する加工前の主画像間の相違部分73Dが破線で表示されている。このように、加工前後の画像で異なる部分を表示すると、画像のどこが加工されているかをわかりやすく表示できる。
【0052】
以上の説明では、電子カメラおよびパソコンを画像加工装置として使用し、パソコンを画像表示装置として使用する例を説明した。電子カメラに表示用モニタが備えられている場合や、外部の表示装置に対する表示信号を出力する回路が備えられている場合には、電子カメラを画像表示装置として使用してもよい。
【0053】
パソコンを画像加工装置および画像表示装置として使用する場合、画像加工用プログラム、および画像表示用プログラムを用意し、これらのプログラムをパソコンに取込んで使用する。プログラムをコンピュータのデータストレージ装置にローディングした上で実行させることにより、画像加工装置、および画像表示装置が提供される。プログラムのローディングは、プログラムが格納された記録媒体をパソコンにセットして行ってもよいし、ネットワークを経由してパソコン取り込ませる方法でもよい。
【0054】
特許請求の範囲における各構成要素と、発明の実施の形態における各構成要素との対応について説明する。第1のデータファイル生成手段、第2のデータファイル生成手段、制御手段、および関連づけ情報編集手段は、たとえば、CPU10によって構成される。加工されたデータファイルの関連づけ情報は、たとえば、加工前のデータファイルの名称が対応する。原画像(未加工画像)のデータファイルの関連づけ情報は、たとえば、原画像のデータファイルであることを示す識別記号が対応する。画像信号生成回路、制御回路は、たとえば、パソコンのシステムコントローラによって構成される。なお、本発明の特徴的な機能を損なわない限り、各構成要素は上記構成に限定されるものではない。
【0055】
【発明の効果】
請求項1および請求項11に記載の発明では、画像加工時に原画像および加工前後の画像の関連づけ情報のデータをデータファイルに含めることができる。請求項5および請求項13に記載の発明では、関連づけ情報によって原画像および加工前後の画像の関係をわかりやすく表示することができる。
【図面の簡単な説明】
【図1】本発明の一実施の形態による電子カメラの概要を説明するブロック図である。
【図2】画像データファイルのフォーマットを説明する図である。
【図3】画像加工後のデータファイルのフォーマットを説明する図である。
【図4】原画像のデータファイルのフォーマットを説明する図である。
【図5】画像加工プログラムによる画像加工処理の流れを説明するフローチャートである。
【図6】画像表示プログラムによる再生表示処理の流れを説明するフローチャートである。
【図7】ツリー表示の一例を説明する図である。
【図8】表示画像の一例を示す図である。
【図9】ツリー表示を拡大した図である。
【図10】加工前後の画像の相違部分を選択コマの主画像と異なる態様で表示した例を示す図である。
【符号の説明】
10…CPU、           11…撮像装置、
12…メモリ、           16…LCDモニタ、
20…記録媒体、          71〜75…マーク、
71A〜75A…サムネイル画像、  71D、81…選択コマの主画像、
73D…加工前後の画像の相違部分、 82…ツリー表示
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing device that processes an image, an image display device that displays an image, an image processing program, and an image display program.
[0002]
[Prior art]
2. Description of the Related Art Image processing for generating a new image by processing an original image or a part of an image obtained by processing the original image is known. The image processing includes a variety of processing such as enhancement and correction of an image, and change of an image size and an aspect ratio, in addition to a change of a color balance and a contrast.
[0003]
[Problems to be solved by the invention]
When a new image is generated by performing image processing on an image before processing, the data file of the image after processing is recorded with a file name different from the data file name of the image before processing. If a plurality of processed images are generated from one original image and further processed images are generated from the processed images, it becomes difficult to understand the relationship between the original image and the images before and after the processing.
[0004]
An object of the present invention is to provide an image processing device that associates an original image with an image before and after processing, an image display device that displays an associated image, an image processing program, and an image display program.
[0005]
[Means for Solving the Problems]
(1) An image processing device according to the first aspect of the present invention includes a first data file generating unit configured to process at least a part of an original image included in a first data file to generate a second data file. A second data file generating unit configured to reprocess at least a part of an image included in the second data file to generate a third data file; Controlling the first data file generating means so as to include the data of the association information between the images before and after the processing, and stores the data of the image after the reprocessing and the image before and after the reprocessing in the third data file. The above-mentioned object is achieved by providing control means for controlling the second data file generating means so as to include the data of the association information between them.
The image processing apparatus may further include an association information editing unit that adds information indicating that the data file is the original image data file to the first data file. In this case, the association information included in the second data file includes: The information indicating the first data file may be used, and the association information included in the third data file may be information indicating the second data file.
When the first data file is deleted, the association information editing means may add information indicating that the data file is the original image data file to the second data file instead of the information indicating the first data file.
When the second data file is deleted, the associating information editing means may add information indicating the first data file to the third data file instead of information indicating the second data file.
[0006]
(2) An image display device according to a fifth aspect of the present invention includes an image signal generation circuit that generates an image signal for displaying an image based on the first image data included in the first data file on the display device; The first data file includes first association information between the first image and the second image before being processed into the first image, and the second data file including the second image data includes the second image file. In a case where the second association information between the image and the third image before being processed into the second image is included, an image signal for displaying the first association information and the second association information, respectively, is further generated. The above object is achieved by providing the control circuit for controlling the image signal generation circuit as described above.
The first and second association information may be information indicating a data file of an image before processing, and if the image before processing is an unprocessed image, information indicating that the data file is an original image. Good. The display of the association information may be a tree display that connects the mark corresponding to the image before processing and the mark corresponding to the image after processing.
The image display device may further include an operation member for selecting a mark corresponding to any one of the images before and after the processing from the tree display, and the control circuit in this case may include an operation member for the mark selected by the operation member. An image signal for generating an image signal for displaying an image based on the data file of the corresponding image, and for generating an image signal for displaying a mark selected in the tree display in a manner different from other marks. The generation circuit can be further controlled.
The control circuit further generates an image signal for displaying an image based on the data file of the image before processing into an image corresponding to the selected mark, and displays one of the images before and after processing in a different manner from the other The image signal generation circuit may be controlled to perform the operation.
The control circuit may further control the image signal generation circuit so as to generate an image signal for displaying a portion of the image corresponding to the selected mark different from the image before processing in a different manner.
The image display device may display the association information in a tree display linking the reduced image corresponding to the image before processing and the reduced image corresponding to the processed image.
[0007]
(3) An image processing program according to claim 11 processes at least a part of an original image included in a first data file, and processes data of an image after processing and an image before and after processing. A first data file generation process for generating a second data file including data of association information; and reprocessing at least a part of an image included in the second data file, and reprocessing the image data after reprocessing. The above object is achieved by causing a computer device to execute a second data file generation process of generating a third data file including data of association information between images before and after reprocessing.
An association information editing process of adding information indicating that the data file is the original image file to the first data file may be performed. In this case, the association information included in the second data file is the first data file. It is preferable that the association information included in the third data file be information indicating the second data file.
[0008]
(4) An image display program according to the invention according to claim 13 is a program for generating an image signal for displaying an image based on the first image data included in the first data file on a display device; The first data file includes first association information between the first image and the second image before being processed into the first image, and the second data file including the second image data includes the second image file and the second image file. A process of further generating an image signal for displaying the first association information and the second association information when the second association information between the third images before being processed into the second image is included; The above-described object is achieved by causing a computer device to execute.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating an outline of an electronic camera according to an embodiment of the present invention. The electronic camera has a CPU 10, an imaging device 11, a memory 12, a flash memory 13, an operation member 14, a frame memory 15, an LCD monitor 16, and an interface circuit 17. Each block transmits and receives data via a data bus. The recording medium 20 is configured by a memory card or the like, and is detachable from the electronic camera.
[0010]
The CPU 10 controls the operation of the electronic camera. The electronic camera has a photographing mode for recording photographed image data on the recording medium 20 and a reproduction mode for reproducing and displaying an image based on the image data recorded on the recording medium 20 on the LCD monitor 16. Switching between the photographing mode and the reproduction mode is performed by operating a mode switching switch (not shown) of the operation member 14.
[0011]
-Shooting mode-
When the operator operates the mode changeover switch to the photographing mode side, a mode changeover operation signal is sent from the mode changeover switch to the CPU 10. The CPU 10 switches the electronic camera to a shooting mode. When the operator operates a release button (not shown) constituting the operation member 14, the operation member 14 outputs a release operation signal to the CPU 10. When the release operation signal is input, the CPU 10 causes the electronic camera to start a shooting operation. The imaging device 11 includes an imaging device (not shown), an A / D conversion circuit, and an image processing circuit. The imaging device 11 performs A / D conversion of an imaging signal obtained by imaging a subject image, and performs predetermined image processing such as contour compensation, gamma correction, and color temperature adjustment on the digitally converted signal. The data after the image processing is temporarily stored in the memory 12.
[0012]
The image data stored in the memory 12 is compressed by an image processing circuit in the imaging device 11 at a predetermined ratio by a method such as JPEG and stored in the memory 12 again. The CPU 10 converts the image data in the memory 12, the camera data at the time of photographing, and the data indicating the information of the image, into TIFF format file data, and converts the TIFF format data and the JPEG format data into an Exif file as a recording medium. Record to 20. The camera data includes shooting conditions and the like. The image information includes the shooting date and time of the image.
[0013]
The flash memory 13 stores a program executed by the CPU 10. The program stored in the flash memory 13 is configured to be rewritable in the case of an upgrade, for example. The memory 12 is used as a temporary storage for the above-described image data and as a work area for the CPU 10.
[0014]
The frame memory 15 stores display image data to be displayed on the LCD monitor 16. The CPU 10 converts the size of the image data stored in the memory 12 after the image processing according to the display size of the LCD monitor 16, and writes the converted display image data to the frame memory 15. Thereby, the monitor image is displayed on the LCD monitor 16.
[0015]
The interface circuit 17 is used when the electronic camera transmits and receives data to and from an external device such as a personal computer (hereinafter referred to as a personal computer) or a communication device.
[0016]
-Playback mode-
When the operator operates a mode changeover switch (not shown) constituting the operation member 14 to the reproduction mode, a mode changeover operation signal is sent from the mode changeover switch to the CPU 10. The CPU 10 switches the electronic camera to the reproduction mode, reads image data from the image data file recorded on the recording medium 20, and writes display data to the frame memory 15 so that the image is displayed on the LCD monitor 16. Thereby, the reproduced image is displayed on the LCD monitor 16.
[0017]
According to the present invention, when processing is performed on an image of an image data file recorded by the electronic camera, the relationship between the processed image and the unprocessed image can be understood. That is, when processing an image, information indicating the data file of the image before processing is recorded in the data file of the image after processing, and if the image before processing is an unprocessed image (original image), the data file The information indicating that the data file is the data file of the original image is recorded therein. On the other hand, when an image based on a data file is displayed on a display device, processing is performed in accordance with information indicating a data file of an unprocessed image recorded in the data file and information indicating a data file of an original image. Information indicating the relationship between the data files of the preceding and following images is displayed together with the images.
[0018]
-Image processing by electronic camera-
The processing of the image in the data file is performed by an electronic camera or a personal computer. When the operation is performed by the electronic camera, the operator displays the reproduced image on the LCD monitor 16 and performs the operation. The image initially displayed on the LCD monitor 16 when the electronic camera is switched to the reproduction mode is the image corresponding to the frame whose shooting date and time is the latest among the image data files recorded on the recording medium 20. The sub-image data in the image data file is used for the reproduction display.
[0019]
FIG. 2 is a diagram illustrating the format of an image data file. In FIG. 2, the image data file has a header, main image (JPEG image) information, camera information, sub-image (thumbnail image) data, and main image (JPEG image) data. The camera information includes camera data and history information. The camera data is data indicating a shutter speed, an aperture value, and the like at the time of shooting. The history information is information to be recorded when the data processing is performed on the data file, and is blank when the image data file is recorded on the recording medium 20 at the time of photographing.
[0020]
The CPU 10 once reads out the sub-image data of FIG. 2 from the image data file to the memory 12 at the time of reproducing the image, and displays the sub-image (thumbnail image) on the LCD monitor 16. In order to switch the frame to be displayed, the operator operates the cross switch (not shown) constituting the operation member 14 to select it. When the cross switch is operated to the left, the CPU 10 causes the LCD monitor 16 to display a sub-image corresponding to the frame immediately before the currently displayed frame. When the cross switch is operated to the right, the CPU 10 causes the LCD monitor 16 to display a sub-image corresponding to a frame immediately after the currently displayed frame.
[0021]
The image processing performed by the electronic camera includes, for example, contrast adjustment and color balance adjustment. The operator operates a menu switch (not shown) constituting the operation member 14 to select a contrast adjustment menu when performing image processing for contrast adjustment on an image of a frame displayed on the LCD monitor 16. . When the CPU 10 generates display data for performing contrast adjustment and writes the display data in the frame memory 15, a contrast adjustment operation display (not shown) is overlaid on the sub-image being displayed on the LCD monitor 16. Note that the image data file corresponding to the frame currently displayed on the LCD monitor 16 at this point is called an unprocessed image data file.
[0022]
The operator operates the cross switch (not shown) according to the contrast adjustment operation display. The CPU 10 controls the imaging device 11 so that when the cross switch is operated to the right, the contrast adjustment value is higher than the current setting value, and when the cross switch is operated to the left, the contrast adjustment value is lower than the current setting value. To send an instruction. Thereby, the sub-image data read to the memory 12 is sent to the imaging device 11, and the imaging device 11 performs contrast adjustment on the sub-image data. The sub-image data after the contrast adjustment is stored again in the memory 12 and is also written in the frame memory 15. As a result, the operator can check the sub-image after the contrast adjustment on the display screen of the LCD monitor 16.
[0023]
The operator operates a menu switch (not shown) constituting the operation member 14 to perform a color balance adjustment menu on the image of the frame displayed on the LCD monitor 16 when performing image processing for color balance adjustment. select. When the CPU 10 generates display data for performing color balance adjustment and writes the display data in the frame memory 15, a color balance adjustment operation display (not shown) is overlaid on the sub-image being displayed on the LCD monitor 16.
[0024]
The operator operates the above-described cross switch (not shown) according to the color balance adjustment operation display. When the cross switch is operated upward or downward, the CPU 10 selects a mark (not shown) indicating any of red, green, and blue according to the operation signal. When the cross switch is operated rightward, the CPU 10 makes the signal of the color selected at that time stronger than the current set value, and when the cross switch is operated leftward, the signal is selected at that time. An instruction is sent to the image pickup apparatus 11 so that the signal of the present color is made weaker than the current set value. Thereby, the sub-image data in the memory 12 is sent to the imaging device 11, and the imaging device 11 performs color balance adjustment on the sub-image data. The sub-image data after the color balance adjustment is stored again in the memory 12 and is also written in the frame memory 15. As a result, the operator can check the sub-image after the color balance adjustment on the display screen of the LCD monitor 16.
[0025]
When the operator operates a decision switch (not shown) constituting the operation member 14, a decision operation signal is sent to the CPU 10. The CPU 10 reads the main image data from the data file of the frame corresponding to the sub image being displayed on the LCD monitor 16, stores the main image data in the memory 12, and instructs the imaging device 11 to perform the same image processing as the sub image data. The imaging device 11 expands the JPEG-compressed main image data and performs image processing on the expanded main image data. The imaging device 11 performs JPEG compression on the main image data after the image processing again.
[0026]
The CPU 10 adds the name of the data file of the image before processing as history information, converts the data indicating the main image data, the sub image data, the camera information, and the like in the memory 12 into TIFF format file data, and converts the data into an Exif file. As a new file name on the recording medium 20. Thereby, the image data file after the image processing is added to the recording medium 20. FIG. 3 is a diagram illustrating the format of a data file after image processing. Compared to FIG. 2, the name of the data file of the image before processing is recorded as history information.
[0027]
Further, when the history information in the data file of the image before processing is blank, the CPU 10 additionally records information indicating that the data file is the data file of the original image on the recording medium 20 as history information. . FIG. 4 is a diagram illustrating the format of the data file before image processing in this case. As compared with FIG. 3, an identification symbol indicating that the data file is an original image data file is recorded as history information.
[0028]
-Image processing by personal computer-
When the image in the data file is processed by the personal computer, the data file recorded on the recording medium 20 is transferred to the personal computer, and then the image processing program is executed on the personal computer. The method of transferring the image data file in the recording medium 20 to the personal computer includes a method of transmitting the image data file from the recording medium 20 mounted on the electronic camera to the personal computer (not shown) via the interface circuit 17 and a method of transferring the recording medium 20 from the electronic camera. There is a method in which the image data file is detached and attached to a reading device (not shown) of the personal computer, and the personal computer reads the image data file directly from the recording medium 20, but any method may be used.
[0029]
The operator captures the image data file in the recording medium 20 into a storage device (not shown) of the personal computer, performs image processing on the captured image data of the data file using an image processing program, and outputs the data after the image processing. Get the file. FIG. 5 is a flowchart illustrating the flow of the image processing performed by the image processing program. In step S11 in FIG. 5, the system controller (not shown) of the personal computer reads the data file of the image before processing from the storage device. The system controller reads the data file of the image specified by the input operation of the keyboard or the like by the operator as the image before processing, and proceeds to step S12.
[0030]
In step S12, the system controller performs a predetermined image processing according to an input operation by the operator. The image processing performs at least one of trimming, correction, color balance adjustment, and contrast adjustment. The system controller decompresses the JPEG-compressed main image data of the data file of the image before processing, and performs JPEG compression again after the image processing. The main image data (uncompressed) after image processing is resized to generate sub-image data having a smaller data size than the main image data. Since the sub-image data is obtained from the main image data after the image processing, the processing contents are commonly reflected on the main image (JPEG image) data and the sub-image (thumbnail) data. After ending the image processing, the system controller proceeds to step S13. In step S13, the system controller determines whether history information is recorded in the data file of the image before processing.
[0031]
When the history information of the data file of the image before processing is recorded, the system controller of the personal computer makes an affirmative determination in step S13 and proceeds to step S14, where the history information of the data file of the image before processing is blanked. If yes, a negative determination is made in step S13 and the process proceeds to step S16. The process proceeds to step S16 when the image before processing is an original image, and when the process proceeds to step S14, the image before processing is a previously processed image.
[0032]
In step S14, the system controller adds the name of the data file of the image before processing as history information, and proceeds to step S15. In step S15, the system controller converts the format of the main image data and the sub-image data after the processing, the data indicating the camera information, and the like into TIFF format file data, and records it as an Exif file in the storage device with a new file name. , The process according to FIG. As shown in FIG. 3, the image data file added to the storage device has the name of the data file of the image before processing recorded as history information.
[0033]
In step S16, the system controller adds the name of the data file of the image before processing as history information, and proceeds to step S17. In step S17, the system controller converts the format of the main image data and the sub-image data after the processing, the data indicating the camera information, and the like into TIFF format file data, newly records the data as an Exif file in the storage device, and executes step S18. Proceed to.
[0034]
In step S18, the system controller adds, as history information in the data file of the image before processing, information indicating that the data file is a data file of the original image, and proceeds to step S19. In step S19, the system controller overwrites and records the unprocessed image data file to which the history information has been added in the storage device, and ends the processing in FIG. As shown in FIG. 4, the image data file overwritten on the storage device has an identification symbol indicating that it is an original image data file recorded as history information.
[0035]
-Image display by personal computer-
When a personal computer has a plurality of image data files in a storage device (not shown) and reproduces and displays images based on these image data files on a display device, an image to be displayed on the display device first is recorded on the storage device. The image data file is an image corresponding to the frame with the latest shooting date and time. For the reproduction display, the main image data in the image data file is used. The operator loads the image data file in the recording medium 20 into the storage device of the personal computer, and executes the reproduction and display using the image display program. FIG. 6 is a flowchart illustrating the flow of the reproduction display processing by the image display program.
[0036]
In step S51 of FIG. 6, the system controller sets the frame with the latest shooting date and time as the selected frame, opens the image data file of the selected frame, and determines whether or not the above-described history information is recorded. When the history information is recorded, the system controller reads the history information, makes a positive determination in step S51, and proceeds to step S52. If the history information is blank, the system controller makes a negative determination in step S51 and proceeds to step S55.
[0037]
In step S52, the system controller opens each of the image data files other than the selected frame, reads the history information if it has been recorded, stores it together with the name of each image data file, and proceeds to step S53. Nothing is done for the data file in which no history information is recorded. In step S53, the system controller generates tree information and proceeds to step S54. Tree information is information indicating the relationship between an image (data file) before image processing and an image (data file) after processing this image (data file). The system controller generates information necessary for performing tree display for all images in which the selected frame is an image before and after processing.
[0038]
FIG. 7 is a diagram illustrating an example of a tree display. In FIG. 7, marks 71 to 74 are marks each showing a processed image. The mark 75 is a mark indicating the original image. The thick display of the mark 71 indicates that the mark 71 corresponds to the selected frame. Note that, instead of displaying the mark corresponding to the selected frame in bold, the mark may be displayed in a different color from the other marks. The tree in FIG. 7 indicates that the processed image 73 and the processed image 74 have been generated using the original image 75 as the pre-processing image. The tree further indicates that the processed image 71 and the processed image 72 have been generated using the processed image 73 as a pre-processing image. In this case, in the history information of the image data file corresponding to the original image 75, an identification symbol indicating that the image is the original image is described. In the history information of the image data files corresponding to the images 73 and 74, the names of the image data files corresponding to the images 75 are described. In the history information of the image data files corresponding to the images 71 and 72, the names of the image data files corresponding to the images 73 are described.
[0039]
In step S54 of FIG. 6, the system controller reads the sub-image data of the selected frame and the sub-image data of the image data file required for the tree display from the respective image data files, and proceeds to step S55. In step S55, the system controller reads the main image data of the selected frame from the image data file, and proceeds to step S56.
[0040]
In step S56, the system controller decompresses the JPEG-compressed main image data, and displays the decompressed image on the display device. The system controller further causes the tree display to be overlaid on the image of the selected frame being displayed. FIG. 8 is a diagram illustrating an example of a display image. In FIG. 8, a main image 81 of a selected frame and a tree display 82 are displayed. FIG. 9 is an enlarged view of the tree display 82. 9, thumbnail images 71A to 75A corresponding to the marks 71 to 75 are displayed instead of the marks 71 to 75 in FIG. Of the thumbnail images, the frame of the thumbnail image 71A corresponding to the selected frame is displayed thick. After performing the display processing as described above, the system controller proceeds to step S57.
[0041]
In step S57, the system controller determines whether or not frame selection has been performed on the tree display 82. When an operation signal for selecting one of the thumbnail images 71A to 75A is input by the input operation of the pointing device or the like by the operator, the system controller makes an affirmative determination in step S57 and returns to step S55. When an operation signal for selecting any of the thumbnail images 71A to 75A is not input, the system controller makes a negative determination in step S57 and proceeds to step S58.
[0042]
In step S58, the system controller determines whether or not frame selection has been performed using an input device such as a keyboard. When an operation signal for selecting a frame other than the tree display 82 is input by an operator's input operation of an image data file name or the like, the system controller makes an affirmative determination in step S58 and returns to step S51. If the operation signal for frame selection is not input, the system controller makes a negative determination in step S58 and proceeds to step S59. In step S59, the system controller determines whether to end. The system controller ends the process in FIG. 6 when the end operation is performed by the operator, and returns to step S57 when the end operation is not performed.
[0043]
According to the embodiment described above, the following operation and effect can be obtained.
(1) Image processing history information is recorded in an area of the image data file where camera information is recorded. In the history information of the image data file after the image processing is performed, the name of the data file of the image before the processing is recorded is recorded, and in the history information of the data file of the original image, the identification indicating that the image is the original image is recorded. Record the sign. Thus, only by checking the history information of the image data file, it is possible to know the relationship between the image (data file) before image processing and the image (data file) after processing this image (data file). .
[0044]
(2) Since the relationship between the image (data file) before processing and the image (data file) after processing in (1) is displayed in a tree, the relationship before and after processing the image can be easily understood. Can be displayed. In particular, when there is a child image obtained by processing the original image, a grandchild image obtained by further processing the child image, or when a plurality of different processed images are generated from the same image, the relationship before and after the processing of each image can be clearly shown. Therefore, it is easy to search for the processed image data.
(3) Since the thumbnail images are used for the tree display, it is possible to visually and easily understand what kind of image data constitutes the tree. In addition, by using a thumbnail image that is not data-compressed for tree display, decompression processing for tree display is unnecessary, and the tree display processing time can be shortened as compared with the case of performing decompression processing.
[0045]
(4) Since the display frame is selected by selecting the thumbnail images 71A to 75A of the tree display 82, an image display device which is easy for the operator to use can be provided.
[0046]
In the above description, the image processing performed by the electronic camera is described using contrast adjustment and color balance adjustment as an example, and the image processing performed by a personal computer is described using trimming, correction, color balance adjustment, and contrast adjustment as examples. did. The image processing is not limited to the electronic camera and the personal computer, and may be performed by an image reading device such as a scanner.
[0047]
The processing performed on the image may be processing other than the processing described above as long as at least a part of an unprocessed image (original image) obtained by imaging with an electronic camera or a scanner is changed.
[0048]
When erasing the data file of the original image, an image (data file) obtained by processing the original image (data file) may be newly used as the original image (data file). That is, when erasing an image data file in which an identification symbol indicating that the image is the original image is recorded as the history information, for the image data file recording the image data file name as the history information, the history information is replaced with the original image. Is rewritten to an identification symbol indicating that Thereby, a child image (data file) obtained by processing the original image can be newly used as the original image (data file).
[0049]
When a child image data file is deleted while a child image (data file) obtained by processing the original image and a grandchild image (data file) obtained by further processing the child image, the grandchild image (data file) is newly added to the child image. (Data file). That is, when deleting a child image (data file), the name of the image data file recorded in the history information of the child image data file is overwritten and updated with the history information of the grandchild image data file. Thereby, even if the child image (data file) obtained by processing the original image is deleted, the history information between the original image (data file) and the grandchild image (new child image) (data file) can be left. .
[0050]
In the above description, the main image is displayed only for the selected frame, but the main image of the frame before being processed into the image of the selected frame may also be displayed. In this case, one image may be displayed with reduced brightness, or one image may be displayed with a broken line so that it can be distinguished.
[0051]
Alternatively, as shown in FIG. 10, only the difference between the two images may be displayed in a manner different from the main image of the selected frame. In the example of FIG. 10, the main image 71D of the selected frame corresponding to the mark 71 is displayed by a solid line, and the difference 73D between the main image 71D and the main image before processing corresponding to the mark 73 is displayed by a broken line. . In this way, when different portions are displayed in the image before and after the processing, it is possible to clearly display where the image is being processed.
[0052]
In the above description, an example has been described in which an electronic camera and a personal computer are used as an image processing device, and a personal computer is used as an image display device. When the electronic camera is provided with a display monitor or when a circuit for outputting a display signal to an external display device is provided, the electronic camera may be used as an image display device.
[0053]
When a personal computer is used as an image processing device and an image display device, an image processing program and an image display program are prepared, and these programs are loaded into the personal computer and used. An image processing device and an image display device are provided by loading a program into a data storage device of a computer and executing the program. The loading of the program may be performed by setting a recording medium storing the program in a personal computer, or by loading the program via a network.
[0054]
Correspondence between each component in the claims and each component in the embodiment of the invention will be described. The first data file generation unit, the second data file generation unit, the control unit, and the association information editing unit are configured by the CPU 10, for example. The association information of the processed data file corresponds to, for example, the name of the data file before processing. The association information of the data file of the original image (unprocessed image) corresponds to, for example, an identification symbol indicating that the data file is the data file of the original image. The image signal generation circuit and the control circuit are configured by, for example, a system controller of a personal computer. Note that each component is not limited to the above configuration as long as the characteristic functions of the present invention are not impaired.
[0055]
【The invention's effect】
According to the first and eleventh aspects of the present invention, the data file can include the data of the association information between the original image and the image before and after the image processing. According to the fifth and thirteenth aspects, the relationship between the original image and the image before and after the processing can be displayed in an easy-to-understand manner by the association information.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an outline of an electronic camera according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a format of an image data file.
FIG. 3 is a diagram illustrating a format of a data file after image processing.
FIG. 4 is a diagram illustrating a format of a data file of an original image.
FIG. 5 is a flowchart illustrating a flow of image processing performed by the image processing program.
FIG. 6 is a flowchart illustrating a flow of a reproduction display process performed by an image display program.
FIG. 7 is a diagram illustrating an example of a tree display.
FIG. 8 is a diagram illustrating an example of a display image.
FIG. 9 is an enlarged view of a tree display.
FIG. 10 is a diagram showing an example in which different portions of an image before and after processing are displayed in a mode different from that of a main image of a selected frame.
[Explanation of symbols]
10 CPU, 11 imaging device,
12: memory, 16: LCD monitor,
20: recording medium, 71 to 75: mark,
71A to 75A: Thumbnail image, 71D, 81: Main image of selected frame,
73D: Difference part of image before and after processing 82: Tree display

Claims (13)

第1のデータファイルに含まれる原画像の少なくとも一部を加工して第2のデータファイルを生成する第1のデータファイル生成手段と、
前記第2のデータファイルに含まれる画像の少なくとも一部を再加工して第3のデータファイルを生成する第2のデータファイル生成手段と、
前記第2のデータファイルに、前記加工後の画像のデータと、前記加工の前後の画像間の関連づけ情報のデータとを含めるように前記第1のデータファイル生成手段を制御し、前記第3のデータファイルに、前記再加工後の画像のデータと、前記再加工の前後の画像間の関連づけ情報のデータとを含めるように前記第2のデータファイル生成手段を制御する制御手段とを備えることを特徴とする画像加工装置。
First data file generating means for processing at least a part of an original image included in the first data file to generate a second data file;
A second data file generating unit configured to reprocess at least a part of an image included in the second data file to generate a third data file;
Controlling the first data file generating means to include the data of the image after the processing and the data of the association information between the images before and after the processing in the second data file; A control unit that controls the second data file generation unit so that the data file includes the data of the image after the reprocessing and the data of the association information between the images before and after the reprocessing. Characteristic image processing device.
請求項1に記載の画像加工装置において、
前記第1のデータファイルに、前記原画像のデータファイルであることを示す情報を追加する関連づけ情報編集手段をさらに備え、
前記第2のデータファイルに含める関連づけ情報は、前記第1のデータファイルを示す情報であり、
前記第3のデータファイルに含める関連づけ情報は、前記第2のデータファイルを示す情報であることを特徴とする画像加工装置。
The image processing device according to claim 1,
An association information editing unit that adds information indicating that the data file is the original image data file to the first data file,
The association information included in the second data file is information indicating the first data file,
The image processing apparatus according to claim 1, wherein the association information included in the third data file is information indicating the second data file.
請求項2に記載の画像加工装置において、
前記関連づけ情報編集手段は、前記第1のデータファイルが消去されたとき、前記第1のデータファイルを示す情報に代えて前記原画像のデータファイルであることを示す情報を前記第2のデータファイルに追加することを特徴とする画像加工装置。
The image processing apparatus according to claim 2,
The associating information editing means, when the first data file is deleted, replaces the information indicating the first data file with information indicating that the data file is the original image data file in the second data file. An image processing apparatus characterized by being added to (1).
請求項2に記載の画像加工装置において、
前記関連づけ情報編集手段は、前記第2のデータファイルが消去されたとき、前記第2のデータファイルを示す情報に代えて前記第1のデータファイルを示す情報を前記第3のデータファイルに追加することを特徴とする画像加工装置。
The image processing apparatus according to claim 2,
The associating information editing means, when the second data file is deleted, adds information indicating the first data file to the third data file instead of information indicating the second data file. An image processing apparatus characterized by the above-mentioned.
第1のデータファイルに含まれる第1の画像データによる画像を表示装置に表示するための画像信号を生成する画像信号生成回路と、
前記第1の画像および前記第1の画像へ加工する前の第2の画像間の第1の関連づけ情報を前記第1のデータファイルが含み、前記第2の画像データを含む第2のデータファイルが前記第2の画像および前記第2の画像へ加工する前の第3の画像間の第2の関連づけ情報を含む場合に、前記第1の関連づけ情報および前記第2の関連づけ情報をそれぞれ表示するための画像信号をさらに生成するように前記画像信号生成回路を制御する制御回路とを備えることを特徴とする画像表示装置。
An image signal generation circuit that generates an image signal for displaying an image based on the first image data included in the first data file on a display device;
A first data file containing first association information between the first image and a second image before being processed into the first image, and a second data file containing the second image data Includes the second association information between the second image and the third image before being processed into the second image, displays the first association information and the second association information, respectively. And a control circuit for controlling the image signal generation circuit so as to further generate an image signal for the image display.
請求項5に記載の画像表示装置において、
前記第1および第2の関連づけ情報は、それぞれ前記加工前の画像のデータファイルを示す情報であり、前記加工前の画像が未加工画像である場合は原画像のデータファイルであることを示す情報であり、
前記関連づけ情報の表示は、前記加工前の画像に対応するマークおよび前記加工後の画像に対応するマークの相互を結ぶツリー表示であることを特徴とする画像表示装置。
The image display device according to claim 5,
The first and second association information are respectively information indicating a data file of the image before processing, and information indicating that the image file before processing is a data file of an original image when the image before processing is an unprocessed image. And
The image display device according to claim 1, wherein the display of the association information is a tree display that connects a mark corresponding to the image before processing and a mark corresponding to the image after processing.
請求項6に記載の画像表示装置において、
前記ツリー表示の中から前記加工前後のいずれかの画像に対応するマークを選択するための操作部材をさらに備え、
前記制御回路は、前記操作部材によって選択されたマークに対応する画像のデータファイルによる画像を表示するための画像信号を生成するとともに、前記ツリー表示の中で前記選択されたマークを他のマークと異なる態様で表示するための画像信号を生成するように前記画像信号生成回路をさらに制御することを特徴とする画像表示装置。
The image display device according to claim 6,
Further comprising an operation member for selecting a mark corresponding to any of the images before and after the processing from the tree display,
The control circuit generates an image signal for displaying an image by a data file of an image corresponding to the mark selected by the operation member, and sets the selected mark in the tree display to another mark. An image display device, further comprising controlling the image signal generation circuit to generate an image signal to be displayed in a different mode.
請求項7に記載の画像表示装置において、
前記制御回路は、前記選択されたマークに対応する画像へ加工する前の画像のデータファイルによる画像を表示するための画像信号をさらに生成し、前記加工前後の画像のいずれか一方を他方と異なる態様で表示するように前記画像信号生成回路をさらに制御することを特徴とする画像表示装置。
The image display device according to claim 7,
The control circuit further generates an image signal for displaying an image based on a data file of the image before processing into an image corresponding to the selected mark, and one of the images before and after the processing is different from the other. An image display apparatus, further comprising controlling the image signal generation circuit so as to display the image signal in an aspect.
請求項8に記載の画像表示装置において、
前記制御回路は、前記選択されたマークに対応する画像が前記加工前の画像と相違する部分を異なる態様で表示するための画像信号を生成するように前記画像信号生成回路をさらに制御することを特徴とする画像表示装置。
The image display device according to claim 8,
The control circuit may further control the image signal generation circuit so as to generate an image signal for displaying an image corresponding to the selected mark different from the image before processing in a different manner. Characteristic image display device.
請求項5に記載の画像表示装置において、
前記第1および第2の関連づけ情報は、それぞれ前記加工前の画像のデータファイルを示す情報であり、前記加工前の画像が未加工画像である場合は原画像のデータファイルであることを示す情報であり、
前記関連づけ情報の表示は、前記加工前の画像に対応する縮小画像および前記加工後の画像に対応する縮小画像の相互を結ぶツリー表示であることを特徴とする画像表示装置。
The image display device according to claim 5,
The first and second association information are respectively information indicating a data file of the image before processing, and information indicating that the image file before processing is a data file of an original image when the image before processing is an unprocessed image. And
The image display device according to claim 1, wherein the display of the association information is a tree display connecting the reduced image corresponding to the image before processing and the reduced image corresponding to the image after processing.
第1のデータファイルに含まれる原画像の少なくとも一部を加工し、前記加工後の画像のデータと、前記加工の前後の画像間の関連づけ情報のデータとを含めて第2のデータファイルを生成する第1のデータファイル生成処理と、
前記第2のデータファイルに含まれる画像の少なくとも一部を再加工し、前記再加工後の画像のデータと、前記再加工の前後の画像間の関連づけ情報のデータとを含めて第3のデータファイルを生成する第2のデータファイル生成処理とをコンピュータ装置に実行させることを特徴とする画像加工用プログラム。
Processing at least a part of the original image included in the first data file, and generating a second data file including data of the processed image and data of association information between the images before and after the processing. A first data file generation process,
Reprocessing at least a part of an image included in the second data file, and outputting third data including data of the reprocessed image and data of association information between the images before and after the reprocessing. An image processing program for causing a computer device to execute a second data file generation process for generating a file.
請求項11に記載の画像加工用プログラムにおいて、
前記第1のデータファイルに、前記原画像のデータファイルであることを示す情報を追加する関連づけ情報編集処理をさらに行い、
前記第2のデータファイルに含める関連づけ情報は、前記第1のデータファイルを示す情報であり、
前記第3のデータファイルに含める関連づけ情報は、前記第2のデータファイルを示す情報であることを特徴とする画像加工用プログラム。
The image processing program according to claim 11,
Further performing an association information editing process for adding information indicating that the data file is the original image file to the first data file;
The association information included in the second data file is information indicating the first data file,
The image processing program according to claim 1, wherein the association information included in the third data file is information indicating the second data file.
第1のデータファイルに含まれる第1の画像データによる画像を表示装置に表示するための画像信号を生成する処理と、
前記第1の画像および前記第1の画像へ加工する前の第2の画像間の第1の関連づけ情報を前記第1のデータファイルが含み、前記第2の画像データを含む第2のデータファイルが前記第2の画像および前記第2の画像へ加工する前の第3の画像間の第2の関連づけ情報を含む場合に、前記第1の関連づけ情報および前記第2の関連づけ情報をそれぞれ表示するための画像信号をさらに生成する処理とをコンピュータ装置に実行させることを特徴とする画像表示用プログラム。
A process of generating an image signal for displaying an image based on the first image data included in the first data file on a display device;
A first data file containing first association information between the first image and a second image before being processed into the first image, and a second data file containing the second image data Includes the second association information between the second image and the third image before being processed into the second image, displays the first association information and the second association information, respectively. An image display program for causing a computer device to further execute a process of generating an image signal for the image display.
JP2002218265A 2002-07-26 2002-07-26 Image processing device, image display device, image processing program, and image display program Pending JP2004064297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002218265A JP2004064297A (en) 2002-07-26 2002-07-26 Image processing device, image display device, image processing program, and image display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002218265A JP2004064297A (en) 2002-07-26 2002-07-26 Image processing device, image display device, image processing program, and image display program

Publications (1)

Publication Number Publication Date
JP2004064297A true JP2004064297A (en) 2004-02-26

Family

ID=31939508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002218265A Pending JP2004064297A (en) 2002-07-26 2002-07-26 Image processing device, image display device, image processing program, and image display program

Country Status (1)

Country Link
JP (1) JP2004064297A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007073007A (en) * 2005-09-09 2007-03-22 Olympus Imaging Corp Image data selection method and image data processor
JP2009038642A (en) * 2007-08-02 2009-02-19 Nikon Corp Image reproduction apparatus, imaging apparatus, and program
JP2009267947A (en) * 2008-04-28 2009-11-12 Fujifilm Corp Device and method for recording image
JP2010268217A (en) * 2009-05-14 2010-11-25 Hoya Corp Imaging device
US20110261244A1 (en) * 2007-02-06 2011-10-27 Nikon Corporation Image processing apparatus, image reproducing apparatus, imaging apparatus and program recording medium
JP2012165462A (en) * 2012-05-08 2012-08-30 Nikon Corp Image reproducer, imaging apparatus and program
JP2013098578A (en) * 2011-10-27 2013-05-20 Kyocera Corp Portable terminal device, program, and display control method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007073007A (en) * 2005-09-09 2007-03-22 Olympus Imaging Corp Image data selection method and image data processor
US20110261244A1 (en) * 2007-02-06 2011-10-27 Nikon Corporation Image processing apparatus, image reproducing apparatus, imaging apparatus and program recording medium
US20170264826A1 (en) * 2007-02-06 2017-09-14 Nikon Corporation Image processing apparatus, image reproducing apparatus, imaging apparatus and program recording medium
JP2009038642A (en) * 2007-08-02 2009-02-19 Nikon Corp Image reproduction apparatus, imaging apparatus, and program
JP2009267947A (en) * 2008-04-28 2009-11-12 Fujifilm Corp Device and method for recording image
JP2010268217A (en) * 2009-05-14 2010-11-25 Hoya Corp Imaging device
US8823833B2 (en) 2009-05-14 2014-09-02 Pentax Ricoh Imaging Company, Ltd. Imager that adds visual effects to an image and records visual effects information in an image file
JP2013098578A (en) * 2011-10-27 2013-05-20 Kyocera Corp Portable terminal device, program, and display control method
JP2012165462A (en) * 2012-05-08 2012-08-30 Nikon Corp Image reproducer, imaging apparatus and program

Similar Documents

Publication Publication Date Title
JPH1127616A (en) Imaging device
US8203626B2 (en) Apparatus and method for image processing with special effect application to image and display of animation image
JP2003289498A (en) Digital camera and image data processing system
JP4743179B2 (en) Image display control device, photographing device, image display method and program thereof
US8754952B2 (en) Digital camera
US20110261244A1 (en) Image processing apparatus, image reproducing apparatus, imaging apparatus and program recording medium
US20120176512A1 (en) Image storage apparatus, image storage method, and control program executed in image storage apparatus
US8970736B2 (en) Digital camera
JP2004064297A (en) Image processing device, image display device, image processing program, and image display program
JP5453812B2 (en) Image processing device
JP2011176716A (en) Electronic apparatus, camera, and image processing program
WO2009142294A1 (en) Image processing device
JP5141447B2 (en) Image display device and image display program
JP2002084440A (en) Digital camera, image processing method and recording medium
JP2004056641A (en) Method, apparatus, and program for editing image file
JP4060462B2 (en) Information management method and information management apparatus
JP2004056707A (en) Method of creating folder and program therefor
JP2005236496A (en) Image recording and display system
JP2008219425A (en) Image processing apparatus and image processing method
JP2003204504A (en) Imaging device and processing method thereof
JP3883182B2 (en) Digital camera
JP4992597B2 (en) Imaging apparatus and program
JP5229413B2 (en) IMAGING DEVICE, PROGRAM, AND DISPLAY CONTROL DEVICE
JP2005159513A (en) Digital camera and digitized file management method
JP2000059586A (en) Picture filing system, picture filing method, recording medium recording picture filing program and picture output device for picture filing system