JP2015184760A - Electronic device and similarity determination program - Google Patents
Electronic device and similarity determination program Download PDFInfo
- Publication number
- JP2015184760A JP2015184760A JP2014058413A JP2014058413A JP2015184760A JP 2015184760 A JP2015184760 A JP 2015184760A JP 2014058413 A JP2014058413 A JP 2014058413A JP 2014058413 A JP2014058413 A JP 2014058413A JP 2015184760 A JP2015184760 A JP 2015184760A
- Authority
- JP
- Japan
- Prior art keywords
- similarity determination
- images
- characteristic
- similarity
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Studio Devices (AREA)
- Processing Or Creating Images (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、電子機器と、その電子機器に備わるコンピュータに実行される類似性判定用プログラムとに関する。 The present invention relates to an electronic device and a similarity determination program executed on a computer included in the electronic device.
互いに類似している画像を所定個数のグループに分類する画像分類方法が知られている(たとえば、特許文献1)。特許文献1では、撮像日時に基づく階層的クラスタリングを用いて複数の画像を粗グループへ分類した後に、画像特徴量に基づく階層的クラスタリングを用いて各粗グループの画像を最終グループに分類している。
An image classification method for classifying images that are similar to each other into a predetermined number of groups is known (for example, Patent Document 1). In
特許文献1に記載の方法では、撮像日時と画像特徴量との両方を同時に考慮して画像を分類することがないため、画像が類似しているか否かの判定精度が低くなることがある。たとえば、画像特徴量が近く同一の最終グループに分類されるべき画像であっても、撮像日時による分類で異なる粗グループに分類された場合には、異なる最終グループに分類されてしまう。
In the method described in
本発明の一態様による電子機器は、複数の画像をそれぞれの撮影日時の情報と共に取得する画像取得部と、画像取得部により取得された複数の画像の特徴量をそれぞれ算出する特徴量算出部と、特徴量算出部により算出された少なくとも2つの類似性判定対象画像のそれぞれの特徴量により画像間の類似度を表す評価値を算出する評価値算出部と、少なくとも2つの類似性判定対象画像のそれぞれの撮影日時の間の撮影間隔を算出する撮影間隔算出部と、撮影間隔と評価閾値とで定義された特性であって、撮影間隔が長いほど画像が類似していると判定されにくくした類似性判定特性を用いて、少なくとも2つの類似性判定対象画像間の類似性を判定する類似性判定部とを備える。
本発明の別の一態様による類似性判定用プログラムは、複数の画像をそれぞれの撮影日時の情報と共に取得する画像取得手順と、画像取得手順により取得された複数の画像の特徴量をそれぞれ算出する特徴量算出手順と、特徴量算出手順により算出された少なくとも2つの類似性判定対象画像のそれぞれの特徴量により画像間の類似度を表す評価値を算出する評価値算出手順と、少なくとも2つの類似性判定対象画像のそれぞれの撮影日時の間の撮影間隔を算出する撮影間隔算出手順と、撮影間隔と評価閾値とで定義された特性であって、撮影間隔が長いほど画像が類似していると判定されにくくした類似性判定特性を用いて、少なくとも2つの類似性判定対象画像間の類似性を判定する類似性判定手順とをコンピュータに実行させる。
An electronic apparatus according to an aspect of the present invention includes an image acquisition unit that acquires a plurality of images together with information on each shooting date and time, a feature amount calculation unit that calculates the feature amounts of the plurality of images acquired by the image acquisition unit, and An evaluation value calculation unit that calculates an evaluation value that represents the degree of similarity between images based on the respective feature amounts of at least two similarity determination target images calculated by the feature amount calculation unit, and at least two similarity determination target images. Similarity that is defined by the shooting interval calculation unit that calculates the shooting interval between each shooting date and time, and the shooting interval and the evaluation threshold, and that the longer the shooting interval, the harder it is determined that the images are similar A similarity determination unit that determines the similarity between at least two similarity determination target images using the determination characteristics.
The similarity determination program according to another aspect of the present invention calculates an image acquisition procedure for acquiring a plurality of images together with information on each shooting date and a feature amount of the plurality of images acquired by the image acquisition procedure. A feature amount calculating procedure, an evaluation value calculating procedure for calculating an evaluation value representing similarity between images based on the respective feature amounts of at least two similarity determination target images calculated by the feature amount calculating procedure, and at least two similarities It is a characteristic defined by the shooting interval calculation procedure for calculating the shooting interval between each shooting date and time of the sex determination target image, and the shooting interval and the evaluation threshold, and it is determined that the images are more similar as the shooting interval is longer A similarity determination procedure for determining similarity between at least two similarity determination target images is performed by the computer using the similarity determination characteristic that is less likely to be performed.
本発明によれば、撮影日時も加味して画像の類似/非類似を判定することができ、分類の精度が向上する。 According to the present invention, it is possible to determine the similarity / dissimilarity of images in consideration of the shooting date and time, and the accuracy of classification is improved.
(第1の実施の形態)
図1は、本発明の第1の実施の形態による電子機器の構成例を示すブロック図である。図1には、デジタルカメラ1の構成が例示されており、撮像部10と、画像処理部11と、CPU12と、記憶部13と、表示部14とを備える。画像処理部11と、CPU12と、記憶部13と、表示部14とは、バス15を介して接続されている。
(First embodiment)
FIG. 1 is a block diagram showing a configuration example of an electronic device according to the first embodiment of the present invention. FIG. 1 illustrates the configuration of the
撮像部10は、撮影光学系、撮像素子等を有し、被写体像を撮像する。そして、撮像によって得られた画像信号を画像処理部11へ出力する。
画像処理部11は、撮像部10が出力した画像信号をバス15を介して記憶部13に記録し、ホワイトバランス調整、画像圧縮処理などの画像処理を施して、画像データを生成する。生成された画像データは、記憶部13、デジタルカメラ1に着脱可能に装着される不図示のメモリカード等に記録される。記憶部13等に記録された画像データには、撮像日時に関する情報などが関連付けられる。
The
The
CPU12は、デジタルカメラ1の全体を制御する。CPU12は、記憶部13に記憶された画像分類プログラム16を実行することにより、画像分類部17として機能する。画像分類部17は、入力された複数の画像データを複数のグループに分類し、画像の分類結果に関する情報を出力する。
The
記憶部13は、SDRAMやフラッシュメモリが含まれる。SDRAMは、揮発性のメモリであって、CPU12がプログラム実行時にプログラムを展開するためのワークメモリとして使用されると共に、データを一時的に記録するためのバッファメモリとして使用される。また、フラッシュメモリは、不揮発性のメモリであって、CPU12が実行する画像分類プログラム16などのプログラムのデータや、プログラム実行時に読み込まれる種々のパラメータなどが記録されている。
The
表示部14は、たとえばデジタルカメラ1の背面に設けられた液晶モニタなどであって、デジタルカメラ1の設定画面などが表示される。
The
画像分類部17は、入力された二つの画像データが類似しているか否かを判定する類似性判定部18を有し、この類似性判定部18の判定結果に基づいて、階層的クラスタリングを用いることなく複数の画像データをグループ分けする。デジタルカメラ1では、たとえば特許文献1のように、画像データのスライドショー表示を行う場合などに、画像分類部17により画像データがグループ分けされる。
The
図2は、類似性判定部18の機能ブロック図である。図2に示すように類似性判定部18は、画像取得部20と、特徴量算出部21と、評価値算出部22と、撮影間隔算出部23と、判定部24と、閾値設定部25とを有する。図2に示す類似性判定部18には、画像Aと画像Bが入力され、画像Aと画像Bが類似しているか否かの判定結果が出力される。以降の説明では、画像Aと画像Bのことを入力画像Aと入力画像Bと呼ぶことがある。
FIG. 2 is a functional block diagram of the
画像取得部20は、入力画像Aおよび入力画像Bの画像データを、それらの画像データに関連付けられた撮像日時に関する情報と共に取得する。画像取得部20は、取得した画像データを特徴量算出部21に出力し、撮像日時に関する情報を撮影間隔算出部23に出力する。
The
特徴量算出部21は、入力画像Aと入力画像Bの各々の画像特徴量を算出する。画像特徴量には、たとえば、ISO/IEC15938−3(mpeg visual discription)に定義されている各種画像統計量(色、テクスチャ、形状等)が含まれる。特徴量算出部21は、たとえば公知のエッジ検出処理、輪郭抽出処理などを用いて、各種特徴量を算出して、入力画像Aと入力画像Bの各々の特徴量ベクトルVA,VBを生成する。
The feature
評価値算出部22は、特徴量算出部21が生成した特徴量ベクトルVA,VBの類似度を表す評価値EABを算出する。評価値算出部22は、たとえば特徴量ベクトルVA,VBのコサイン類似度を評価値EABとして算出する。
The evaluation
撮影間隔算出部23は、入力画像Aに関連付けられている撮像日時tAと入力画像Bに関連付けられている撮像日時tBとの間の間隔、すなわち撮影間隔TABを(式1)を用いて算出する。
TAB=|tA−tB| …(式1)
The shooting
T AB = | t A −t B | (Formula 1)
判定部24は、図3に示すように撮影間隔と評価閾値とで定義された類似性判定特性線図を用いて、入力画像Aと入力画像Bとが類似しているか否かを判定する。
The
図3に示す類似性判定特性線図は、縦軸が評価値EAB、横軸が撮影間隔TABである座標系である。類似性判定特性線図の座標領域は、右肩上がりの境界線40により、入力画像Aと入力画像Bとが類似するという判定結果を出力する類似領域と、入力画像Aと入力画像Bとが非類似であるという判定結果を出力する非類似領域とに分割されている。
The similarity determination characteristic diagram shown in FIG. 3 is a coordinate system in which the vertical axis represents the evaluation value E AB and the horizontal axis represents the imaging interval T AB . The coordinate region of the similarity determination characteristic diagram includes a similarity region that outputs a determination result that the input image A and the input image B are similar, and the input image A and the input image B by the upwardly rising
境界線40は、傾きが正であり、撮影間隔TABを引数とする、類似判定の閾値Ethを表す一次関数である。境界線40が示す閾値Ethは、撮影間隔TABの増加に伴って増加する。撮影間隔TABが短い場合は、たとえば、デジタルカメラ1の設定を変えて同一被写体を短時間に複数回撮影した場合、連続撮影を行った場合などには、閾値Ethが小さく設定され、入力画像Aと入力画像Bとが類似していると判定され易くなっている。一方、撮影間隔TABが長い場合は、異なる被写体を撮影したり、異なる場所で撮影したりしている可能性が高いため、閾値Ethが大きく設定され、入力画像Aと入力画像Bとが類似していると判定され難くなっている。
すなわち、境界線40で定義された類似性判定特性は、撮影間隔が長いほど画像が類似していると判定されにくくなる特性である。
The
That is, the similarity determination characteristic defined by the
閾値設定部25は、撮影間隔算出部23が算出した撮影間隔TABが入力されると、境界線40を表す関数に基づいてその撮影間隔TABに応じた閾値Ethを判定部24に出力する。判定部24は、評価値算出部22が算出した評価値EABが、閾値設定部25により設定される閾値Eth以上か否かを判定する。評価値EABが閾値Eth以上の場合、すなわち類似領域内の場合、判定部24は、入力画像Aと入力画像Bとが類似していると判定する。画像評価値EABが閾値Eth未満の場合、すなわち非類似領域内の場合、判定部24は、入力画像Aと入力画像Bとが非類似であると判定する。
換言すると、評価値算出部22が算出した評価値EABと、撮影間隔算出部23が算出した撮影間隔TABとの交点の座標位置が図3の境界線40で区画した上下2つの領域のどちらに存在するかにより画像間の類似/非類似が判定される。
When the shooting interval T AB calculated by the shooting
In other words, the upper and lower two regions where the coordinate position of the intersection between the evaluation value E AB calculated by the evaluation
類似性判定部18では、閾値設定部25が撮影間隔TABに基づいて閾値Ethを設定し、判定部24が画像特徴量の類似度を表す評価値EABと閾値Ethとを比較することにより、画像特徴量と撮像日時との両方を同時に考慮して画像が類似しているか否かを判定することができる。したがって、撮影日時も加味して画像が類似しているか否かの判定を行うことができ、分類の精度が向上する。
In the
図4は、類似性判定部18に関するフローチャートを示す。図4に示すフローチャートは、画像分類プログラム16を実行しているCPU12により実行され、二つの画像が入力画像Aおよび入力画像Bとして入力されるとその実行を開始する。
FIG. 4 is a flowchart regarding the
ステップS300では、CPU12は、画像取得部20を用いて入力された二つの画像、すなわち入力画像Aおよび入力画像Bに関連付けられて記憶されている撮像日時tA,tBをそれぞれ取得し、撮影間隔算出部23を用いて撮影間隔TABを算出する。
In step S300, the
ステップS301では、CPU12は、画像取得部20が画像データを取得した二つの画像、すなわち入力画像Aおよび入力画像Bに対して、特徴量算出部21を用いてそれぞれ特徴量ベクトルVA,VBを算出する。
In step S <b> 301, the
ステップS302では、CPU12は、評価値算出部22を用いて、ステップS301で算出した特徴量ベクトルVA,VBに基づいて、入力画像Aと入力画像Bとの類似度を表す評価値EABを算出する。
In step S302, the
ステップS303では、CPU12は、閾値設定部25を用いて、ステップS300で算出された撮影間隔TABに基づいて、閾値Ethを設定する。
In step S303, the
ステップS304では、CPU12は、判定部24を用いて、ステップS302で算出された評価値EABがステップS303で算出された閾値Eth以上か否かを判定する。CPU12は、評価値EABが閾値Eth以上の場合、ステップS304を肯定判定して、ステップS305の処理に進み、評価値EABが閾値Eth未満の場合、ステップS304を否定判定して、ステップS306の処理に進む。
In step S304, the
ステップS305では、CPU12は、入力画像Aと入力画像Bとが類似しているという判定結果を出力し、図4の処理を終了する。たとえば、CPU12は、類似性判定部18の出力結果として、TRUEを返す。
ステップS306では、CPU12は、入力画像Aと入力画像Bとが非類似であるという判定結果を出力し、図4の処理を終了する。たとえば、CPU12は、類似性判定部18の出力結果として、FALSEを返す。
In step S305, the
In step S306, the
図5と図6を用いて画像分類部17の動作の一例について説明する。図5は、画像分類部17に関するフローチャートの一例である。
An example of the operation of the
図6は、画像分類部17により分類される画像データの具体例を示す。図6では、撮像日時がそれぞれ異なる4個の画像データIMG[1],IMG[2],IMG[3],IMG[4]が例示されている。
FIG. 6 shows a specific example of image data classified by the
図5のステップS500では、CPU12は、入力された未分類のn個の画像データIMG[1],IMG[2],・・・,IMG[n]を、図6に例示するように、それらに関連付けられた撮像日時を基準にソートする。
In step S500 of FIG. 5, the
図5のステップS501では、CPU12は、以下で説明するステップS503からステップS507までの処理の繰り返し回数iを1に初期化する。
In step S501 in FIG. 5, the
ステップS502では、CPU12は、1番目の画像データを含むグループを生成する。換言すると、CPU12は、1番目の画像データを1個目のグループ、第1グループに分類する。たとえば、図6におけるIMG[1]を第1グループに分類する。CPU12は、1番目の画像データに対して、第1グループであることを示す情報を関連付ける。
In step S502, the
ステップS503では、CPU12は、類似性判定部18を用いて、ステップS500でソートされたn個の画像データのうち、i番目の画像データとi+1番目の画像データについて類似判定を行う。ステップS502の処理完了直後のタイミングでは、i=1に設定されているため、1番目の画像、たとえばIMG[1]と、2番目の画像、たとえばIMG[2]とが類似か否かを判定する。
In step S503, the
ステップS504では、CPU12は、ステップS503の類似判定において、i番目の画像データとi+1番目の画像データとが似ていると判定されたか否かを判定する。CPU12は、ステップS503の類似判定において似ていると判定された場合はステップS505の処理に進み、似ていないと判定された場合はステップS506の処理に進む。たとえば、IMG[1]とIMG[2]とが類似していると判定された場合はステップS505に進み、IMG[1]とIMG[2]とが非類似であると判定された場合はステップS506に進む。
In step S504, the
ステップS505では、CPU12は、i番目の画像データを含むグループにi+1番目の画像データを含める。たとえば、IMG[1]を含む第1グループにIMG[2]を含める。
CPU12は、i+1番目の画像データに対して、分類されたグループであることを示す情報を関連付ける。
In step S505, the
The
ステップS506では、CPU12は、i+1番目の画像データを含むグループを生成する。換言すると、CPU12は、i+1番目の画像データをi番目の画像データとは異なるグループに分類する。たとえば、IMG[2]を新しいグループ、第2グループに分類する。
CPU12は、i+1番目の画像データに対して、分類されたグループであることを示す情報を関連付ける。
In step S506, the
The
ステップS507では、CPU12は、iを1増加させる。
ステップS508では、CPU12は、iがn−1よりも大きいか否かを判定する。CPU12は、iがn−1以下の場合はステップS503に戻り、iがn−1より大きい場合はステップS509に進む。
In step S507, the
In step S508, the
CPU12は、ステップS503からステップS507までの処理をn−1回繰り返す。すなわち、n−1番目の画像とn番目の画像とが類似しているか否かの判定が完了するまでステップS501、S507、S508の処理を繰り返す。 CPU12 repeats the process from step S503 to step S507 n-1 times. That is, the processes in steps S501, S507, and S508 are repeated until it is determined whether or not the (n-1) th image and the nth image are similar.
ステップS509では、CPU12は、分類結果を各画像データに関連付けて、図5の処理を終了する。たとえば、画像データIMG[1]が第1グループ、IMG[2]〜IMG[4]が第2グループに分類された場合は、画像データIMG[1]には、付加情報として第1グループを表す情報を関連付け、画像データIMG[2]〜IMG[4]には、付加情報として第2グループを表す情報を関連付ける。
In step S509, the
図6の例では、2回目のステップS503では、IMG[2]とIMG[3]について類似判定を行う。IMG[2]とIMG[3]とが類似と判定された場合はIMG[2]を含むグループにIMG[3]を含め、IMG[2]とIMG[3]とが非類似と判定された場合はIMG[3]を含む新しいグループを生成する。 In the example of FIG. 6, in the second step S503, similarity determination is performed for IMG [2] and IMG [3]. When it is determined that IMG [2] and IMG [3] are similar, IMG [3] is included in the group including IMG [2], and IMG [2] and IMG [3] are determined to be dissimilar If so, create a new group containing IMG [3].
たとえば、1回目のステップS503でIMG[1]とIMG[2]とが類似と判定され、2回目のステップS503でIMG[2]とIMG[3]とが類似と判定された場合、IMG[2]がIMG[1]と同じ第1グループに含まれているため、IMG[3]もIMG[1]とIMG[2]と同じ第1グループに含められる。 For example, if IMG [1] and IMG [2] are determined to be similar in the first step S503, and IMG [2] and IMG [3] are determined to be similar in the second step S503, IMG [ 2] is included in the same first group as IMG [1], so IMG [3] is also included in the same first group as IMG [1] and IMG [2].
1回目のステップS503でIMG[1]とIMG[2]とが非類似と判定され、2回目のステップS503でIMG[2]とIMG[3]とが類似と判定された場合、IMG[1]が第1グループに含まれ、IMG[2]が第2グループに含まれており、IMG[3]はIMG[2]と同じ第2グループに含められる。 When it is determined that IMG [1] and IMG [2] are dissimilar in the first step S503, and IMG [2] and IMG [3] are determined to be similar in the second step S503, IMG [1 ] Is included in the first group, IMG [2] is included in the second group, and IMG [3] is included in the same second group as IMG [2].
1回目のステップS503でIMG[1]とIMG[2]とが類似と判定され、2回目のステップS503でIMG[2]とIMG[3]とが非類似と判定された場合、IMG[2]がIMG[1]と同じ第1グループに含まれており、IMG[3]は、IMG[1]とIMG[2]とは異なる新しいグループ、第2グループに含められる。なお、3回目のステップS503でIMG[3]とIMG[4]とが類似と判定された場合、IMG[4]は、IMG[3]と同じ第2グループに含められる。 When it is determined that IMG [1] and IMG [2] are similar in the first step S503, and IMG [2] and IMG [3] are determined to be dissimilar in the second step S503, IMG [2 ] Is included in the same first group as IMG [1], and IMG [3] is included in a new group, the second group, which is different from IMG [1] and IMG [2]. If it is determined in the third step S503 that IMG [3] and IMG [4] are similar, IMG [4] is included in the same second group as IMG [3].
1回目のステップS503でIMG[1]とIMG[2]とが非類似と判定され、2回目のステップS503でIMG[2]とIMG[3]とが非類似と判定された場合、IMG[1]が第1グループに含まれ、IMG[2]が第2グループに含まれており、IMG[3]はIMG[1]ともIMG[2]とも異なる第3グループに含められる。 If it is determined that IMG [1] and IMG [2] are dissimilar in the first step S503, and IMG [2] and IMG [3] are determined to be dissimilar in the second step S503, IMG [ 1] is included in the first group, IMG [2] is included in the second group, and IMG [3] is included in a third group that is different from both IMG [1] and IMG [2].
上述した第1の実施の形態によれば、次の作用効果が得られる。
(1)本発明の第1の実施の形態による電子機器であるデジタルカメラ1は、CPU12が画像分類プログラム16を実行して行う以下の機能部を備えている。すなわち電子機器は、複数の画像をそれぞれの撮影日時の情報と共に取得する画像取得部20と、画像取得部20により取得された複数の画像の特徴量をそれぞれ算出する特徴量算出部21と、特徴量算出部により算出された少なくとも2つの類似性判定対象画像のそれぞれの特徴量により画像間の類似度を表す評価値EABを算出する評価値算出部と、少なくとも2つの類似性判定対象画像のそれぞれの撮影日時の間の撮影間隔TABを算出する撮影間隔算出部23と、撮影間隔TABと評価閾値EABとで定義された特性であって、撮影間隔が長いほど画像が類似していると判定されにくくした類似性判定特性(換言すると、撮影間隔が長いほど画像の類似判定が厳しくなるようにした類似性判定特性)を用いて、少なくとも2つの類似性判定対象画像間の類似性を判定する類似性判定部24とを備える。
したがって、本発明の第1の実施の形態による電子機器であるデジタルカメラ1は、類似性判定対象である2つの画像の撮影間隔も加味して二つの画像間の類似/非類似を判定することができ、従来の電子機器よりも長い期間内における複数枚の画像に対する類似/非類似の判定精度を向上させることができる。
According to the first embodiment described above, the following operational effects are obtained.
(1) The
Therefore, the
(2) デジタルカメラ1は、CPU12が画像分類プログラム16を実行して、異なる画像間について繰り返し行われた類似性判定の複数の結果に基づいて、複数の画像を分類する画像分類部17としても機能する。画像分類部17は、複数の画像のうち、撮影日時を基準にソートされた隣り合うすべての二つの画像のペアについて、類似性判定部18により似ているか否かを判定し、それらの判定結果に基づいて、複数の画像を一つ以上のグループに分類する。したがって、デジタルカメラ1は、階層的クラスタリングを用いる手法よりも、二つの画像が類似しているか否かの判定を行う回数が少なくなり、高速に画像を分類することができる。
(2) The
(第2の実施の形態)
本発明の第2の実施の形態による電子機器について説明する。第2の実施の形態による電子機器は、図1に示す構成を有するデジタルカメラ1である点は第1の実施の形態と同様である。第2の実施の形態では、類似性判定部18の機能ブロックのうち、判定部24の処理が第1の実施の形態と異なっている。第2の実施の形態では、判定部24は、図7に例示するような類似性判定特性線図を用いて、入力画像Aと入力画像Bとが類似しているか否かを判定する。
(Second Embodiment)
An electronic device according to the second embodiment of the present invention will be described. The electronic device according to the second embodiment is the same as the first embodiment in that it is a
図7に示す類似性判定特性線図では、撮影間隔TABが所定時間T1以下の場合は評価値に関わらず入力画像Aと入力画像Bとが類似していると判定し、撮影間隔が所定時間T2以上の場合は評価値に関わらず入力画像Aと入力画像Bとが非類似であると判定する。撮影間隔TABがT1より大きく所定時間T2未満の場合は、第1の実施の形態と同様に、評価値EABと閾値Ethとの大小関係により類似しているか否かを判定する。T1<TAB<T2における境界線60は、第1の実施の形態における境界線40と同様に、傾きが正であり、撮影間隔TABを引数とする、類似判定の閾値Ethを表す一次関数である。
In the similarity determination characteristic diagram shown in FIG. 7, when the shooting interval T AB is equal to or shorter than the predetermined time T1, it is determined that the input image A and the input image B are similar regardless of the evaluation value, and the shooting interval is predetermined. When the time is T2 or longer, it is determined that the input image A and the input image B are dissimilar regardless of the evaluation value. If the shooting interval T AB is greater than T1 and less than the predetermined time T2, it is determined whether or not they are similar due to the magnitude relationship between the evaluation value E AB and the threshold value E th as in the first embodiment. Similar to the
所定時間T1は、たとえば連続撮影で生成される画像データ間の撮影間隔であって、たとえば、数秒〜数十秒の時間である。所定時間T2は、たとえば数十秒〜数百秒の時間である。 The predetermined time T1 is a shooting interval between image data generated by continuous shooting, for example, and is, for example, several seconds to several tens of seconds. The predetermined time T2 is, for example, several tens of seconds to several hundreds of seconds.
図8は、第2の実施の形態における類似性判定部18に関するフローチャートである。図8に示す動作のうち、図4と同様の動作については、図4と同一のステップ番号を付し、その説明を省略する。図8に示すフローチャートは、ステップS300とステップS301との間にステップS700とステップS701が挿入されている点が図4と異なる。
FIG. 8 is a flowchart relating to the
ステップS700では、CPU12は、ステップS300で算出された撮影間隔TABが所定時間T1以上か否かを判定する。CPU12は、撮影間隔TABが所定時間T1以下の場合、ステップS305の処理に進み、撮影間隔TABが所定時間T1より長い場合、ステップS701の処理に進む。
In step S700, the
ステップS701では、CPU12は、ステップS300で算出された撮影間隔TABが所定時間T2以上か否かを判定する。CPU12は、撮影間隔TABが所定時間T2以上の場合、ステップS306の処理に進み、撮影間隔TABが所定時間T2未満の場合、ステップS301の処理に進む。
In step S701, the
このように、第2の実施の形態では、類似性判定部18の動作において、撮影間隔TABが所定時間T1以下の場合と、所定時間T2以上の場合に、ステップS301からステップS304までの処理を省略することにより、処理時間を短縮することができる。
As described above, in the second embodiment, in the operation of the
上述した第2の実施の形態によれば、次の作用効果が得られる。
(1) 本発明の第2の実施の形態による電子機器であるデジタルカメラ1の判定部24は、図7に示すように、算出された評価値の大きさに無関係に、撮影間隔が第1の所定値以下の場合は画像同士が類似し、第2の所定値(>第1の所定値)以上の場合は画像同士が非類似と判定するように定められている類似性判定特性線図を有している。具体的には、判定部24は、撮影間隔算出部23が算出した撮影間隔TABが所定時間T1以下のときは第1の画像と第2の画像、たとえば入力画像Aと入力画像Bとが類似と判定し、撮影間隔TABが所定時間T2以上のときは第1の画像と第2の画像とが非類似と判定する。したがって、本発明の第2の実施の形態によるデジタルカメラ1は、第1の画像と第2の画像とが類似しているか否かを撮影日時も加味して判定して分類する際の処理時間を第1の実施の形態よりも短くすることができる。
According to the second embodiment described above, the following operational effects can be obtained.
(1) As shown in FIG. 7, the
(第3の実施の形態)
本発明の第3の実施の形態による電子機器について説明する。第3の実施の形態による電子機器は、図1に示す構成を有するデジタルカメラ1である点は第1の実施の形態と同様である。第3の実施の形態では、閾値設定部25が撮影間隔TABに基づいて、二つの閾値、第1閾値E1と第2閾値E2とを設定し、判定部24がそれらの第1閾値E1と第2閾値E2とを用いて入力画像Aと入力画像Bとが類似しているか否かを判定する点が第1の実施の形態と異なっている。
(Third embodiment)
An electronic apparatus according to the third embodiment of the present invention will be described. The electronic device according to the third embodiment is the same as the first embodiment in that it is a
図9は、第3の実施の形態における類似性判定線図を示す。この類似性判定線図では、閾値設定部25が設定する第1閾値E1を表す第1境界線80と第2閾値E2を表す第2境界線81とが示されている。図9に示す類似性判定特性線図は、第1境界線80と第2境界線81とにより、類似領域と、非類似領域と、入力画像Aと入力画像Bとが類似しているか否かの判定を保留するグレー領域とに分割されている。
FIG. 9 shows a similarity determination diagram in the third embodiment. This similarity determination diagrams are shown and the
判定部24は、評価値EABが第1閾値E1以上の場合、入力画像Aと入力画像Bとが類似していると判定し、評価値EABが第2閾値E2以下の場合、入力画像Aと入力画像Bとが非類似であると判定し、評価値EABが第2閾値E2より大きく第1閾値E1未満の場合、入力画像Aと入力画像Bとが類似か否かの判定を保留する。
Determining
上述した第3の実施の形態によれば、次の作用効果が得られる。
(1) 本発明の第3の実施の形態による電子機器であるデジタルカメラ1の判定部24は、図9に示すように、撮影間隔に対する評価閾値で定義された第1の特性、および撮影間隔に対する評価閾値で定義された第2の特性を備えている。具体的には、閾値設定部25が撮影間隔TABに基づいて、第1閾値E1と第2閾値E2とを設定し、判定部24がそれらの第1閾値E1と第2閾値E2とを用いて入力画像Aと入力画像Bとが類似しているか否かを判定する。すなわち、類似性判定部24は、第1の画像と第2の画像の特徴量により算出され評価値が、第1の特性である境界線80に基づき算出された評価閾値E1以上のとき、第1の画像と第2の画像が類似していると判定する。第1の画像と第2の画像の特徴量により算出され評価値が、第2の特性である境界線81に基づき算出された評価閾値E2以下のとき、第1の画像と第2の画像が類似していないと判定する。第1の画像と第2の画像の特徴量により算出され評価値が、評価閾値E1未満であり、かつ、第2の特性に基づき算出された評価閾値E2より大きいとき、類似/非類似の判定結果を出力しない。
したがって、本発明の第3の実施の形態による電子機器であるデジタルカメラ1は、境界線80と81で決定された2つの閾値との間に分類されるような類似性がどっちつかずの画像に対する類似性判定は保留することにより、従来の電子機器よりも画像が類似しているか否かの判定精度をさらに向上させることができる。
According to the third embodiment described above, the following operational effects can be obtained.
(1) The
Therefore, the
たとえば、連写により得られた3枚の画像D1,D2,D3について説明すると以下のとおりである。連写による画像D1とD2との間の類似度を示す評価値E12と、連写による画像D2とD3との間の類似度を示す評価値E23とは、ほぼ同様の値を示すことが多い。しかし、第1の実施の形態のように一つの境界線40による類似/非類似を判定する場合、画像D1とD2は類似、画像D2とD3は非類似と判定される虞れがある。第3の実施の形態は、連写で得られた複数の画像がこのように類似と非類似に分類される不合理性を解消することができる。
For example, three images D1, D2, and D3 obtained by continuous shooting will be described as follows. The evaluation value E12 indicating the similarity between the images D1 and D2 by continuous shooting and the evaluation value E23 indicating the similarity between the images D2 and D3 by continuous shooting often show substantially the same value. . However, when the similarity / dissimilarity by one
(第4の実施の形態)
本発明の第4の実施の形態による電子機器について説明する。第4の実施の形態による電子機器は、図1に示す構成を有するデジタルカメラ1である点は第1の実施の形態と同様である。第4の実施の形態では、判定部24は、第2の実施の形態と同様に、撮影間隔TABが所定時間T1以下の場合は評価値に関わらず入力画像Aと入力画像Bとが類似していると判定し、撮影間隔が所定時間T2以上の場合は評価値に関わらず入力画像Aと入力画像Bとが非類似であると判定する。また、判定部24は、撮影間隔が所定時間T1より大きく所定時間T2未満の場合は、第3の実施の形態と同様に、評価値EABが第1閾値E1以上のときは入力画像Aと入力画像Bとが類似していると判定し、評価値EABが第2閾値E2以下のときは入力画像Aと入力画像Bとが非類似であると判定し、評価値EABが第2閾値E2より大きく第1閾値E1未満のときは入力画像Aと入力画像Bが類似しているか否かの判定を保留する。
(Fourth embodiment)
An electronic apparatus according to the fourth embodiment of the present invention will be described. The electronic device according to the fourth embodiment is the same as the first embodiment in that it is a
第4の実施の形態における類似性判定特性線図の一例を図10に示す。図10では、撮影間隔TABが所定時間T1以下の領域と、第1の閾値に関する第1境界線90以上の領域とが類似領域であり、撮影間隔TABが所定時間T2以上の領域と、第2の閾値に関する第2境界線91以下の領域が非類似領域であり、第1境界線90と第2境界線91とに挟まれる領域がグレー領域である。
An example of the similarity determination characteristic diagram in the fourth embodiment is shown in FIG. In FIG. 10, the region where the shooting interval T AB is equal to or less than the predetermined time T1 and the region where the
図11は、図10の類似性判定特性線図に準拠した類似判定を行う類似性判定部18に関するフローチャートである。図11に示す動作のうち、図4や図8と同様の動作については、図4や図8と同一のステップ番号を付し、その説明を省略する。図11に示すフローチャートは、ステップS303がステップS1000に置換され、ステップS304がステップS1001とステップS1002とに置換されている点が図8と異なる。
FIG. 11 is a flowchart regarding the
ステップS1000では、CPU12は、閾値設定部25を用いて、ステップS300で算出された撮影間隔TABに基づいて、第1閾値E1と第2閾値E2とを設定する。
In step S1000,
ステップS1001では、CPU12は、判定部24を用いて、ステップS302で算出された評価値EABがステップS1000で算出された第1閾値E1以上か否かを判定する。CPU12は、評価値EABが第1閾値E1以上の場合、ステップS1001を肯定判定して、ステップS305の処理に進み、評価値EABが第1閾値E1未満の場合、ステップS1001を否定判定して、ステップS1002の処理に進む。
In step S1001,
ステップS1002では、CPU12は、判定部24を用いて、ステップS302で算出された評価値EABがステップS1000で算出された第2閾値E2以下か否かを判定する。CPU12は、評価値EABが第2閾値E2以下の場合、ステップS1002を肯定判定して、ステップS306の処理に進み、評価値EABが第2閾値E2より大きいの場合、ステップS1002を否定判定して、図11の処理を終了する。
In step S1002,
上述した第4の実施の形態によれば、次の作用効果が得られる。
(1) 本発明の第4の実施の形態による電子機器であるデジタルカメラ1は、撮影間隔算出部23が算出した撮影間隔TABが所定時間T1以下のときは第1の画像と第2の画像、たとえば入力画像Aと入力画像Bとが類似と判定し、撮影間隔TABが所定時間T2以上のときは第1の画像と第2の画像とが非類似と判定する。したがって、本発明の第4の実施の形態によるデジタルカメラ1は、第3の実施の形態と同様の作用効果を奏するとともに、入力画像Aと入力画像Bとが類似しているか否かを第3の実施の形態よりも高速に判定することができる。
According to the fourth embodiment described above, the following operational effects can be obtained.
(1) In the
次のような変形も本発明の範囲内であり、変形例の一つ、もしくは複数を上述の実施形態と組み合わせることも可能である。
(変形例1)
図10に示した第1境界線90と第2境界線91は、直線でなくてもよい。たとえば、図12に例示する第1境界線90aと第2境界線91aのように、曲線であってもよく、任意の関数で表される線であってもよい。撮影間隔TABが所定時間T1またはその近傍にある場合には、撮影間隔TABが所定時間T2またはその近傍にある場合よりも入力画像Aと入力画像Bとが類似している確率が高いため、所定時間T1の近傍における第1境界線90aの撮影間隔の軸に対する傾きを所定時間T2の近傍よりも緩やか(平坦)にして、類似していると判定され易くしている。撮影間隔TABが所定時間T2またはその近傍にある場合には、撮影間隔TABが所定時間T1またはその近傍にある場合よりも入力画像Aと入力画像Bとが非類似である確率が高いため、所定時間T2の近傍における第2境界線90bの撮影間隔の軸に対する傾きを所定時間T1の近傍よりも緩やか(平坦)にして、非類似と判定され易くしている。
なお、図3に示した境界線40、図7に示した境界線60、図9に示した第1境界線90と第2境界線91についても同様に任意の関数で表される線であってもよい。
また、関数を使用せず、ルックアップテーブルの形式で類似性判定線図を定義してもよい。
The following modifications are also within the scope of the present invention, and one or a plurality of modifications can be combined with the above-described embodiment.
(Modification 1)
The
Note that the
Further, the similarity determination diagram may be defined in the form of a lookup table without using a function.
(変形例2)
上記の実施の形態では、閾値設定部25は、撮影間隔TABに基づいて、閾値Ethを設定することとしたが、他の方法で設定することにしてもよい。たとえば、図3に示した境界線40、図7に示した境界線60の両端の類似性判定特性線図上の位置をユーザに手動入力させることにしてもよい。
(Modification 2)
In the above embodiment, the
(変形例3)
画像データが生成されるたびにその撮影日時を記憶部13に記録して、過去10件分の撮影間隔の平均値を算出し、その平均撮影間隔に基づいて第1閾値E1および第2閾値E2を設定することにしてもよい。たとえば、連続撮影が行われた後のように、平均撮影間隔が所定時間T1よりも短くなっている場合は、さらに連続撮影を行う可能性が高いと判断して、第1閾値E1の値を下げる補正を行うことにしてもよい。また、平均撮影間隔が所定時間、たとえば1日よりも長くなっている場合は、第2閾値E2の値を上げる補正を行うことにしてもよい。
(Modification 3)
And record the shooting date and time each time the image data is generated in the
(変形例4)
次のようにして閾値Ethを設定することにしてもよい。電子機器には、ユーザの識別情報と、ユーザが指定したデジタルカメラ1の設定に関する情報と、ユーザが指定した閾値Ethとを含むユーザ情報が予め記憶部13に記憶されているものとする。ここで、デジタルカメラ1の設定に関する情報とは、AFモード、シーンモード、レンズ情報、露光時間などである。CPU12は、画像データの生成時点のデジタルカメラ1の設定に関する情報を取得し、履歴情報として記憶部13に記録する。CPU12は、画像データが類似しているか否かを判定するとき、画像データの撮影日時から所定時間前までの履歴情報の中で最頻のデジタルカメラ1の設定を検索する。そして、最頻のデジタルカメラ1の設定に関する情報に基づいてユーザ情報のデータベースを検索して、閾値Ethを検索されたユーザ情報に含まれる閾値Ethの値に設定する。このようにすることで、ユーザの個性に適合した類似判定を行うことができる。
(Modification 4)
The threshold value Eth may be set as follows. It is assumed that user information including user identification information, information on settings of the
(変形例5)
画像分類部が画像をグループに分類する方法は、図5に示す方法だけに限定されない。たとえば、図13に示すような手順でグループに分類することにしてもよい。分類対象のn個の画像データの中から1個の画像データを選択し、選択した画像データと他の画像データとが類似しているか否かを判定し、類似していると判定された画像データを選択した画像データと同一のグループに分類する。たとえば、画像データIMG[1]を選択し、IMG[1]に対してIMG[2]とIMG[3]とIMG[4]とがそれぞれ類似しているかを判定する。そして、判定の結果、IMG[1]とIMG[2]とが類似と判定され、IMG[1]とIMG[3]とが非類似、IMG[1]とIMG[4]とが類似と判定された場合、CPU12は、IMG[2]とIMG[4]をIMG[1]と同一のグループに分類する。そして、CPU12は、IMG[3]だけのグループを生成して、画像の分類を終了する。このようにすることで、時間的に離れた二つの画像データ同士であっても類似判定を行うことができ、類似性ある画像をグルーピングする精度を向上させることができる。
(Modification 5)
The method of classifying images into groups by the image classification unit is not limited to the method shown in FIG. For example, classification into groups may be performed according to the procedure shown in FIG. One image data is selected from n image data to be classified, and it is determined whether or not the selected image data is similar to other image data, and the image determined to be similar Classify the data into the same group as the selected image data. For example, image data IMG [1] is selected, and it is determined whether IMG [2], IMG [3], and IMG [4] are similar to IMG [1]. As a result of the determination, it is determined that IMG [1] and IMG [2] are similar, IMG [1] and IMG [3] are dissimilar, and IMG [1] and IMG [4] are similar. If so, the
(変形例6)
上記の実施の形態では、評価値EABは、画像特徴量が類似しているほど高くなるものとして説明したが、画像特徴量が類似しているほど低くなるような特徴量の算出方法を用いてもよい。たとえば、特徴量ベクトルVA,VBのコサイン類似度を、そのコサイン類似度の最大値から減じた値を評価値EABとして算出することにしてもよい。第1の実施の形態において、画像特徴量が類似しているほど低くなるような特徴量を用いた場合は、図3の境界線40が右肩下がりになるように閾値Ethの値を変更することが好ましい。
(Modification 6)
In the above-described embodiment, the evaluation value E AB is described as being higher as the image feature amount is similar. However, a feature amount calculation method is used such that the evaluation value E AB is lower as the image feature amount is similar. May be. For example, a value obtained by subtracting the cosine similarity of the feature amount vectors V A and V B from the maximum value of the cosine similarity may be calculated as the evaluation value E AB . In the first embodiment, when a feature amount that decreases as the image feature amount is similar is used, the threshold value Eth is changed so that the
(変形例7)
上述の説明では、本発明をデジタルカメラ1に適用する場合について説明したが、本発明は、画像分類プログラム16を実行可能なコンピュータを備える電子機器であれば、デジタルカメラ1以外の電子機器、たとえばスマートフォン、パーソナルコンピュータなどにも適用することができる。
(Modification 7)
In the above description, the case where the present invention is applied to the
(変形例8)
上記実施の形態では、画像分類プログラム16が予め記憶部13に格納されている例を説明した。これらのプログラムは、CD−ROMやDVDやUSBメモリなどの種々の記録媒体やインターネットなどのデータ信号を通じてコンピュータに提供することができる。図14はその様子を示す図である。コンピュータ1100は、例えばCD−ROM1101を介してプログラムの提供を受ける。また、コンピュータ1100は通信回線1102との接続機能を有する。サーバコンピュータ1103は上記プログラムを提供するコンピュータであり、ハードディスク1104などの記録媒体にプログラムを格納する。通信回線1102は、インターネットなどの通信回線、あるいは専用通信回線などである。サーバコンピュータ1103はハードディスク1104を使用してプログラムを読み出し、通信回線1102を介してプログラムをコンピュータ1100に送信する。すなわち、プログラムをデータ信号として搬送波にのせて(embody)して、通信回線1102を介して送信する。このように、プログラムは、記録媒体やデータ信号などの種々の形態のコンピュータ読み込み可能なコンピュータプログラム製品として供給できる。
(Modification 8)
In the above embodiment, the example in which the
このような類似性判定プログラムは、撮影間隔も加味した画像間の類似度を判定する。すなわち、複数の画像をそれぞれの撮影日時の情報と共に取得する画像取得手順と、画像取得手順により取得された複数の画像の特徴量をそれぞれ算出する特徴量算出手順と、特徴量算出手順により算出された少なくとも2つの類似性判定対象画像のそれぞれの特徴量により画像間の類似度を表す評価値を算出する評価値算出手順と、少なくとも2つの類似性判定対象画像のそれぞれの撮影日時の間の撮影間隔を算出する撮影間隔算出手順と、撮影間隔と評価閾値とで定義された特性であって、撮影間隔が長いほど画像が類似していると判定されにくくした類似性判定特性を用いて、少なくとも2つの類似性判定対象画像間の類似性を判定する類似性判定手順と、異なる画像間について繰り返し行われた類似性判定の複数の結果に基づいて、複数の画像を分類する分類手順とをコンピュータに実行させる。 Such a similarity determination program determines the similarity between images in consideration of the shooting interval. That is, it is calculated by an image acquisition procedure for acquiring a plurality of images together with information on each shooting date, a feature amount calculation procedure for calculating a feature amount of each of the plurality of images acquired by the image acquisition procedure, and a feature amount calculation procedure. An evaluation value calculation procedure for calculating an evaluation value representing the similarity between images based on the respective feature amounts of at least two similarity determination target images, and a shooting interval between the respective shooting dates and times of the at least two similarity determination target images Using the similarity determination characteristic that is defined by the shooting interval calculation procedure for calculating the image, and the shooting interval and the evaluation threshold value, and the longer the shooting interval, the harder it is determined that the images are similar. Based on a similarity determination procedure for determining similarity between two similarity determination target images and a plurality of results of similarity determination repeatedly performed between different images, To perform a classification procedure to classify the image number into the computer.
(変形例9)
上記の実施の形態による電子機器では、類似性判定部18の判定結果に基づいて、画像分類部17が複数の画像データをグループ分けすることにした。しかし、類似性判定部18の判定結果に基づいて複数の画像データのグループ分け以外の処理を行う場合であっても、類似性判定部18の判定の精度が向上する点については変わりがない。すなわち、本発明は、類似性判定部18の判定結果に基づいて複数の画像データのグループ分け以外の処理を行う場合にも適用することができる。上記変形例8における類似性判定用プログラムについても同様である。
(Modification 9)
In the electronic device according to the above-described embodiment, the
上記では、種々の実施の形態および変形例を説明したが、本発明はこれらの内容に限定されるものではない。本発明の技術的思想の範囲内で考えられるその他の態様も本発明の範囲内に含まれる。
したがって、一対の画像間の類似/非類似判定に代えて、たとえば複数枚で構成される一対の画像群の間での類似/非類似判定を行う電子機器も本発明の権利範囲である。
Although various embodiments and modifications have been described above, the present invention is not limited to these contents. Other embodiments conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention.
Therefore, instead of the similarity / dissimilarity determination between a pair of images, for example, an electronic device that performs a similarity / dissimilarity determination between a pair of image groups constituted by a plurality of images is also within the scope of the present invention.
1 デジタルカメラ
10 撮像部
11 画像処理部
12 CPU
13 記憶部
16 画像分類プログラム
17 画像分類部
18 類似性判定部
20 画像取得部
21 特徴量算出部
22 評価値算出部
23 撮影間隔算出部
24 判定部
25 閾値設定部
1
DESCRIPTION OF
Claims (10)
前記画像取得部により取得された複数の画像の特徴量をそれぞれ算出する特徴量算出部と、
前記特徴量算出部により算出された少なくとも2つの類似性判定対象画像のそれぞれの特徴量により画像間の類似度を表す評価値を算出する評価値算出部と、
前記少なくとも2つの類似性判定対象画像のそれぞれの撮影日時の間の撮影間隔を算出する撮影間隔算出部と、
撮影間隔と評価閾値とで定義された特性であって、前記撮影間隔が長いほど画像が類似していると判定されにくくした類似性判定特性を用いて、前記少なくとも2つの類似性判定対象画像間の類似性を判定する類似性判定部と、
を備える電子機器。 An image acquisition unit for acquiring a plurality of images together with information of each shooting date and time;
A feature amount calculation unit for calculating feature amounts of a plurality of images acquired by the image acquisition unit;
An evaluation value calculation unit that calculates an evaluation value that represents the degree of similarity between images based on the respective feature amounts of the at least two similarity determination target images calculated by the feature amount calculation unit;
A shooting interval calculation unit that calculates a shooting interval between the respective shooting dates and times of the at least two similarity determination target images;
A characteristic defined by a shooting interval and an evaluation threshold, and using a similarity determination characteristic that makes it difficult to determine that images are more similar as the shooting interval is longer, between the at least two similarity determination target images A similarity determination unit for determining the similarity of
Electronic equipment comprising.
前記類似性判定部により異なる画像間について繰り返し行われた類似性判定の複数の結果に基づいて、複数の画像を分類する分類部をさらに備える電子機器。 The electronic device according to claim 1,
An electronic apparatus further comprising a classification unit that classifies a plurality of images based on a plurality of results of similarity determination repeatedly performed between different images by the similarity determination unit.
前記類似性判定部は、前記算出された撮影間隔について前記類似性判定特性を用いて算出された評価閾値と、前記少なくとも2つの画像の特徴量により算出された前記評価値とに基づいて、前記少なくとも2つの類似性判定対象画像間の類似性を判定する電子機器。 The electronic device according to claim 1 or 2,
The similarity determination unit, based on the evaluation threshold calculated using the similarity determination characteristic for the calculated shooting interval and the evaluation value calculated by the feature amount of the at least two images, An electronic device that determines similarity between at least two similarity determination target images.
前記類似性判定特性は、撮影間隔に対する評価閾値として定義された一つの特性であり、
前記類似性判定部は、前記少なくとも2つの類似性判定対象画像の特徴量により算出された前記評価値が、前記一つの特性により算出された前記評価閾値以上のとき、前記少なくとも2つの類似性判定対象画像が類似していると判定する電子機器。 The electronic device according to any one of claims 1 to 3,
The similarity determination characteristic is one characteristic defined as an evaluation threshold for an imaging interval,
The similarity determination unit is configured to determine the at least two similarity determinations when the evaluation value calculated based on the feature amount of the at least two similarity determination target images is equal to or greater than the evaluation threshold calculated based on the one characteristic. An electronic device that determines that the target images are similar.
前記類似性判定特性は、撮影間隔に対する評価閾値で定義された第1の特性、および撮影間隔に対する評価閾値で定義された第2の特性であり、
前記類似性判定部は、
前記少なくとも2つの類似性判定対象画像の特徴量により算出された前記評価値が、前記第1の特性に基づき算出された評価閾値以上のとき、前記少なくとも2つの類似性判定対象画像が類似していると判定し、
前記少なくとも2つの類似性判定対象画像の特徴量により算出された前記評価値が、前記第2の特性に基づき算出された評価閾値以下のとき、前記少なくとも2つの類似性判定対象画像が類似していないと判定し、
前記少なくとも2つの類似性判定対象画像の特徴量により算出された前記評価値が、前記第1の特性に基づき算出された評価閾値未満であり、かつ、前記第2の特性に基づき算出された評価閾値より大きいとき、類似/非類似の判定結果は出力しない電子機器。 The electronic device according to any one of claims 1 to 3,
The similarity determination characteristic is a first characteristic defined by an evaluation threshold for an imaging interval, and a second characteristic defined by an evaluation threshold for an imaging interval,
The similarity determination unit
When the evaluation value calculated based on the feature amount of the at least two similarity determination target images is equal to or greater than the evaluation threshold calculated based on the first characteristic, the at least two similarity determination target images are similar to each other. It is determined that
When the evaluation value calculated based on the feature amount of the at least two similarity determination target images is equal to or less than the evaluation threshold calculated based on the second characteristic, the at least two similarity determination target images are similar. It is determined that
The evaluation value calculated from the feature amount of the at least two similarity determination target images is less than the evaluation threshold calculated based on the first characteristic, and the evaluation calculated based on the second characteristic An electronic device that does not output similar / dissimilar judgment results when the threshold value is exceeded.
前記類似性判定特性は、前記撮影間隔の関数として前記評価閾値が定義されている特性である電子機器。 The electronic device according to any one of claims 1 to 5,
The similarity determination characteristic is an electronic apparatus in which the evaluation threshold is defined as a function of the photographing interval.
前記類似性判定特性は、前記算出された評価値の大きさに無関係に、前記撮影間隔が第1の所定値以下の場合は画像同士が類似し、前記撮影間隔が第1の所定値よりも長い第2の所定値以上の場合は画像同士が非類似と判定するように定められている特性である電子機器。 The electronic device according to any one of claims 1 to 6,
Regardless of the magnitude of the calculated evaluation value, the similarity determination characteristic is that images are similar when the shooting interval is equal to or less than a first predetermined value, and the shooting interval is less than the first predetermined value. An electronic device having characteristics determined to determine that images are dissimilar if they are longer than a second predetermined value.
前記第1の特性は類似性判定に供する特性であり、前記撮影間隔が前記第2の所定値またはその近傍にあるときより、前記第1の所定値またはその近傍にあるときの方が画像同士が類似していると判定されやすくした特性であり、
前記第2の特性は非類似性判定に供する特性であり、前記撮影間隔が前記第1の所定値またはその近傍にあるときより、前記第2の所定値またはその近傍にあるときの方が画像同士が非類似であると判定されやすくした特性である電子機器。 The electronic device according to claim 7,
The first characteristic is a characteristic used for similarity determination, and when the shooting interval is at or near the second predetermined value, the images are more similar to each other. Is a characteristic that makes it easier to determine that
The second characteristic is a characteristic used for determining dissimilarity, and the image is captured when the photographing interval is at or near the second predetermined value than when the photographing interval is at or near the first predetermined value. An electronic device having characteristics that make it easier to determine that they are dissimilar to each other.
前記画像取得手順により取得された複数の画像の特徴量をそれぞれ算出する特徴量算出手順と、
前記特徴量算出手順により算出された少なくとも2つの類似性判定対象画像のそれぞれの特徴量により画像間の類似度を表す評価値を算出する評価値算出手順と、
前記少なくとも2つの類似性判定対象画像のそれぞれの撮影日時の間の撮影間隔を算出する撮影間隔算出手順と、
撮影間隔と評価閾値とで定義された特性であって、前記撮影間隔が長いほど画像が類似していると判定されにくくした類似性判定特性を用いて、前記少なくとも2つの類似性判定対象画像間の類似性を判定する類似性判定手順と、をコンピュータに実行させる類似性判定用プログラム。 An image acquisition procedure for acquiring a plurality of images together with information on each shooting date and time,
A feature amount calculation procedure for calculating feature amounts of a plurality of images acquired by the image acquisition procedure;
An evaluation value calculation procedure for calculating an evaluation value representing the degree of similarity between images based on the respective feature amounts of at least two similarity determination target images calculated by the feature amount calculation procedure;
A shooting interval calculation procedure for calculating a shooting interval between the respective shooting dates and times of the at least two similarity determination target images;
A characteristic defined by a shooting interval and an evaluation threshold, and using a similarity determination characteristic that makes it difficult to determine that images are more similar as the shooting interval is longer, between the at least two similarity determination target images A similarity determination program for causing a computer to execute a similarity determination procedure for determining the similarity of
前記類似性判定手順により異なる画像間について繰り返し行われた類似性判定の複数の結果に基づいて、複数の画像を分類する分類手順をコンピュータにさらに実行させる類似性判定用プログラム。
The similarity determination program according to claim 9,
A similarity determination program for causing a computer to further execute a classification procedure for classifying a plurality of images based on a plurality of results of similarity determination repeatedly performed between different images by the similarity determination procedure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014058413A JP2015184760A (en) | 2014-03-20 | 2014-03-20 | Electronic device and similarity determination program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014058413A JP2015184760A (en) | 2014-03-20 | 2014-03-20 | Electronic device and similarity determination program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015184760A true JP2015184760A (en) | 2015-10-22 |
Family
ID=54351265
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014058413A Pending JP2015184760A (en) | 2014-03-20 | 2014-03-20 | Electronic device and similarity determination program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015184760A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018088425A1 (en) * | 2016-11-10 | 2018-05-17 | 日本電信電話株式会社 | Image evaluation device, image evaluation method, and image evaluation program |
WO2019008961A1 (en) * | 2017-07-07 | 2019-01-10 | 日本電気株式会社 | Information processing device, information processing method, and program |
-
2014
- 2014-03-20 JP JP2014058413A patent/JP2015184760A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018088425A1 (en) * | 2016-11-10 | 2018-05-17 | 日本電信電話株式会社 | Image evaluation device, image evaluation method, and image evaluation program |
JPWO2018088425A1 (en) * | 2016-11-10 | 2019-03-07 | 日本電信電話株式会社 | Image evaluation apparatus, image evaluation method, and image evaluation program |
US11042771B2 (en) | 2016-11-10 | 2021-06-22 | Nippon Telegraph And Telephone Corporation | Image evaluation device, image evaluation method, and image evaluation program |
US11710226B2 (en) | 2016-11-10 | 2023-07-25 | Nippon Telegraph And Telephone Corporation | Image evaluation device, image evaluation method, and image evaluation program |
WO2019008961A1 (en) * | 2017-07-07 | 2019-01-10 | 日本電気株式会社 | Information processing device, information processing method, and program |
JPWO2019008961A1 (en) * | 2017-07-07 | 2020-06-25 | 日本電気株式会社 | Information processing apparatus, information processing method, and program |
US11663184B2 (en) | 2017-07-07 | 2023-05-30 | Nec Corporation | Information processing method of grouping data, information processing system for grouping data, and non-transitory computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102275452B1 (en) | Method for tracking image in real time considering both color and shape at the same time and apparatus therefor | |
CN109035246B (en) | Face image selection method and device | |
EP3189469B1 (en) | A method for selecting frames from video sequences based on incremental improvement | |
US9230058B2 (en) | Image processing device, image processing method and program | |
US20140254934A1 (en) | Method and system for mobile visual search using metadata and segmentation | |
US9785699B2 (en) | Photograph organization based on facial recognition | |
CN110428399B (en) | Method, apparatus, device and storage medium for detecting image | |
US9996554B2 (en) | Search apparatus, search method, and storage medium | |
US11200643B2 (en) | Image processing apparatus, image processing method and storage medium for enhancing resolution of image | |
US10255673B2 (en) | Apparatus and method for detecting object in image, and apparatus and method for computer-aided diagnosis | |
US10121089B2 (en) | Object information extraction apparatus, object information extraction program, and object information extraction method | |
US20190197695A1 (en) | Image processing apparatus, image processing method, and storage medium | |
US20130304743A1 (en) | Keyword assignment device, information storage device, and keyword assignment method | |
CN105095853B (en) | Image processing apparatus and image processing method | |
JP6794197B2 (en) | Information processing equipment, information processing methods and programs | |
JP6557592B2 (en) | Video scene division apparatus and video scene division program | |
US20160162757A1 (en) | Multi-class object classifying method and system | |
KR20170027301A (en) | Image processing apparatus, image processing method, and storage medium | |
JP2021125003A5 (en) | ||
US20190266392A1 (en) | Image processing apparatus, image processing method, and storage medium | |
JP2013117861A (en) | Learning device, learning method and program | |
US10311097B2 (en) | Image retrieving apparatus and method | |
JP2015184760A (en) | Electronic device and similarity determination program | |
CN108563713B (en) | Keyword rule generation method and device and electronic equipment | |
JP6713422B2 (en) | Learning device, event detection device, learning method, event detection method, program |