JP2004078283A - Device and method for managing picture, program, and recording medium - Google Patents

Device and method for managing picture, program, and recording medium Download PDF

Info

Publication number
JP2004078283A
JP2004078283A JP2002233567A JP2002233567A JP2004078283A JP 2004078283 A JP2004078283 A JP 2004078283A JP 2002233567 A JP2002233567 A JP 2002233567A JP 2002233567 A JP2002233567 A JP 2002233567A JP 2004078283 A JP2004078283 A JP 2004078283A
Authority
JP
Japan
Prior art keywords
image
file
image file
added
electronic album
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
JP2002233567A
Other languages
Japanese (ja)
Inventor
Yusuke Habu
土生 祐介
Mayumi Takeda
竹田 真弓
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2002233567A priority Critical patent/JP2004078283A/en
Publication of JP2004078283A publication Critical patent/JP2004078283A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve convenience and robustness in management of a picture file. <P>SOLUTION: In PC1, a CPU 11a compares the file names of an existing picture file and a picture file to be added to an electronic album when the picture file is added to the electronic album. When the file names are judged to match as a result of comparison, the contents of picture data in the respective picture files whose file names match are compared. When it is not judged that the contents of picture data are the same or similar, the file name of the picture file which is automatically added is changed by a prescribed procedure. The picture file whose file name is judged to be not matching the existing picture file or the picture file whose file name is changed is added to the electronic album. Databases storing information of the picture files that follow the directories are arranged in the individual directories of a hard disk 14 in PC1. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、電子アルバムソフトを動作させて画像ファイルを管理する画像管理装置、画像管理方法、プログラム及び記録媒体に関する。
【0002】
【従来の技術】
近年、デジタルカメラの普及、記憶装置の容量の増大等に伴い、デジタル画像データを用いて画像をPC(Personal Computer)等の表示画面上に表示、閲覧する機会が増えている。このような中で、画像ファイルの閲覧、操作を円滑に行うことができるようにするために、各種電子アルバムソフトが開発されている。
【0003】
デジタルカメラにおけるデジタル画像を管理する規格としてDCF(Design rule for Camera File system)があるが、DCFは、同じ種類の異なるデジタルカメラで撮影した画像を一緒にする場合や、メモリカードを交換した場合、画像ファイル名が重なることがある。
【0004】
そこで、電子アルバムソフトには、画像ファイルを追加する際に、既存の画像ファイルの中に同一のファイル名のものが存在するか否か、或いは画像データ自体が同じものが存在するか否かを比較し、同じものが存在する場合は、ユーザに通知するものがある。これにより、同一データのファイルを誤って二重に追加することを未然に防ぐことができるようになっている。
【0005】
また、電子アルバムソフトには、画像管理用データベースを用いて画像ファイルの管理を行っているものがある。画像管理用データベースには、画像の重要度、画像を見る順序、撮影日時、編集履歴等画像を操作するのに有用なデータが格納されている。
【0006】
【発明が解決しようとする課題】
しかしながら、電子アルバムソフトに追加しようとする画像ファイルと同じファイル名の画像ファイルが既に存在する場合であっても、中身の画像データが別のデータであることがありうるので、同名のファイルがあるというだけでは、ユーザは、ファイル名を変更して追加すべきなのか、追加は行うべきではないのかを適正に判断することは、困難であった。
【0007】
また、画像データの中身が既存の画像ファイルにはないものであり、ファイル名のみが同一であることが判明した場合には、追加する画像ファイルの画像ファイル名を変更する必要があるが、ユーザが手動でこれを行う場合、他の画像ファイル名と同一の名前にならないように考える必要があり、煩雑であった。
【0008】
また、従来の画像管理用のデータベースは、同一ディレクトリ内の画像ファイルを管理する若しくは最上位のディレクトリにて下位の画像ファイルを管理するものであったが、同一ディレクトリ内の画像ファイルを管理するだけでは、全体を管理することはできなかった。また、最上位のディレクトリにて下位の画像ファイルを全て管理する場合は、いつでもデータ量の多い管理用データベースを動作させなければならず、効率が良いとはいえなかった。更に、ユーザが手動でディレクトリの分割や移動を行った場合にデータベースが対応できない場合があった。
【0009】
本発明の課題は、画像ファイルの管理における利便性及び堅牢性を向上させることである。
【0010】
【課題を解決するための手段】
上記課題を解決するため、請求項1記載の発明は、
電子アルバムソフトを動作させて画像を管理する画像管理装置において、
画像ファイルを電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと追加する画像ファイルの各ファイル名を比較して、一致しているか否かを判断するファイル名比較手段と、
前記ファイル名比較手段による比較の結果、ファイル名が一致していると判断された場合に、前記ファイル名が一致した各画像ファイルの画像データの内容を比較し、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断するデータ内容比較手段と、
前記データ内容比較手段により前記ファイル名が一致した各画像ファイルの画像データの内容が同じ又は類似していると判断されなかった場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更するファイル名変更手段と、
前記ファイル名比較手段により前記電子アルバムに既存の画像ファイルとファイル名が一致していないと判断された画像ファイル又は前記ファイル名変更手段によりファイル名が変更された画像ファイルを前記電子アルバムに追加する画像ファイル追加手段と、
を備えたことを特徴としている。
【0011】
請求項10記載の発明は、
電子アルバムに保存する画像を管理する画像管理方法において、
画像ファイルを電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと追加する画像ファイルの各ファイル名を比較して、一致しているか否かを判断するファイル名比較工程と、
前記ファイル名比較工程における比較の結果、ファイル名が一致していると判断された場合に、前記ファイル名が一致した各画像ファイルの画像データの内容を比較し、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断するデータ内容比較工程と、
前記データ内容比較工程において、前記ファイル名が一致した各画像ファイルの画像データの内容が同じ又は類似していると判断されなかった場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更するファイル名変更工程と、
前記ファイル名比較工程において電子アルバムに既存の画像ファイルとファイル名が一致していないと判断された画像ファイル又は前記ファイル名変更工程において前記ファイル名が変更された画像ファイルを前記電子アルバムに追加する画像ファイル追加工程と、
を含むことを特徴としている。
【0012】
請求項19記載の発明は、
電子アルバムソフトを動作させて画像を管理する画像管理装置を制御するためのコンピュータに、
画像ファイルを電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと追加する画像ファイルの各ファイル名を比較して、一致しているか否かを判断する機能と、
前記比較の結果、ファイル名が一致していると判断された場合に、前記ファイル名が一致した各画像ファイルの画像データの内容を比較し、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断する機能と、
前記ファイル名が一致した各画像ファイルの画像データの内容が同じ又は類似していると判断されなかった場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更する機能と、
前記電子アルバムに既存の画像ファイルとファイル名が一致していないと判断された画像ファイル又は前記ファイル名が変更された画像ファイルを前記電子アルバムに追加する機能と、
を実現させるためのプログラムであることを特徴としている。
【0013】
請求項28記載の発明は、
電子アルバムソフトを動作させて画像を管理する画像管理装置を制御するためのコンピュータが実行可能なプログラムを格納した記録媒体に、
画像ファイルを電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと追加する画像ファイルの各ファイル名を比較して、一致しているか否かを判断するためのコンピュータが実行可能なプログラムコードと、
前記比較の結果、ファイル名が一致していると判断された場合に、前記ファイル名が一致した各画像ファイルの画像データの内容を比較し、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断するためのコンピュータが実行可能なプログラムコードと、
前記ファイル名が一致した各画像ファイルの画像データの内容が同じ又は類似していると判断されなかった場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更するためのコンピュータが実行可能なプログラムコードと、
前記電子アルバムに既存の画像ファイルとファイル名が一致していないと判断された画像ファイル又は前記ファイル名が変更された画像ファイルを前記電子アルバムに追加するためのコンピュータが実行可能なプログラムコードと、
を含むプログラムを格納したことを特徴としている。
【0014】
請求項1、10、19、28記載の発明によれば、画像ファイルを電子アルバムに追加する際に、電子アルバムに既存の画像ファイルと追加する画像ファイルの各ファイル名を比較して、一致しているか否かを判断し、比較の結果、ファイル名が一致していると判断された場合に、ファイル名が一致した各画像ファイルの画像データの内容を比較し、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断し、画像データの内容が同じ又は類似していると判断されなかった場合に、所定の手順で自動的に追加する画像ファイルのファイル名を変更し、電子アルバムに既存の画像ファイルとファイル名が一致していないと判断された画像ファイル又はファイル名が変更された画像ファイルを電子アルバムに追加する。従って、電子アルバムに既存の画像ファイルと同じ画像ファイルを追加してしまうということが無くなり、電子アルバムにおける画像ファイルの管理の煩雑さを低減することができるとともに、同名のファイルが存在しても、画像データの内容が異なる場合は、自動的にファイル名を変更して電子アルバムに追加するので、ファイル名を変更するというユーザの手間が省け、利便性が向上する。
【0015】
請求項2記載の発明は、請求項1記載の発明において、
前記データ内容比較手段による比較の結果をユーザに示す第一のユーザインターフェースを備えたことを特徴としている。
【0016】
請求項11記載の発明は、請求項10に記載の発明において、
前記データ内容比較工程における比較結果をユーザに示す第一のユーザインターフェースを表示する第一の表示工程を含むことを特徴としている。
【0017】
請求項20記載の発明は、請求項19に記載の発明において、
前記画像データの内容の比較結果をユーザに示す第一のユーザインターフェースを表示させる機能を実現させるためのプログラムを含むことを特徴としている。
【0018】
請求項29記載の発明は、請求項28に記載の発明において、
前記画像データの内容の比較結果をユーザに示す第一のユーザインターフェースを表示させるためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴としている。
【0019】
請求項2、11、20、29記載の発明によれば、画像データの内容の比較結果をユーザに示す第一のユーザインターフェースを表示させる。従って、ユーザが比較の結果を確認することができるので、自動化による認識の誤解を低減することができる。
【0020】
請求項3記載の発明は、請求項1又は2に記載の発明において、
前記ファイル名変更手段によりファイル名を変更するか否かをユーザに指示させるための第二のユーザインターフェースを備えたことを特徴としている。
【0021】
請求項12記載の発明は、請求項10又は11に記載の発明において、
前記ファイル名変更工程において追加するファイル名を変更するか否かをユーザに指示させるための第二のユーザインターフェースを表示する第二の表示工程を含むことを特徴としている。
【0022】
請求項21記載の発明は、請求項19又は20に記載の発明において、
前記追加するファイル名を変更するか否かをユーザに指示させるための第二のユーザインターフェースを表示させる機能を実現させるためのプログラムを含むことを特徴としている。
【0023】
請求項30記載の発明は、請求項28又は29に記載の発明において、
前記追加するファイル名を変更するか否かをユーザに指示させるための第二のユーザインターフェースを表示させるためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴としている。
【0024】
請求項3、12、21、30記載の発明によれば、追加するファイル名を変更するか否かをユーザに指示させるための第二のユーザインターフェースを表示させる。従って、ファイル名を変更するか否かにユーザの意思を反映させることができる。
【0025】
請求項4記載の発明は、請求項1〜3の何れか一項に記載の発明において、
前記データ内容比較手段は、前記各画像ファイルに付加されたタグ情報を比較することにより、前記各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断することを特徴としている。
【0026】
請求項13記載の発明は、請求項10〜12の何れか一項に記載の発明において、
前記データ内容比較工程は、前記各画像ファイルに付加されたタグ情報を比較することにより、前記各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断することを特徴としている。
【0027】
請求項22記載の発明は、請求項19〜21の何れか一項に記載の発明において、
前記各画像ファイルに付加されたタグ情報を比較することにより、前記各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断する機能を実現させるためのプログラムを含むことを特徴としている。
【0028】
請求項31記載の発明は、請求項28〜30の何れか一項に記載の発明において、
前記各画像ファイルに付加されたタグ情報を比較することにより、前記各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断するためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴としている。
【0029】
請求項4、13、22、31記載の発明によれば、各画像ファイルに付加されたタグ情報を比較することにより、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断する。従って、画像データの内容の比較を迅速に行うことができる。
【0030】
請求項5記載の発明は、請求項1〜4の何れか一項に記載の発明において、
前記ファイル名変更手段は、日時情報を利用して追加する画像ファイル名を変更することを特徴としている。
【0031】
請求項14記載の発明は、請求項10〜13の何れか一項に記載の発明において、
前記ファイル名変更工程は、日時情報を利用して前記追加する画像ファイル名を変更することを特徴としている。
【0032】
請求項23記載の発明は、請求項19〜22の何れか一項に記載の発明において、
日時情報を利用して前記追加する画像ファイル名を変更する機能を実現させるためのプログラムを含むことを特徴としている。
【0033】
請求項32記載の発明は、請求項28〜31の何れか一項に記載の発明において、
日時情報を利用して前記追加する画像ファイル名を変更するためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴としている。
【0034】
請求項5、14、23、32記載の発明によれば、日時情報を利用して追加する画像ファイル名を変更する。従って、変更したファイル名が更に既存の画像ファイル名と一致することを低減することができる。
【0035】
請求項6記載の発明は、請求項1〜5の何れか一項に記載の発明において、
前記データ内容比較手段は、前記画像ファイルを前記電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと前記追加する画像ファイルの各画像データの内容を比較し、画像データの内容が同じ又は類似しているか否かを判断し、
前記ファイル名比較手段は、前記データ内容比較手段により前記追加する画像ファイルの画像データの内容が前記既存の画像ファイルの画像データの内容と同じ又は類似していると判断されなかった場合に、前記追加する画像ファイルと前記電子アルバムに既存の画像ファイルのファイル名を比較して、一致しているか否かを判断し、
前記ファイル名変更手段は、前記ファイル名比較手段により前記ファイル名が一致した場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更し、
前記画像ファイル追加手段は、前記データ内容比較手段により前記電子アルバムに既存の画像ファイルと画像データの内容が同じ又は類似していると判断されなかった画像ファイルを前記電子アルバムに追加することを特徴としている。
【0036】
請求項15記載の発明は、請求項10〜14の何れか一項に記載の発明において、
前記データ内容比較工程は、前記画像ファイルを前記電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと前記追加する画像ファイルの各画像データの内容を比較し、画像データの内容が同じ又は類似しているか否かを判断し、
前記ファイル名比較工程は、前記データ内容比較工程において前記追加する画像ファイルの画像データの内容が前記既存の画像ファイルの画像データの内容と同じ又は類似していると判断されなかった場合に、前記追加する画像ファイルと前記電子アルバムに既存の画像ファイルのファイル名を比較して、一致しているか否かを判断し、
前記ファイル名変更工程は、前記ファイル名比較工程において前記ファイル名が一致した場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更し、
前記画像ファイル追加工程は、前記データ内容比較工程において前記電子アルバムに既存の画像ファイルと画像データの内容が同じ又は類似していると判断されなかった画像ファイルを前記電子アルバムに追加することを特徴としている。
【0037】
請求項24記載の発明は、請求項19〜23の何れか一項に記載の発明において、
前記画像ファイルを前記電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと前記追加する画像ファイルの各画像データの内容を比較し、画像データの内容が同じ又は類似しているか否かを判断する機能と、
前記追加する画像ファイルの画像データの内容が前記既存の画像ファイルの画像データの内容と同じ又は類似していると判断されなかった場合に、前記追加する画像ファイルと前記電子アルバムに既存の画像ファイルのファイル名を比較して、一致しているか否かを判断する機能と、
前記ファイル名が一致した場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更する機能と、
前記電子アルバムに既存の画像ファイルと画像データの内容が同じ又は類似していると判断されなかった画像ファイルを前記電子アルバムに追加する機能と、
を実現させるためのプログラムを含むことを特徴としている。
【0038】
請求項33記載の発明は、請求項28〜32の何れか一項に記載の発明において、
前記画像ファイルを前記電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと前記追加する画像ファイルの各画像データの内容を比較し、画像データの内容が同じ又は類似しているか否かを判断するためのコンピュータが実行可能なプログラムコードと、
前記追加する画像ファイルの画像データの内容が前記既存の画像ファイルの画像データの内容と同じ又は類似していると判断されなかった場合に、前記追加する画像ファイルと前記電子アルバムに既存の画像ファイルのファイル名を比較して、一致しているか否かを判断するためのコンピュータが実行可能なプログラムコードと、
前記ファイル名が一致した場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更するためのコンピュータが実行可能なプログラムコードと、
前記電子アルバムに既存の画像ファイルと画像データの内容が同じ又は類似していると判断されなかった画像ファイルを前記電子アルバムに追加するためのコンピュータが実行可能なプログラムコードと、
を含むプログラムを格納したことを特徴としている。
【0039】
請求項6、15、24、33記載の発明によれば、画像ファイルを電子アルバムに追加する際に、電子アルバムに既存の画像ファイルと追加する画像ファイルの各画像データの内容を比較して画像データの内容が同じ又は類似しているか否かを判断し、同じ又は類似していると判断されなかった場合に、追加する画像ファイルと電子アルバムに既存の画像ファイルのファイル名を比較して、一致しているか否かを判断し、一致した場合に、所定の手順で自動的に追加する画像ファイルのファイル名を変更し、画像データの内容が同じ又は類似していると判断されなかった画像ファイルを電子アルバムに追加する。従って、ファイル名違いで同じ又は類似している画像の追加を排除することができる。
【0040】
請求項7記載の発明は、
電子アルバムソフトを動作させて画像を管理する画像管理装置において、
電子アルバム内の画像ファイルを管理するためのデータベースを備え、
前記データベースは、当該データベースの存在するディレクトリ及びそのサブディレクトリに存在する画像ファイルの管理情報を記憶することを特徴としている。
【0041】
請求項16記載の発明は、
電子アルバムに保存する画像を管理する画像管理方法において、
電子アルバム内のディレクトリ及びそのサブディレクトリに存在する画像ファイルの管理情報を記憶するデータベースにより画像ファイルを管理することを特徴としている。
【0042】
請求項25記載の発明は、
電子アルバムソフトを動作させて画像を管理する画像管理装置を制御するためのコンピュータに、
電子アルバム内のディレクトリ及びそのサブディレクトリに存在する画像ファイルの管理情報を記憶するデータベースにより画像ファイルを管理する機能を実現させるためのプログラムであることを特徴としている。
【0043】
請求項34記載の発明は、
電子アルバムソフトを動作させて画像を管理する画像管理装置を制御するためのコンピュータが実行可能なプログラムを格納した記録媒体に、
電子アルバム内のディレクトリ及びそのサブディレクトリに存在する画像ファイルの管理情報を記憶するデータベースにより画像ファイルを管理するためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴としている。
【0044】
請求項7、16、25、34記載の発明によれば、電子アルバム内の画像ファイルを管理するためのデータベースに、当該データベースの存在するディレクトリ及びサブディレクトリの画像ファイルの管理情報を記憶し、該データベースに基づいて、電子アルバム内の画像ファイルを管理する。従って、ディレクトリ以下の画像ファイルを一括管理することができる。
【0045】
請求項8記載の発明は、請求項7に記載の発明において、
前記データベースはディレクトリ毎に配置され、上位のディレクトリのデータベースには下位のディレクトリに含まれる画像ファイルの管理情報を含むことを特徴としている。
【0046】
請求項17記載の発明は、請求項16に記載の発明において、
前記データベースはディレクトリ毎に配置され、上位のディレクトリのデータベースには下位のディレクトリに含まれる画像ファイルの管理情報を含むことを特徴としている。
【0047】
請求項26記載の発明は、請求項25に記載の発明において、
前記データベースはディレクトリ毎に配置され、上位のディレクトリのデータベースには下位のディレクトリに含まれる画像ファイルの管理情報を含むことを特徴としている。
【0048】
請求項35記載の発明は、請求項34に記載の発明において、
前記データベースはディレクトリ毎に配置され、上位のディレクトリのデータベースには下位のディレクトリに含まれる画像ファイルの管理情報を含むことを特徴としている。
【0049】
請求項8、17、26、35記載の発明によれば、電子アルバム内の画像ファイルを管理するためのデータベースはディレクトリ毎に配置され、上位のディレクトリのデータベースは下位のディレクトリに含まれる画像ファイルの管理情報を含んでいる。従って、上位のデータベースにも下位のディレクトリの画像ファイル情報が含まれているので、複数のディレクトリにまたがる画像を閲覧、操作する場合にも対応することができる。また、ディレクトリ毎にデータベースを備えているので、あるディレクトリの画像のみを閲覧、操作する場合は、そのディレクトリのデータベースを参照すればよく、処理を簡単にすることができる。また、ディレクトリの移動や複写時の堅牢性が向上する。
【0050】
請求項9記載の発明は、請求項8に記載の発明において、
前記上位のディレクトリのデータベースの内容と、前記下位のディレクトリのデータベースの内容とを比較し、一致しない場合は、古いデータベースの内容を新しいデータベースの内容に修正するデータベース修正手段を備えたことを特徴としている。
【0051】
請求項18記載の発明は、請求項17に記載の発明において、
前記上位のディレクトリのデータベースの内容と、前記下位のディレクトリのデータベースの内容とを比較し、一致しない場合は、古いデータベースの内容を新しいデータベースの内容に修正するデータベース修正工程を含むことを特徴としている。
【0052】
請求項27記載の発明は、請求項26に記載の発明において、
前記上位のディレクトリのデータベースの内容と、前記下位のディレクトリのデータベースの内容とを比較し、一致しない場合は、古いデータベースの内容を新しいデータベースの内容に修正する機能を実現させるためのプログラムを含むことを特徴としている。
【0053】
請求項36記載の発明は、請求項35に記載の発明において、
前記上位のディレクトリのデータベースの内容と、前記下位のディレクトリのデータベースの内容とを比較し、一致しない場合は、古いデータベースの内容を新しいデータベースの内容に修正するためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴としている。
【0054】
請求項9、18、27、36記載の発明によれば、上位のディレクトリのデータベースの内容と、下位のディレクトリのデータベースの内容とを比較し、一致しない場合は、古いデータベースの内容を新しいデータベースの内容に修正する。従って、データベースの内容の矛盾を低減させることができる。
【0055】
【発明の実施の形態】
〔第1の実施の形態〕
以下、図を参照して本発明の第1の実施の形態を詳細に説明する。
まず、構成を説明する。
図1は、本実施の形態の全体構成及び各装置の機能的構成を示すブロック図である。図1に示すように、PC1は、USB(Universal Serial Bustou)等のデータ通信ケーブルCを介してデジタルカメラ2に接続されており、デジタルカメラ2のメモリカード24に記録されている画像ファイルをPC1に転送して、PC1のハードディスク14に記憶する。デジタルカメラ2からメモリカード24を取り出して、PC1の図示しないメモリカード装着部に装着して画像ファイルを転送するようにしてもよい。
【0056】
PC1は、図1に示す様に、CPU(Central Processing Unit)11a、ROM(Read Only Memory)11b及びRAM(Random Access Memory)11cを有する演算装置11、操作部12、表示部13、ハードディスク14、I/F15等により構成され各部はバスにより接続されている。
【0057】
CPU11aは、ROM11b、ハードディスク14に記憶されているシステムプログラムや各種処理プログラムを読み出して、該プログラムに従って各部の動作を集中制御する。例えば、ハードディスク14には、電子化された画像データ群を用いて、電子アルバムとして画像の閲覧、操作、管理などを行うための電子アルバムソフトが格納されており、CPU11aは、この電子アルバムソフトのアプリケーションプログラムに従って、ハードディスク14に記憶されている画像ファイルの管理を行う。また、CPU11aは、読み出したプログラムに従って、後述する画像ファイル追加処理、データベース作成処理を始めとする各種処理を実行する。CPU11aは、本発明の請求項に記載のファイル名比較手段、データ内容比較手段、ファイル名変更手段、画像ファイル追加手段及びデータベース修正手段としての機能を有する。
【0058】
ROM11bは、不揮発性の半導体メモリ等により構成され、PC1に対応するシステムプログラム、及び該システムプログラム上で実行可能な各種処理プログラム等を記憶する。プログラムは、コンピュータが読み取り可能なプログラムコードの形態で格納され、CPU11aは、当該プログラムコードに従った動作を逐次実行する。
【0059】
RAM11cは、演算装置11により実行制御される各種処理において、ROM11bやバードディスク14から読み出されたPC1で実行可能なシステムプログラム、各種処理プログラム、アプリケーションプログラム、入力若しくは出力データ、及びパラメータ等の一時的な格納領域となる。
【0060】
操作部12は、文字/英数字入力キー、カーソルキー、及び各種機能キー等を備えたキーボードと、ポインティングデバイスであるマウス等を備えて構成され、キーボードで押下操作されたキーの押下信号とマウスによる操作信号とを入力信号としてCPU11aへ出力する。若しくは、操作部12は、表示部13の表示画面を覆う透明なシートパネルに、指又は専用のスタイラスペンで触れることにより入力される位置情報を入力信号としてCPU11aに出力する、タッチパネルにより構成される。
【0061】
表示部13は、LCD(Liquid Crystal Display)やCRT(Cathode Ray Tube)等により構成され、CPU11aから入力される表示信号の指示に従って、表示画面上に、画像の表示を行う。
【0062】
ハードディスク14は、大容量の記憶装置であり、デジタルカメラ2から入力された画像ファイルや、電子アルバムソフト等の各種アプリケーションプログラムのデータをはじめとする各種データを記憶する。ハードディスク14は、PC1内部に固定的に設けたもの、若しくは着脱自在に装着するものである。
【0063】
I/F15は、USB等のデータ通信ケーブルCとPC1を接続するためのインターフェースである。
【0064】
デジタルカメラ2は、図1に示すように、CPU21a、ROM21b及びRAM21cを有する演算装置21、操作部22、撮影部23、メモリカード24、I/F25等により構成され各部はバスにより接続されている。
【0065】
CPU21aは、操作部22から入力される指示信号に従って、ROM21bに格納されている各種制御プログラムを読み出し、該制御プログラムに従ってデジタルカメラ2の各部の動作を集中制御し、撮影処理やデータ転送処理等を実行する。
【0066】
ROM21bは、半導体等の不揮発性メモリにより構成されている。ROM21bにはデジタルカメラ2に対応する制御プログラム、及び各種処理プログラムを予め記憶する。
【0067】
RAM21cは、ROM21bから読み出されたプログラム、入力若しくは出力データ、及びパラメータ等の一時的な格納領域となる。
【0068】
操作部22は、レリーズスイッチ、電源のON/OFFスイッチ、各種モード変換スイッチ等を備えて構成され、各部の操作信号をCPU21aへ出力する。
【0069】
撮影部23は、図示しない光学系、CCD(Charge Coupled Device)、CCD駆動回路、A/D変換器等により構成され、操作部22のレリーズスイッチが操作されることにより、CPU21aの指示に基づいて撮影処理を行って、光学系を介して入射される光学像を光電変換して得た画像データをメモリカード24に出力する。
【0070】
メモリカード24は、図示しない装着部に着脱可能であり、フラッシュメモリ(Flash Memory)等の不揮発性の半導体メモリで構成されており、撮影部23により撮影された画像データを画像ファイルとして記録する。
【0071】
I/F25は、USB等のデータ通信ケーブルとデジタルカメラ2を接続するためのインターフェースである。
【0072】
次に、動作について説明する。
図2は、PC1のCPU11aにより実行される画像ファイル追加処理を示すフローチャートである。以下、図2を参照して画像ファイル追加処理について説明する。
【0073】
CPU11aは、I/F15を介して、電子アルバムに追加する(電子アルバムソフトの管理下にあるディレクトリに追加する)画像ファイルのファイル名の送信要求をデジタルカメラ2に対して行い、追加する画像ファイルのファイル名を取得する(ステップS1)。次に、CPU11aは、電子アルバムに既に記憶されている画像ファイルのファイル名を取得し(ステップS2)、追加する画像ファイルのファイル名と、既存の画像ファイルのファイル名を比較して、同一のものがあるか否かを判断する(ステップS3)。CPU11aは、比較の結果、追加するファイル名と同一のファイル名の画像ファイルが存在しないと判断すると(ステップS3;NO)、ステップS11へ移行し、追加する画像ファイルを電子アルバムソフトに追加し、本処理を終了する。
【0074】
ステップS3において、CPU11aは、電子アルバムに既に記憶されいる画像ファイルの中に、追加する画像ファイルと同一のファイル名を有する画像ファイルが存在すると判断すると(ステップS3;YES)、追加する画像ファイル及びこれと同一のファイル名の既存の画像ファイルのタグ情報を取得し(ステップS4)、タグ情報の内容が一致しているか否かを判断する(ステップS5)。
タグ情報とは、画像ファイルのヘッダ領域にある画像ファイルに関する情報のことで、例えば、画像ファイル作成日(撮影日時)、更新日、画像容量等の情報である。そして、追加する画像ファイルと、それと同一のファイル名の既存の画像ファイルのタグ情報が一致していると判断すると(ステップS5;YES)、CPU11aは、追加する画像ファイル及び同名の既存の画像ファイルの画像データを取得し(ステップS6)、両者の内容が同じ又は類似しているか否かを判断する(ステップS7)。
【0075】
CPU11aは、ステップS5において、追加する画像ファイル及びこれと同一のファイル名の既存の画像ファイルのタグ情報の内容が一致していないと判断した場合(ステップS5;NO)、或るいはステップS7において、追加する画像ファイル及びこれと同一のファイル名の既存の画像ファイルの画像データが同じ又は類似していると判断しなかった場合(ステップS7;NO)、ステップS9に移行し、現在の日時情報を取得して、追加する画像ファイルのファイル名にこの日時情報(年月日時分秒)を付加してファイル名を変更する(ステップS10)。例えば、変更前のファイル名が“ABCD”、取得した日時情報が2002年4月25日9時2分32秒とすれば、ファイル名を“20020425090232ABCD”のように変更する。そして、CPU11aは、追加する画像ファイルをI/F15を介してデジタルカメラ2から取得して電子アルバムへ追加する(ステップS11)。
【0076】
なお、ステップS9、10で現在の日時情報を取得してファイル名を変更する前に、ユーザに同一ファイル名が存在することを通知し、ファイル名を変更するか否かを判断させるためのインターフェース画面を表示するようにすると、ユーザの意思を反映させることができ、利便性が向上する。
【0077】
一方、CPU11aは、ステップS7において、追加するファイルの画像データと、これと同名の既存の画像ファイルの画像データの内容が同じ又は類似していると判断すると(ステップS7;YES)、表示部13に「追加しますか?」等の表示を表示させる。操作部12から追加の指示が入力されると(ステップS8;YES)、CPU11aは、ステップS9へ移行して、現在の日時を取得して、追加する画像ファイルのファイル名に現在の年月日時分秒を付加してファイル名を変更し(ステップS10)、追加する画像ファイルをI/F15を介してデジタルカメラ2から取得して電子アルバムへ追加する(ステップS11)。操作部12から追加の指示が入力されない場合(ステップS8;NO)、CPU11aは、追加しようとする画像ファイルを電子アルバムへ追加せずに、本処理を終了する。
【0078】
図3は、ステップS8で表示部13に表示されるユーザインターフェース画面131の一例を示す図である。図3に示すユーザインターフェース画面131の画面上部の領域131aは、追加画像表示領域131aであり、追加する画像ファイルの画像が表示されている。また、追加画像表示領域131aの下部には、「追加しようとしているファイル〔ABC001.jpg〕はすでにアルバムに登録されているようです。追加しますか?」等、ユーザへ当該画像ファイルを追加するか否かの指示を仰ぐ表示が表示され、画面下部には、ユーザが指示を入力するための「はい」釦及び「いいえ」釦が表示されている。ユーザは、このユーザインターフェース画面131が表示されることにより、追加しようとしている画像ファイルが既に電子アルバムに追加されていることを知ることができ、更に、この追加する画像ファイルを追加するか、或いは追加しないかを選択することができる。
【0079】
以上説明した様に、PC1によれば、CPU11aは、電子アルバムに画像ファイルを追加する際、追加する画像ファイルのファイル名と、既存の画像ファイルのファイル名を比較して、同一のファイル名の画像ファイルが存在しないと判断した場合は、電子アルバムに当該追加ファイルを追加する。一方、追加する画像ファイルと同一のファイル名の画像ファイルが存在すると判断すると、CPU11aは、追加する画像ファイル及びこれと同一のファイル名の既存の画像ファイルのタグ情報(画像ファイルのヘッダ領域に記憶されているファイル作成日(撮影日時)、更新日、画像容量等の画像に関する情報)を取得し、タグ情報の内容が一致しているか否かを判断する。そして、追加する画像ファイルと同一のファイル名の既存の画像ファイルのタグ情報が一致していると判断すると、CPU11aは、追加するファイル及び同名の既存のファイルの画像データを取得し、両者の内容が同じ又は類似しているか否かを判断し、同じ又は類似していると判断すると、ユーザインターフェース画面を表示部13に表示させて、当該追加ファイルを追加するか否かの指示入力を待機し、追加ファイルの追加が指示された場合に、当該追加する画像ファイルのファイル名に現在の日時情報を付加して電子アルバムに追加する。
【0080】
一方、CPU11aは、追加しようとするファイルと同名のファイルが存在するが、追加する画像ファイルと同名の画像ファイルのタグ情報が一致しないと判断した場合、或いは同名の画像ファイルと画像データの内容が同じ又は類似していると判断しなかった場合は、当該追加する画像ファイルのファイル名に現在の日時情報を付加して電子アルバムに追加する。
【0081】
従って、電子アルバムに既存の画像ファイルと同じ画像ファイルを追加してしまうということが無くなり、電子アルバムにおける画像ファイルの管理の煩雑さを軽減することができる。また、同名の画像ファイルが存在しても、画像データの内容が異なる場合は、自動的に名前を変更して追加するので、ファイル名を変更するというユーザの手間が省け、利便性が向上する。また、同名の画像ファイルが存在する画像ファイルを追加する際には、追加するか否かの確認のインターフェース画面を表示するので、ユーザの意思を反映させつつ、ファイルの追加、ファイル名の変更の自動化を行うことができる。
【0082】
なお、上記実施の形態における記述内容は、本発明に係るPC1の好適な一例であり、これに限定されるものではない。
【0083】
例えば、上記実施の形態においては、始めに画像ファイル名の比較を行い、同一のファイル名が存在する場合に、タグ情報、画像データの比較を行うこととしているが、始めにタグ情報、画像データの比較を行い、追加する画像ファイルの内容が既存の画像ファイルに一致するか否かを判断し、一致した場合は追加をせず、一致しなかった場合にはファイル名の比較を行って、同じファイル名の画像ファイルが存在した場合には、ファイル名を変更して追加するようにしてもよい。このようにすることで、ファイル名が異なっているが、画像データの内容が同じ又は類似している画像ファイルをむやみに追加してしまうということが無くなり、利便性が更に向上する。
【0084】
また、本実施の形態においては、デジタルカメラ2から追加する画像ファイルを入力するものとして説明しているが、これに限定されず、例えば、デジタルビデオカメラから画像ファイルを入力しても良い。これにより、動画ファイルを取り扱うことができる。
【0085】
また、画像ファイルや電子アルバムソフトは、ハードディスク14に格納するものとしているが、これに限定されず、MO(Magneto−Optic)等他の記憶装置であってもよい。また、本発明を適用する装置としては、PC1に限らず、ゲーム機やセットトップボックス、ネットワーク上のファイルサーバ等の電子アルバムが動作可能な装置ににファイルを追加する際にも、本発明を適用することができる。このように、本発明は、多くの環境に対応することができる。
【0086】
また、ファイル名を変更する際に、ファイル名に現在の日時情報を付加することとしたが、画像ファイルの撮影日時若しくは変更日時を画像ファイルのタグ情報から取得して、もとのファイル名に付加するようにしても良い。このように、画像ファイルの内容に関係する撮影日時や変更日時をファイル名に組み込むことで、画像ファイルの内容をファイル名から知ることができる。
【0087】
また、上記実施の形態においては、ファイル名に日時情報の全てを含ませるものとしているが、例えば、“200204250902 ABCD”というように、秒を省略する等、付加する情報を制限してもよい。また、日時情報のみを新しく追加するファイル名としてもよい。これにより、冗長な部分を削除することができる。
【0088】
また、上記実施の形態においては、画像データの内容の比較として、タグ情報の比較及び実際の画像データの内容の双方の比較を行っているが、タグ情報の比較のみで画像データの内容の比較としてもよい。これにより、比較するための処理を迅速に行うことができる。
【0089】
その他、PC1、デジタルカメラ2の細部構成及び細部動作に関しても、本発明の趣旨を逸脱することのない範囲で適宜変更可能である。
【0090】
〔第2の実施の形態〕
以下、本発明の第2の実施の形態について説明する。
なお、本実施の形態における全体構成及びPC1、デジタルカメラ2の内部構成については、上述した第1の実施の形態と同様であるので、各構成要素には同一の符号を付し、その構成の図示及び説明は省略する。
【0091】
次に、動作について説明する。
CPU11aにより実行されるデータベース作成処理について説明する。
なお、本実施の形態の動作の前提として、PC1は、図2の画像ファイル追加処理のステップS1〜S11を実行し、ステップS11にて、画像ファイルを電子アルバムに追加した際に、本データベース作成処理を実行する。なお、デジタルカメラ2のメモリカード24に記録されているディレクトリ構造は所定のルールに則した汎用的なものであるとする。例えば、ルールはDCF(Design rule for Camera File System)等でもよい。
【0092】
まず、初めて電子アルバムへ画像ファイルを追加した場合について説明する。
CPU11aは、電子アルバムへ画像ファイルを追加すると、当該画像ファイルを追加したディレクトリと、そのディレクトリより上位のディレクトリに画像管理用データベース(以下、データベースファイルと称する)を作成する。画像管理用データベースとは、画像ファイルの閲覧や操作を行えるようにするのに有用な画像ファイルの管理情報、例えば画像の重要度、画像を表示する順序、ファイル名、作成(撮影)日時、編集履歴、被写体の特徴(例えば、顔が写っている等)、構図(縦か横か等)等を記憶するファイルである。
【0093】
図4は、初めて電子アルバムへ画像ファイルを追加した場合のハードディスク14内部のディレクトリ構成を示す図である。図4に示すように、CPU11aは、ディレクトリAを上位にもつディレクトリBに、画像ファイルA、B、Cを追加すると、画像ファイルが追加されたディレクトリBにデータベースファイルBを、上位のディレクトリAにデータベースファイルAを作成する。なお、初めて電子アルバムへ画像ファイルを追加した場合、データベースファイルBとデータベースAに記憶される内容は同じであり、両者とも追加された画像ファイルA、B、Cの管理情報を記憶する。
【0094】
次に、画像ファイルが既に格納されているディレクトリに更に画像ファイルを追加した場合について説明する。CPU11aは、電子アルバムへ画像ファイルを追加すると、当該画像ファイルを追加したディレクトリと、そのディレクトリより上位のディレクトリのデータベースファイルを編集し、追加した画像ファイルの管理情報を追加する。
【0095】
図5は、画像ファイルが既に格納されているディレクトリに更に画像ファイルを追加した場合のハードディスク14内部のディレクトリ構成を示す図である。
図5に示すように、CPU11aは、ディレクトリAを上位にもつディレクトリBに、画像ファイルD、E、Fを追加すると、ディレクトリBのデータベースファイルB及び上位のディレクトリAのデータベースファイルAを編集して、画像ファイルD、E、Fの管理情報を追加する。
【0096】
次に、新規ディレクトリに画像ファイルを追加した場合について説明する。CPU11aは、電子アルバムへ画像ファイルを追加すると、当該画像ファイルを追加したディレクトリにデータベースを作成し、そのディレクトリより上位のディレクトリの画像管理用データベースファイルを編集し、追加した画像ファイルの管理情報を追加する。
【0097】
図6は、新規ディレクトリに画像ファイルを追加した場合のハードディスク14内部のディレクトリ構成を示す図である。図6に示すように、CPU11aは、ディレクトリAを上位にもつディレクトリCに、画像ファイルD、E、Fを追加すると、ディレクトリCに画像ファイルD、E、Fの管理情報を記憶したデータベースファイルCを作成し、上位のディレクトリAのデータベースファイルAを編集して、画像ファイルD、E、Fの管理情報を追加する。
【0098】
なお、図4〜6においては、ディレクトリ構成を2層として説明したが、3層、4層、5層等、複数階層をもたせるようにしてもよい。
【0099】
上記説明した方法により作成又は編集されたデータベースファイルは、ユーザが画像を閲覧、操作する際に参照される。
図7は、ハードディスク14のディレクトリ構成の一例及び参照するデータベースファイルを示す図である。図7に示すディレクトリ構成では、ディレクトリAはディレクトリB,C,Dの上位ディレクトリである。ユーザがディレクトリA以下の複数ディレクトリに存在する画像を閲覧する場合は、CPU11aは、データベースファイルAを参照して、表示部13に画像や画像に関する情報を表示させる。ユーザがディレクトリC又はディレクトリC以下の複数ディレクトリに存在する画像を閲覧する場合は、CPU11aは、データベースファイルCを参照して、表示部13に画像や画像に関する情報を表示させる。このように、データベースファイルにより、そのディレクトリ以下のディレクトリに関する画像ファイルが管理される。
【0100】
画像ファイルの削除を行った場合は、CPU11aは、削除した画像ファイルの存在したディレクトリにあるデータベースファイルの当該画像ファイルの管理情報を削除するとともに、上位にあるディレクトリのデータベースファイルの当該画像ファイルの管理情報を削除する。
【0101】
以上説明した様に、CPU11aは、画像ファイルが追加されると、追加されたディレクトリにデータベースファイルを作成(既存の場合はそのデータベースファイルを編集)し、このデータベースにより当該画像ファイルの管理情報を記憶する。そして、ユーザが閲覧や操作を指示した画像が複数のディレクトリにまたがる場合には、共通の上位ディレクトリにあるデータベースファイルを参照して、画像や画像ファイル情報を表示部13に表示させる。ユーザが閲覧を指示した画像があるディレクトリ内の画像のみであれば、そのディレクトリにあるデータベースファイルを参照して画像や画像ファイル情報を表示部13に表示させる。また、画像ファイルの削除が行われた場合は、削除した画像ファイルの存在したディレクトリにあるデータベースファイルの当該画像ファイルの管理情報を削除するとともに、上位にあるディレクトリのデータベースファイルの当該画像ファイルの管理情報を削除する。
【0102】
従って、上位のディレクトリに画像管理用のデータベースファイルが備えられているので、複数のディレクトリにまたがる画像を閲覧、操作する場合に対応することができる。また、ディレクトリ毎に管理用のデータベースが備えられているので、あるディレクトリの画像のみを閲覧、操作する場合は、そのディレクトリのデータベースを参照すればよく、巨大なデータベースファイルを動作させることなく、処理を簡単にすることができる。また、ディレクトリの移動や複写時も、ディレクトリに格納されたデータベースを含めて行えばよいので、堅牢性が向上する。
【0103】
なお、上記実施の形態における記述内容は、本発明に係るPC1の電子アルバムへの画像ファイルの追加における好適な一例であり、これに限定されるものではない。
【0104】
例えば、第1の実施の形態と同様、本実施の形態においても、追加する画像ファイルは、デジタルカメラ2から入力するものとして説明しているが、これに限定されず、例えば、デジタルビデオカメラであっても良い。これにより、動画ファイルを取り扱うことができる。
【0105】
また、画像ファイルや電子アルバムソフトは、ハードディスク14に格納するものとしているが、これに限定されず、MO(Magneto−Optic)等他の記憶装置であってもよい。また、PC1に限らず、ゲーム機やセットトップボックス、ネットワーク上のファイルサーバ等の電子アルバムにファイルを追加する際にも、本発明を適用することができる。このように、本発明は、多くの環境に対応することができる。
【0106】
また、画像ファイルの存在するディレクトリ及びその上位のディレクトリにデータベースファイルを作成したが、片方のデータベースのみを使用するように切り替えるようにしてもよい。このようにすれば、環境により両方のデータベースファイルを使用する必要がない場合は、冗長性を低減することができる。
【0107】
また、データベースファイル間で比較、修正を行うようにし、編集履歴の新しいデータベースをもとに古いデータベースを修正する機能をもつようにしてもよい。これにより、ユーザや他のソフトの操作によりデータの矛盾が起こった場合、データの修正ができるので、堅牢性が高まる。更に、データベースの編集は、画像ファイルの追加や削除の時のみならず、電子アルバム上でディレクトリの移動を行った場合や画像を編集した際にもデータベースを編集するようにすれば、汎用性の高い電子アルバムソフトを提供できるようになる。
【0108】
その他、PC1、デジタルカメラ2の細部構成及び細部動作に関しても、本発明の趣旨を逸脱することのない範囲で適宜変更可能である。
【0109】
【発明の効果】
請求項1、10、19、28記載の発明によれば、画像ファイルを電子アルバムに追加する際に、電子アルバムに既存の画像ファイルと追加する画像ファイルの各ファイル名を比較して、一致しているか否かを判断し、比較の結果、ファイル名が一致していると判断された場合に、ファイル名が一致した各画像ファイルの画像データの内容を比較し、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断し、画像データの内容が同じ又は類似していると判断されなかった場合に、所定の手順で自動的に追加する画像ファイルのファイル名を変更し、電子アルバムに既存の画像ファイルとファイル名が一致していないと判断された画像ファイル又はファイル名が変更された画像ファイルを電子アルバムに追加する。従って、電子アルバムに既存の画像ファイルと同じ画像ファイルを追加してしまうということが無くなり、電子アルバムにおける画像ファイルの管理の煩雑さを低減することができるとともに、同名のファイルが存在しても、画像データの内容が異なる場合は、自動的にファイル名を変更して電子アルバムに追加するので、ファイル名を変更するというユーザの手間が省け、利便性が向上する。
【0110】
請求項2、11、20、29記載の発明によれば、画像データの内容の比較結果をユーザに示す第一のユーザインターフェースを表示させる。従って、ユーザが比較の結果を確認することができるので、自動化による認識の誤解を低減することができる。
【0111】
請求項3、12、21、30記載の発明によれば、追加するファイル名を変更するか否かをユーザに指示させるための第二のユーザインターフェースを表示させる。従って、ファイル名を変更するか否かにユーザの意思を反映させることができる。
【0112】
請求項4、13、22、31記載の発明によれば、各画像ファイルに付加されたタグ情報を比較することにより、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断する。従って、画像データの内容の比較を迅速に行うことができる。
【0113】
請求項5、14、23、32記載の発明によれば、日時情報を利用して追加する画像ファイル名を変更する。従って、変更したファイル名が更に既存の画像ファイル名と一致することを低減することができる。
【0114】
請求項6、15、24、33記載の発明によれば、画像ファイルを電子アルバムに追加する際に、電子アルバムに既存の画像ファイルと追加する画像ファイルの各画像データの内容を比較して画像データの内容が同じ又は類似しているか否かを判断し、同じ又は類似していると判断されなかった場合に、追加する画像ファイルと電子アルバムに既存の画像ファイルのファイル名を比較して、一致しているか否かを判断し、一致した場合に、所定の手順で自動的に追加する画像ファイルのファイル名を変更し、画像データの内容が同じ又は類似していると判断されなかった画像ファイルを電子アルバムに追加する。従って、ファイル名違いで同じ又は類似している画像の追加を排除することができる。
【0115】
請求項7、16、25、34記載の発明によれば、電子アルバム内の画像ファイルを管理するためのデータベースに、当該データベースの存在するディレクトリ及びサブディレクトリの画像ファイルの管理情報を記憶し、該データベースに基づいて、電子アルバム内の画像ファイルを管理する。従って、ディレクトリ以下の画像ファイルを一括管理することができる。
【0116】
請求項8、17、26、35記載の発明によれば、電子アルバム内の画像ファイルを管理するためのデータベースはディレクトリ毎に配置され、上位のディレクトリのデータベースは下位のディレクトリに含まれる画像ファイルの管理情報を含んでいる。従って、上位のデータベースにも下位のディレクトリの画像ファイル情報が含まれているので、複数のディレクトリにまたがる画像を閲覧、操作する場合にも対応することができる。また、ディレクトリ毎にデータベースを備えているので、あるディレクトリの画像のみを閲覧、操作する場合は、そのディレクトリのデータベースを参照すればよく、処理を簡単にすることができる。また、ディレクトリの移動や複写時の堅牢性が向上する。
【0117】
請求項9、18、27、36記載の発明によれば、上位のディレクトリのデータベースの内容と、下位のディレクトリのデータベースの内容とを比較し、一致しない場合は、古いデータベースの内容を新しいデータベースの内容に修正する。従って、データベースの内容の矛盾を低減させることができる。
【図面の簡単な説明】
【図1】本発明の全体構成及びPC1、デジタルカメラ2の機能的構成を示すブロック図である。
【図2】図1のCPU11aにより実行される画像ファイル追加処理を示すフローチャートである。
【図3】図2のステップS8で表示部13に表示されるユーザインターフェース画面131の一例を示す図である。
【図4】初めて電子アルバムへ画像ファイルを追加した場合のハードディスク14内部のディレクトリ構成を示す図である。
【図5】画像ファイルが既に格納されているディレクトリに更に画像ファイルを追加した場合のハードディスク14内部のディレクトリ構成を示す図である。
【図6】新規ディレクトリに画像ファイルを追加した場合のハードディスク14内部のディレクトリ構成を示す図である。
【図7】図1のハードディスク14のディレクトリ構成の一例及び参照するデータベースファイルを示す図である。
【符号の説明】
1  PC
11  演算装置
11a  CPU
11b  ROM
11c  RAM
12  操作部
13  表示部
14  ハードディスク
15  I/F
2  デジタルカメラ
21  演算装置
21a  CPU
21b  ROM
21c  RAM
22  操作部
23  撮影部
24  メモリカード
25  I/F
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image management device, an image management method, a program, and a recording medium that manage image files by operating electronic album software.
[0002]
[Prior art]
2. Description of the Related Art In recent years, with the spread of digital cameras and an increase in the capacity of a storage device, opportunities to display and browse images on a display screen such as a personal computer (PC) using digital image data have been increasing. Under such circumstances, various types of electronic album software have been developed in order to facilitate browsing and operation of image files.
[0003]
As a standard for managing digital images in a digital camera, there is a DCF (Design rule for Camera File system). The DCF is used when combining images captured by different digital cameras of the same type or when a memory card is replaced. Image file names may overlap.
[0004]
Therefore, when adding an image file, the electronic album software determines whether an existing image file has the same file name or whether the same image data itself exists. If there is a comparison and there is the same one, there is one that notifies the user. Thereby, it is possible to prevent a file of the same data from being erroneously added twice.
[0005]
Some electronic album software manages image files using an image management database. The image management database stores useful data for operating images, such as the importance of images, the order in which images are viewed, the shooting date and time, and the editing history.
[0006]
[Problems to be solved by the invention]
However, even if there is already an image file with the same file name as the image file to be added to the electronic album software, there is a possibility that the contents of the image data may be different data. Therefore, it is difficult for the user to appropriately determine whether the file name should be changed and added or not added.
[0007]
If it is found that the content of the image data does not exist in the existing image file and only the file name is the same, it is necessary to change the image file name of the image file to be added. If this is done manually, it is necessary to make sure that it does not have the same name as another image file name, which is complicated.
[0008]
Also, the conventional image management database manages image files in the same directory or manages lower-level image files in the highest directory, but only manages image files in the same directory. So we couldn't manage the whole thing. Further, when all the lower-level image files are managed in the highest-level directory, a management database having a large data amount must be operated at any time, which is not efficient. Further, there are cases where the database cannot cope with a case where the user manually divides or moves the directory.
[0009]
An object of the present invention is to improve convenience and robustness in managing image files.
[0010]
[Means for Solving the Problems]
In order to solve the above problems, the invention according to claim 1 is:
In an image management device that manages images by operating electronic album software,
When adding an image file to the electronic album, a file name comparing unit that compares each file name of the existing image file and the image file to be added to the electronic album and determines whether or not they match.
As a result of the comparison by the file name comparing means, when it is determined that the file names match, the contents of the image data of each image file having the matching file name are compared, and the contents of the image data of each image file are compared. Data content comparing means for determining whether or not are the same or similar;
If the data content comparing means does not determine that the content of the image data of each image file having the same file name is the same or similar, the file name of the image file to be added is automatically determined by a predetermined procedure. File name changing means for changing
An image file whose file name is determined not to match an existing image file in the electronic album by the file name comparing unit or an image file whose file name is changed by the file name changing unit is added to the electronic album. Image file adding means,
It is characterized by having.
[0011]
The invention according to claim 10 is
In an image management method for managing images stored in an electronic album,
When adding an image file to the electronic album, a file name comparing step of comparing each file name of the existing image file and the image file to be added to the electronic album to determine whether or not they match,
As a result of the comparison in the file name comparison step, when it is determined that the file names match, the contents of the image data of each image file having the matching file name are compared, and the contents of the image data of each image file are compared. Is a data content comparing step of determining whether or not is the same or similar,
In the data content comparing step, when it is not determined that the content of the image data of each image file having the same file name is the same or similar, the file of the image file to be automatically added in a predetermined procedure. A file renaming process for renaming,
An image file determined to have a file name that does not match an existing image file in the electronic album in the file name comparing step or an image file whose file name has been changed in the file name changing step is added to the electronic album. Image file adding process,
It is characterized by including.
[0012]
The invention according to claim 19 is
A computer for controlling an image management device that manages images by operating electronic album software,
When adding an image file to the electronic album, a function of comparing each file name of the existing image file and the image file to be added to the electronic album, and determining whether or not they match,
As a result of the comparison, when it is determined that the file names match, the contents of the image data of each image file whose file name matches are compared, and the contents of the image data of each image file are the same or similar. Function to determine whether or not
A function of automatically changing the file name of the image file to be added in a predetermined procedure when the content of the image data of each image file in which the file names match is not determined to be the same or similar,
A function of adding to the electronic album an image file determined to have a file name that does not match the existing image file in the electronic album or the image file whose file name has been changed,
It is characterized by being a program for realizing.
[0013]
The invention according to claim 28 is
On a recording medium storing a computer-executable program for controlling an image management apparatus that manages images by operating electronic album software,
A computer-executable program for comparing each file name of an existing image file and an image file to be added to the electronic album when adding the image file to the electronic album, and determining whether or not they match each other. Code and
As a result of the comparison, when it is determined that the file names match, the contents of the image data of each image file whose file name matches are compared, and the contents of the image data of each image file are the same or similar. Computer-executable program code for determining whether or not
Computer for automatically changing the file name of the image file to be added in a predetermined procedure when it is not determined that the contents of the image data of each image file with the same file name are the same or similar. Executable program code,
A computer-executable program code for adding to the electronic album an image file or an image file whose file name has been determined to be different from the existing image file and the file name of the electronic album,
Is stored.
[0014]
According to the invention described in claims 1, 10, 19, and 28, when adding an image file to the electronic album, the file names of the existing image file and the image file to be added to the electronic album are compared and matched. And if the file names match as a result of the comparison, the contents of the image data of each image file with the matching file name are compared, and the image data of each image file is compared. Judge whether the contents are the same or similar.If the contents of the image data are not judged to be the same or similar, change the file name of the image file to be automatically added in a predetermined procedure. Then, an image file determined to have a file name that does not match an existing image file in the electronic album or an image file whose file name has been changed is added to the electronic album. Therefore, the same image file as the existing image file is not added to the electronic album, so that the complexity of managing the image files in the electronic album can be reduced, and even if a file with the same name exists, If the contents of the image data are different, the file name is automatically changed and added to the electronic album, so that the user's trouble of changing the file name is saved, and the convenience is improved.
[0015]
The invention according to claim 2 is the invention according to claim 1,
A first user interface for presenting a result of the comparison by the data content comparing means to a user.
[0016]
The invention according to claim 11 is the invention according to claim 10,
The method further includes a first display step of displaying a first user interface that shows a comparison result in the data content comparison step to a user.
[0017]
The invention according to claim 20 is the invention according to claim 19, wherein
It is characterized by including a program for realizing a function of displaying a first user interface showing a result of comparison of the contents of the image data to a user.
[0018]
The invention according to claim 29 is the invention according to claim 28, wherein
A program including a computer-executable program code for displaying a first user interface for displaying a comparison result of the contents of the image data to a user is stored.
[0019]
According to the invention described in claims 2, 11, 20, and 29, the first user interface for displaying the result of the comparison of the contents of the image data to the user is displayed. Therefore, since the user can confirm the result of the comparison, misunderstanding of the recognition by automation can be reduced.
[0020]
The invention according to claim 3 is the invention according to claim 1 or 2,
A second user interface is provided for instructing the user whether to change the file name by the file name changing means.
[0021]
The invention according to claim 12 is the invention according to claim 10 or 11,
The method includes a second display step of displaying a second user interface for prompting a user whether to change a file name to be added in the file name change step.
[0022]
The invention according to claim 21 is the invention according to claim 19 or 20,
It is characterized by including a program for realizing a function of displaying a second user interface for prompting a user whether to change the name of the file to be added.
[0023]
The invention according to claim 30 is the invention according to claim 28 or 29,
A program including a computer-executable program code for displaying a second user interface for prompting a user whether to change the name of the file to be added is stored.
[0024]
According to the third, twelfth, twenty-first, and thirty-third aspects of the present invention, a second user interface is displayed for prompting the user whether to change the name of the file to be added. Therefore, the intention of the user can be reflected in whether or not to change the file name.
[0025]
The invention according to claim 4 is the invention according to any one of claims 1 to 3,
The data content comparing means determines whether the content of the image data of each image file is the same or similar by comparing the tag information added to each image file.
[0026]
The invention according to claim 13 is the invention according to any one of claims 10 to 12,
The data content comparing step is characterized by comparing the tag information added to each of the image files to determine whether the content of the image data of each of the image files is the same or similar.
[0027]
The invention according to claim 22 is the invention according to any one of claims 19 to 21,
A program for realizing a function of comparing the tag information added to each of the image files to determine whether the content of the image data of each of the image files is the same or similar. I have.
[0028]
The invention according to claim 31 is the invention according to any one of claims 28 to 30,
A program including a computer-executable program code for determining whether the content of image data of each image file is the same or similar by comparing tag information added to each image file. It is characterized by being stored.
[0029]
According to the present invention, it is determined whether or not the content of the image data of each image file is the same or similar by comparing the tag information added to each image file. I do. Therefore, the contents of the image data can be compared quickly.
[0030]
The invention according to claim 5 is the invention according to any one of claims 1 to 4,
The file name changing means changes an added image file name using date and time information.
[0031]
The invention according to claim 14 is the invention according to any one of claims 10 to 13,
The file name changing step is characterized in that the added image file name is changed using date and time information.
[0032]
The invention according to claim 23 is the invention according to any one of claims 19 to 22,
It is characterized by including a program for realizing a function of changing the name of the image file to be added using date and time information.
[0033]
The invention according to claim 32 is the invention according to any one of claims 28 to 31,
A program including a computer-executable program code for changing the image file name to be added using date and time information is stored.
[0034]
According to the inventions described in claims 5, 14, 23, and 32, the name of an image file to be added is changed using date and time information. Therefore, it is possible to further reduce the possibility that the changed file name matches the existing image file name.
[0035]
The invention according to claim 6 is the invention according to any one of claims 1 to 5,
The data content comparing means compares the content of each image data of the image file existing in the electronic album with the content of the image file to be added when adding the image file to the electronic album, and the content of the image data is the same. Or determine whether they are similar,
The file name comparing means, when the data content comparing means does not determine that the content of the image data of the image file to be added is the same or similar to the content of the image data of the existing image file, Compare the file name of the image file to be added and the file name of the existing image file in the electronic album, and determine whether they match,
The file name change unit, when the file name is matched by the file name comparison unit, automatically changes the file name of the image file to be added in a predetermined procedure,
The image file adding means adds, to the electronic album, image files for which the data content comparing means has determined that the contents of image data and image data existing in the electronic album are not the same or similar. And
[0036]
The invention according to claim 15 is the invention according to any one of claims 10 to 14,
In the data content comparing step, when the image file is added to the electronic album, the content of each image data of the image file existing in the electronic album and the image file to be added is compared, and the content of the image data is the same. Or determine whether they are similar,
The file name comparing step, when the content of the image data of the image file to be added is not determined to be the same or similar to the content of the image data of the existing image file in the data content comparing step, the Compare the file name of the image file to be added and the file name of the existing image file in the electronic album, and determine whether they match,
The file name change step, when the file name matches in the file name comparison step, automatically changes the file name of the image file to be added in a predetermined procedure,
The image file adding step is to add, to the electronic album, an image file which is not determined to have the same or similar image data content as an existing image file in the electronic album in the data content comparing step. And
[0037]
The invention according to claim 24 is the invention according to any one of claims 19 to 23,
When adding the image file to the electronic album, compare the content of each image data of the image file existing in the electronic album and the image file to be added, and determine whether the content of the image data is the same or similar Function to determine the
If it is not determined that the content of the image data of the image file to be added is the same or similar to the content of the image data of the existing image file, the image file to be added and the image file existing in the electronic album A function to compare the file names of
When the file names match, a function of automatically changing the file name of the image file to be added in a predetermined procedure,
A function of adding, to the electronic album, an image file that is not determined to have the same or similar content as an existing image file and image data in the electronic album;
It is characterized by including a program for realizing.
[0038]
The invention according to claim 33 is the invention according to any one of claims 28 to 32,
When adding the image file to the electronic album, compare the content of each image data of the image file existing in the electronic album and the image file to be added, and determine whether the content of the image data is the same or similar Computer-executable program code for determining
If it is not determined that the content of the image data of the image file to be added is the same or similar to the content of the image data of the existing image file, the image file to be added and the image file existing in the electronic album A computer-executable program code for comparing the file names of
If the file names match, computer-executable program code for automatically changing the file name of the image file to be added in a predetermined procedure,
A computer-executable program code for adding an image file that is not determined to have the same or similar content of an existing image file and image data to the electronic album to the electronic album,
Is stored.
[0039]
According to the invention as set forth in claims 6, 15, 24, and 33, when adding an image file to the electronic album, the contents of each image data of the existing image file and the image file to be added to the electronic album are compared. Determine whether the content of the data is the same or similar, and if not determined to be the same or similar, compare the file name of the image file to be added and the file name of the existing image file in the electronic album, It is determined whether or not they match, and if they match, the file name of the image file to be automatically added is changed in a predetermined procedure, and the image data contents are not determined to be the same or similar. Add files to the electronic album. Therefore, addition of the same or similar image with a different file name can be excluded.
[0040]
The invention according to claim 7 is
In an image management device that manages images by operating electronic album software,
Equipped with a database for managing image files in the electronic album,
The database stores management information of image files existing in a directory where the database exists and a subdirectory thereof.
[0041]
The invention according to claim 16 is
In an image management method for managing images stored in an electronic album,
It is characterized in that image files are managed by a database that stores management information of image files existing in a directory in the electronic album and its subdirectories.
[0042]
The invention according to claim 25 is
A computer for controlling an image management device that manages images by operating electronic album software,
The program is characterized in that it is a program for realizing a function of managing image files by a database storing management information of image files existing in a directory in the electronic album and its subdirectories.
[0043]
The invention according to claim 34 is
On a recording medium storing a computer-executable program for controlling an image management apparatus that manages images by operating electronic album software,
It is characterized by storing a program including a computer-executable program code for managing image files by a database storing management information of image files existing in a directory in the electronic album and its subdirectories.
[0044]
According to the invention described in claims 7, 16, 25, and 34, a database for managing image files in an electronic album stores management information of image files in a directory and a subdirectory in which the database exists, and Manage the image files in the electronic album based on the database. Therefore, image files under the directory can be managed collectively.
[0045]
The invention according to claim 8 is the invention according to claim 7,
The database is arranged for each directory, and the database of the upper directory contains management information of the image files included in the lower directory.
[0046]
The invention according to claim 17 is the invention according to claim 16, wherein
The database is arranged for each directory, and the database of the upper directory contains management information of the image files included in the lower directory.
[0047]
The invention according to claim 26 is the invention according to claim 25, wherein
The database is arranged for each directory, and the database of the upper directory contains management information of the image files included in the lower directory.
[0048]
The invention according to claim 35 is the invention according to claim 34, wherein
The database is arranged for each directory, and the database of the upper directory contains management information of the image files included in the lower directory.
[0049]
According to the invention described in claims 8, 17, 26, and 35, the database for managing the image files in the electronic album is arranged for each directory, and the database of the upper directory is the directory of the image file contained in the lower directory. Contains administrative information. Therefore, since the image file information of the lower directory is also included in the upper database, it is possible to cope with the case of browsing and operating the image spanning a plurality of directories. Further, since a database is provided for each directory, if only images in a certain directory are to be browsed and operated, the database in that directory may be referred to, and the processing can be simplified. In addition, robustness when moving or copying directories is improved.
[0050]
The invention according to claim 9 is the invention according to claim 8,
The contents of the database of the upper directory and the contents of the database of the lower directory are compared, and if they do not match, the database correction means for correcting the contents of the old database to the contents of the new database is provided. I have.
[0051]
The invention according to claim 18 is the invention according to claim 17,
Comparing the contents of the database in the upper directory with the contents of the database in the lower directory, and if not, modifying the contents of the old database to the contents of the new database. .
[0052]
The invention according to claim 27 is the invention according to claim 26, wherein
A program for realizing a function of comparing the contents of the database of the upper directory with the contents of the database of the lower directory and, if they do not match, correcting the contents of the old database to the contents of the new database It is characterized by.
[0053]
The invention according to claim 36 is the invention according to claim 35, wherein
The contents of the database of the upper directory and the contents of the database of the lower directory are compared, and if they do not match, a computer-executable program code for modifying the contents of the old database to the contents of the new database is used. It is characterized by storing programs including
[0054]
According to the present invention, the contents of the database of the upper directory and the contents of the database of the lower directory are compared, and if they do not match, the contents of the old database are compared with the contents of the new database. Modify the content. Therefore, inconsistency in the contents of the database can be reduced.
[0055]
BEST MODE FOR CARRYING OUT THE INVENTION
[First Embodiment]
Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings.
First, the configuration will be described.
FIG. 1 is a block diagram showing the overall configuration of the present embodiment and the functional configuration of each device. As shown in FIG. 1, the PC 1 is connected to the digital camera 2 via a data communication cable C such as a USB (Universal Serial Busto), and can copy image files recorded on the memory card 24 of the digital camera 2 to the PC 1. And stored in the hard disk 14 of the PC 1. The memory card 24 may be taken out of the digital camera 2 and mounted on a memory card mounting portion (not shown) of the PC 1 to transfer an image file.
[0056]
As shown in FIG. 1, the PC 1 includes an arithmetic unit 11 having a CPU (Central Processing Unit) 11a, a ROM (Read Only Memory) 11b, and a RAM (Random Access Memory) 11c, an operation unit 12, a display unit 13, a hard disk 14, Each unit is configured by an I / F 15 and the like, and each unit is connected by a bus.
[0057]
The CPU 11a reads system programs and various processing programs stored in the ROM 11b and the hard disk 14, and centrally controls the operation of each unit according to the programs. For example, the hard disk 14 stores electronic album software for performing browsing, operation, management, and the like of an image as an electronic album by using the digitized image data group. The image files stored in the hard disk 14 are managed according to the application program. Further, the CPU 11a executes various processes including an image file adding process and a database creating process, which will be described later, according to the read program. The CPU 11a has functions as a file name comparing unit, a data content comparing unit, a file name changing unit, an image file adding unit, and a database correcting unit described in the claims of the present invention.
[0058]
The ROM 11b is configured by a nonvolatile semiconductor memory or the like, and stores a system program corresponding to the PC 1, various processing programs executable on the system program, and the like. The programs are stored in the form of computer-readable program codes, and the CPU 11a sequentially executes operations according to the program codes.
[0059]
The RAM 11c temporarily stores system programs, various processing programs, application programs, input or output data, and parameters that can be executed by the PC 1 read from the ROM 11b or the bird disk 14 in various processes executed and controlled by the arithmetic device 11. Storage area.
[0060]
The operation unit 12 includes a keyboard having character / alphanumeric input keys, a cursor key, various function keys, and the like, and a mouse or the like as a pointing device. Is output to the CPU 11a as an input signal. Alternatively, the operation unit 12 includes a touch panel that outputs, as an input signal, position information input by touching a transparent sheet panel covering a display screen of the display unit 13 with a finger or a dedicated stylus pen to the CPU 11a. .
[0061]
The display unit 13 includes an LCD (Liquid Crystal Display), a CRT (Cathode Ray Tube), or the like, and displays an image on a display screen in accordance with an instruction of a display signal input from the CPU 11a.
[0062]
The hard disk 14 is a large-capacity storage device, and stores various data such as image files input from the digital camera 2 and data of various application programs such as electronic album software. The hard disk 14 is provided fixedly inside the PC 1 or is mounted detachably.
[0063]
The I / F 15 is an interface for connecting the data communication cable C such as USB and the PC 1.
[0064]
As shown in FIG. 1, the digital camera 2 includes an arithmetic unit 21 having a CPU 21a, a ROM 21b and a RAM 21c, an operation unit 22, an imaging unit 23, a memory card 24, an I / F 25, and the like, and each unit is connected by a bus. .
[0065]
The CPU 21a reads various control programs stored in the ROM 21b in accordance with an instruction signal input from the operation unit 22, centrally controls the operation of each unit of the digital camera 2 in accordance with the control programs, and performs photographing processing, data transfer processing, and the like. Execute.
[0066]
The ROM 21b is configured by a nonvolatile memory such as a semiconductor. A control program corresponding to the digital camera 2 and various processing programs are stored in the ROM 21b in advance.
[0067]
The RAM 21c is a temporary storage area for programs, input or output data, parameters, and the like read from the ROM 21b.
[0068]
The operation unit 22 includes a release switch, a power ON / OFF switch, various mode conversion switches, and the like, and outputs an operation signal of each unit to the CPU 21a.
[0069]
The photographing unit 23 includes an optical system (not shown), a CCD (Charge Coupled Device), a CCD driving circuit, an A / D converter, and the like. When a release switch of the operation unit 22 is operated, the imaging unit 23 is operated based on an instruction from the CPU 21a. An image processing is performed, and image data obtained by photoelectrically converting an optical image incident through the optical system is output to the memory card 24.
[0070]
The memory card 24 is attachable to and detachable from a mounting unit (not shown), and is configured by a nonvolatile semiconductor memory such as a flash memory (Flash Memory), and records image data photographed by the photographing unit 23 as an image file.
[0071]
The I / F 25 is an interface for connecting the digital camera 2 to a data communication cable such as a USB.
[0072]
Next, the operation will be described.
FIG. 2 is a flowchart showing an image file addition process executed by the CPU 11a of the PC 1. Hereinafter, the image file adding process will be described with reference to FIG.
[0073]
The CPU 11a requests the digital camera 2 via the I / F 15 to transmit a file name of an image file to be added to the electronic album (added to a directory under the management of the electronic album software) to the digital camera 2, and the image file to be added Is obtained (step S1). Next, the CPU 11a obtains the file names of the image files already stored in the electronic album (step S2), compares the file names of the image files to be added with the file names of the existing image files, and It is determined whether there is something (step S3). When the CPU 11a determines that there is no image file having the same file name as the file name to be added as a result of the comparison (step S3; NO), the process proceeds to step S11, where the image file to be added is added to the electronic album software. This processing ends.
[0074]
In step S3, when the CPU 11a determines that there is an image file having the same file name as the image file to be added among the image files already stored in the electronic album (step S3; YES), The tag information of the existing image file having the same file name is obtained (step S4), and it is determined whether or not the contents of the tag information match (step S5).
The tag information is information on an image file in a header area of the image file, and is information such as an image file creation date (shooting date and time), an update date, and an image capacity. If the CPU 11a determines that the tag information of the image file to be added matches the tag information of the existing image file having the same file name (step S5; YES), the CPU 11a determines that the image file to be added and the existing image file having the same name have the same file name. Is obtained (step S6), and it is determined whether or not the contents are the same or similar (step S7).
[0075]
If the CPU 11a determines in step S5 that the contents of the tag information of the image file to be added and the content of the tag information of the existing image file having the same file name do not match (step S5; NO), or in step S7. If it is not determined that the image data of the image file to be added and the existing image file having the same file name are the same or similar (step S7; NO), the process proceeds to step S9 and the current date and time information is obtained. Is acquired, and the date and time information (year, month, day, hour, minute, second) is added to the file name of the image file to be added to change the file name (step S10). For example, if the file name before the change is “ABCD” and the acquired date and time information is 9: 2: 32 on April 25, 2002, the file name is changed to “20020425090232ABCD”. Then, the CPU 11a acquires the image file to be added from the digital camera 2 via the I / F 15, and adds the image file to the electronic album (Step S11).
[0076]
Before acquiring the current date and time information in steps S9 and S10 and changing the file name, an interface for notifying the user that the same file name exists and for determining whether to change the file name is provided. When the screen is displayed, the intention of the user can be reflected, and the convenience is improved.
[0077]
On the other hand, when the CPU 11a determines in step S7 that the content of the image data of the file to be added and the content of the image data of the existing image file having the same name are the same or similar (step S7; YES), the display unit 13 Display such as "Do you want to add?" When an additional instruction is input from the operation unit 12 (step S8; YES), the CPU 11a proceeds to step S9, acquires the current date and time, and adds the current date and time to the file name of the image file to be added. The file name is changed by adding minutes and seconds (step S10), and the image file to be added is obtained from the digital camera 2 via the I / F 15 and added to the electronic album (step S11). When the addition instruction is not input from the operation unit 12 (step S8; NO), the CPU 11a ends this processing without adding the image file to be added to the electronic album.
[0078]
FIG. 3 is a diagram illustrating an example of the user interface screen 131 displayed on the display unit 13 in step S8. An area 131a at the top of the user interface screen 131 shown in FIG. 3 is an additional image display area 131a, in which an image of an image file to be added is displayed. In the lower part of the additional image display area 131a, the image file is added to the user, for example, "The file to be added [ABC001.jpg] seems to be already registered in the album. Do you want to add it?" A display asking for an instruction is displayed, and a “Yes” button and a “No” button for the user to input an instruction are displayed at the bottom of the screen. When the user interface screen 131 is displayed, the user can know that the image file to be added has already been added to the electronic album, and further adds the image file to be added, or You can choose not to add.
[0079]
As described above, according to the PC 1, when adding an image file to the electronic album, the CPU 11a compares the file name of the image file to be added with the file name of the existing image file, and determines the same file name. If it is determined that the image file does not exist, the additional file is added to the electronic album. On the other hand, when determining that there is an image file having the same file name as the image file to be added, the CPU 11a determines the tag information of the image file to be added and the existing image file having the same file name (stored in the header area of the image file). The file creation date (shooting date and time), the update date, and information on the image such as the image capacity) are acquired, and it is determined whether or not the contents of the tag information match. When determining that the tag information of the existing image file having the same file name as the image file to be added matches, the CPU 11a acquires the image data of the file to be added and the existing file of the same name, Are determined to be the same or similar, and if it is determined that they are the same or similar, a user interface screen is displayed on the display unit 13 and an input of an instruction whether to add the additional file is awaited. When an instruction to add an additional file is given, the current date and time information is added to the file name of the image file to be added and added to the electronic album.
[0080]
On the other hand, the CPU 11a determines that there is a file having the same name as the file to be added, but that the tag information of the image file to be added does not match the tag information of the image file to be added, or that the contents of the image file having the same name and the contents of the image data are different. If it is not determined that they are the same or similar, the current date and time information is added to the file name of the image file to be added, and the image file is added to the electronic album.
[0081]
Therefore, the same image file as the existing image file is not added to the electronic album, and the complexity of managing image files in the electronic album can be reduced. In addition, even if an image file with the same name exists, if the contents of the image data are different, the name is automatically changed and added, so that the user's trouble of changing the file name is omitted, and the convenience is improved. . When adding an image file that has an image file with the same name, an interface screen for confirming whether to add the image file is displayed. Automation can be performed.
[0082]
The description in the above embodiment is a preferred example of the PC 1 according to the present invention, and the present invention is not limited to this.
[0083]
For example, in the above embodiment, the image file names are compared first, and when the same file name exists, the tag information and the image data are compared. To determine whether the content of the image file to be added matches the existing image file.If they match, do not add.If not, compare the file names. If there is an image file with the same file name, the file name may be changed and added. By doing so, it is unnecessary to add image files having different file names but the same or similar image data contents, and the convenience is further improved.
[0084]
Further, in the present embodiment, the description has been made assuming that an image file to be added is input from the digital camera 2, but the present invention is not limited to this. For example, an image file may be input from a digital video camera. Thereby, a moving image file can be handled.
[0085]
The image file and the electronic album software are stored in the hard disk 14, but the present invention is not limited to this, and another storage device such as an MO (Magneto-Optical) may be used. Further, the present invention is not limited to the PC 1 but may be applied to a case where a file is added to a device capable of operating an electronic album such as a game machine, a set-top box, or a file server on a network. Can be applied. Thus, the present invention can cope with many environments.
[0086]
When changing the file name, the current date and time information is added to the file name.However, the shooting date and time or the change date and time of the image file is obtained from the tag information of the image file, and the original file name is added. It may be added. In this way, by incorporating the shooting date and time and the change date and time related to the content of the image file into the file name, the content of the image file can be known from the file name.
[0087]
In the above embodiment, the file name includes all of the date and time information. However, additional information may be limited such as omitting seconds, for example, “200204250902 ABCD”. Alternatively, only the date and time information may be used as a file name to be newly added. Thereby, a redundant part can be deleted.
[0088]
In the above-described embodiment, both the comparison of the tag information and the comparison of the actual image data are performed as the comparison of the content of the image data. However, the comparison of the content of the image data is performed only by comparing the tag information. It may be. As a result, the processing for comparison can be performed quickly.
[0089]
In addition, the detailed configurations and detailed operations of the PC 1 and the digital camera 2 can be appropriately changed without departing from the spirit of the present invention.
[0090]
[Second embodiment]
Hereinafter, a second embodiment of the present invention will be described.
Note that the overall configuration and the internal configurations of the PC 1 and the digital camera 2 in this embodiment are the same as those in the above-described first embodiment. Illustration and explanation are omitted.
[0091]
Next, the operation will be described.
The database creation process executed by the CPU 11a will be described.
As a premise of the operation of the present embodiment, the PC 1 executes steps S1 to S11 of the image file adding process in FIG. 2 and, when the image file is added to the electronic album in step S11, creates this database. Execute the process. It is assumed that the directory structure recorded on the memory card 24 of the digital camera 2 is general-purpose according to a predetermined rule. For example, the rule may be DCF (Design rule for Camera File System) or the like.
[0092]
First, a case where an image file is added to an electronic album for the first time will be described.
When the image file is added to the electronic album, the CPU 11a creates an image management database (hereinafter, referred to as a database file) in a directory in which the image file is added and in a directory higher than the directory. The image management database is image file management information useful for enabling browsing and operation of image files, such as image importance, image display order, file name, creation (shooting) date and time, and editing. It is a file that stores history, characteristics of the subject (for example, a face is shown), composition (vertical or horizontal, etc.), and the like.
[0093]
FIG. 4 is a diagram showing a directory structure inside the hard disk 14 when an image file is added to the electronic album for the first time. As shown in FIG. 4, the CPU 11a adds the image files A, B, and C to the directory B having the directory A at a higher level. Create a database file A. When an image file is added to the electronic album for the first time, the contents stored in the database file B and the database A are the same, and both store the management information of the added image files A, B, and C.
[0094]
Next, a case where an image file is further added to a directory in which the image file is already stored will be described. When the image file is added to the electronic album, the CPU 11a edits the directory in which the image file is added and the database file in a directory higher than the directory, and adds management information of the added image file.
[0095]
FIG. 5 is a diagram showing a directory structure inside the hard disk 14 when an image file is further added to a directory in which the image file is already stored.
As shown in FIG. 5, when the image files D, E, and F are added to the directory B having the directory A at the upper level, the CPU 11a edits the database file B of the directory B and the database file A of the upper directory A. , The management information of the image files D, E, and F is added.
[0096]
Next, a case where an image file is added to a new directory will be described. When the image file is added to the electronic album, the CPU 11a creates a database in the directory where the image file is added, edits the image management database file in a directory higher than the directory, and adds management information of the added image file. I do.
[0097]
FIG. 6 is a diagram showing a directory structure inside the hard disk 14 when an image file is added to a new directory. As shown in FIG. 6, when the CPU 11a adds the image files D, E, and F to the directory C having the directory A at the top, the CPU 11a stores the management information of the image files D, E, and F in the directory C. Is created, the database file A in the upper directory A is edited, and the management information of the image files D, E, and F is added.
[0098]
In FIGS. 4 to 6, the directory structure is described as having two layers. However, a plurality of layers such as three layers, four layers, and five layers may be provided.
[0099]
The database file created or edited by the above-described method is referred to when a user browses and operates an image.
FIG. 7 is a diagram illustrating an example of a directory configuration of the hard disk 14 and a database file to be referred to. In the directory configuration shown in FIG. 7, directory A is a higher directory of directories B, C, and D. When the user browses images existing in a plurality of directories under the directory A, the CPU 11a refers to the database file A and causes the display unit 13 to display the images and information about the images. When the user browses images existing in the directory C or a plurality of directories under the directory C, the CPU 11a refers to the database file C and causes the display unit 13 to display the images and information on the images. As described above, the image files relating to the directories under the directory are managed by the database file.
[0100]
When the image file is deleted, the CPU 11a deletes the management information of the image file in the database file in the directory where the deleted image file exists, and manages the image file in the database file in the higher directory. Delete information.
[0101]
As described above, when an image file is added, the CPU 11a creates a database file in the added directory (edits the database file if it is existing), and stores the management information of the image file using this database. I do. Then, when the image that the user has instructed to browse or operate extends over a plurality of directories, the image and image file information are displayed on the display unit 13 with reference to the database file in the common upper directory. If the image that the user has instructed to browse is only an image in a directory, the image and image file information are displayed on the display unit 13 with reference to the database file in the directory. When an image file is deleted, the management information of the image file in the database file in the directory where the deleted image file is located is deleted, and the management of the image file in the database file in the higher directory is performed. Delete information.
[0102]
Therefore, since a database file for image management is provided in the upper directory, it is possible to cope with a case in which an image is browsed and operated over a plurality of directories. In addition, since a management database is provided for each directory, when browsing and manipulating only images in a certain directory, it is sufficient to refer to the database in that directory, and processing can be performed without operating a huge database file. Can be simplified. In addition, when the directory is moved or copied, it is sufficient to include the database stored in the directory, so that the robustness is improved.
[0103]
The description in the above embodiment is a preferred example of adding an image file to the electronic album of the PC 1 according to the present invention, and the present invention is not limited to this.
[0104]
For example, similarly to the first embodiment, in the present embodiment, an image file to be added is described as being input from the digital camera 2, but is not limited thereto. There may be. Thereby, a moving image file can be handled.
[0105]
The image file and the electronic album software are stored in the hard disk 14, but the present invention is not limited to this, and another storage device such as an MO (Magneto-Optical) may be used. The present invention is not limited to the PC 1 but can be applied to a case where a file is added to an electronic album such as a game machine, a set-top box, or a file server on a network. Thus, the present invention can cope with many environments.
[0106]
Further, the database file is created in the directory where the image file exists and the directory above the directory, but it may be switched so that only one database is used. In this way, when it is not necessary to use both database files depending on the environment, the redundancy can be reduced.
[0107]
Further, comparison and correction may be performed between database files, and a function of correcting an old database based on a new database of the editing history may be provided. Thus, when data inconsistency occurs due to the operation of the user or other software, the data can be corrected, and the robustness is improved. Furthermore, the database can be edited not only when adding or deleting image files, but also when moving directories in the electronic album or when editing images. It will be possible to provide high electronic album software.
[0108]
In addition, the detailed configurations and detailed operations of the PC 1 and the digital camera 2 can be appropriately changed without departing from the spirit of the present invention.
[0109]
【The invention's effect】
According to the invention described in claims 1, 10, 19, and 28, when adding an image file to the electronic album, the file names of the existing image file and the image file to be added to the electronic album are compared and matched. And if the file names match as a result of the comparison, the contents of the image data of each image file with the matching file name are compared, and the image data of each image file is compared. Judge whether the contents are the same or similar.If the contents of the image data are not judged to be the same or similar, change the file name of the image file to be automatically added in a predetermined procedure. Then, an image file determined to have a file name that does not match an existing image file in the electronic album or an image file whose file name has been changed is added to the electronic album. Therefore, the same image file as the existing image file is not added to the electronic album, so that the complexity of managing the image files in the electronic album can be reduced, and even if a file with the same name exists, If the contents of the image data are different, the file name is automatically changed and added to the electronic album, so that the user's trouble of changing the file name is saved, and the convenience is improved.
[0110]
According to the invention described in claims 2, 11, 20, and 29, the first user interface for displaying the result of the comparison of the contents of the image data to the user is displayed. Therefore, since the user can confirm the result of the comparison, misunderstanding of the recognition by automation can be reduced.
[0111]
According to the third, twelfth, twenty-first, and thirty-third aspects of the present invention, a second user interface is displayed for prompting the user whether to change the name of the file to be added. Therefore, the intention of the user can be reflected in whether or not to change the file name.
[0112]
According to the present invention, it is determined whether or not the content of the image data of each image file is the same or similar by comparing the tag information added to each image file. I do. Therefore, the contents of the image data can be compared quickly.
[0113]
According to the inventions described in claims 5, 14, 23, and 32, the name of an image file to be added is changed using date and time information. Therefore, it is possible to further reduce the possibility that the changed file name matches the existing image file name.
[0114]
According to the invention as set forth in claims 6, 15, 24, and 33, when adding an image file to the electronic album, the contents of each image data of the existing image file and the image file to be added to the electronic album are compared. Determine whether the content of the data is the same or similar, and if not determined to be the same or similar, compare the file name of the image file to be added and the file name of the existing image file in the electronic album, It is determined whether or not they match, and if they match, the file name of the image file to be automatically added is changed in a predetermined procedure, and the image data contents are not determined to be the same or similar. Add files to the electronic album. Therefore, addition of the same or similar image with a different file name can be excluded.
[0115]
According to the invention described in claims 7, 16, 25, and 34, a database for managing image files in an electronic album stores management information of image files in a directory and a subdirectory in which the database exists, and Manage the image files in the electronic album based on the database. Therefore, image files under the directory can be managed collectively.
[0116]
According to the invention described in claims 8, 17, 26, and 35, the database for managing the image files in the electronic album is arranged for each directory, and the database of the upper directory is the directory of the image file contained in the lower directory. Contains administrative information. Therefore, since the image file information of the lower directory is also included in the upper database, it is possible to cope with the case of browsing and operating the image spanning a plurality of directories. Further, since a database is provided for each directory, if only images in a certain directory are to be browsed and operated, the database in that directory may be referred to, and the processing can be simplified. In addition, robustness when moving or copying directories is improved.
[0117]
According to the present invention, the contents of the database of the upper directory and the contents of the database of the lower directory are compared, and if they do not match, the contents of the old database are compared with the contents of the new database. Modify the content. Therefore, inconsistency in the contents of the database can be reduced.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an overall configuration of the present invention and a functional configuration of a PC 1 and a digital camera 2.
FIG. 2 is a flowchart illustrating an image file addition process executed by a CPU 11a of FIG. 1;
FIG. 3 is a diagram showing an example of a user interface screen 131 displayed on a display unit 13 in step S8 of FIG.
FIG. 4 is a diagram showing a directory structure inside the hard disk 14 when an image file is added to an electronic album for the first time.
FIG. 5 is a diagram showing a directory structure inside the hard disk 14 when an image file is further added to a directory in which the image file is already stored.
FIG. 6 is a diagram showing a directory structure inside the hard disk 14 when an image file is added to a new directory.
FIG. 7 is a diagram showing an example of a directory configuration of a hard disk 14 in FIG. 1 and a database file to be referred to.
[Explanation of symbols]
1 PC
11 arithmetic unit
11a CPU
11b ROM
11c RAM
12 Operation section
13 Display
14 Hard Disk
15 I / F
2 Digital camera
21 arithmetic unit
21a CPU
21b ROM
21c RAM
22 Operation section
23 Shooting unit
24 Memory Card
25 I / F

Claims (36)

電子アルバムソフトを動作させて画像を管理する画像管理装置において、
画像ファイルを電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと追加する画像ファイルの各ファイル名を比較して、一致しているか否かを判断するファイル名比較手段と、
前記ファイル名比較手段による比較の結果、ファイル名が一致していると判断された場合に、前記ファイル名が一致した各画像ファイルの画像データの内容を比較し、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断するデータ内容比較手段と、
前記データ内容比較手段により前記ファイル名が一致した各画像ファイルの画像データの内容が同じ又は類似していると判断されなかった場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更するファイル名変更手段と、
前記ファイル名比較手段により前記電子アルバムに既存の画像ファイルとファイル名が一致していないと判断された画像ファイル又は前記ファイル名変更手段によりファイル名が変更された画像ファイルを前記電子アルバムに追加する画像ファイル追加手段と、
を備えたことを特徴とする画像管理装置。
In an image management device that manages images by operating electronic album software,
When adding an image file to the electronic album, a file name comparing unit that compares each file name of the existing image file and the image file to be added to the electronic album and determines whether or not they match.
As a result of the comparison by the file name comparing means, when it is determined that the file names match, the contents of the image data of each image file having the matching file name are compared, and the contents of the image data of each image file are compared. Data content comparing means for determining whether or not are the same or similar;
If the data content comparing means does not determine that the content of the image data of each image file having the same file name is the same or similar, the file name of the image file to be added is automatically determined by a predetermined procedure. File name changing means for changing
An image file whose file name is determined not to match an existing image file in the electronic album by the file name comparing unit or an image file whose file name is changed by the file name changing unit is added to the electronic album. Image file adding means,
An image management device, comprising:
前記データ内容比較手段による比較の結果をユーザに示す第一のユーザインターフェースを備えたことを特徴とする請求項1記載の画像管理装置。2. The image management apparatus according to claim 1, further comprising a first user interface for displaying a result of the comparison by the data content comparing unit to a user. 前記ファイル名変更手段によりファイル名を変更するか否かをユーザに指示させるための第二のユーザインターフェースを備えたことを特徴とする請求項1又は2に記載の画像管理装置。3. The image management apparatus according to claim 1, further comprising a second user interface for instructing a user whether to change a file name by the file name changing unit. 前記データ内容比較手段は、前記各画像ファイルに付加されたタグ情報を比較することにより、前記各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断することを特徴とする請求項1〜3の何れか一項に記載の画像管理装置。The data content comparing means determines whether or not the content of the image data of each image file is the same or similar by comparing tag information added to each of the image files. Item 4. The image management device according to any one of Items 1 to 3. 前記ファイル名変更手段は、日時情報を利用して追加する画像ファイル名を変更することを特徴とする請求項1〜4の何れか一項に記載の画像管理装置。The image management apparatus according to claim 1, wherein the file name changing unit changes an image file name to be added using date and time information. 前記データ内容比較手段は、前記画像ファイルを前記電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと前記追加する画像ファイルの各画像データの内容を比較し、画像データの内容が同じ又は類似しているか否かを判断し、
前記ファイル名比較手段は、前記データ内容比較手段により前記追加する画像ファイルの画像データの内容が前記既存の画像ファイルの画像データの内容と同じ又は類似していると判断されなかった場合に、前記追加する画像ファイルと前記電子アルバムに既存の画像ファイルのファイル名を比較して、一致しているか否かを判断し、
前記ファイル名変更手段は、前記ファイル名比較手段により前記ファイル名が一致した場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更し、
前記画像ファイル追加手段は、前記データ内容比較手段により前記電子アルバムに既存の画像ファイルと画像データの内容が同じ又は類似していると判断されなかった画像ファイルを前記電子アルバムに追加することを特徴とする請求項1〜5の何れか一項に記載の画像管理装置。
The data content comparing means compares the content of each image data of the image file existing in the electronic album with the content of the image file to be added when adding the image file to the electronic album, and the content of the image data is the same. Or determine whether they are similar,
The file name comparing means, when the data content comparing means does not determine that the content of the image data of the image file to be added is the same or similar to the content of the image data of the existing image file, Compare the file name of the image file to be added and the file name of the existing image file in the electronic album, and determine whether they match,
The file name change unit, when the file name is matched by the file name comparison unit, automatically changes the file name of the image file to be added in a predetermined procedure,
The image file adding means adds, to the electronic album, image files for which the data content comparing means has determined that the contents of image data and image data existing in the electronic album are not the same or similar. The image management device according to claim 1.
電子アルバムソフトを動作させて画像を管理する画像管理装置において、
電子アルバム内の画像ファイルを管理するためのデータベースを備え、
前記データベースは、当該データベースの存在するディレクトリ及びそのサブディレクトリに存在する画像ファイルの管理情報を記憶することを特徴とする画像管理装置。
In an image management device that manages images by operating electronic album software,
Equipped with a database for managing image files in the electronic album,
The image management device according to claim 1, wherein the database stores management information of image files in a directory in which the database exists and a subdirectory thereof.
前記データベースはディレクトリ毎に配置され、上位のディレクトリのデータベースには下位のディレクトリに含まれる画像ファイルの管理情報を含むことを特徴とする請求項7に記載の画像管理装置。8. The image management apparatus according to claim 7, wherein the database is arranged for each directory, and the database of the upper directory includes management information of image files included in the lower directory. 前記上位のディレクトリのデータベースの内容と、前記下位のディレクトリのデータベースの内容とを比較し、一致しない場合は、古いデータベースの内容を新しいデータベースの内容に修正するデータベース修正手段を備えたことを特徴とする請求項8に記載の画像管理装置。A database modifying means for comparing the contents of the database of the upper directory with the contents of the database of the lower directory, and when they do not match, modifying the contents of the old database to the contents of the new database. The image management device according to claim 8, wherein 電子アルバムに保存する画像を管理する画像管理方法において、
画像ファイルを電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと追加する画像ファイルの各ファイル名を比較して、一致しているか否かを判断するファイル名比較工程と、
前記ファイル名比較工程における比較の結果、ファイル名が一致していると判断された場合に、前記ファイル名が一致した各画像ファイルの画像データの内容を比較し、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断するデータ内容比較工程と、
前記データ内容比較工程において、前記ファイル名が一致した各画像ファイルの画像データの内容が同じ又は類似していると判断されなかった場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更するファイル名変更工程と、
前記ファイル名比較工程において電子アルバムに既存の画像ファイルとファイル名が一致していないと判断された画像ファイル又は前記ファイル名変更工程において前記ファイル名が変更された画像ファイルを前記電子アルバムに追加する画像ファイル追加工程と、
を含むことを特徴とする画像管理方法。
In an image management method for managing images stored in an electronic album,
When adding an image file to the electronic album, a file name comparing step of comparing each file name of the existing image file and the image file to be added to the electronic album to determine whether or not they match,
As a result of the comparison in the file name comparison step, when it is determined that the file names match, the contents of the image data of each image file having the matching file name are compared, and the contents of the image data of each image file are compared. Is a data content comparing step of determining whether or not is the same or similar,
In the data content comparing step, when it is not determined that the content of the image data of each image file having the same file name is the same or similar, the file of the image file to be automatically added in a predetermined procedure. A file renaming process for renaming,
An image file determined to have a file name that does not match an existing image file in the electronic album in the file name comparing step or an image file whose file name has been changed in the file name changing step is added to the electronic album. Image file adding process,
An image management method comprising:
前記データ内容比較工程における比較結果をユーザに示す第一のユーザインターフェースを表示する第一の表示工程を含むことを特徴とする請求項10記載の画像管理方法。11. The image management method according to claim 10, further comprising a first display step of displaying a first user interface indicating a comparison result in the data content comparison step to a user. 前記ファイル名変更工程において追加するファイル名を変更するか否かをユーザに指示させるための第二のユーザインターフェースを表示する第二の表示工程を含むことを特徴とする請求項10又は11に記載の画像管理方法。12. The method according to claim 10, further comprising a second display step of displaying a second user interface for prompting a user whether to change a file name to be added in the file name change step. Image management method. 前記データ内容比較工程は、前記各画像ファイルに付加されたタグ情報を比較することにより、前記各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断することを特徴とする請求項10〜12の何れか一項に記載の画像管理方法。The data content comparing step determines whether or not the content of the image data of each image file is the same or similar by comparing tag information added to each of the image files. Item 13. The image management method according to any one of Items 10 to 12. 前記ファイル名変更工程は、日時情報を利用して前記追加する画像ファイル名を変更することを特徴とする請求項10〜13の何れか一項に記載の画像管理方法。14. The image management method according to claim 10, wherein in the file name changing step, the added image file name is changed using date and time information. 前記データ内容比較工程は、前記画像ファイルを前記電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと前記追加する画像ファイルの各画像データの内容を比較し、画像データの内容が同じ又は類似しているか否かを判断し、
前記ファイル名比較工程は、前記データ内容比較工程において前記追加する画像ファイルの画像データの内容が前記既存の画像ファイルの画像データの内容と同じ又は類似していると判断されなかった場合に、前記追加する画像ファイルと前記電子アルバムに既存の画像ファイルのファイル名を比較して、一致しているか否かを判断し、
前記ファイル名変更工程は、前記ファイル名比較工程において前記ファイル名が一致した場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更し、
前記画像ファイル追加工程は、前記データ内容比較工程において前記電子アルバムに既存の画像ファイルと画像データの内容が同じ又は類似していると判断されなかった画像ファイルを前記電子アルバムに追加することを特徴とする請求項10〜14の何れか一項に記載の画像管理方法。
In the data content comparing step, when the image file is added to the electronic album, the content of each image data of the image file existing in the electronic album and the image file to be added is compared, and the content of the image data is the same. Or determine whether they are similar,
The file name comparing step, when the content of the image data of the image file to be added is not determined to be the same or similar to the content of the image data of the existing image file in the data content comparing step, the Compare the file name of the image file to be added and the file name of the existing image file in the electronic album, and determine whether they match,
The file name change step, when the file name matches in the file name comparison step, automatically changes the file name of the image file to be added in a predetermined procedure,
The image file adding step is to add, to the electronic album, an image file which is not determined to have the same or similar image data content as an existing image file in the electronic album in the data content comparing step. The image management method according to any one of claims 10 to 14.
電子アルバムに保存する画像を管理する画像管理方法において、
電子アルバム内のディレクトリ及びそのサブディレクトリに存在する画像ファイルの管理情報を記憶するデータベースにより画像ファイルを管理することを特徴とする画像管理方法。
In an image management method for managing images stored in an electronic album,
An image management method, wherein an image file is managed by a database that stores management information of image files existing in a directory in an electronic album and its subdirectories.
前記データベースはディレクトリ毎に配置され、上位のディレクトリのデータベースには下位のディレクトリに含まれる画像ファイルの管理情報を含むことを特徴とする請求項16に記載の画像管理方法。17. The image management method according to claim 16, wherein the database is arranged for each directory, and the database of the upper directory contains management information of the image files included in the lower directory. 前記上位のディレクトリのデータベースの内容と、前記下位のディレクトリのデータベースの内容とを比較し、一致しない場合は、古いデータベースの内容を新しいデータベースの内容に修正するデータベース修正工程を含むことを特徴とする請求項17に記載の画像管理方法。Comparing the contents of the database in the upper directory with the contents of the database in the lower directory, and if not, modifying the contents of the old database to the contents of the new database. The image management method according to claim 17. 電子アルバムソフトを動作させて画像を管理する画像管理装置を制御するためのコンピュータに、
画像ファイルを電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと追加する画像ファイルの各ファイル名を比較して、一致しているか否かを判断する機能と、
前記比較の結果、ファイル名が一致していると判断された場合に、前記ファイル名が一致した各画像ファイルの画像データの内容を比較し、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断する機能と、
前記ファイル名が一致した各画像ファイルの画像データの内容が同じ又は類似していると判断されなかった場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更する機能と、
前記電子アルバムに既存の画像ファイルとファイル名が一致していないと判断された画像ファイル又は前記ファイル名が変更された画像ファイルを前記電子アルバムに追加する機能と、
を実現させるためのプログラム。
A computer for controlling an image management device that manages images by operating electronic album software,
When adding an image file to the electronic album, a function of comparing each file name of the existing image file and the image file to be added to the electronic album, and determining whether or not they match,
As a result of the comparison, when it is determined that the file names match, the contents of the image data of each image file whose file name matches are compared, and the contents of the image data of each image file are the same or similar. Function to determine whether or not
A function of automatically changing the file name of the image file to be added in a predetermined procedure when the content of the image data of each image file in which the file names match is not determined to be the same or similar,
A function of adding to the electronic album an image file determined to have a file name that does not match the existing image file in the electronic album or the image file whose file name has been changed,
The program to realize.
前記画像データの内容の比較結果をユーザに示す第一のユーザインターフェースを表示させる機能を実現させるためのプログラムを含むことを特徴とする請求項19記載のプログラム。20. The program according to claim 19, further comprising a program for realizing a function of displaying a first user interface indicating a comparison result of the contents of the image data to a user. 前記追加するファイル名を変更するか否かをユーザに指示させるための第二のユーザインターフェースを表示させる機能を実現させるためのプログラムを含むことを特徴とする請求項19又は20に記載のプログラム。21. The program according to claim 19, further comprising a program for realizing a function of displaying a second user interface for prompting a user whether to change the name of the file to be added. 前記各画像ファイルに付加されたタグ情報を比較することにより、前記各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断する機能を実現させるためのプログラムを含むことを特徴とする請求項19〜21の何れか一項に記載のプログラム。A program for realizing a function of determining whether or not the content of image data of each of the image files is the same or similar by comparing tag information added to each of the image files. The program according to any one of claims 19 to 21. 日時情報を利用して前記追加する画像ファイル名を変更する機能を実現させるためのプログラムを含むことを特徴とする請求項19〜22の何れか一項に記載のプログラム。The program according to any one of claims 19 to 22, further comprising a program for realizing a function of changing the name of the image file to be added using date and time information. 前記画像ファイルを前記電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと前記追加する画像ファイルの各画像データの内容を比較し、画像データの内容が同じ又は類似しているか否かを判断する機能と、
前記追加する画像ファイルの画像データの内容が前記既存の画像ファイルの画像データの内容と同じ又は類似していると判断されなかった場合に、前記追加する画像ファイルと前記電子アルバムに既存の画像ファイルのファイル名を比較して、一致しているか否かを判断する機能と、
前記ファイル名が一致した場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更する機能と、
前記電子アルバムに既存の画像ファイルと画像データの内容が同じ又は類似していると判断されなかった画像ファイルを前記電子アルバムに追加する機能と、を実現させるためのプログラムを含むことを特徴とする請求項19〜23の何れか一項に記載のプログラム。
When adding the image file to the electronic album, compare the content of each image data of the image file existing in the electronic album and the image file to be added, and determine whether the content of the image data is the same or similar Function to determine the
If it is not determined that the content of the image data of the image file to be added is the same or similar to the content of the image data of the existing image file, the image file to be added and the image file existing in the electronic album A function to compare the file names of
When the file names match, a function of automatically changing the file name of the image file to be added in a predetermined procedure,
A function of adding an image file that is not determined to have the same or similar content of an existing image file and image data to the electronic album to the electronic album. A program according to any one of claims 19 to 23.
電子アルバムソフトを動作させて画像を管理する画像管理装置を制御するためのコンピュータに、
電子アルバム内のディレクトリ及びそのサブディレクトリに存在する画像ファイルの管理情報を記憶するデータベースにより画像ファイルを管理する機能を実現させるためのプログラム。
A computer for controlling an image management device that manages images by operating electronic album software,
A program for realizing a function of managing image files by a database storing management information of image files existing in a directory in the electronic album and its subdirectories.
前記データベースはディレクトリ毎に配置され、上位のディレクトリのデータベースには下位のディレクトリに含まれる画像ファイルの管理情報を含むことを特徴とする請求項25に記載のプログラム。26. The program according to claim 25, wherein the database is arranged for each directory, and the database of the upper directory contains management information of the image files included in the lower directory. 前記上位のディレクトリのデータベースの内容と、前記下位のディレクトリのデータベースの内容とを比較し、一致しない場合は、古いデータベースの内容を新しいデータベースの内容に修正する機能を実現させるためのプログラムを含むことを特徴とする請求項26に記載のプログラム。A program for realizing a function of comparing the contents of the database of the upper directory with the contents of the database of the lower directory and, if they do not match, correcting the contents of the old database to the contents of the new database The program according to claim 26, characterized by: 電子アルバムソフトを動作させて画像を管理する画像管理装置を制御するためのコンピュータが実行可能なプログラムを格納した記録媒体に、
画像ファイルを電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと追加する画像ファイルの各ファイル名を比較して、一致しているか否かを判断するためのコンピュータが実行可能なプログラムコードと、
前記比較の結果、ファイル名が一致していると判断された場合に、前記ファイル名が一致した各画像ファイルの画像データの内容を比較し、各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断するためのコンピュータが実行可能なプログラムコードと、
前記ファイル名が一致した各画像ファイルの画像データの内容が同じ又は類似していると判断されなかった場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更するためのコンピュータが実行可能なプログラムコードと、
前記電子アルバムに既存の画像ファイルとファイル名が一致していないと判断された画像ファイル又は前記ファイル名が変更された画像ファイルを前記電子アルバムに追加するためのコンピュータが実行可能なプログラムコードと、
を含むプログラムを格納したことを特徴とする記録媒体。
On a recording medium storing a computer-executable program for controlling an image management apparatus that manages images by operating electronic album software,
A computer-executable program for comparing each file name of an existing image file and an image file to be added to the electronic album when adding the image file to the electronic album, and determining whether or not they match each other. Code and
As a result of the comparison, when it is determined that the file names match, the contents of the image data of each image file whose file name matches are compared, and the contents of the image data of each image file are the same or similar. Computer-executable program code for determining whether or not
Computer for automatically changing the file name of the image file to be added in a predetermined procedure when it is not determined that the contents of the image data of each image file with the same file name are the same or similar. Executable program code,
A computer-executable program code for adding to the electronic album an image file or an image file whose file name has been determined to be different from the existing image file and the file name of the electronic album,
A recording medium storing a program including:
前記画像データの内容の比較結果をユーザに示す第一のユーザインターフェースを表示させるためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴とする請求項28記載の記録媒体。29. The recording medium according to claim 28, wherein a program including a computer-executable program code for displaying a first user interface for displaying a comparison result of the contents of the image data to a user is stored. 前記追加するファイル名を変更するか否かをユーザに指示させるための第二のユーザインターフェースを表示させるためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴とする請求項28又は29に記載の記録媒体。29. A program storing computer-executable program code for displaying a second user interface for prompting a user whether to change the file name to be added or not, wherein the program is stored. 30. The recording medium according to 29. 前記各画像ファイルに付加されたタグ情報を比較することにより、前記各画像ファイルの画像データの内容が同じ又は類似しているか否かを判断するためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴とする請求項28〜30の何れか一項に記載の記録媒体。A program including a computer-executable program code for determining whether the content of image data of each image file is the same or similar by comparing tag information added to each image file. The recording medium according to any one of claims 28 to 30, wherein the recording medium is stored. 日時情報を利用して前記追加する画像ファイル名を変更するためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴とする請求項28〜31の何れか一項に記載の記録媒体。The recording medium according to any one of claims 28 to 31, wherein a program including a computer-executable program code for changing the name of the image file to be added using date and time information is stored. . 前記画像ファイルを前記電子アルバムに追加する際に、前記電子アルバムに既存の画像ファイルと前記追加する画像ファイルの各画像データの内容を比較し、画像データの内容が同じ又は類似しているか否かを判断するためのコンピュータが実行可能なプログラムコードと、
前記追加する画像ファイルの画像データの内容が前記既存の画像ファイルの画像データの内容と同じ又は類似していると判断されなかった場合に、前記追加する画像ファイルと前記電子アルバムに既存の画像ファイルのファイル名を比較して、一致しているか否かを判断するためのコンピュータが実行可能なプログラムコードと、
前記ファイル名が一致した場合に、所定の手順で自動的に前記追加する画像ファイルのファイル名を変更するためのコンピュータが実行可能なプログラムコードと、
前記電子アルバムに既存の画像ファイルと画像データの内容が同じ又は類似していると判断されなかった画像ファイルを前記電子アルバムに追加するためのコンピュータが実行可能なプログラムコードと、
を含むプログラムを格納したことを特徴とする請求項28〜32の何れか一項に記載の記録媒体。
When adding the image file to the electronic album, compare the content of each image data of the image file existing in the electronic album and the image file to be added, and determine whether the content of the image data is the same or similar Computer-executable program code for determining
If it is not determined that the content of the image data of the image file to be added is the same or similar to the content of the image data of the existing image file, the image file to be added and the image file existing in the electronic album A computer-executable program code for comparing the file names of
If the file names match, computer-executable program code for automatically changing the file name of the image file to be added in a predetermined procedure,
A computer-executable program code for adding an image file that is not determined to have the same or similar content of an existing image file and image data to the electronic album to the electronic album,
The recording medium according to any one of claims 28 to 32, wherein a program including: is stored.
電子アルバムソフトを動作させて画像を管理する画像管理装置を制御するためのコンピュータが実行可能なプログラムを格納した記録媒体に、
電子アルバム内のディレクトリ及びそのサブディレクトリに存在する画像ファイルの管理情報を記憶するデータベースにより画像ファイルを管理するためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴とする記録媒体。
On a recording medium storing a computer-executable program for controlling an image management apparatus that manages images by operating electronic album software,
A recording medium storing a program including a computer-executable program code for managing image files by a database storing management information of image files existing in a directory in an electronic album and its subdirectories.
前記データベースはディレクトリ毎に配置され、上位のディレクトリのデータベースには下位のディレクトリに含まれる画像ファイルの管理情報を含むことを特徴とする請求項34に記載の記録媒体。35. The recording medium according to claim 34, wherein the database is arranged for each directory, and the database of the upper directory contains management information of image files included in the lower directory. 前記上位のディレクトリのデータベースの内容と、前記下位のディレクトリのデータベースの内容とを比較し、一致しない場合は、古いデータベースの内容を新しいデータベースの内容に修正するためのコンピュータが実行可能なプログラムコードを含むプログラムを格納したことを特徴とする請求項35に記載の記録媒体。The contents of the database of the upper directory and the contents of the database of the lower directory are compared, and if they do not match, a computer-executable program code for modifying the contents of the old database to the contents of the new database is used. 36. The recording medium according to claim 35, wherein a program including the program is stored.
JP2002233567A 2002-08-09 2002-08-09 Device and method for managing picture, program, and recording medium Pending JP2004078283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002233567A JP2004078283A (en) 2002-08-09 2002-08-09 Device and method for managing picture, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002233567A JP2004078283A (en) 2002-08-09 2002-08-09 Device and method for managing picture, program, and recording medium

Publications (1)

Publication Number Publication Date
JP2004078283A true JP2004078283A (en) 2004-03-11

Family

ID=32018668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002233567A Pending JP2004078283A (en) 2002-08-09 2002-08-09 Device and method for managing picture, program, and recording medium

Country Status (1)

Country Link
JP (1) JP2004078283A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006209662A (en) * 2005-01-31 2006-08-10 Canon Inc File management apparatus and its control method
JP2006339766A (en) * 2005-05-31 2006-12-14 Pentax Corp Image recording apparatus
JP2007172344A (en) * 2005-12-22 2007-07-05 Canon Inc Image editing program and apparatus
JP2007208625A (en) * 2006-02-01 2007-08-16 Canon Inc Image editing system, image management device, and its program
JP2008098811A (en) * 2006-10-10 2008-04-24 Nikon Corp Image browsing device, image browsing system, and program for image browsing
JP2011086256A (en) * 2009-10-19 2011-04-28 Nippon Telegr & Teleph Corp <Ntt> File management method, device and program, and computer-readable recording medium
US8325398B2 (en) 2005-12-22 2012-12-04 Canon Kabushiki Kaisha Image editing system, image management apparatus, and image editing program
JP2015072708A (en) * 2010-09-01 2015-04-16 アップル インコーポレイテッド Aggregating metadata relating to duplicate images

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8370403B2 (en) 2005-01-31 2013-02-05 Canon Kabushiki Kaisha File management apparatus and its control method
JP2006209662A (en) * 2005-01-31 2006-08-10 Canon Inc File management apparatus and its control method
JP4717453B2 (en) * 2005-01-31 2011-07-06 キヤノン株式会社 File management apparatus and control method thereof
US7995130B2 (en) 2005-05-31 2011-08-09 Hoya Corporation Image-recording device
JP2006339766A (en) * 2005-05-31 2006-12-14 Pentax Corp Image recording apparatus
JP4495639B2 (en) * 2005-05-31 2010-07-07 Hoya株式会社 Image recording device
JP2007172344A (en) * 2005-12-22 2007-07-05 Canon Inc Image editing program and apparatus
US8325398B2 (en) 2005-12-22 2012-12-04 Canon Kabushiki Kaisha Image editing system, image management apparatus, and image editing program
JP4759400B2 (en) * 2006-02-01 2011-08-31 キヤノン株式会社 Image management apparatus, program thereof, and control method thereof
JP2007208625A (en) * 2006-02-01 2007-08-16 Canon Inc Image editing system, image management device, and its program
JP2008098811A (en) * 2006-10-10 2008-04-24 Nikon Corp Image browsing device, image browsing system, and program for image browsing
JP2011086256A (en) * 2009-10-19 2011-04-28 Nippon Telegr & Teleph Corp <Ntt> File management method, device and program, and computer-readable recording medium
JP2015072708A (en) * 2010-09-01 2015-04-16 アップル インコーポレイテッド Aggregating metadata relating to duplicate images
US9805086B2 (en) 2010-09-01 2017-10-31 Apple Inc. Consolidating information relating to duplicate images

Similar Documents

Publication Publication Date Title
US7441182B2 (en) Digital negatives
EP1576801B1 (en) Data file storage device, data file storage program and data file storage method
JP4458040B2 (en) Image storage device and program
US7616235B2 (en) Information management apparatus defining a replay sequence of new image data added to groups of images
US7634141B2 (en) Information processing apparatus, method and program
US8276078B2 (en) Image display apparatus and image display method
US20050225644A1 (en) Digital camera, album managing method, album management program product, and album management program transmission medium
JP4737766B2 (en) Image processing apparatus, image processing apparatus control method, control program, and recording medium
JP2004078283A (en) Device and method for managing picture, program, and recording medium
JP2004229070A (en) File classification device, file classification program, digital camera, and file classification system
JP2004246454A (en) Image forming program, and image forming device
JP2002169809A (en) Device and method for image management and recording medium
JP4674728B2 (en) Image selecting apparatus, image selecting apparatus control method, program, and recording medium
US20050120055A1 (en) Image management apparatus and image managing method
JP4327340B2 (en) Image processing apparatus and image search output method
JP2009282606A (en) Image browsing device and program
US20110293201A1 (en) Image recording device and computer program product of image recording
JP4077924B2 (en) Image data management apparatus and control method thereof
JP4329893B2 (en) Digital camera device
JP2005244614A (en) Electronic camera device and recording medium
JP2002354309A (en) Digital camera link system and record medium recording image data processing program
JP2007280406A (en) Information processor, display control method and program
JP2005157909A (en) Device and method for managing image, program, and image display device
JP2000357169A (en) Device and method for automatically generating image browsing function
JP2005159902A (en) Image management device, and image management method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050802

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080826

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081022

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081202