Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6919276B2 - Image display program, image display device and image display method - Google Patents
[go: Go Back, main page]

JP6919276B2 - Image display program, image display device and image display method - Google Patents

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

Info

Publication number
JP6919276B2
JP6919276B2 JP2017070379A JP2017070379A JP6919276B2 JP 6919276 B2 JP6919276 B2 JP 6919276B2 JP 2017070379 A JP2017070379 A JP 2017070379A JP 2017070379 A JP2017070379 A JP 2017070379A JP 6919276 B2 JP6919276 B2 JP 6919276B2
Authority
JP
Japan
Prior art keywords
image
img
type
input
input 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.)
Active
Application number
JP2017070379A
Other languages
Japanese (ja)
Other versions
JP2018173734A (en
Inventor
健太郎 辻
健太郎 辻
瀬川 英吾
英吾 瀬川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2017070379A priority Critical patent/JP6919276B2/en
Publication of JP2018173734A publication Critical patent/JP2018173734A/en
Application granted granted Critical
Publication of JP6919276B2 publication Critical patent/JP6919276B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Image Analysis (AREA)

Description

本発明は、画像表示プログラム、画像表示装置および画像表示方法に関する。 The present invention relates to an image display program, an image display device, and an image display method.

タグを対応付けてデータをデータベースに登録するシステムでは、データベースにデータを新規に登録する際に、データに対応付けるタグの候補を表示するタグ候補選定方法が提案されている(例えば、特許文献1参照)。この種の方法では、データベースに既に登録されている複数の登録済データと新規に登録する新規データとの類似度を算出し、新規データに類似する登録済データに対応付けられたタグを、新規データに対応付けるタグの候補として表示する。 In a system for registering data in a database by associating tags, a tag candidate selection method for displaying tag candidates associated with the data when newly registering data in the database has been proposed (see, for example, Patent Document 1). ). In this type of method, the similarity between multiple registered data already registered in the database and the newly registered new data is calculated, and a tag associated with the registered data similar to the new data is newly added. Display as a candidate tag to be associated with data.

また、データの特徴を表す複数種の特徴量を用いてデータ間の類似度を算出するシステムでは、複数種の特徴量間に重みを付ける方法が提案されている(例えば、特許文献2参照)。 Further, in a system for calculating the similarity between data using a plurality of types of feature amounts representing data features, a method of weighting between the plurality of types of feature amounts has been proposed (see, for example, Patent Document 2). ..

また、画像の辞書を生成する画像辞書生成装置では、画像に付与される意味ラベルを予め用意された学習画像の特徴量に基づいてより細かなトピックに分割することにより、画像辞書の精度を向上させる方法が提案されている(例えば、特許文献3参照)。 Further, in the image dictionary generator that generates an image dictionary, the accuracy of the image dictionary is improved by dividing the meaning label given to the image into more detailed topics based on the feature amount of the trained image prepared in advance. A method has been proposed (see, for example, Patent Document 3).

特開2007−272390号公報JP-A-2007-272390 特開2004−13307号公報Japanese Unexamined Patent Publication No. 2004-13307 特開2014−115737号公報Japanese Unexamined Patent Publication No. 2014-115737

検査対象の物体が撮像された画像を解析して良品と不良品とを判別する判別システムでは、画像から抽出される特徴量と予め設定された閾値とを比較し、比較結果に基づいて良品か不良品かを判定する。閾値は、例えば、良品が撮像された良品画像か不良品が撮像された不良品画像かが予め識別された複数の画像から抽出される特徴量に基づいて設定される。 In the discrimination system that analyzes the captured image of the object to be inspected and discriminates between non-defective products and defective products, the feature amount extracted from the image is compared with a preset threshold value, and whether the product is non-defective based on the comparison result. Determine if it is defective. The threshold value is set based on, for example, a feature amount extracted from a plurality of images in which a non-defective product image in which a non-defective product is imaged or a defective product image in which a defective product is imaged is identified in advance.

例えば、検査対象の物体を良品と不良品とに分類する閾値を設定する検査員等のオペレータは、検査対象の物体が撮像された複数の画像を目視して、良品画像と不良品画像とに分類する。そして、オペレータは、良品画像または不良品画像等の画像の種別を示す情報(以下、ラベルとも称する)を画像に付与するラベル付けを実行する。 For example, an operator such as an inspector who sets a threshold for classifying an object to be inspected into a non-defective product and a defective product visually observes a plurality of images of the object to be inspected and divides the image into a non-defective product image and a defective product image. Classify. Then, the operator executes labeling to give information (hereinafter, also referred to as a label) indicating the type of the image such as a non-defective product image or a defective product image to the image.

閾値の設定に使用する画像の数を増やすことにより、設定される閾値の信頼度は向上するが、ラベル付けの対象となる画像の数も増加する。ラベル付けの対象となる画像の数が増加すると、オペレータがラベルを画像に付与する際に、オペレータによる過去のラベル付け結果と矛盾が発生するおそれがある。すなわち、誤ったラベルが画像に付与される場合がある。誤ったラベルが付与された画像を含む複数の画像を使用して閾値を設定した場合、閾値の信頼度は低下する。 By increasing the number of images used to set the threshold, the reliability of the set threshold is improved, but the number of images to be labeled also increases. As the number of images to be labeled increases, the operator may inconsistent with past labeling results by the operator when labeling the images. That is, the image may be given the wrong label. If the threshold is set using multiple images, including images with the wrong label, the reliability of the threshold is reduced.

なお、データベース等に画像を新規に登録する際に、画像に付与するラベルの候補を表示する方法では、画像に付与するラベルの候補として表示されるラベルが登録済みのどのような画像に付与されたかを確認することは困難である。このため、オペレータがラベルを画像に付与する際に、オペレータにより過去のラベル付け結果と矛盾が発生するおそれがある。 In the method of displaying the label candidates to be given to the image when newly registering the image in the database or the like, the label displayed as the label candidate to be given to the image is given to any registered image. It is difficult to confirm the label. Therefore, when the operator assigns a label to the image, the operator may cause a contradiction with the past labeling result.

1つの側面では、本発明は、画像にラベルを付与する際に、過去のラベル付け結果との矛盾の発生を抑止することを目的とする。 In one aspect, the present invention aims to prevent the occurrence of inconsistencies with past labeling results when labeling images.

1つの実施態様では、画像表示装置は、特徴量算出部、第1画像特定部、第2画像特定部および表示部を有する。特徴量算出部は、入力画像から複数種類の特徴量を算出する。第1画像特定部は、画像に対応付けて画像の種別を示す情報と画像から算出した複数種類の特徴量とを記憶する記憶部を参照して、種別のうち第1の種別と対応付けられた画像のうち入力画像に最も類似する第1の画像を特定する。第2画像特定部は、特徴量の各種類を軸とする座標空間上において、記憶部に記憶されている複数の画像のうち、第1の種別と対応付けられており、入力画像および第1の画像と所定の位置関係にある第2の画像を特定する。表示部は、第1の種別を示す情報と第1の画像と第2の画像と入力画像とを含む画面を表示する。
In one embodiment, the image display device includes a feature amount calculation unit, a first image identification unit, a second image identification unit, and a display unit. The feature amount calculation unit calculates a plurality of types of feature amounts from the input image. The first image identification unit is associated with the first type among the types by referring to a storage unit that stores information indicating the type of the image associated with the image and a plurality of types of feature quantities calculated from the image. Among the images, the first image most similar to the input image is specified. The second image identification unit is associated with the first type of a plurality of images stored in the storage unit in the coordinate space centered on each type of feature amount, and is associated with the input image and the first type. A second image having a predetermined positional relationship with the image of is specified. The display unit displays a screen including information indicating the first type, the first image, the second image, and the input image.

1つの側面では、本発明は、画像にラベルを付与する際に、過去のラベル付け結果との矛盾の発生を抑止することができる。 On one aspect, the present invention can prevent the occurrence of inconsistencies with past labeling results when labeling an image.

画像表示プログラム、画像表示装置および画像表示方法の一実施形態を示す図である。It is a figure which shows one Embodiment of an image display program, an image display device, and an image display method. 図1に示した画像表示装置の動作の一例を示す図である。It is a figure which shows an example of the operation of the image display device shown in FIG. 画像表示プログラム、画像表示装置および画像表示方法の別の実施形態を示す図である。It is a figure which shows another embodiment of an image display program, an image display device, and an image display method. 図3に示した特徴量データベースの一例を示す図である。It is a figure which shows an example of the feature amount database shown in FIG. 図3に示した類似度算出部の動作の一例を示す図である。It is a figure which shows an example of the operation of the similarity calculation part shown in FIG. 図3に示した第1画像特定部および第2画像特定部の動作の一例を示す図である。It is a figure which shows an example of the operation of the 1st image specifying part and the 2nd image specifying part shown in FIG. 図3に示した表示部の動作の一例を示す図である。It is a figure which shows an example of the operation of the display part shown in FIG. 図3に示した画像表示装置の動作の一例を示す図である。It is a figure which shows an example of the operation of the image display device shown in FIG. 画像表示プログラム、画像表示装置および画像表示方法の別の実施形態を示す図である。It is a figure which shows another embodiment of an image display program, an image display device, and an image display method. 図9に示した第2画像特定部の動作の一例を示す図である。It is a figure which shows an example of the operation of the 2nd image specifying part shown in FIG. 図9に示した画像表示装置の動作の一例を示す図である。It is a figure which shows an example of the operation of the image display device shown in FIG. 画像表示プログラム、画像表示装置および画像表示方法の別の実施形態を示す図である。It is a figure which shows another embodiment of an image display program, an image display device, and an image display method. 図12に示した第2画像特定部の動作の一例を示す図である。It is a figure which shows an example of the operation of the 2nd image specifying part shown in FIG. 画像表示プログラム、画像表示装置および画像表示方法の別の実施形態を示す図である。It is a figure which shows another embodiment of an image display program, an image display device, and an image display method. 図14に示した第3画像特定部の動作の一例を示す図である。It is a figure which shows an example of the operation of the 3rd image identification part shown in FIG. 図14に示した表示部の動作の一例を示す図である。It is a figure which shows an example of the operation of the display part shown in FIG. 図14に示した画像表示装置の動作の一例を示す図である。It is a figure which shows an example of the operation of the image display device shown in FIG.

以下、実施形態について、図面を用いて説明する。以下では、画像そのもの、および画像を表示するための画像データは、特に区別せずに、画像と称される。 Hereinafter, embodiments will be described with reference to the drawings. Hereinafter, the image itself and the image data for displaying the image are referred to as an image without particular distinction.

図1は、画像表示プログラム、画像表示装置および画像表示方法の一実施形態を示す。図1に示す画像表示装置200は、例えば、検査員等のオペレータが画像IMGの種別(例えば、良品、不良品等)を示すラベルを画像IMGに付与する際に、過去のラベル付け結果との矛盾の発生を抑止するための画像表示処理を実行する。ラベルは、画像IMGの種別を示す情報の一例である。画像表示装置200は、ハードウェアのみで実現されてもよく、ハードウェアをソフトウェアで制御することにより実現されてもよい。図1に示す例では、画像表示装置200は、コンピュータ10が画像表示プログラムDPRGを実行することにより、実現される。 FIG. 1 shows an embodiment of an image display program, an image display device, and an image display method. The image display device 200 shown in FIG. 1 is based on the past labeling result when, for example, an operator such as an inspector assigns a label indicating the type of the image IMG (for example, a non-defective product, a defective product, etc.) to the image IMG. Execute image display processing to suppress the occurrence of contradictions. The label is an example of information indicating the type of image IMG. The image display device 200 may be realized only by hardware, or may be realized by controlling the hardware by software. In the example shown in FIG. 1, the image display device 200 is realized by the computer 10 executing the image display program DPRG.

例えば、コンピュータ10は、CPU(Central Processing Unit)等のプロセッサ20、メモリ30、ハードディスク装置40、入力インタフェース50、出力インタフェース60およびドライブ装置70を有する。プロセッサ20、メモリ30、ハードディスク装置40、入力インタフェース50、出力インタフェース60およびドライブ装置70は、バス80に接続される。プロセッサ20は、メモリ30やハードディスク装置40等に格納されるプログラムを実行する。入力インタフェース50は、デジタルカメラ等の撮像装置90から受ける画像IMG、キーボード等の入力装置100から受ける情報等をプロセッサ20等に転送する。また、出力インタフェース60は、プロセッサ20によるプログラムの実行結果等を、ディスプレイ等の表示装置110に出力する。ドライブ装置70は、コンピュータ10により読み取り可能な記録媒体であるリムーバブルメディア120を装着可能であり、装着したリムーバブルメディア120に記録された情報の読み出しおよび記録を実行する。 For example, the computer 10 has a processor 20 such as a CPU (Central Processing Unit), a memory 30, a hard disk device 40, an input interface 50, an output interface 60, and a drive device 70. The processor 20, the memory 30, the hard disk device 40, the input interface 50, the output interface 60, and the drive device 70 are connected to the bus 80. The processor 20 executes a program stored in the memory 30, the hard disk device 40, or the like. The input interface 50 transfers the image IMG received from the image pickup device 90 such as a digital camera, the information received from the input device 100 such as a keyboard, and the like to the processor 20 and the like. Further, the output interface 60 outputs the execution result of the program by the processor 20 to the display device 110 such as a display. The drive device 70 can be equipped with the removable media 120, which is a recording medium that can be read by the computer 10, and reads and records the information recorded on the mounted removable media 120.

画像表示装置200は、メモリ30に格納される画像表示プログラムDPRGをプロセッサ20が実行することにより、実現される。画像表示装置200は、撮像装置90で撮像された画像IMG等の入力画像IMGiにラベルを付与する際、入力画像IMGiと一緒に表示装置110に表示する参照画像IMGrを既にラベルを付与した画像IMGから選択する。ラベル付けされた画像IMGは、例えば、メモリ30に格納される。また、メモリ30は、画像IMGの種別を示す情報と画像IMGの特徴を表す複数種類の特徴量とを画像IMGに対応付けて記憶する。メモリ30は、記憶部の一例である。なお、ラベル付けされた画像IMG等は、ハードディスク装置40に記憶されてもよい。この場合、ハードディスク装置40も、記憶部の一例である。 The image display device 200 is realized by the processor 20 executing the image display program DPRG stored in the memory 30. When the image display device 200 assigns a label to an input image IMG such as an image IMG captured by the image pickup device 90, the image display device 200 has already labeled the reference image IMGr to be displayed on the display device 110 together with the input image IMG. Select from. The labeled image IMG is stored, for example, in memory 30. Further, the memory 30 stores information indicating the type of the image IMG and a plurality of types of feature amounts representing the features of the image IMG in association with the image IMG. The memory 30 is an example of a storage unit. The labeled image IMG or the like may be stored in the hard disk device 40. In this case, the hard disk device 40 is also an example of the storage unit.

例えば、画像表示装置200は、特徴量算出部210、第1画像特定部220、第2画像特定部230および表示部240を有する。 For example, the image display device 200 has a feature amount calculation unit 210, a first image identification unit 220, a second image identification unit 230, and a display unit 240.

特徴量算出部210は、例えば、撮像装置90から入力インタフェース50を介して入力画像IMGiを受ける。あるいは、特徴量算出部210は、メモリ30等から入力画像IMGiを受けてもよい。そして、特徴量算出部210は、入力画像IMGiと予め撮像された背景画像との異なる部分を抽出する背景差分法等により入力画像IMGiから検査対象となる物体を抽出し、抽出した物体の特徴を表す複数種類の特徴量を抽出する。背景画像は、検査対象となる物体のない状態の画像である。このように、特徴量算出部210は、入力画像IMGiから複数種類の特徴量を算出する。 The feature amount calculation unit 210 receives the input image IMGi from the image pickup apparatus 90 via the input interface 50, for example. Alternatively, the feature amount calculation unit 210 may receive the input image IMGi from the memory 30 or the like. Then, the feature amount calculation unit 210 extracts an object to be inspected from the input image IMGi by a background subtraction method or the like that extracts a different portion between the input image IMGi and the background image captured in advance, and obtains the features of the extracted object. Extract multiple types of features to be represented. The background image is an image in a state where there is no object to be inspected. In this way, the feature amount calculation unit 210 calculates a plurality of types of feature amounts from the input image IMGi.

特徴量算出部210が入力画像IMGiから抽出する複数種類の特徴量は、例えば、「高木幹雄、下田陽久:新編 画像解析ハンドブック、東京大学出版会、2004.」などに記載されている形状特徴、テクスチャ特徴、色特徴等であり、予め決められている。形状特徴は、面積、周囲長、円形度、最大長、幅等であり、テクスチャ特徴は、輝度ヒストグラム、エッジ密度、同時生起行列の統計量、フーリエ変換のパワースペクトル等であり、色特徴は、色ヒストグラム等である。なお、入力画像IMGiから抽出する特徴量の種類は、上述の例に限定されない。また、入力画像IMGiから物体を抽出する方法は、背景差分法に限定されない。 The plurality of types of features extracted from the input image IMGi by the feature calculation unit 210 include, for example, the shape features described in "Mikio Takagi, Yoshihisa Shimoda: New Image Analysis Handbook, University of Tokyo Press, 2004." Texture features, color features, etc., which are predetermined. Shape features are area, circumference length, circularity, maximum length, width, etc., texture features are luminance histogram, edge density, simultaneous occurrence matrix statistic, Fourier transform power spectrum, etc., and color features are It is a color histogram and the like. The type of feature amount extracted from the input image IMGi is not limited to the above example. Further, the method of extracting an object from the input image IMGi is not limited to the background subtraction method.

第1画像特定部220は、画像IMGの種別を示すラベルと画像IMGから算出した複数種類の特徴量とを既にラベル付けされた画像IMGに対応付けて記憶するメモリ30を参照して、入力画像IMGiと既にラベル付けされた画像IMGとの類似度を算出する。例えば、第1画像特定部220は、入力画像IMGiから算出した特徴量と既にラベル付けされた画像IMGの特徴量とを比較して、入力画像IMGiと既にラベル付けされた画像IMGとの類似度を算出する。そして、第1画像特定部220は、画像IMGの複数の種別の1つを第1の種別として選択し、選択した第1の種別を示すラベルが付与された画像IMGのうち、入力画像IMGiに特徴が最も類似する第1の画像IMGを特定する。 The first image specifying unit 220 refers to a memory 30 that stores a label indicating the type of the image IMG and a plurality of types of feature quantities calculated from the image IMG in association with the already labeled image IMG, and stores the input image. Calculate the similarity between the IMGi and the already labeled image IMG. For example, the first image identification unit 220 compares the feature amount calculated from the input image IMGi with the feature amount of the already labeled image IMG, and the similarity between the input image IMGi and the already labeled image IMG. Is calculated. Then, the first image identification unit 220 selects one of the plurality of types of the image IMG as the first type, and among the image IMGs to which the label indicating the selected first type is attached, the input image IMGi is used. Identify the first image IMG with the most similar features.

このように、第1画像特定部220は、画像IMGの種別のうちの第1の種別と対応付けられた画像IMGのうち、入力画像IMGiに最も類似する第1の画像IMGを特定する。第1の画像IMGの特定および後述する第2の画像IMGの特定は、画像IMGの種別毎に実行される。 In this way, the first image identification unit 220 identifies the first image IMG that is most similar to the input image IMGi among the image IMGs associated with the first type of the image IMG types. The identification of the first image IMG and the identification of the second image IMG, which will be described later, are executed for each type of image IMG.

第2画像特定部230は、メモリ30に記憶されている複数の画像IMGのうち、第1の種別と対応付けられており、特徴空間上において入力画像IMGiおよび第1の画像IMGと所定の位置関係にある第2の画像IMGを特定する。特徴空間は、特徴量算出部210で算出される特徴量の各種類を軸とする座標空間である。例えば、特徴量の種類が大きさと明るさの2つの場合、特徴空間は、2次元であり、図2の括弧内に示すように、大きさを示す横軸および明るさを示す縦軸を有する。このように、特徴空間は、特徴量の種類によって定められる。なお、第2画像特定部230の動作の詳細は、図2で説明する。第1の画像IMGおよび第2の画像IMGは、入力画像IMGiと一緒に表示装置110に表示する参照画像IMGrである。以下、第1の画像IMGおよび第2の画像IMGは、参照画像IMGrと同じ符号が使用される場合もある。また、第1の画像IMGおよび第2の画像IMGは、参照画像IMGrと称される場合もある。 The second image identification unit 230 is associated with the first type among the plurality of image IMGs stored in the memory 30, and is located at a predetermined position with the input image IMGi and the first image IMG in the feature space. Identify the second image IMG that is relevant. The feature space is a coordinate space centered on each type of feature amount calculated by the feature amount calculation unit 210. For example, when there are two types of feature quantities, size and brightness, the feature space is two-dimensional and has a horizontal axis indicating size and a vertical axis indicating brightness, as shown in parentheses in FIG. .. In this way, the feature space is determined by the type of feature quantity. The details of the operation of the second image specifying unit 230 will be described with reference to FIG. The first image IMG and the second image IMG are reference image IMGrs to be displayed on the display device 110 together with the input image IMGi. Hereinafter, the first image IMG and the second image IMG may use the same reference numerals as the reference image IMGr. Further, the first image IMG and the second image IMG may be referred to as a reference image IMGr.

表示部240は、第1の種別を示す情報と第1の画像IMGと第2の画像IMGと入力画像IMGiとを含む画面を表示装置110に表示する。例えば、表示部240は、入力画像IMGiと参照画像IMGrと参照画像IMGrのラベルとを含む情報PINFを、出力インタフェース60を介して表示装置110に出力する。これにより、入力画像IMGi、参照画像IMGr、参照画像IMGrのラベルが表示装置110に表示される。 The display unit 240 displays on the display device 110 a screen including information indicating the first type, the first image IMG, the second image IMG, and the input image IMGi. For example, the display unit 240 outputs the information PINF including the input image IMGi, the reference image IMGr, and the label of the reference image IMGr to the display device 110 via the output interface 60. As a result, the labels of the input image IMGi, the reference image IMGr, and the reference image IMGr are displayed on the display device 110.

なお、画像表示装置200およびコンピュータ10の構成は、図1に示す例に限定されない。例えば、画像表示プログラムDPRGは、CD−ROM(Compact Disc Read only memory)、DVD(Digital Versatile Disc)、USB(Universal Serial Bus)メモリ等のリムーバブルメディア120に格納されてもよい。この場合、リムーバブルメディア120に格納された画像表示プログラムDPRGは、ドライブ装置70を介してリムーバブルメディア120からメモリ30に転送される。また、画像表示プログラムDPRGは、リムーバブルメディア120からハードディスク装置40に転送された後、メモリ30に転送されてもよい。 The configuration of the image display device 200 and the computer 10 is not limited to the example shown in FIG. For example, the image display program DPRG may be stored in a removable media 120 such as a CD-ROM (Compact Disc Read only memory), a DVD (Digital Versatile Disc), or a USB (Universal Serial Bus) memory. In this case, the image display program DPRG stored in the removable media 120 is transferred from the removable media 120 to the memory 30 via the drive device 70. Further, the image display program DPRG may be transferred from the removable media 120 to the hard disk device 40 and then to the memory 30.

あるいは、コンピュータ10は、画像表示プログラムDPRG等のアプリケーションプログラムを、インターネット等のネットワークに接続する通信装置(図示せず)を介してダウンロードし、メモリ30やハードディスク装置40に格納してもよい。また、コンピュータ10は、ネットワークに接続する通信装置を介して撮像装置90から画像IMGを取得してもよい。また、例えば、コンピュータ10は、ドライブ装置70が省かれてもよい。また、例えば、コンピュータ10は、ハードディスク装置40の代わりにSSD(Solid State Drive)等を有してもよい。 Alternatively, the computer 10 may download an application program such as the image display program DPRG via a communication device (not shown) connected to a network such as the Internet and store it in the memory 30 or the hard disk device 40. Further, the computer 10 may acquire an image IMG from the image pickup device 90 via a communication device connected to the network. Further, for example, in the computer 10, the drive device 70 may be omitted. Further, for example, the computer 10 may have an SSD (Solid State Drive) or the like instead of the hard disk device 40.

図2は、図1に示した画像表示装置200の動作の一例を示す。なお、図2は、特徴量の種類が大きさと明るさの2種類の場合の画像表示装置200の動作の一例を示す。図2に示す動作は、コンピュータ10により実行される画像表示方法の一態様である。また、図2に示す動作をコンピュータ10に実行させるためのプログラムは、画像表示プログラムの一態様である。なお、図2に示す動作は、ハードウェアのみで実現されてもよい。ステップS100からステップS700までの一連の処理は、画像表示装置200が入力画像IMGiを受ける度に実行される。また、図2の括弧内に示すグラフは、第1の画像IMGおよび第2の画像IMGを特定する処理(ステップS400、S500の処理)の概要を示す。図2に示すグラフの横軸は、物体の大きさを示し、縦軸は、物体の明るさを示す。また、図2に示す網掛けの四角形は、種別a(例えば、良品)を示すラベルが既に付与された画像IMGaを示し、三角形は、種別b(例えば、不良品)を示すラベルが既に付与された画像IMGbを示し、星形は、ラベルの付与対象である入力画像IMGiを示す。なお、画像IMGの種別の数および特徴量の種類は2つに限定されない。画像IMGa、IMGbは、例えば、メモリ30に記憶される。 FIG. 2 shows an example of the operation of the image display device 200 shown in FIG. Note that FIG. 2 shows an example of the operation of the image display device 200 when there are two types of feature quantities, size and brightness. The operation shown in FIG. 2 is an aspect of the image display method executed by the computer 10. Further, the program for causing the computer 10 to execute the operation shown in FIG. 2 is one aspect of the image display program. The operation shown in FIG. 2 may be realized only by hardware. The series of processes from step S100 to step S700 is executed each time the image display device 200 receives the input image IMGi. Further, the graph shown in parentheses in FIG. 2 shows an outline of a process for specifying the first image IMG and the second image IMG (processes in steps S400 and S500). The horizontal axis of the graph shown in FIG. 2 indicates the size of the object, and the vertical axis indicates the brightness of the object. Further, the shaded quadrangle shown in FIG. 2 indicates an image IMGa that has already been given a label indicating type a (for example, a non-defective product), and the triangle indicates an image IMGa that has already been given a label indicating type b (for example, a defective product). The image IMGb is shown, and the star shape indicates the input image IMGi to be labeled. The number of types of image IMG and the type of feature amount are not limited to two. The images IMGa and IMGb are stored in, for example, the memory 30.

ステップS100では、特徴量算出部210は、図1で説明したように、入力画像IMGiの特徴量(図2に示す例では、大きさおよび明るさ)を算出する。これにより、入力画像IMGiは、図2の括弧内に示すように、大きさを示す横軸および明るさを示す縦軸を有する特徴空間上に配置される。 In step S100, the feature amount calculation unit 210 calculates the feature amount (size and brightness in the example shown in FIG. 2) of the input image IMGi as described with reference to FIG. As a result, the input image IMGi is arranged on the feature space having a horizontal axis indicating the size and a vertical axis indicating the brightness, as shown in the parentheses of FIG.

次に、ステップS200では、第1画像特定部220は、入力画像IMGiの特徴量と他の画像IMGa、IMGbの特徴量とを比較して、入力画像IMGiと他の画像IMGa、IMGbとの類似度を他の画像IMGa、IMGb毎に算出する。類似度は、特徴量間の距離で表される。図2に示すベクトルV(Va1、Va2、Vaj)は、特徴空間上における入力画像IMGiの位置を始点とした場合の対象の画像IMG(IMGa1、IMGa2、IMGaj)の位置を示す。したがって、入力画像IMGiの特徴量と対象の画像IMGの特徴量との間の距離は、ベクトルVの大きさで表される。例えば、入力画像IMGiの特徴量と画像IMGa1の特徴量との間の距離は、ベクトルVa1の大きさ(=|Va1|)で表される。 Next, in step S200, the first image identification unit 220 compares the feature amount of the input image IMGi with the feature amount of the other images IMGa and IMGb, and resembles the input image IMGi with the other images IMGa and IMGb. The degree is calculated for each of the other images IMGa and IMGb. The degree of similarity is expressed by the distance between the features. The vector V (Va1, Va2, Vaj) shown in FIG. 2 indicates the position of the target image IMG (IMGa1, IMGa2, IMGaj) when the position of the input image IMGi in the feature space is used as the starting point. Therefore, the distance between the feature amount of the input image IMGi and the feature amount of the target image IMG is represented by the magnitude of the vector V. For example, the distance between the feature amount of the input image IMGi and the feature amount of the image IMGa1 is represented by the magnitude of the vector Va1 (= | Va1 |).

次に、ステップS300では、第1画像特定部220は、画像IMGの複数の種別の1つを第1の種別に設定する。例えば、第1画像特定部220は、種別aおよび種別bの一方を第1の種別に設定する。 Next, in step S300, the first image identification unit 220 sets one of the plurality of types of the image IMG as the first type. For example, the first image identification unit 220 sets one of the type a and the type b as the first type.

次に、ステップS400では、第1画像特定部220は、第1の種別と対応付けられた画像IMGのうち、入力画像IMGiに最も類似する第1の画像IMGを特定する。2つの画像IMGの類似度は、2つの画像IMGの特徴量間の距離が短いほど高い。したがって、図2に示す例では、ステップS300で設定された第1の種別が種別aの場合、第1画像特定部220は、種別aの画像IMGaのうち、ベクトルVaの大きさが最も小さい画像IMGa1を、第1の画像IMGに特定する。 Next, in step S400, the first image identification unit 220 identifies the first image IMG that is most similar to the input image IMGi among the image IMGs associated with the first type. The similarity between the two image IMGs is higher as the distance between the features of the two image IMGs is shorter. Therefore, in the example shown in FIG. 2, when the first type set in step S300 is the type a, the first image specifying unit 220 is the image having the smallest vector Va size among the image IMGas of the type a. IMGa1 is identified as the first image IMG.

次に、ステップS500では、第2画像特定部230は、第1の種別と対応付けられた画像IMGのうち、入力画像IMGiおよび第1の画像IMGと所定の位置関係にある第2の画像IMGを特定する。図2に示す例では、所定の位置関係は、特徴空間上における入力画像IMGiの位置を始点とした場合の第1の画像IMGの位置を示すベクトルVに直交またはほぼ直交するベクトルVで示される位置関係である。 Next, in step S500, the second image identification unit 230 uses the second image IMG that has a predetermined positional relationship with the input image IMGi and the first image IMG among the image IMGs associated with the first type. To identify. In the example shown in FIG. 2, the predetermined positional relationship is represented by a vector V orthogonal to or substantially orthogonal to the vector V indicating the position of the first image IMG when the position of the input image IMGi in the feature space is used as the starting point. It is a positional relationship.

例えば、第2画像特定部230は、始点が入力画像IMGiで終点が第1の画像IMGa1であるベクトルVa1に直交するベクトルVa2で示される画像IMGa2を、第2の画像IMGに特定する。なお、第2画像特定部230は、ベクトルVa1に直交するベクトルVaで示される画像IMGaを複数抽出した場合、抽出した複数の画像IMGaのうち、入力画像IMGiに最も近い位置の画像IMGaを第2の画像IMGに特定する。 For example, the second image identification unit 230 identifies the image IMGa2 represented by the vector Va2 orthogonal to the vector Va1 whose start point is the input image IMGi and whose end point is the first image IMGa1 as the second image IMG. When a plurality of image IMGas represented by the vector Va orthogonal to the vector Va1 are extracted, the second image identification unit 230 selects the image IMGa at the position closest to the input image IMGa among the extracted plurality of image IMGas. Specific to the image IMG.

なお、所定の位置関係は、第1の画像IMGの位置を示すベクトルVに直交またはほぼ直交するベクトルVで示される位置関係に限定されない。例えば、所定の位置関係は、特徴空間上における第1の画像IMGとの距離が所定の第1の距離以上でもよい。この場合、第2画像特定部230は、特徴空間上における第1の画像IMGとの距離が所定の第1の距離以上の画像IMGのうち、入力画像IMGiに最も近い位置の画像IMGを第2の画像IMGに特定する。 The predetermined positional relationship is not limited to the positional relationship indicated by the vector V orthogonal to or substantially orthogonal to the vector V indicating the position of the first image IMG. For example, the predetermined positional relationship may be such that the distance from the first image IMG on the feature space is equal to or greater than the predetermined first distance. In this case, the second image specifying unit 230 uses the image IMG at the position closest to the input image IMG among the image IMGs whose distance from the first image IMG in the feature space is equal to or greater than the predetermined first distance. Specific to the image IMG.

ステップS400、S500の処理により、ステップS300で設定した第1の種別に対応付けられた画像IMGのうち、入力画像IMGiと一緒に表示装置110に表示する参照画像IMGr(第1の画像IMGおよび第2の画像IMG)が特定される。 Among the image IMGs associated with the first type set in step S300 by the processing of steps S400 and S500, the reference image IMGr (the first image IMG and the first image IMG) to be displayed on the display device 110 together with the input image IMGi. 2 image IMG) is identified.

次に、ステップS600では、画像表示装置200は、画像IMGの全ての種別を探索したか否かを判定する。画像IMGの全ての種別を探索した場合、画像表示装置200の動作は、ステップS700に移る。 Next, in step S600, the image display device 200 determines whether or not all types of image IMGs have been searched. When all types of image IMGs have been searched, the operation of the image display device 200 proceeds to step S700.

一方、探索されていない種別が存在する場合、画像表示装置200の動作は、ステップS300に戻る。例えば、種別aおよび種別bのうちの種別bでの参照画像IMGrの探索が実行されていない場合、画像表示装置200は、ステップS300において、種別bを第1の種別に設定する。これにより、種別bの画像IMGbに対してステップS400、S500の処理が実行され、画像IMGb1、IMGb2が参照画像IMGrとして特定される。 On the other hand, if there is a type that has not been searched, the operation of the image display device 200 returns to step S300. For example, when the search for the reference image IMGr in the type b of the type a and the type b is not executed, the image display device 200 sets the type b as the first type in step S300. As a result, the processes of steps S400 and S500 are executed for the image IMGb of the type b, and the images IMGb1 and IMGb2 are specified as the reference image IMGr.

ステップS700では、表示部240は、第1の種別(種別aおよび種別b)、第1の画像IMGa1、IMGb1、第2の画像IMGa2、IMGb2および入力画像IMGiを含む画面を表示装置110に表示する。なお、画像IMGa1、IMGa2、IMGb1、IMGb2は、それぞれがどの種別の画像IMGかを識別できるように表示される。ステップS700の処理の終了により、1つの入力画像IMGiに対する画像表示装置200の動作は終了する。 In step S700, the display unit 240 displays a screen including the first type (type a and type b), the first image IMGa1, IMGb1, the second image IMGa2, IMGb2, and the input image IMGi on the display device 110. .. The images IMGa1, IMGa2, IMGb1, and IMGb2 are displayed so that each type of image IMG can be identified. When the process of step S700 is completed, the operation of the image display device 200 for one input image IMGi is completed.

このように、図2に示す動作では、画像IMGajは、画像IMGa2に比べて入力画像IMGiに類似するが、入力画像IMGiおよび第1の画像IMGとの位置関係が所定の位置関係を満たしていないため、参照画像IMGrとして選択されない。画像IMGajが画像IMGa1に類似する画像IMGaであるため、画像IMGa1を表示した場合、オペレータがラベルを入力画像IMGiに付与する際に判断するための情報は、画像IMGajを表示しても表示しなくてもほとんど変わらない。 As described above, in the operation shown in FIG. 2, the image IMAGaj is similar to the input image IMGi as compared with the image IMGa2, but the positional relationship between the input image IMGi and the first image IMG does not satisfy a predetermined positional relationship. Therefore, it is not selected as the reference image IMGr. Since the image IMAGaj is an image IMAGa similar to the image IMGa1, when the image IMGa1 is displayed, the information for the operator to judge when attaching the label to the input image IMGi is not displayed even if the image IMAGaj is displayed. But it doesn't change much.

これに対し、画像表示装置200は、画像IMGajの代わりに、所定の位置関係を満たす画像IMGa2を入力画像IMGiと一緒に表示する。例えば、特徴空間上において互いに直交するベクトルVaを有する画像IMGa1、IMGa2が参照画像IMGrとして選択されるため、各参照画像IMGr(第1の画像IMGおよび第2の画像IMG)間では、入力画像IMGiに類似する特徴量が異なる。 On the other hand, the image display device 200 displays the image IMGa2 satisfying a predetermined positional relationship together with the input image IMGi instead of the image IMGaj. For example, since the images IMGa1 and IMGa2 having vector Va orthogonal to each other on the feature space are selected as the reference image IMGr, the input image IMGi is selected between the reference image IMGr (first image IMG and second image IMG). Features similar to are different.

これにより、例えば、画像IMGa1、IMGaj、IMGb1、IMGb2を参照画像IMGrとして選択する場合に比べて、各参照画像IMGr間で入力画像IMGiに類似する特徴量のバリエーションを増加させることができる。各参照画像IMGr間で入力画像IMGiに類似する特徴量のバリエーションが増加するほど、オペレータは、過去のラベル付け画像IMGと入力画像IMGiとを容易に比較できる。例えば、各参照画像IMGr間で入力画像IMGiに類似する特徴量のバリエーションが増加するほど、オペレータは、各参照画像IMGrと入力画像IMGiとの比較を異なる観点で実行できる。すなわち、画像表示装置200は、画像IMGa2を選択することで、画像IMGa1、IMGaj、IMGb1、IMGb2を入力画像IMGiと一緒に表示する場合に比べて、オペレータがラベルを入力画像IMGiに付与するための有益な情報を提供できる。この結果、画像表示装置200は、画像IMGa1、IMGaj、IMGb1、IMGb2を入力画像IMGiと一緒に表示する場合に比べて、過去のラベル付け結果との矛盾の発生を抑止できる。 Thereby, for example, as compared with the case where the images IMGa1, IMGaj, IMGb1 and IMGb2 are selected as the reference image IMGr, it is possible to increase the variation of the feature amount similar to the input image IMGi among the reference image IMGr. As the variation of the feature amount similar to the input image IMGi increases among each reference image IMGr, the operator can easily compare the past labeled image IMG with the input image IMGi. For example, as the variation of the feature amount similar to the input image IMGi increases among each reference image IMGr, the operator can execute the comparison between each reference image IMGr and the input image IMGi from different viewpoints. That is, the image display device 200 allows the operator to assign a label to the input image IMGi by selecting the image IMGa2, as compared with the case where the images IMGa1, IMGaj, IMGb1 and IMGb2 are displayed together with the input image IMGi. Can provide useful information. As a result, the image display device 200 can suppress the occurrence of a contradiction with the past labeling result, as compared with the case where the images IMGa1, IMGaj, IMGb1 and IMGb2 are displayed together with the input image IMGi.

なお、画像表示装置200の動作は、図2に示す例に限定されない。例えば、画像表示装置200は、各種別の第2の画像IMGを複数選択してもよい。この場合、第2画像特定部230は、入力画像IMGi、第1の画像IMGおよび既に特定した第2の画像IMGと所定の位置関係にある画像IMGのうち、入力画像IMGiに最も類似する画像IMGを第2の画像IMGに特定する処理を繰り返してもよい。所定の位置関係が第1の画像IMGの位置を示すベクトルVに直交またはほぼ直交するベクトルVで示される位置関係である場合、第2の画像IMGを特定する処理は、特徴量の種類の数より1つ少ない数だけ繰り返されてもよい。また、所定の位置関係が特徴空間上における第1の画像IMGとの距離が所定の第1の距離以上である場合、第2の画像IMGを特定する処理は、所定数だけ繰り返されてもよい。 The operation of the image display device 200 is not limited to the example shown in FIG. For example, the image display device 200 may select a plurality of different types of second image IMGs. In this case, the second image specifying unit 230 is the image IMG most similar to the input image IMG among the input image IMGi, the first image IMG, and the image IMG having a predetermined positional relationship with the second image IMG already identified. May be repeated to specify the second image IMG. When the predetermined positional relationship is a positional relationship indicated by a vector V orthogonal to or substantially orthogonal to the vector V indicating the position of the first image IMG, the process of identifying the second image IMG is the number of types of feature quantities. It may be repeated one less number. Further, when the predetermined positional relationship is equal to or greater than the predetermined first image IMG in the feature space, the process of specifying the second image IMG may be repeated by a predetermined number of times. ..

以上、図1および図2に示す実施形態では、画像表示装置200は、入力画像IMGiから複数種類の特徴量を算出する。また、画像表示装置200は、画像IMGの種別を示す情報と画像IMGから算出した複数種類の特徴量とを画像IMGに対応付けて記憶するメモリ30等を参照する。そして、画像表示装置200は、画像IMGの種別のうち第1の種別と対応付けられた画像IMGのうち、入力画像IMGiに最も類似する第1の画像IMGを特定する。画像表示装置200は、特徴量の種類によって定められる特徴空間上において、メモリ30等に記憶されている複数の画像IMGのうち、第1の種別の画像IMGで、入力画像IMGiおよび第1の画像IMGと所定の位置関係にある第2の画像IMGを特定する。そして、画像表示装置200は、第1の種別を示す情報と第1の画像IMGと第2の画像IMGと入力画像IMGiとを含む画面を表示する。 As described above, in the embodiment shown in FIGS. 1 and 2, the image display device 200 calculates a plurality of types of feature amounts from the input image IMGi. Further, the image display device 200 refers to a memory 30 or the like that stores information indicating the type of the image IMG and a plurality of types of feature amounts calculated from the image IMG in association with the image IMG. Then, the image display device 200 identifies the first image IMG that is most similar to the input image IMGi among the image IMGs associated with the first type of the image IMGs. The image display device 200 is an image IMG of the first type among a plurality of image IMGs stored in the memory 30 or the like in the feature space determined by the type of the feature amount, and is an input image IMGi and a first image. A second image IMG having a predetermined positional relationship with the IMG is specified. Then, the image display device 200 displays a screen including information indicating the first type, the first image IMG, the second image IMG, and the input image IMGi.

これにより、入力画像IMGiとの比較を互いに異なる観点で実行可能な第1の画像IMGおよび第2の画像IMGが入力画像IMGiと一緒に表示装置110に表示される。この結果、画像IMGにラベルを付与する際に、過去のラベル付け結果(既にラベル付けされた画像IMGのラベル付け結果)との矛盾の発生を抑止することができる。 As a result, the first image IMG and the second image IMG that can be compared with the input image IMGi from different viewpoints are displayed on the display device 110 together with the input image IMGi. As a result, when labeling the image IMG, it is possible to suppress the occurrence of a contradiction with the past labeling result (labeling result of the already labeled image IMG).

図3は、画像表示プログラム、画像表示装置および画像表示方法の別の実施形態を示す。図1および図2で説明した要素と同一または同様の要素については、同一または同様の符号を付し、これ等については、詳細な説明を省略する。図3に示す画像表示装置202は、例えば、オペレータが画像IMGの種別を示すラベルを画像IMGに付与する際に、過去のラベル付け結果との矛盾の発生を抑止するための画像表示処理を実行する。画像表示装置202は、ハードウェアのみで実現されてもよく、ハードウェアをソフトウェアで制御することにより実現されてもよい。図3に示す例では、画像表示装置202は、コンピュータ10が画像表示プログラムDPRGを実行することにより、実現される。例えば、コンピュータ10は、プロセッサ20、メモリ30、ハードディスク装置40、入力インタフェース50、出力インタフェース60およびドライブ装置70を有する。メモリ30およびハードディスク装置40は、記憶部の一例である。 FIG. 3 shows another embodiment of an image display program, an image display device, and an image display method. Elements that are the same as or similar to the elements described with reference to FIGS. 1 and 2 are designated by the same or similar reference numerals, and detailed description thereof will be omitted. The image display device 202 shown in FIG. 3 executes, for example, an image display process for suppressing the occurrence of a contradiction with the past labeling result when the operator assigns a label indicating the type of the image IMG to the image IMG. do. The image display device 202 may be realized only by hardware, or may be realized by controlling the hardware by software. In the example shown in FIG. 3, the image display device 202 is realized by the computer 10 executing the image display program DPRG. For example, the computer 10 has a processor 20, a memory 30, a hard disk device 40, an input interface 50, an output interface 60, and a drive device 70. The memory 30 and the hard disk device 40 are examples of storage units.

画像表示装置202は、例えば、メモリ30に格納される画像表示プログラムDPRGをプロセッサ20が実行することにより、実現される。例えば、ラベルを画像IMGに付与する処理装置は、画像表示装置202を実現するプロセッサ20、メモリ30、ハードディスク装置40、入力インタフェース50および出力インタフェース60を有する。 The image display device 202 is realized, for example, by the processor 20 executing the image display program DPRG stored in the memory 30. For example, a processing device that assigns a label to an image IMG includes a processor 20, a memory 30, a hard disk device 40, an input interface 50, and an output interface 60 that realize the image display device 202.

画像表示装置202は、図1に示した第1画像特定部220および第2画像特定部230の代わりに第1画像特定部222および第2画像特定部232を有する。さらに、画像表示装置202では、類似度算出部212および登録部250が図1に示した画像表示装置200に追加される。画像表示装置202のその他の構成は、図1に示した画像表示装置200と同一または同様である。 The image display device 202 has a first image identification unit 222 and a second image identification unit 232 in place of the first image identification unit 220 and the second image identification unit 230 shown in FIG. Further, in the image display device 202, the similarity calculation unit 212 and the registration unit 250 are added to the image display device 200 shown in FIG. Other configurations of the image display device 202 are the same as or similar to those of the image display device 200 shown in FIG.

例えば、画像表示装置202は、特徴量算出部210、類似度算出部212、第1画像特定部222、第2画像特定部232、表示部240および登録部250を有する。特徴量算出部210は、図1に示した特徴量算出部210と同一または同様である。例えば、特徴量算出部210は、入力画像IMGiから複数種類の特徴量を算出する。 For example, the image display device 202 has a feature amount calculation unit 210, a similarity calculation unit 212, a first image identification unit 222, a second image identification unit 232, a display unit 240, and a registration unit 250. The feature amount calculation unit 210 is the same as or similar to the feature amount calculation unit 210 shown in FIG. For example, the feature amount calculation unit 210 calculates a plurality of types of feature amounts from the input image IMGi.

類似度算出部212は、既にラベル付けされた画像IMGの特徴量およびラベルが画像IMGに対応付けられて登録される特徴量データベースCDBを参照して、入力画像IMGiと既にラベル付けされた画像IMGとの類似度を算出する。特徴量データベースCDBは、例えば、メモリ30に保持される。また、メモリ30は、画像IMGが登録される画像データベースIDBを保持する。なお、特徴量データベースCDB、画像データベースIDB等は、ハードディスク装置40に保持されてもよい。 The similarity calculation unit 212 refers to the feature amount of the already labeled image IMG and the feature amount database CDB in which the label is registered in association with the image IMG, and refers to the image IMG already labeled as the input image IMGi. Calculate the similarity with. The feature database CDB is stored in, for example, the memory 30. Further, the memory 30 holds an image database IDB in which the image IMG is registered. The feature database CDB, the image database IDB, and the like may be stored in the hard disk device 40.

例えば、類似度算出部212は、入力画像IMGiから算出した特徴量と特徴量データベースCDBに登録された特徴量とを比較して、入力画像IMGiと画像データベースIDBに登録された画像IMG(既にラベル付けされた画像IMG)との類似度を算出する。そして、類似度算出部212は、算出した類似度をメモリ30等に記憶する。 For example, the similarity calculation unit 212 compares the feature amount calculated from the input image IMGi with the feature amount registered in the feature amount database CDB, and compares the feature amount registered in the feature amount database CDB with the input image IMGi and the image IMG registered in the image database IDB (already labeled). The degree of similarity with the attached image IMG) is calculated. Then, the similarity calculation unit 212 stores the calculated similarity in the memory 30 or the like.

第1画像特定部222は、入力画像IMGiと既にラベル付けされた画像IMGとの類似度の算出が類似度算出部212で実行されることを除いて、図1に示した第1画像特定部220と同一または同様である。例えば、第1画像特定部222は、類似度算出部212が算出した類似度に基づいて、画像データベースIDBに登録された画像IMGのうち、入力画像IMGiに特徴が最も類似する第1の画像IMGを画像IMGの種別毎(ラベルの種類毎)に特定する。このように、第1画像特定部222は、画像IMGの種別のうちの第1の種別と対応付けられた画像IMGのうち、入力画像IMGiに最も類似する第1の画像IMGを特定する。類似度算出部212および第1画像特定部222は、画像IMGの特徴量およびラベル等を記憶する記憶部を参照して、第1の種別と対応付けられた画像IMGのうち入力画像IMGiに最も類似する第1の画像IMGを特定する第1画像特定部の一例である。 The first image identification unit 222 is the first image identification unit shown in FIG. 1, except that the similarity calculation unit 212 calculates the similarity between the input image IMGi and the already labeled image IMG. Same as or similar to 220. For example, the first image identification unit 222 is the first image IMG having the characteristics most similar to the input image IMGi among the image IMGs registered in the image database IDB based on the similarity calculated by the similarity calculation unit 212. Is specified for each type of image IMG (for each type of label). In this way, the first image identification unit 222 identifies the first image IMG that is most similar to the input image IMGi among the image IMGs associated with the first type of the image IMGs. The similarity calculation unit 212 and the first image identification unit 222 refer to the storage unit that stores the feature amount and the label of the image IMG, and are the most input image IMG among the image IMGs associated with the first type. This is an example of a first image identification unit that identifies a similar first image IMG.

第2画像特定部232は、図1に示した第2画像特定部230と同一または同様である。例えば、第2画像特定部232は、画像データベースIDBに登録された複数の画像IMGのうち、第1の種別と対応付けられており、特徴空間上において入力画像IMGiおよび第1の画像IMGと所定の位置関係にある第2の画像IMGを特定する。なお、第2画像特定部232の動作の詳細は、図6で説明する。 The second image identification unit 232 is the same as or similar to the second image identification unit 230 shown in FIG. For example, the second image identification unit 232 is associated with the first type among the plurality of image IMGs registered in the image database IDB, and is predetermined to be the input image IMGi and the first image IMG in the feature space. The second image IMG in the positional relationship of is specified. The details of the operation of the second image specifying unit 232 will be described with reference to FIG.

表示部240は、図1に示した表示部240と同一または同様である。例えば、表示部240は、入力画像IMGiと参照画像IMGr(第1の画像IMG、第2の画像IMG)と参照画像IMGrのラベルとを含む情報PINFを、出力インタフェース60を介して表示装置110に出力する。これにより、入力画像IMGi、参照画像IMGr、参照画像IMGrのラベルが表示装置110に表示される。 The display unit 240 is the same as or similar to the display unit 240 shown in FIG. For example, the display unit 240 transmits the information PINF including the input image IMGi, the reference image IMGr (first image IMG, the second image IMG), and the label of the reference image IMGr to the display device 110 via the output interface 60. Output. As a result, the labels of the input image IMGi, the reference image IMGr, and the reference image IMGr are displayed on the display device 110.

このように、画像表示装置202は、撮像装置90で撮像された画像IMG等の入力画像IMGiにラベルを付与する際、入力画像IMGiと一緒に表示装置110に表示する参照画像IMGrを既にラベル付けされた画像IMGから選択する。そして、オペレータは、表示装置110に表示された画像IMGを参照して、入力画像IMGiにラベルを付与する。ラベル付けされた画像IMGの特徴量等の情報は、例えば、特徴量データベースCDBに登録される。 As described above, when the image display device 202 assigns a label to the input image IMG such as the image IMG captured by the image pickup device 90, the image display device 202 has already labeled the reference image IMGr to be displayed on the display device 110 together with the input image IMGi. Select from the created image IMG. Then, the operator refers to the image IMG displayed on the display device 110 and assigns a label to the input image IMGi. Information such as the feature amount of the labeled image IMG is registered in, for example, the feature amount database CDB.

例えば、登録部250は、オペレータによりラベル付けされた入力画像IMGiのラベルを示す情報を、入力インタフェース50を介して受ける。そして、登録部250は、入力画像IMGiの特徴量およびラベルを入力画像IMGiに対応付けて特徴量データベースCDBに登録する。なお、入力画像IMGiは、例えば、画像表示装置202が入力画像IMGiを受ける際に、画像データベースIDBに登録される。入力画像IMGiの画像データベースIDBへの登録は、登録部250により実行されてもよいし、登録部250以外のモジュールにより実行されてもよい。 For example, the registration unit 250 receives information indicating the label of the input image IMGi labeled by the operator via the input interface 50. Then, the registration unit 250 registers the feature amount and the label of the input image IMGi in the feature amount database CDB in association with the input image IMGi. The input image IMGi is registered in the image database IDB, for example, when the image display device 202 receives the input image IMGi. Registration of the input image IMGi in the image database IDB may be executed by the registration unit 250, or may be executed by a module other than the registration unit 250.

なお、画像表示装置202およびコンピュータ10の構成は、図3に示す例に限定されない。例えば、画像表示装置202は、登録部250を除いて定義されてもよい。この場合、例えば、ラベルを画像IMGに付与する処理装置は、登録部250を除いた画像表示装置202、登録部250、メモリ30、ハードディスク装置40、入力インタフェース50および出力インタフェース60を有する。 The configuration of the image display device 202 and the computer 10 is not limited to the example shown in FIG. For example, the image display device 202 may be defined except for the registration unit 250. In this case, for example, the processing device that attaches the label to the image IMG has an image display device 202 excluding the registration unit 250, a registration unit 250, a memory 30, a hard disk device 40, an input interface 50, and an output interface 60.

図4は、図3に示した特徴量データベースCDBの一例を示す。特徴量データベースCDBには、検査対象の物体の特徴を表す特徴量が抽出された画像IMG毎に、ラベル番号、画像ファイル名および特徴量をそれぞれ示すデータが登録される。 FIG. 4 shows an example of the feature database CDB shown in FIG. In the feature amount database CDB, data indicating the label number, the image file name, and the feature amount are registered for each image IMG from which the feature amount representing the feature of the object to be inspected is extracted.

ラベル番号は、画像IMGの種別を示すラベルに対応する番号である。例えば、同一のラベル番号は、同一の種別を示す。画像ファイル名は、特徴量の抽出に使用した画像IMGのファイル名であり、画像データベースIDBに登録される画像IMGのファイル名と対応付けられる。特徴量は、画像ファイル名が示す画像IMGから抽出した物体の特徴を表す特徴量である。 The label number is a number corresponding to a label indicating the type of image IMG. For example, the same label number indicates the same type. The image file name is the file name of the image IMG used for extracting the feature amount, and is associated with the file name of the image IMG registered in the image database IDB. The feature amount is a feature amount representing the feature of the object extracted from the image IMG indicated by the image file name.

図4に示す例では、形状特徴(物体の面積、周囲長等)およびテクスチャ特徴(エッジ密度、輝度ヒストグラム等)等が特徴量として特徴量データベースCDBに登録される。 In the example shown in FIG. 4, shape features (object area, perimeter, etc.), texture features (edge density, luminance histogram, etc.) and the like are registered in the feature database CDB as feature quantities.

面積、周囲長、エッジ密度等は、それぞれ1つの要素を有する1次元の特徴量であり、輝度ヒストグラムは、複数の階級(要素)を有する多次元の特徴量である。画像表示装置202は、多次元の特徴量の各次元のデータ(例えば、度数)を1つの特徴量として扱う。図4に示す例では、輝度ヒストグラムは256次元の特徴量であり、各階級(1、2、3、・・・、256)の値が1つの特徴量として扱われる。なお、輝度ヒストグラムの階級の数は、256に限定されない。また、特徴量データベースCDBに登録される項目は、図4に示す例に限定されない。 The area, perimeter, edge density, etc. are one-dimensional features having one element each, and the luminance histogram is a multidimensional feature having a plurality of classes (elements). The image display device 202 treats the data (for example, frequency) of each dimension of the multidimensional feature amount as one feature amount. In the example shown in FIG. 4, the luminance histogram is a 256-dimensional feature quantity, and the values of each class (1, 2, 3, ..., 256) are treated as one feature quantity. The number of classes in the luminance histogram is not limited to 256. Further, the items registered in the feature amount database CDB are not limited to the example shown in FIG.

図5は、図3に示した類似度算出部212の動作の一例を示す。なお、図5は、特徴量の種類が特徴量1(例えば、エッジ密度)と特徴量2(例えば、面積)の2つの場合の類似度算出部212の動作の一例を示す。この場合、特徴空間は、2次元であり、特徴量1を示す横軸および特徴量2を示す縦軸を有する。図5に示す網掛けの四角形は、種別a(例えば、良品)を示すラベルが既に付与された画像IMGaを示し、三角形は、種別b(例えば、不良品)を示すラベルが既に付与された画像IMGbを示し、星形は、ラベルの付与対象である入力画像IMGiを示す。図5では、入力画像IMGiに付与されるラベルが種別aを示すラベルか種別bを示すラベルかのいずれかである場合を例にして、類似度算出部212の動作を説明する。なお、画像IMGの種別の数および特徴量の種類は2つに限定されない。 FIG. 5 shows an example of the operation of the similarity calculation unit 212 shown in FIG. Note that FIG. 5 shows an example of the operation of the similarity calculation unit 212 when there are two types of feature amounts, feature amount 1 (for example, edge density) and feature amount 2 (for example, area). In this case, the feature space is two-dimensional and has a horizontal axis indicating the feature amount 1 and a vertical axis indicating the feature amount 2. The shaded rectangle shown in FIG. 5 indicates an image IMGa already labeled with a type a (for example, a non-defective product), and the triangle indicates an image already labeled with a type b (for example, a defective product). IMGb is shown, and the star shape indicates the input image IMGi to which the label is attached. In FIG. 5, the operation of the similarity calculation unit 212 will be described by taking as an example the case where the label given to the input image IMGi is either a label indicating the type a or a label indicating the type b. The number of types of image IMG and the type of feature amount are not limited to two.

類似度算出部212は、入力画像IMGiの特徴量(特徴量算出部210が算出した特徴量)と特徴量データベースCDBに登録された特徴量との類似度を、画像データベースIDBに登録された画像IMG(既にラベル付けされた画像IMG)毎に算出する。類似度は、特徴空間上における入力画像IMGiと類似度の算出対象の画像IMG(IMGa、IMGb)との距離DISより表される。 The similarity calculation unit 212 determines the degree of similarity between the feature amount of the input image IMGi (feature amount calculated by the feature amount calculation unit 210) and the feature amount registered in the feature amount database CDB, and the image registered in the image database IDB. Calculated for each IMG (already labeled image IMG). The similarity is represented by the distance DIS between the input image IMGi on the feature space and the image IMG (IMGa, IMGb) for which the similarity is to be calculated.

距離DISは、特徴空間上における入力画像IMGiの座標(o1、o2)および類似度の算出対象の画像IMGの座標(c1、c2)を用いて、式(1)で表される。なお、符号o1は、入力画像IMGiの特徴量1の値であり、符号o2は、入力画像IMGiの特徴量2の値である。同様に、符号c1は、類似度の算出対象の画像IMGの特徴量1の値であり、符号c2は、類似度の算出対象の画像IMGの特徴量2の値である。また、符号^はべき乗を示す。
DIS=√((o1−c1)^2+(o2−c2)^2) ‥(1)
なお、距離DISは、値が小さくなるほど(特徴空間上における画像IMG間の距離が短くなるほど)、類似度が高いことを示す。したがって、複数の画像IMGのうち、入力画像IMGiに最も類似する画像IMGは、距離DISが最小の画像IMGである。
The distance DIS is represented by the equation (1) using the coordinates (o1, o2) of the input image IMG on the feature space and the coordinates (c1, c2) of the image IMG for which the similarity is to be calculated. The reference numeral o1 is the value of the feature amount 1 of the input image IMGi, and the reference numeral o2 is the value of the feature amount 2 of the input image IMGi. Similarly, the reference numeral c1 is the value of the feature amount 1 of the image IMG whose similarity is to be calculated, and the reference numeral c2 is the value of the feature amount 2 of the image IMG whose similarity is to be calculated. The sign ^ indicates a power.
DIS = √ ((o1-c1) ^ 2 + (o2-c2) ^ 2) ‥ (1)
The distance DIS indicates that the smaller the value (the shorter the distance between the image IMGs in the feature space), the higher the similarity. Therefore, among the plurality of image IMGs, the image IMG most similar to the input image IMG is the image IMG having the smallest distance DIS.

また、画像IMGの特徴量の種類がm個(mは3以上の整数)の場合、距離DISは、入力画像IMGiの複数の特徴量の値o1、o2、…、omおよび類似度の算出対象の画像IMGの複数の特徴量の値c1、c2、…、cmを用いて、式(2)で表される。
DIS=√((o1−c1)^2+(o2−c2)^2+…+(om−cm)^2) ‥(2)
なお、この場合、特徴空間上における入力画像IMGiの位置は、座標(o1、o2、…、om)で表され、類似度の算出対象の画像IMGの位置は、座標(c1、c2、…、cm)で表される。このように、類似度算出部212は、特徴量の種類(多次元の特徴量を含む場合は、各次元を1つの種類として扱う)を軸とする特徴空間上における画像IMG間の距離DISを、類似度として算出する。なお、式(1)または式(2)を用いた距離DISの算出では、各特徴量の重要性に応じた重みを特徴量の値(特徴空間における各軸の座標値)に付け、重みを付けた特徴量の値を、式(1)または式(2)に代入してもよい。
Further, when the types of the feature amounts of the image IMG are m (m is an integer of 3 or more), the distance DIS is the calculation target of the values o1, o2, ..., Om and the similarity of the plurality of feature amounts of the input image IMGi. Image IMG is represented by the formula (2) using the values c1, c2, ..., Cm of a plurality of feature quantities.
DIS = √ ((o1-c1) ^ 2 + (o2-c2) ^ 2 + ... + (om-cm) ^ 2) ‥ (2)
In this case, the position of the input image IMG in the feature space is represented by the coordinates (o1, o2, ..., Om), and the position of the image IMG for which the similarity is calculated is the coordinates (c1, c2, ..., Om). It is represented by cm). In this way, the similarity calculation unit 212 calculates the distance DIS between the image IMGs on the feature space centered on the type of feature amount (when a multidimensional feature amount is included, each dimension is treated as one type). , Calculated as similarity. In the calculation of the distance DIS using the formula (1) or the formula (2), a weight corresponding to the importance of each feature is added to the feature value (coordinate value of each axis in the feature space), and the weight is given. The value of the added feature quantity may be substituted into the equation (1) or the equation (2).

図6は、図3に示した第1画像特定部222および第2画像特定部232の動作の一例を示す。なお、図6は、特徴量の種類が特徴量1と特徴量2の2つで、画像IMGの種別の数が種別aと種別bの2つの場合の第1画像特定部222および第2画像特定部232の動作の一例を示す。画像IMGの種別の数および特徴量の種類は2つに限定されない。図6に示す特徴空間は、図5に示した特徴空間と同じである。また、図6に示す網掛けの四角形、三角形、星形の意味は、図5と同じである。また、図6に示すベクトルV(Va1、Va2、Vaj、Vak、Vb1、Vb2、Vbj)は、特徴空間上における入力画像IMGiの位置を始点とした場合の各画像IMGの位置を示す。したがって、ベクトルVの大きさ(|Va1|等)は、特徴空間上における入力画像IMGiと各画像IMGとの距離DISを示す。また、図6に示す角度θ(θa、θb、θj)は、第2の画像IMGを特定する際に探索される画像IMGの位置を示すベクトルVと第1の画像IMGの位置を示すベクトルVとのなす角を示す。 FIG. 6 shows an example of the operation of the first image identification unit 222 and the second image identification unit 232 shown in FIG. In FIG. 6, the first image identification unit 222 and the second image when there are two types of feature amounts, feature amount 1 and feature amount 2, and the number of image IMG types are type a and type b. An example of the operation of the specific unit 232 is shown. The number of types of image IMG and the types of features are not limited to two. The feature space shown in FIG. 6 is the same as the feature space shown in FIG. Further, the meanings of the shaded quadrangles, triangles, and stars shown in FIG. 6 are the same as those in FIG. Further, the vector V (Va1, Va2, Vaj, Vak, Vb1, Vb2, Vbj) shown in FIG. 6 indicates the position of each image IMG when the position of the input image IMGi in the feature space is used as a starting point. Therefore, the magnitude of the vector V (| Va1 |, etc.) indicates the distance DIS between the input image IMGi and each image IMG in the feature space. Further, the angles θ (θa, θb, θj) shown in FIG. 6 are a vector V indicating the position of the image IMG searched when specifying the second image IMG and a vector V indicating the position of the first image IMG. Indicates the angle between and.

図6では、特徴空間上における入力画像IMGiの位置を始点とした場合の第1の画像IMGの位置を示すベクトルVに直交するベクトルVで示される位置関係を所定の位置関係として、第1画像特定部222および第2画像特定部232の動作を説明する。 In FIG. 6, the first image has a predetermined positional relationship represented by a vector V orthogonal to a vector V indicating the position of the first image IMG when the position of the input image IMGi in the feature space is used as a starting point. The operations of the specific unit 222 and the second image specific unit 232 will be described.

処理P1では、第1画像特定部222は、特徴空間に分布する種別aの複数の画像IMGa(図6に示す網掛けの四角形)のうち、入力画像IMGi(図6に示す星形)に最も近い画像IMGa1を、種別aの第1の画像IMGに特定する。図6に示す例では、ベクトルVa1の大きさ|Va1|は、ベクトルVa2の大きさ|Va2|およびベクトルVajの大きさ|Vaj|より小さく、種別aの複数の画像IMGaにそれぞれ対応するベクトルVaの大きさのうち、最小である。すなわち、画像IMGa1は、特徴空間に分布する種別aの複数の画像IMGaのうち、入力画像IMGiに最も類似する画像IMGである。 In the process P1, the first image identification unit 222 is the most input image IMGi (star shape shown in FIG. 6) among the plurality of image IMGa (shaded quadrangle shown in FIG. 6) of type a distributed in the feature space. The close image IMG1 is specified as the first image IMG of type a. In the example shown in FIG. 6, the magnitude | Va1 | of the vector Va1 is smaller than the magnitude | Va2 | of the vector Va2 | and the magnitude | Vaj | of the vector Vaj, and the vector Va corresponding to the plurality of image IMGas of the type a, respectively. Is the smallest of the sizes of. That is, the image IMG1 is an image IMG that is most similar to the input image IMGi among the plurality of image IMGs of type a distributed in the feature space.

次に、処理P2では、第2画像特定部232は、種別aの複数の画像IMGaのうち、第1の画像IMGa1の位置を示すベクトルVa1に直交するベクトルVa2、Vakで示される画像IMGa2、IMGakを抽出する。そして、第2画像特定部232は、ベクトルVa1に直交するベクトルVa2、Vakで示される複数の画像IMGa2、IMGakのうち、入力画像IMGiに最も近い画像IMGa2を、種別aの第2の画像IMGに特定する。ベクトルVa2の大きさ|Va2|は、ベクトルVakの大きさ|Vak|より小さい。すなわち、画像IMGa2は、画像IMGakより、入力画像IMGiに特徴が類似する。 Next, in the process P2, the second image identification unit 232 includes the vectors Va2 orthogonal to the vector Va1 indicating the position of the first image IMGa1 among the plurality of image IMGa of the type a, and the images IMGa2 and IMGak represented by Vak. Is extracted. Then, the second image identification unit 232 sets the image IMGa2 closest to the input image IMGi as the second image IMG of the type a among the vectors Va2 orthogonal to the vector Va1, the plurality of images IMGa2 represented by the Vak, and the IMGak. Identify. The magnitude | Va2 | of the vector Va2 is smaller than the magnitude | Vak | of the vector Vak. That is, the image IMGa2 has more similar characteristics to the input image IMGi than the image IMGak.

このように、第2画像特定部232は、種別aの複数の画像IMGaのうち、第1の画像IMGa1の位置を示すベクトルVa1とのなす角が90度のベクトルVa2、Vakで示される画像IMGa2、IMGakを抽出する。そして、第2画像特定部232は、抽出した複数の画像IMGa2、IMGakのうち、入力画像IMGiに最も類似する画像IMGa2を種別aの第2の画像IMGに特定する。 As described above, the second image identification unit 232 is formed by the vector Va2 having an angle of 90 degrees with the vector Va1 indicating the position of the first image IMGa1 among the plurality of image IMGas of the type a, and the image IMGa2 represented by the Vak. , IMGak is extracted. Then, the second image identification unit 232 identifies the image IMGa2 most similar to the input image IMGi among the extracted plurality of images IMGa2 and IMGak as the second image IMG of the type a.

ここで、2つのベクトルVのなす角が90度か否か、すなわち、2つのベクトルVが直交するか否かは、2つのベクトルVの内積が0になるか否かを判定することにより判定される。図6に示す例では、ベクトルVa1、Va2のなす角θaおよびベクトルVa1、Vakのなす角θaが90度であるため、ベクトルVa1、Va2の内積Va1・Va2およびベクトルVa1、Vakの内積Va1・Vakが0である。このため、第2画像特定部232は、上述したように、第1の画像IMGa1の位置を示すベクトルVa1に直交するベクトルVaで示される画像IMGとして、画像IMGa2、IMGakを抽出する。なお、2つのベクトルVの内積は、後述する式(5)を用いて算出される。 Here, whether or not the angle formed by the two vectors V is 90 degrees, that is, whether or not the two vectors V are orthogonal to each other is determined by determining whether or not the inner product of the two vectors V becomes 0. Will be done. In the example shown in FIG. 6, since the angle θa formed by the vectors Va1 and Va2 and the angle θa formed by the vectors Va1 and Vak are 90 degrees, the inner products Va1 and Va2 of the vectors Va1 and Va2 and the inner products Va1 and Vak of the vectors Va1 and Vak. Is 0. Therefore, as described above, the second image identification unit 232 extracts the images IMGa2 and IMGak as the image IMG represented by the vector Va orthogonal to the vector Va1 indicating the position of the first image IMGa1. The inner product of the two vectors V is calculated using the equation (5) described later.

このように、処理P2により、第2画像特定部232は、種別aに対応付けられた画像IMGaのうち、特徴空間上において入力画像IMGiおよび第1の画像IMGa1と所定の位置関係にある画像IMGa2を、第2の画像IMGに特定する。図6に示す例では、画像IMGajは、画像IMGa2に比べて入力画像IMGiに類似するが、入力画像IMGiおよび第1の画像IMGa1との位置関係が所定の位置関係を満たしていないため、参照画像IMGrとして選択されない。 As described above, by the process P2, the second image identification unit 232 has a predetermined positional relationship with the input image IMGi and the first image IMGa1 in the feature space among the image IMGa associated with the type a. Is specified as the second image IMG. In the example shown in FIG. 6, the image IMAGaj is similar to the input image IMGi as compared with the image IMGa2, but the positional relationship between the input image IMGi and the first image IMGa1 does not satisfy a predetermined positional relationship, so that the reference image Not selected as IMGr.

第1の画像IMGa1および第2の画像IMGa2を含む参照画像IMGrが、特徴量の種類と同じ数(特徴空間の軸の数)だけ選択されたため、種別aの画像IMGaに対する参照画像IMGrの探索は、終了する。次に、処理P3、P4において、種別bの画像IMGbに対する参照画像IMGrの探索が、種別aの画像IMGaに対する参照画像IMGrの探索と同様に実行される。 Since the reference image IMGr including the first image IMGa1 and the second image IMGa2 is selected in the same number as the type of the feature amount (the number of axes in the feature space), the search for the reference image IMGr for the image IMGa of the type a is performed. ,finish. Next, in the processes P3 and P4, the search for the reference image IMGr for the image IMGb of the type b is executed in the same manner as the search for the reference image IMGr for the image IMGa of the type a.

処理P3では、第1画像特定部222は、特徴空間に分布する種別bの複数の画像IMGa(図6に示す三角形)のうち、入力画像IMGi(図6に示す星形)に最も近い画像IMGb1を、種別bの第1の画像IMGに特定する。 In the process P3, the first image identification unit 222 is the image IMGb1 closest to the input image IMGi (star shape shown in FIG. 6) among the plurality of image IMGa (triangles shown in FIG. 6) of type b distributed in the feature space. Is specified as the first image IMG of type b.

次に、処理P4では、第2画像特定部232は、種別bの複数の画像IMGbのうち、第1の画像IMGb1の位置を示すベクトルVb1に直交するベクトルVb2で示される画像IMGb2を、種別bの第2の画像IMGに特定する。 Next, in the process P4, the second image identification unit 232 selects the image IMGb2 represented by the vector Vb2 orthogonal to the vector Vb1 indicating the position of the first image IMGb1 among the plurality of image IMGb of the type b. Specific to the second image IMG of.

図6に示す例では、ベクトルVb1、Vb2のなす角θbが90度であるため、ベクトルVb1、Vb2の内積Vb1・Vb2は、0である。このため、第2画像特定部232は、上述したように、第1の画像IMGb1の位置を示すベクトルVb1に直交するベクトルVb2で示される画像IMGb2を、第2の画像IMGに特定する。なお、画像IMGbjの位置を示すベクトルVbjとベクトルVb1とのなす角θjが90度でないため、ベクトルVb1、Vbjの内積Vb1・Vbjは0でない。すなわち、入力画像IMGiおよび第1の画像IMGb1と画像IMGbjとの位置関係は所定の位置関係を満たさない。このため、画像IMGbjは、画像IMGb2に比べて入力画像IMGiに類似するが、参照画像IMGrとして選択されない。 In the example shown in FIG. 6, since the angle θb formed by the vectors Vb1 and Vb2 is 90 degrees, the inner products Vb1 and Vb2 of the vectors Vb1 and Vb2 are 0. Therefore, as described above, the second image identification unit 232 identifies the image IMGb2 represented by the vector Vb2 orthogonal to the vector Vb1 indicating the position of the first image IMGb1 as the second image IMG. Since the angle θj formed by the vector Vbj indicating the position of the image IMGbj and the vector Vb1 is not 90 degrees, the inner product Vb1 and Vbj of the vectors Vb1 and Vbj are not 0. That is, the positional relationship between the input image IMGi and the first image IMGb1 and the image IMGbj does not satisfy a predetermined positional relationship. Therefore, the image IMGbj is similar to the input image IMGi as compared to the image IMGb2, but is not selected as the reference image IMGr.

第1の画像IMGb1および第2の画像IMGb2を含む参照画像IMGrが、特徴量の種類と同じ数(特徴空間の軸の数)だけ選択されたため、種別bの画像IMGbに対する参照画像IMGrの探索は、終了する。また、全ての種別に対して参照画像IMGrが選択されたため、第1画像特定部222および第2画像特定部232による参照画像IMGrの探索は、終了する。 Since the reference image IMGr including the first image IMGb1 and the second image IMGb2 is selected in the same number as the type of the feature amount (the number of axes in the feature space), the search for the reference image IMGr for the image IMGb of the type b is performed. ,finish. Further, since the reference image IMGr is selected for all types, the search for the reference image IMGr by the first image identification unit 222 and the second image identification unit 232 ends.

このように、入力画像IMGiに付与するラベルを、種別aを示すラベルか種別bを示すラベルかのいずれかに決定する際に、図5および図6に示す動作により、入力画像IMGiと一緒に表示装置110に表示する参照画像IMGrが選択される。図6に示す動作では、画像IMGの種別毎に、入力画像IMGiに最も類似する画像IMGを第1の画像IMGに特定し、第1の画像IMGの位置を示すベクトルVに直交するベクトルVで示される画像IMGを第2の画像IMGに特定する。これにより、第1の画像IMGに類似する画像IMGを第2の画像IMGに特定する場合に比べて、複数の参照画像IMGr(第1の画像IMG、第2の画像IMG)間で入力画像IMGiに類似する特徴量のバリエーションを増加させることができる。この結果、図6に示す動作では、第1の画像IMGに類似する画像IMGを第2の画像IMGに特定する場合に比べて、オペレータがラベルを入力画像IMGiに付与するための有益な情報を提供できる。 As described above, when the label to be given to the input image IMGi is determined to be either the label indicating the type a or the label indicating the type b, the operation shown in FIGS. 5 and 6 is performed together with the input image IMGi. The reference image IMGr to be displayed on the display device 110 is selected. In the operation shown in FIG. 6, for each type of image IMG, the image IMG most similar to the input image IMG is specified as the first image IMG, and the vector V orthogonal to the vector V indicating the position of the first image IMG is used. The image IMG shown is identified as a second image IMG. As a result, as compared with the case where the image IMG similar to the first image IMG is specified as the second image IMG, the input image IMGi is obtained between a plurality of reference image IMGs (first image IMG, second image IMG). It is possible to increase the variation of the feature amount similar to. As a result, in the operation shown in FIG. 6, useful information for the operator to assign a label to the input image IMGi is provided as compared with the case where the image IMG similar to the first image IMG is specified as the second image IMG. Can be provided.

なお、第1画像特定部222および第2画像特定部232の動作は、図6に示す例に限定されない。例えば、第2の画像IMGを特定する際の所定の位置関係は、第1の画像IMGの位置を示すベクトルVとのなす角が90度を含む所定の第1の範囲内のベクトルVで示される位置関係でもよい。第1の範囲は、例えば、90度に対して±45度(90度と0度の中間の角度)の範囲でもよいし、ほぼ90度と見なせる範囲でもよい。 The operations of the first image identification unit 222 and the second image identification unit 232 are not limited to the example shown in FIG. For example, the predetermined positional relationship when specifying the second image IMG is indicated by the vector V within a predetermined first range including 90 degrees at an angle formed by the vector V indicating the position of the first image IMG. It may be a positional relationship. The first range may be, for example, a range of ± 45 degrees (an angle between 90 degrees and 0 degrees) with respect to 90 degrees, or a range that can be regarded as approximately 90 degrees.

例えば、第1の画像IMGの位置を示すベクトルVをVfとし、判定対象の画像IMGの位置を示すベクトルVをVtとした場合、2つのベクトルVf、Vtのなす角θが90度±de1の範囲内か否かは、下記の式(3)および式(4)に基づいて判定される。
cosθ=(Vf・Vt)/(|Vf|×|Vt|) ‥(3)
cos(90+de1)≦cosθ≦cos(90−de1) ‥(4)
式(3)のVf・Vtは、ベクトルVf、Vtの内積であり、特徴空間上における入力画像IMGiの座標(o1、o2)、第1の画像IMGの座標(f1、f2)および判定対象の画像IMGの座標(t1、t2)を用いて、式(5)で表される。また、ベクトルVf、Vtのそれぞれの大きさ|Vf|、|Vt|は、特徴空間上における入力画像IMGiとの各画像IMGとの距離DISであるため、図5で説明した式(1)を用いて算出される。
Vf・Vt=(f1−o1)×(t1−o1)+(f2−o2)×(t2−o2) ‥(5)
式(3)および式(5)等を用いて算出したcosθが式(4)を満たす場合、第2画像特定部232は、第1の画像IMGの位置を示すベクトルVfと判定対象の画像IMGの位置を示すベクトルVtとのなす角が90度±de1の範囲内であると判定する。すなわち、第2画像特定部232は、入力画像IMGiおよび第1の画像IMGと、ベクトルVtで示される画像IMGとの位置関係が所定の位置関係を満たすと判定する。
For example, when the vector V indicating the position of the first image IMG is Vf and the vector V indicating the position of the image IMG to be determined is Vt, the angle θ formed by the two vectors Vf and Vt is 90 degrees ± de1. Whether or not it is within the range is determined based on the following equations (3) and (4).
cosθ = (Vf · Vt) / (| Vf | × | Vt |) (3)
cos (90 + de1) ≤ cos θ ≤ cos (90-de1) (4)
Vf · Vt of the equation (3) is an inner product of the vectors Vf and Vt, and is the coordinates (o1, o2) of the input image IMG on the feature space, the coordinates (f1, f2) of the first image IMG, and the determination target. It is represented by the equation (5) using the coordinates (t1, t2) of the image IMG. Further, since the respective magnitudes | Vf | and | Vt | of the vectors Vf and Vt are the distance DISs between the input image IMGi and each image IMG in the feature space, the equation (1) described in FIG. 5 is used. Calculated using.
Vf · Vt = (f1-o1) × (t1-o1) + (f2-o2) × (t2-o2) ‥ (5)
When cosθ calculated using the equations (3) and (5) and the like satisfies the equation (4), the second image identification unit 232 has a vector Vf indicating the position of the first image IMG and the image IMG to be determined. It is determined that the angle formed by the vector Vt indicating the position of is within the range of 90 degrees ± de1. That is, the second image identification unit 232 determines that the positional relationship between the input image IMGi and the first image IMG and the image IMG represented by the vector Vt satisfies a predetermined positional relationship.

また、画像IMGの特徴量の種類がm個(mは3以上の整数)の場合、ベクトルVf、Vtの内積Vf・Vtは、式(5)を特徴量の種類の数(m個)に応じて拡張した式(6)で表される。また、ベクトルVf、Vtのそれぞれの大きさ|Vf|、|Vt|は、図5で説明した式(2)を用いて算出される。
Vf・Vt=(f1−o1)×(t1−o1)+…+(fm−om)×(tm−om) ‥(6)
なお、式(6)の値o1、…、omは、入力画像IMGiのm種類の特徴量のそれぞれの値を示し、値f1、…、fmは、第1の画像IMGのm種類の特徴量のそれぞれの値を示す。また、式(6)の値t1、…、tmは、判定対象の画像IMGのm種類の特徴量のそれぞれの値を示す。この場合、特徴空間上における入力画像IMGiの位置は、座標(o1、…、om)で表され、第1の画像IMGの位置は、座標(f1、…、fm)で表され、判定対象の画像IMGの位置は、座標(t1、…、tm)で表される。
Further, when the types of the feature amount of the image IMG are m (m is an integer of 3 or more), the inner product Vf · Vt of the vectors Vf and Vt is the number of types of the feature amount (m) in the equation (5). It is represented by the equation (6) extended accordingly. Further, the respective magnitudes | Vf | and | Vt | of the vectors Vf and Vt are calculated using the equation (2) described with reference to FIG.
Vf · Vt = (f1-o1) × (t1-o1) +… + (fm-om) × (tm-om) ‥ (6)
The values o1, ..., And om in the equation (6) indicate the respective values of the m types of features of the input image IMG, and the values f1, ..., fm are the features of m types of the first image IMG. Each value of is shown. Further, the values t1, ..., And tm of the equation (6) indicate the respective values of the m types of feature quantities of the image IMG to be determined. In this case, the position of the input image IMGi in the feature space is represented by the coordinates (o1, ..., om), and the position of the first image IMG is represented by the coordinates (f1, ..., fm), and is the judgment target. The position of the image IMG is represented by coordinates (t1, ..., Tm).

図7は、図3に示した表示部240の動作の一例を示す。なお、図7は、画像IMGの種別が4つの場合の表示部240の動作の一例を示す。画像IMGの種別の数は、4つに限定されない。 FIG. 7 shows an example of the operation of the display unit 240 shown in FIG. Note that FIG. 7 shows an example of the operation of the display unit 240 when there are four types of image IMGs. The number of image IMG types is not limited to four.

表示部240は、第1画像特定部222および第2画像特定部232により特定された参照画像IMGr(第1の画像IMG、第2の画像IMG)を、表示装置110に表示する。例えば、表示部240は、表示画面の中心に入力画像IMGiを配置し、入力画像IMGiの周囲に参照画像IMGrをラベル毎にまとめて表示する。これにより、オペレータは、入力画像IMGiに付与しようとしているラベル以外のラベルが付与された画像IMG群の中に類似した画像IMGがないかを容易に確認できる。この結果、画像IMGにラベルを付与する際に、過去のラベル付け結果(既にラベル付けされた画像IMGのラベル付け結果)との矛盾の発生を抑止することができる。 The display unit 240 displays the reference image IMGr (first image IMG, second image IMG) specified by the first image identification unit 222 and the second image identification unit 232 on the display device 110. For example, the display unit 240 arranges the input image IMGi in the center of the display screen, and displays the reference image IMGr together for each label around the input image IMGi. As a result, the operator can easily confirm whether or not there is a similar image IMG in the image IMG group to which the label other than the label to be given to the input image IMGi is attached. As a result, when labeling the image IMG, it is possible to suppress the occurrence of a contradiction with the past labeling result (labeling result of the already labeled image IMG).

図8は、図3に示した画像表示装置202の動作の一例を示す。図8に示す動作は、コンピュータ10により実行される画像表示方法の一態様である。また、図8に示す動作をコンピュータ10に実行させるためのプログラムは、画像表示プログラムの一態様である。なお、図8に示す動作は、ハードウェアのみで実現されてもよい。図2で説明した動作と同一または同様の動作については、詳細な説明を省略する。図8に示す動作では、所定の位置関係は、特徴空間上における入力画像IMGiの位置を始点とした場合の第1の画像IMGの位置を示すベクトルVに直交するベクトルVで示される位置関係である。 FIG. 8 shows an example of the operation of the image display device 202 shown in FIG. The operation shown in FIG. 8 is an aspect of the image display method executed by the computer 10. Further, the program for causing the computer 10 to execute the operation shown in FIG. 8 is one aspect of the image display program. The operation shown in FIG. 8 may be realized only by hardware. Detailed description of the same or similar operation as that described with reference to FIG. 2 will be omitted. In the operation shown in FIG. 8, the predetermined positional relationship is the positional relationship indicated by the vector V orthogonal to the vector V indicating the position of the first image IMG when the position of the input image IMGi in the feature space is used as the starting point. be.

ステップS10では、画像表示装置202は、ラベル付与の対象となる入力画像IMGiが存在するか否かを判定する。例えば、画像表示装置202は、入力画像IMGiを撮像装置90から受信したか否かを判定する。入力画像IMGiが存在する場合、画像表示装置202の動作は、ステップS100に移る。一方、入力画像IMGiが存在しない場合、画像表示装置202の動作は、ステップS10に戻る。 In step S10, the image display device 202 determines whether or not the input image IMGi to be labeled exists. For example, the image display device 202 determines whether or not the input image IMGi has been received from the image pickup device 90. When the input image IMGi is present, the operation of the image display device 202 proceeds to step S100. On the other hand, when the input image IMGi does not exist, the operation of the image display device 202 returns to step S10.

ステップS100では、特徴量算出部210は、図1で説明したように、入力画像IMGiの特徴量を算出する。これにより、入力画像IMGiは、複数種類の特徴量のそれぞれに対応する複数の軸を有する特徴空間上に配置される。 In step S100, the feature amount calculation unit 210 calculates the feature amount of the input image IMGi as described with reference to FIG. As a result, the input image IMGi is arranged on the feature space having a plurality of axes corresponding to each of the plurality of types of feature quantities.

次に、ステップS200では、類似度算出部212は、図5で説明したように、入力画像IMGiの特徴量と特徴空間に分布する他の画像IMGの特徴量とを比較して、入力画像IMGiと他の画像IMGとの類似度を他の画像IMG毎に算出する。 Next, in step S200, the similarity calculation unit 212 compares the feature amount of the input image IMGi with the feature amount of another image IMG distributed in the feature space, and compares the feature amount of the input image IMGi with the feature amount of the other image IMG distributed in the feature space, as described in FIG. And the similarity with other image IMGs are calculated for each other image IMG.

次に、ステップS310では、第1画像特定部222は、ラベル番号を示す変数Lを0に設定する(L=0)。 Next, in step S310, the first image identification unit 222 sets the variable L indicating the label number to 0 (L = 0).

次に、ステップS320では、第1画像特定部222は、変数Lを1増加させる(L=L+1)。 Next, in step S320, the first image identification unit 222 increments the variable L by 1 (L = L + 1).

次に、ステップS330では、第1画像特定部222は、ラベル番号Lの画像IMGを、探索対象に設定する。これにより、ステップS410、S510において、画像IMGの複数の種別のうち、ラベル番号Lが示す種別の画像IMGから、参照画像IMGr(第1の画像IMG、第2の画像IMG)が特定される。すなわち、ステップS330では、第1画像特定部222は、画像IMGの複数の種別のうち、ラベル番号Lが示す種別を第1の種別に設定する。 Next, in step S330, the first image identification unit 222 sets the image IMG with the label number L as the search target. As a result, in steps S410 and S510, the reference image IMGr (first image IMG, second image IMG) is specified from the image IMG of the type indicated by the label number L among the plurality of types of the image IMG. That is, in step S330, the first image identification unit 222 sets the type indicated by the label number L as the first type among the plurality of types of the image IMG.

次に、ステップS410では、第1画像特定部222は、変数Nを1に設定する(N=1)。さらに、図6で説明したように、第1画像特定部222は、ステップS330で設定した探索対象の画像IMG(ラベル番号Lが示す種別の画像IMG)のうち、類似度が最大の画像IMGを1個目の参照画像IMGr(第1の画像IMG)に特定する。類似度が最大の画像IMGは、式(1)または式(2)で表される距離DISが最小の画像IMGである。ステップS410の処理により、1個目の参照画像IMGrが特定された後、画像表示装置202の動作は、ステップS510に移る。 Next, in step S410, the first image identification unit 222 sets the variable N to 1 (N = 1). Further, as described with reference to FIG. 6, the first image identification unit 222 selects the image IMG having the maximum similarity among the image IMGs to be searched (the type of image IMG indicated by the label number L) set in step S330. It is specified as the first reference image IMGr (first image IMG). The image IMG having the highest degree of similarity is the image IMG having the smallest distance DIS represented by the formula (1) or the formula (2). After the first reference image IMGr is identified by the process of step S410, the operation of the image display device 202 shifts to step S510.

ステップS510では、第2画像特定部232は、ステップS330で設定された探索対象の画像IMGから、特徴空間上におけるN個の参照画像IMGrの位置をそれぞれ示すN個のベクトルVの全てに直交するベクトルVで示される画像IMGを抽出する。そして、第2画像特定部232は、抽出した画像IMGのうち、類似度が最大の画像IMGを(N+1)個目の参照画像IMGrに特定する。すなわち、第2画像特定部232は、探索対象の画像IMGで、N個の参照画像IMGrの位置をそれぞれ示すN個のベクトルVの全てに直交するベクトルVで示される画像IMGのうち、類似度が最大の画像IMGを(N+1)個目の参照画像IMGrに特定する。 In step S510, the second image identification unit 232 is orthogonal to all of the N vectors V indicating the positions of the N reference images IMGr in the feature space from the image IMG to be searched set in step S330. The image IMG represented by the vector V is extracted. Then, the second image identification unit 232 identifies the image IMG having the maximum similarity among the extracted image IMGs as the (N + 1) th reference image IMGr. That is, the second image identification unit 232 is the image IMG to be searched, and the similarity among the image IMGs represented by the vectors V orthogonal to all of the N vectors V indicating the positions of the N reference image IMGrs. Specifies the largest image IMG as the (N + 1) th reference image IMGr.

例えば、変数Nが1の場合、既に特定されたN個の参照画像IMGrは、ステップS410で特定された1個目の参照画像IMGr(第1の画像IMG)である。また、(N+1)個目の参照画像IMGr、すなわち、2個目の参照画像IMGrは、1個目の第2の画像IMGである。この場合、第2画像特定部232は、図6で説明したように、探索対象の画像IMGのうち、第1の画像IMGの位置を示すベクトルVに直交するベクトルVで示される画像IMGから、類似度が最大の画像IMGを1個目の第2の画像IMGに特定する。 For example, when the variable N is 1, the N reference images IMGr already specified are the first reference image IMGr (first image IMG) specified in step S410. Further, the (N + 1) th reference image IMGr, that is, the second reference image IMGr is the first second image IMG. In this case, as described with reference to FIG. 6, the second image identification unit 232 is derived from the image IMG to be searched, which is represented by a vector V orthogonal to the vector V indicating the position of the first image IMG. The image IMG with the highest similarity is specified as the first second image IMG.

また、後述するステップS520、S530により、変数Nが2に更新され、ステップS510の処理が再度実行される場合、既に特定されたN個(2個)の参照画像IMGrの1つは、ステップS410で特定された第1の画像IMGである。そして、既に特定されたN個(2個)の参照画像IMGrの残りの1つは、1回目のステップS510で特定された1個目の第2の画像IMGである。なお、(N+1)個目の参照画像IMGr、すなわち、3個目の参照画像IMGrは、2個目の第2の画像IMGである。この場合、第2画像特定部232は、第1の画像IMGの位置を示すベクトルVに直交し、かつ1個目の第2の画像IMG(既に特定した第2の画像IMG)の位置を示すベクトルVに直交するベクトルVで示される画像IMGを探索対象の画像IMGから抽出する。そして、第2画像特定部232は、探索対象の画像IMGから抽出した画像IMGのうち、類似度が最大の画像IMGを、2個目の第2の画像IMGに特定する。 Further, when the variable N is updated to 2 by steps S520 and S530 described later and the process of step S510 is executed again, one of the already identified N (two) reference images IMGr is step S410. The first image IMG identified in. Then, the remaining one of the N (2) reference image IMGs already identified is the first second image IMG identified in the first step S510. The (N + 1) th reference image IMGr, that is, the third reference image IMGr is the second second image IMG. In this case, the second image identification unit 232 is orthogonal to the vector V indicating the position of the first image IMG and indicates the position of the first second image IMG (the second image IMG already specified). The image IMG represented by the vector V orthogonal to the vector V is extracted from the image IMG to be searched. Then, the second image identification unit 232 identifies the image IMG having the maximum similarity among the image IMGs extracted from the image IMGs to be searched as the second second image IMG.

なお、第2画像特定部232は、N個の参照画像IMGrの位置をそれぞれ示すN個のベクトルVの全てに直交するベクトルVで示される画像IMGを抽出するまで、探索対象の画像IMGから、類似度の高い順に画像IMGを抽出してもよい。この場合、第2画像特定部232は、例えば、最後に抽出した画像IMGを(N+1)個目の参照画像IMGrに特定する。 The second image identification unit 232 uses the image IMG to be searched until the image IMG represented by the vector V orthogonal to all of the N vectors V indicating the positions of the N reference images IMGr is extracted. Image IMGs may be extracted in descending order of similarity. In this case, the second image identification unit 232 identifies, for example, the last extracted image IMG as the (N + 1) th reference image IMGr.

ステップS510の処理により、(N+1)個目の参照画像IMGrが特定された後、画像表示装置202の動作は、ステップS520に移る。なお、例えば、所定の位置関係を満たす画像IMGが探索対象の画像IMGの中に存在しない場合、すなわち、第2の画像IMGが特定されない場合、図示していないが、画像表示装置202の動作は、ステップS610に移る。 After the (N + 1) th reference image IMGr is specified by the process of step S510, the operation of the image display device 202 shifts to step S520. Note that, for example, when an image IMG satisfying a predetermined positional relationship does not exist in the image IMG to be searched, that is, when the second image IMG is not specified, the operation of the image display device 202 is not shown, although it is not shown. , Step S610.

ステップS520では、第2画像特定部232は、変数Nを1増加させる(N=N+1)。 In step S520, the second image identification unit 232 increments the variable N by 1 (N = N + 1).

次に、ステップS530では、第2画像特定部232は、変数Nが所定値以上か否かを判定する。所定値は、例えば、特徴空間の軸の数、すなわち、特徴量の種類の数と同じ値に設定される。なお、所定値は、特徴空間の軸の数より小さい値でもよい。変数Nが所定値以上である場合、画像表示装置202の動作は、ステップS610に移る。 Next, in step S530, the second image identification unit 232 determines whether or not the variable N is equal to or greater than a predetermined value. The predetermined value is set to, for example, the same value as the number of axes in the feature space, that is, the number of types of feature quantities. The predetermined value may be smaller than the number of axes in the feature space. When the variable N is equal to or greater than a predetermined value, the operation of the image display device 202 proceeds to step S610.

一方、変数Nが所定値未満である場合、画像表示装置202の動作は、ステップS510に戻る。これにより、ステップS510の処理が繰り返され、ラベル番号L(Lは、ステップS320で設定された値)の第2の画像IMGが複数特定される。 On the other hand, when the variable N is less than a predetermined value, the operation of the image display device 202 returns to step S510. As a result, the process of step S510 is repeated, and a plurality of second image IMGs having the label number L (L is a value set in step S320) are specified.

ステップS610では、画像表示装置202は、全てのラベルを探索したか否かを判定する。例えば、画像表示装置202は、特徴量データベースCDBに登録されたラベル番号の最大値と変数Lの値とが一致した場合、全てのラベルを探索したと判定する。全てのラベルを探索した場合、画像表示装置202の動作は、ステップS710に移る。一方、探索されていないラベルが存在する場合、画像表示装置202の動作は、ステップS320に戻る。 In step S610, the image display device 202 determines whether or not all the labels have been searched. For example, when the maximum value of the label number registered in the feature amount database CDB and the value of the variable L match, the image display device 202 determines that all the labels have been searched. When all the labels have been searched, the operation of the image display device 202 proceeds to step S710. On the other hand, if there is a label that has not been searched, the operation of the image display device 202 returns to step S320.

ステップS710では、表示部240は、図7で説明したように、入力画像IMGiと各ラベルの参照画像IMGrとを表示装置110に表示する。すなわち、表示部240は、第1の種別、第1の画像IMG、第2の画像IMGおよび入力画像IMGiを含む画面を表示装置110に表示する。これにより、例えば、オペレータは、表示装置110に表示された画像IMGを参照して、入力画像IMGiにラベルを付与する。 In step S710, the display unit 240 displays the input image IMGi and the reference image IMGr of each label on the display device 110 as described with reference to FIG. 7. That is, the display unit 240 displays a screen including the first type, the first image IMG, the second image IMG, and the input image IMGi on the display device 110. Thereby, for example, the operator refers to the image IMG displayed on the display device 110 and assigns a label to the input image IMGi.

次に、ステップS800では、画像表示装置202は、入力画像IMGiにラベルが付与されたか否かを判定する。例えば、オペレータが入力画像IMGiにラベルを付与した場合、画像表示装置202は、オペレータによりラベル付けされた入力画像IMGiのラベルを示す情報を、入力インタフェース50を介して受ける。この場合、画像表示装置202は、入力画像IMGiにラベルが付与されたと判定する。入力画像IMGiにラベルが付与された場合、画像表示装置202の動作は、ステップS900に移る。一方、入力画像IMGiにラベルが付与されていない場合、画像表示装置202の動作は、ステップS800に戻る。例えば、画像表示装置202は、入力画像IMGiのラベルを示す情報を受信するまで、ステップS900の処理の実行を待機する。 Next, in step S800, the image display device 202 determines whether or not the input image IMGi is labeled. For example, when the operator assigns a label to the input image IMGi, the image display device 202 receives information indicating the label of the input image IMGi labeled by the operator via the input interface 50. In this case, the image display device 202 determines that the input image IMGi is labeled. When the input image IMGi is labeled, the operation of the image display device 202 proceeds to step S900. On the other hand, when the input image IMGi is not labeled, the operation of the image display device 202 returns to step S800. For example, the image display device 202 waits for the execution of the process of step S900 until it receives the information indicating the label of the input image IMGi.

ステップS900では、登録部250は、特徴量データベースCDBの内容を更新する。例えば、登録部250は、入力インタフェース50から受ける入力画像IMGiのラベルを示す情報(例えば、ラベル番号)とステップS100で算出した入力画像IMGiの特徴量とを入力画像IMGiに対応付けて特徴量データベースCDBに登録する。これにより、1つの入力画像IMGiにラベルを付与する際の画像表示装置202の動作は終了する。したがって、特徴量データベースCDBの内容を更新した後、画像表示装置202の動作は、ステップS10に戻る。 In step S900, the registration unit 250 updates the contents of the feature database CDB. For example, the registration unit 250 associates the information indicating the label of the input image IMGi received from the input interface 50 (for example, the label number) with the feature amount of the input image IMGi calculated in step S100 with the input image IMGi to provide a feature amount database. Register with the CDB. As a result, the operation of the image display device 202 when assigning a label to one input image IMGi is completed. Therefore, after updating the contents of the feature amount database CDB, the operation of the image display device 202 returns to step S10.

なお、画像表示装置202の動作は、図8に示す例に限定されない。例えば、ステップS510では、探索対象の画像IMGのうち、特徴空間上におけるN個の参照画像IMGrの位置をそれぞれ示すN個のベクトルVの各々とのなす角が全て第1の範囲内であるベクトルVで示される画像IMGが抽出されてもよい。すなわち、第2画像特定部232は、探索対象の画像IMGのうち、特徴空間上におけるN個の参照画像IMGrの位置をそれぞれ示すN個のベクトルVの各々とのなす角が全て第1の範囲内であるベクトルVで示される画像IMGを抽出してもよい。そして、第2画像特定部232は、抽出した画像IMGのうち、類似度が最大の画像IMGを(N+1)個目の参照画像IMGrに特定してもよい。第1の範囲は、例えば、図6で説明したように、90度に対して±45度の範囲でもよいし、ほぼ90度と見なせる範囲でもよい。 The operation of the image display device 202 is not limited to the example shown in FIG. For example, in step S510, among the image IMGs to be searched, the angles formed by each of the N vectors V indicating the positions of the N reference images IMGr in the feature space are all within the first range. The image IMG represented by V may be extracted. That is, in the second image identification unit 232, the angles formed by each of the N vectors V indicating the positions of the N reference images IMGr in the feature space of the image IMGs to be searched are all in the first range. The image IMG represented by the vector V inside may be extracted. Then, the second image identification unit 232 may specify the image IMG having the maximum similarity among the extracted image IMGs as the (N + 1) th reference image IMGr. The first range may be, for example, a range of ± 45 degrees with respect to 90 degrees, or a range that can be regarded as approximately 90 degrees, as described with reference to FIG.

また、第2画像特定部232は、特徴空間上におけるN個の参照画像IMGrの位置をそれぞれ示すN個のベクトルVの全てに直交するベクトルVで示される画像IMGが探索対象の画像IMGに存在しない場合に第1の範囲を用いて画像IMGを抽出してもよい。 Further, in the second image identification unit 232, the image IMG represented by the vector V orthogonal to all of the N vectors V indicating the positions of the N reference images IMGr in the feature space exists in the image IMG to be searched. If not, the image IMG may be extracted using the first range.

また、画像表示プログラムDPRGは、ステップS10からステップS710までの一連の処理をコンピュータ10に実行させるためのプログラムでもよい。この場合、画像表示プログラムDPRGとは別のプログラムがステップS800からステップS900までの一連の処理をコンピュータ10に実行させてもよい。 Further, the image display program DPRG may be a program for causing the computer 10 to execute a series of processes from step S10 to step S710. In this case, a program other than the image display program DPRG may cause the computer 10 to execute a series of processes from step S800 to step S900.

以上、図3から図8に示す実施形態においても、図1および図2に示した実施形態と同様の効果を得ることができる。画像表示装置202は、探索対象である第1の種別に対応付けられた画像IMGのうち、特徴空間上における入力画像IMGiの位置を始点とした場合の第1の画像IMGの位置を示すベクトルVとのなす角が90度のベクトルVで示される画像IMGを抽出する。あるいは、画像表示装置202は、探索対象の種別に対応付けられた画像IMGのうち、特徴空間上における第1の画像IMGの位置を示すベクトルVとのなす角が90度を含む第1の範囲内のベクトルVで示される画像IMGを抽出する。そして、画像表示装置202は、抽出した画像IMGのうち、入力画像IMGiに最も類似する画像IMGを第2の画像IMGに特定する。 As described above, even in the embodiments shown in FIGS. 3 to 8, the same effects as those of the embodiments shown in FIGS. 1 and 2 can be obtained. The image display device 202 is a vector V indicating the position of the first image IMG when the position of the input image IMGi in the feature space is the starting point among the image IMGs associated with the first type to be searched. An image IMG represented by a vector V having an angle of 90 degrees is extracted. Alternatively, the image display device 202 is a first range of the image IMGs associated with the type of the search target, in which the angle formed by the vector V indicating the position of the first image IMG in the feature space includes 90 degrees. The image IMG represented by the vector V in is extracted. Then, the image display device 202 identifies the image IMG most similar to the input image IMG among the extracted image IMGs as the second image IMG.

さらに、複数の第2の画像IMGを特定する場合には、第1の画像IMGの位置を示すベクトルVの他に、既に特定した第2の画像IMGの位置を示すベクトルVとのなす角も評価される。例えば、画像表示装置202は、第1の画像IMGの位置を示すベクトルVの他に、既に特定した第2の画像IMGの位置を示すベクトルVとのなす角も90度あるいは第1の範囲内であるベクトルVで示される画像IMGを抽出する。そして、画像表示装置202は、抽出した画像IMGのうち、入力画像IMGiに最も類似する画像IMGを第2の画像IMGに特定して参照画像IMGrに追加する。 Further, when a plurality of second image IMGs are specified, in addition to the vector V indicating the position of the first image IMG, the angle formed by the vector V indicating the position of the second image IMG already specified is also formed. Be evaluated. For example, in the image display device 202, in addition to the vector V indicating the position of the first image IMG, the angle formed by the vector V indicating the position of the second image IMG already specified is within 90 degrees or the first range. The image IMG represented by the vector V is extracted. Then, the image display device 202 identifies the image IMG most similar to the input image IMG among the extracted image IMGs as the second image IMG and adds it to the reference image IMGr.

また、画像表示装置202は、入力画像IMGiと一緒に、第1の画像IMGおよび第2の画像IMGを含む参照画像IMGrをラベル毎にまとめて表示する。これにより、入力画像IMGiとの比較を互いに異なる観点で実行可能な第1の画像IMGと第2の画像IMGとが参照画像IMGrとして入力画像IMGiと一緒に表示される。このため、画像IMGにラベルを付与する際に、過去のラベル付け結果(既にラベル付けされた画像IMGのラベル付け結果)との矛盾の発生を抑止することができる。 Further, the image display device 202 displays the reference image IMGr including the first image IMG and the second image IMG together with the input image IMG for each label. As a result, the first image IMG and the second image IMG that can be compared with the input image IMGi from different viewpoints are displayed together with the input image IMG as the reference image IMGr. Therefore, when labeling the image IMG, it is possible to suppress the occurrence of a contradiction with the past labeling result (labeling result of the already labeled image IMG).

図9は、画像表示プログラム、画像表示装置および画像表示方法の別の実施形態を示す。図1から図8で説明した要素と同一または同様の要素については、同一または同様の符号を付し、これ等については、詳細な説明を省略する。図9に示す画像表示装置204は、例えば、オペレータが画像IMGの種別を示すラベルを画像IMGに付与する際に、過去のラベル付け結果との矛盾の発生を抑止するための画像表示処理を実行する。画像表示装置204は、ハードウェアのみで実現されてもよく、ハードウェアをソフトウェアで制御することにより実現されてもよい。図9に示す例では、画像表示装置204は、コンピュータ10が画像表示プログラムDPRGを実行することにより、実現される。例えば、コンピュータ10は、プロセッサ20、メモリ30、ハードディスク装置40、入力インタフェース50、出力インタフェース60およびドライブ装置70を有する。メモリ30およびハードディスク装置40は、記憶部の一例である。 FIG. 9 shows another embodiment of an image display program, an image display device, and an image display method. Elements that are the same as or similar to the elements described with reference to FIGS. 1 to 8 are designated by the same or similar reference numerals, and detailed description thereof will be omitted. The image display device 204 shown in FIG. 9 executes, for example, an image display process for suppressing the occurrence of a contradiction with the past labeling result when the operator assigns a label indicating the type of the image IMG to the image IMG. do. The image display device 204 may be realized only by hardware, or may be realized by controlling the hardware by software. In the example shown in FIG. 9, the image display device 204 is realized by the computer 10 executing the image display program DPRG. For example, the computer 10 has a processor 20, a memory 30, a hard disk device 40, an input interface 50, an output interface 60, and a drive device 70. The memory 30 and the hard disk device 40 are examples of storage units.

画像表示装置204は、図3に示した第2画像特定部232の代わりに第2画像特定部234を有することを除いて、図3に示した画像表示装置202と同一または同様である。例えば、画像表示装置204は、特徴量算出部210、類似度算出部212、第1画像特定部222、第2画像特定部234、表示部240および登録部250を有する。特徴量算出部210、類似度算出部212、第1画像特定部222、表示部240および登録部250は、図3に示した特徴量算出部210、類似度算出部212、第1画像特定部222、表示部240および登録部250と同一または同様である。 The image display device 204 is the same as or similar to the image display device 202 shown in FIG. 3, except that it has a second image identification unit 234 instead of the second image identification unit 232 shown in FIG. For example, the image display device 204 has a feature amount calculation unit 210, a similarity calculation unit 212, a first image identification unit 222, a second image identification unit 234, a display unit 240, and a registration unit 250. The feature amount calculation unit 210, the similarity calculation unit 212, the first image identification unit 222, the display unit 240, and the registration unit 250 are the feature amount calculation unit 210, the similarity calculation unit 212, and the first image identification unit shown in FIG. It is the same as or similar to 222, the display unit 240, and the registration unit 250.

第2画像特定部234は、探索対象である第1の種別に対応付けられた画像IMGのうち、特徴空間上における第1の画像IMGとの距離が所定の第1の距離以上の画像IMGを抽出する。そして、第2画像特定部234は、抽出した画像IMGのうち、入力画像IMGiに最も類似する画像IMGを、第2の画像IMGとして特定する。これにより、入力画像IMGiと一緒に表示される参照画像IMGrとして、入力画像IMGiとの比較を互いに異なる観点で実行可能な第1の画像IMGと第2の画像IMGとが特定される。 The second image identification unit 234 selects an image IMG whose distance from the first image IMG in the feature space is equal to or greater than a predetermined first distance among the image IMGs associated with the first type to be searched. Extract. Then, the second image identification unit 234 identifies the image IMG most similar to the input image IMG among the extracted image IMGs as the second image IMG. Thereby, as the reference image IMGr displayed together with the input image IMGi, the first image IMG and the second image IMG that can be compared with the input image IMGi from different viewpoints are specified.

なお、画像表示装置204およびコンピュータ10の構成は、図9に示す例に限定されない。例えば、画像表示装置204は、登録部250を除いて定義されてもよい。この場合、例えば、ラベルを画像IMGに付与する処理装置は、登録部250を除いた画像表示装置204、登録部250、メモリ30、ハードディスク装置40、入力インタフェース50および出力インタフェース60を有する。 The configuration of the image display device 204 and the computer 10 is not limited to the example shown in FIG. For example, the image display device 204 may be defined except for the registration unit 250. In this case, for example, the processing device that attaches the label to the image IMG has an image display device 204 excluding the registration unit 250, a registration unit 250, a memory 30, a hard disk device 40, an input interface 50, and an output interface 60.

図10は、図9に示した第2画像特定部234の動作の一例を示す。なお、図10は、特徴量の種類が特徴量1と特徴量2の2つで、画像IMGの種別の数が種別aと種別bの2つの場合の第2画像特定部234の動作の一例を示す。画像IMGの種別の数および特徴量の種類は2つに限定されない。図10に示す特徴空間は、図6に示した特徴空間と同じである。また、図10に示す網掛けの四角形、三角形、星形の意味は、図6と同じである。また、図10に示す距離DIS(DIS2、DISp、DISq)は、特徴空間上における入力画像IMGiと各画像IMGとの距離を示す。図10では、特徴空間上における第1の画像IMGとの距離が所定の第1の距離D1以上である位置関係を所定の位置関係として、第2画像特定部234の動作を説明する。 FIG. 10 shows an example of the operation of the second image specifying unit 234 shown in FIG. Note that FIG. 10 shows an example of the operation of the second image specifying unit 234 when there are two types of feature amounts, feature amount 1 and feature amount 2, and the number of image IMG types is two, type a and type b. Is shown. The number of types of image IMG and the types of features are not limited to two. The feature space shown in FIG. 10 is the same as the feature space shown in FIG. Further, the meanings of the shaded quadrangles, triangles, and stars shown in FIG. 10 are the same as those in FIG. Further, the distance DIS (DIS2, DISp, DISq) shown in FIG. 10 indicates the distance between the input image IMGi and each image IMG in the feature space. In FIG. 10, the operation of the second image specifying unit 234 will be described with a positional relationship in which the distance from the first image IMG on the feature space is a predetermined first distance D1 or more as a predetermined positional relationship.

第2画像特定部234は、種別aの複数の画像IMGaのうち、特徴空間上における第1の画像IMGa1との距離が所定の第1の距離D1以上の画像IMGa(図10に示した破線の円の外側の画像IMGa)を抽出する。そして、第2画像特定部234は、特徴空間上における第1の画像IMGとの距離が第1の距離D1以上の複数の画像IMGaのうち、入力画像IMGiに最も近い画像IMGa2を、種別aの第2の画像IMGに特定する。なお、第2画像特定部234は、種別bの画像IMGbに対する第2の画像IMGの探索も、種別aの画像IMGaに対する第2の画像IMGの探索と同様に実行する。 The second image identification unit 234 is an image IMGa having a distance from the first image IMGa1 on the feature space of a predetermined first distance D1 or more among the plurality of image IMGas of the type a (the broken line shown in FIG. 10). The image IMGa) outside the circle is extracted. Then, the second image identification unit 234 selects the image IMGa2 closest to the input image IMGi among the plurality of image IMGs whose distance from the first image IMG in the feature space is the first distance D1 or more, of the type a. Specified as the second image IMG. The second image identification unit 234 also executes the search for the second image IMG for the image IMGb of the type b in the same manner as the search for the second image IMG for the image IMGa of the type a.

図10に示す例では、画像IMGajは、画像IMGa1との距離が第1の距離D1未満であり、画像IMGa2、IMGap、IMGaq等は、画像IMGa1との距離が第1の距離D1以上である。このため、第2画像特定部234は、種別aの複数の画像IMGaから画像IMGa1および画像IMGajを除いた画像IMGaを抽出する。また、画像IMGa2は、図10に示した破線の円の外側の画像IMGaのうち、入力画像IMGiに最も近い。例えば、画像IMGa2と入力画像IMGiとの距離DIS2は、画像IMGapと入力画像IMGiとの距離DISpおよび画像IMGaqと入力画像IMGiとの距離DISqの両方より短い。このため、第2画像特定部234は、上述したように、特徴空間上における第1の画像IMGとの距離が第1の距離D1以上の複数の画像IMGaのうち、入力画像IMGiに最も近い画像IMGa2を、種別aの第2の画像IMGに特定する。 In the example shown in FIG. 10, the image IMAGaj has a distance from the image IMGa1 less than the first distance D1, and the images IMGa2, IMGap, IMGaq and the like have a distance from the image IMGa1 greater than or equal to the first distance D1. Therefore, the second image identification unit 234 extracts the image IMGa excluding the image IMGa1 and the image IMAGaj from the plurality of image IMGa of the type a. Further, the image IMGa2 is the closest to the input image IMGi among the image IMGa outside the broken line circle shown in FIG. For example, the distance DIS2 between the image IMGa2 and the input image IMGi is shorter than both the distance DISp between the image IMGap and the input image IMGi and the distance DISq between the image IMGaq and the input image IMGi. Therefore, as described above, the second image identification unit 234 is the image closest to the input image IMGi among the plurality of image IMGas having a distance from the first image IMG in the feature space of the first distance D1 or more. IMGa2 is specified as a second image IMG of type a.

ここで、第1の画像IMGと抽出対象の画像IMGとの距離は、図5で説明した式(1)または式(2)を用いて算出される。この場合、式(1)または式(2)の説明において、入力画像IMGiの座標および類似度の算出対象の画像IMGの座標は、第1の画像IMGの座標および抽出対象の画像IMGの座標にそれぞれ読み替えられる。なお、距離の算出では、各特徴量の重要性に応じた重みを特徴量の値(特徴空間における各軸の座標値)に付け、重みを付けた特徴量の値を、式(1)または式(2)に代入してもよい。 Here, the distance between the first image IMG and the image IMG to be extracted is calculated using the formula (1) or the formula (2) described with reference to FIG. In this case, in the description of the formula (1) or the formula (2), the coordinates of the input image IMGi and the coordinates of the image IMG for which the similarity is calculated are the coordinates of the first image IMG and the coordinates of the image IMG to be extracted. Each can be read as a substitute. In the calculation of the distance, a weight corresponding to the importance of each feature is attached to the feature value (coordinate value of each axis in the feature space), and the weighted feature value is given by the equation (1) or It may be substituted into the equation (2).

このように、第2画像特定部234は、種別aに対応付けられた画像IMGaのうち、特徴空間上において入力画像IMGiおよび第1の画像IMGa1と所定の位置関係にある画像IMGa2を、第2の画像IMGに特定する。図10に示す例では、画像IMGajは、画像IMGa2に比べて入力画像IMGiに類似するが、入力画像IMGiおよび第1の画像IMGa1との位置関係が所定の位置関係を満たしていないため、参照画像IMGrとして選択されない。 As described above, the second image identification unit 234 displays the input image IMGi and the image IMGa2 having a predetermined positional relationship with the input image IMG1 and the first image IMGa1 in the feature space among the image IMGa associated with the type a. The image IMG is specified. In the example shown in FIG. 10, the image IMGaj is similar to the input image IMGi as compared with the image IMGa2, but the positional relationship between the input image IMGi and the first image IMGa1 does not satisfy a predetermined positional relationship, so that the reference image Not selected as IMGr.

これにより、第1の画像IMGに類似する画像IMGを第2の画像IMGに特定する場合に比べて、複数の参照画像IMGr(第1の画像IMG、第2の画像IMG)間で入力画像IMGiに類似する特徴量のバリエーションを増加させることができる。この結果、図10に示す動作では、第1の画像IMGに類似する画像IMGを第2の画像IMGに特定する場合に比べて、オペレータがラベルを入力画像IMGiに付与するための有益な情報を提供できる。 As a result, as compared with the case where the image IMG similar to the first image IMG is specified as the second image IMG, the input image IMGi is obtained between a plurality of reference image IMGs (first image IMG, second image IMG). It is possible to increase the variation of the feature amount similar to. As a result, in the operation shown in FIG. 10, useful information for the operator to assign a label to the input image IMGi is provided as compared with the case where the image IMG similar to the first image IMG is specified as the second image IMG. Can be provided.

図11は、図9に示した画像表示装置204の動作の一例を示す。図11に示す動作は、コンピュータ10により実行される画像表示方法の一態様である。また、図11に示す動作をコンピュータ10に実行させるためのプログラムは、画像表示プログラムの一態様である。なお、図11に示す動作は、ハードウェアのみで実現されてもよい。図8で説明した動作と同一または同様の動作については、詳細な説明を省略する。図11に示す動作では、所定の位置関係は、特徴空間上における第1の画像IMGとの距離が所定の第1の距離D1以上である位置関係である。図11に示す動作は、図8に示したステップS510の処理の代わりにステップS512の処理が実行されることを除いて、図8に示した動作と同一または同様である。なお、ステップS530の所定値は、特徴空間の軸の数より大きい値でもよい。ステップS512の処理は、ステップS410の処理が実行された後、または、ステップS530で変数Nが所定値以上と判定された場合、実行される。 FIG. 11 shows an example of the operation of the image display device 204 shown in FIG. The operation shown in FIG. 11 is an aspect of the image display method executed by the computer 10. Further, the program for causing the computer 10 to execute the operation shown in FIG. 11 is one aspect of the image display program. The operation shown in FIG. 11 may be realized only by hardware. Detailed description of the same or similar operation as that described with reference to FIG. 8 will be omitted. In the operation shown in FIG. 11, the predetermined positional relationship is a positional relationship in which the distance from the first image IMG on the feature space is equal to or greater than the predetermined first distance D1. The operation shown in FIG. 11 is the same as or similar to the operation shown in FIG. 8 except that the process of step S512 is executed instead of the process of step S510 shown in FIG. The predetermined value in step S530 may be a value larger than the number of axes in the feature space. The process of step S512 is executed after the process of step S410 is executed, or when the variable N is determined to be equal to or greater than a predetermined value in step S530.

ステップS512では、第2画像特定部234は、ステップS330で設定された探索対象の画像IMGのうち、特徴空間上におけるN個の参照画像IMGrのそれぞれとの距離が第1の距離D1以上の画像IMGを抽出する。そして、第2画像特定部234は、抽出した画像IMGのうち、類似度が最大の画像IMGを(N+1)個目の参照画像IMGrに特定する。すなわち、第2画像特定部234は、探索対象の画像IMGで、特徴空間上におけるN個の参照画像IMGrのそれぞれとの距離が第1の距離D1以上の画像IMGのうち、類似度が最大の画像IMGを(N+1)個目の参照画像IMGrに特定する。 In step S512, the second image identification unit 234 is an image whose distance from each of the N reference images IMGr in the feature space is equal to or greater than the first distance D1 among the image IMGs to be searched set in step S330. Extract the IMG. Then, the second image identification unit 234 identifies the image IMG having the maximum similarity among the extracted image IMGs as the (N + 1) th reference image IMGr. That is, the second image identification unit 234 is the image IMG to be searched, and has the largest similarity among the image IMGs whose distances from each of the N reference images IMGr in the feature space are equal to or greater than the first distance D1. The image IMG is specified as the (N + 1) th reference image IMGr.

例えば、変数Nが1の場合、既に特定されたN個の参照画像IMGrは、ステップS410で特定された1個目の参照画像IMGr(第1の画像IMG)である。また、(N+1)個目の参照画像IMGr、すなわち、2個目の参照画像IMGrは、1個目の第2の画像IMGである。この場合、第2画像特定部234は、図10で説明したように、探索対象の画像IMGのうち、第1の画像IMGとの距離が第1の距離D1以上の画像IMGから、類似度が最大の画像IMGを1個目の第2の画像IMGに特定する。 For example, when the variable N is 1, the N reference images IMGr already specified are the first reference image IMGr (first image IMG) specified in step S410. Further, the (N + 1) th reference image IMGr, that is, the second reference image IMGr is the first second image IMG. In this case, as described with reference to FIG. 10, the second image identification unit 234 has a similarity from the image IMG to be searched that has a distance from the first image IMG of the first distance D1 or more. The largest image IMG is specified as the first second image IMG.

また、ステップS520、S530により、変数Nが2に更新され、ステップS512の処理が再度実行される場合、既に特定されたN個(2個)の参照画像IMGrは、ステップS410で特定された第1の画像IMGと、1個目の第2の画像IMGである。なお、(N+1)個目の参照画像IMGr、すなわち、3個目の参照画像IMGrは、2個目の第2の画像IMGである。この場合、第2画像特定部234は、第1の画像IMGとの距離が第1の距離D1以上で、かつ、1個目の第2の画像IMG(既に特定した第2の画像IMG)との距離が第1の距離D1以上の画像IMGを、探索対象の画像IMGから抽出する。そして、第2画像特定部234は、探索対象の画像IMGから抽出した画像IMGのうち、類似度が最大の画像IMGを、2個目の第2の画像IMGに特定する。 Further, when the variable N is updated to 2 in steps S520 and S530 and the process of step S512 is executed again, the already specified N (2) reference images IMGr are the th-orders specified in step S410. One image IMG and the first second image IMG. The (N + 1) th reference image IMGr, that is, the third reference image IMGr is the second second image IMG. In this case, the second image identification unit 234 has a distance from the first image IMG of the first distance D1 or more, and is the same as the first second image IMG (the second image IMG already specified). An image IMG whose distance is equal to or greater than the first distance D1 is extracted from the image IMG to be searched. Then, the second image identification unit 234 identifies the image IMG having the maximum similarity among the image IMGs extracted from the image IMGs to be searched as the second second image IMG.

なお、第2画像特定部234は、N個の参照画像IMGrのそれぞれとの距離が第1の距離D1以上の画像IMGを抽出するまで、探索対象の画像IMGから、類似度の高い順に画像IMGを抽出してもよい。この場合、第2画像特定部234は、例えば、最後に抽出した画像IMGを(N+1)個目の参照画像IMGrに特定する。 The second image identification unit 234 extracts the image IMGs whose distances from each of the N reference image IMGrs are equal to or greater than the first distance D1 from the image IMGs to be searched, in descending order of similarity. May be extracted. In this case, the second image identification unit 234 specifies, for example, the last extracted image IMG to the (N + 1) th reference image IMGr.

ステップS512の処理により、(N+1)個目の参照画像IMGrが特定された後、画像表示装置204の動作は、ステップS520に移る。なお、例えば、所定の位置関係を満たす画像IMGが探索対象の画像IMGの中に存在しない場合、すなわち、第2の画像IMGが特定されない場合、図示していないが、画像表示装置204の動作は、ステップS610に移る。 After the (N + 1) th reference image IMGr is specified by the process of step S512, the operation of the image display device 204 shifts to step S520. Note that, for example, when an image IMG satisfying a predetermined positional relationship does not exist in the image IMG to be searched, that is, when the second image IMG is not specified, the operation of the image display device 204 is not shown, although it is not shown. , Step S610.

このように、図11に示す動作では、既に特定した参照画像IMGrとの距離が第1の距離D1未満の画像IMGは、新たな参照画像IMGrとして選択されない。これにより、第1の画像IMGに類似する画像IMGを第2の画像IMGに特定する場合に比べて、複数の参照画像IMGr(第1の画像IMG、第2の画像IMG)間で入力画像IMGiに類似する特徴量のバリエーションを増加させることができる。 As described above, in the operation shown in FIG. 11, the image IMG whose distance from the already specified reference image IMGr is less than the first distance D1 is not selected as the new reference image IMGr. As a result, as compared with the case where the image IMG similar to the first image IMG is specified as the second image IMG, the input image IMGi is obtained between a plurality of reference image IMGs (first image IMG, second image IMG). It is possible to increase the variation of the feature amount similar to.

なお、画像表示装置204の動作は、図11に示す例に限定されない。例えば、画像表示装置204は、ステップS530において、変数Nが所定値以上か否かを判定する代わりに、既に特定した参照画像IMGrとの距離が第1の距離D1以上の画像IMGが探索対象の画像IMGの中に存在するか否かを判定してもよい。そして、画像表示装置204は、既に特定した参照画像IMGrとの距離が第1の距離D1以上の画像IMGが探索対象の画像IMGの中に存在する場合、動作をステップS512に戻す。また、画像表示装置204は、既に特定した参照画像IMGrとの距離が第1の距離D1以上の画像IMGが探索対象の画像IMGの中に存在しない場合、動作をステップS610に移す。また、例えば、画像表示装置204は、変数Nが2以上の場合、入力画像IMGiとの距離DISが所定の距離(例えば、第1の距離D1の2倍の距離等)以上の画像IMGを、第2の画像IMGを特定する際の探索対象から除外してもよい。 The operation of the image display device 204 is not limited to the example shown in FIG. For example, in step S530, the image display device 204 searches for an image IMG whose distance from the already specified reference image IMGr is the first distance D1 or more, instead of determining whether or not the variable N is equal to or greater than a predetermined value. It may be determined whether or not it exists in the image IMG. Then, when the image IMG whose distance from the reference image IMGr already specified is equal to or greater than the first distance D1 exists in the image IMG to be searched, the image display device 204 returns the operation to step S512. Further, when the image IMG whose distance from the reference image IMGr already specified is equal to or greater than the first distance D1 does not exist in the image IMG to be searched, the image display device 204 shifts the operation to step S610. Further, for example, when the variable N is 2 or more, the image display device 204 displays an image IMG whose distance DIS from the input image IMGi is a predetermined distance (for example, twice the distance D1 of the first distance) or more. The second image IMG may be excluded from the search target when specifying it.

以上、図9から図11に示す実施形態においても、図1から図8に示した実施形態と同様の効果を得ることができる。例えば、画像表示装置204は、第1の種別と対応付けられており、特徴空間上における第1の画像IMGとの距離が第1の距離D1以上の画像IMGのうち、入力画像IMGiに最も近い画像IMGを第2の画像IMGに特定する。これにより、画像表示装置204は、入力画像IMGiと一緒に表示する複数の参照画像IMGr(第1の画像IMG、第2の画像IMG)間の特徴空間上における距離を第1の距離D1以上にできる。すなわち、入力画像IMGiとの比較を互いに異なる観点で実行可能な複数の参照画像IMGr(第1の画像IMGと第2の画像IMG)が入力画像IMGiと一緒に表示される。このため、画像IMGにラベルを付与する際に、過去のラベル付け結果(既にラベル付けされた画像IMGのラベル付け結果)との矛盾の発生を抑止することができる。 As described above, even in the embodiments shown in FIGS. 9 to 11, the same effects as those in the embodiments shown in FIGS. 1 to 8 can be obtained. For example, the image display device 204 is associated with the first type, and is the closest to the input image IMG among the image IMGs whose distance to the first image IMG in the feature space is the first distance D1 or more. The image IMG is identified as a second image IMG. As a result, the image display device 204 sets the distance in the feature space between the plurality of reference images IMGr (first image IMG, second image IMG) displayed together with the input image IMGi to the first distance D1 or more. can. That is, a plurality of reference image IMGrs (first image IMG and second image IMG) that can be compared with the input image IMGi from different viewpoints are displayed together with the input image IMGi. Therefore, when labeling the image IMG, it is possible to suppress the occurrence of a contradiction with the past labeling result (labeling result of the already labeled image IMG).

図12は、画像表示プログラム、画像表示装置および画像表示方法の別の実施形態を示す。図1から図11で説明した要素と同一または同様の要素については、同一または同様の符号を付し、これ等については、詳細な説明を省略する。図12に示す画像表示装置206は、例えば、オペレータが画像IMGの種別を示すラベルを画像IMGに付与する際に、過去のラベル付け結果との矛盾の発生を抑止するための画像表示処理を実行する。画像表示装置206は、ハードウェアのみで実現されてもよく、ハードウェアをソフトウェアで制御することにより実現されてもよい。図12に示す例では、画像表示装置206は、コンピュータ10が画像表示プログラムDPRGを実行することにより、実現される。例えば、コンピュータ10は、プロセッサ20、メモリ30、ハードディスク装置40、入力インタフェース50、出力インタフェース60およびドライブ装置70を有する。メモリ30およびハードディスク装置40は、記憶部の一例である。 FIG. 12 shows another embodiment of an image display program, an image display device, and an image display method. Elements that are the same as or similar to the elements described with reference to FIGS. 1 to 11 are designated by the same or similar reference numerals, and detailed description thereof will be omitted. The image display device 206 shown in FIG. 12 executes, for example, an image display process for suppressing the occurrence of a contradiction with the past labeling result when the operator assigns a label indicating the type of the image IMG to the image IMG. do. The image display device 206 may be realized only by hardware, or may be realized by controlling the hardware by software. In the example shown in FIG. 12, the image display device 206 is realized by the computer 10 executing the image display program DPRG. For example, the computer 10 has a processor 20, a memory 30, a hard disk device 40, an input interface 50, an output interface 60, and a drive device 70. The memory 30 and the hard disk device 40 are examples of storage units.

画像表示装置206は、図9に示した第2画像特定部234の代わりに第2画像特定部236を有することを除いて、図9に示した画像表示装置204と同一または同様である。例えば、画像表示装置206は、特徴量算出部210、類似度算出部212、第1画像特定部222、第2画像特定部236、表示部240および登録部250を有する。特徴量算出部210、類似度算出部212、第1画像特定部222、表示部240および登録部250は、図9に示した特徴量算出部210、類似度算出部212、第1画像特定部222、表示部240および登録部250と同一または同様である。 The image display device 206 is the same as or similar to the image display device 204 shown in FIG. 9, except that it has a second image identification unit 236 instead of the second image identification unit 234 shown in FIG. For example, the image display device 206 has a feature amount calculation unit 210, a similarity calculation unit 212, a first image identification unit 222, a second image identification unit 236, a display unit 240, and a registration unit 250. The feature amount calculation unit 210, the similarity calculation unit 212, the first image identification unit 222, the display unit 240, and the registration unit 250 are the feature amount calculation unit 210, the similarity calculation unit 212, and the first image identification unit shown in FIG. It is the same as or similar to 222, the display unit 240, and the registration unit 250.

第2画像特定部236は、入力画像IMGiとの距離DISが所定の第2の距離以上の画像IMGを、第2の画像IMGを特定する際の探索対象から除外することを除いて、図9に示した第2画像特定部234と同一または同様である。例えば、第2画像特定部236は、第1の種別の画像IMGで、既に特定した第1の画像IMG等との距離が第1の距離D1以上で、入力画像IMGiとの距離DISが第2の距離未満の画像IMGのうち、入力画像IMGiに最も類似する画像IMGを選択する。そして、第2画像特定部236は、選択した画像IMGを第2の画像IMGに特定する。第2の距離は、例えば、第1の距離D1より大きい値であり、予め設定される。 The second image identification unit 236 excludes an image IMG whose distance DIS from the input image IMGi is equal to or greater than a predetermined second distance from the search target when specifying the second image IMG. It is the same as or similar to the second image specifying unit 234 shown in. For example, the second image specifying unit 236 is the first type of image IMG, the distance to the first image IMG and the like already specified is the first distance D1 or more, and the distance DIS to the input image IMG is the second. Among the image IMGs less than the distance of, the image IMG most similar to the input image IMGi is selected. Then, the second image identification unit 236 identifies the selected image IMG as the second image IMG. The second distance is, for example, a value larger than the first distance D1 and is preset.

なお、画像表示装置206およびコンピュータ10の構成は、図12に示す例に限定されない。例えば、画像表示装置206は、登録部250を除いて定義されてもよい。この場合、例えば、ラベルを画像IMGに付与する処理装置は、登録部250を除いた画像表示装置206、登録部250、メモリ30、ハードディスク装置40、入力インタフェース50および出力インタフェース60を有する。 The configuration of the image display device 206 and the computer 10 is not limited to the example shown in FIG. For example, the image display device 206 may be defined except for the registration unit 250. In this case, for example, the processing device that attaches the label to the image IMG has an image display device 206 excluding the registration unit 250, a registration unit 250, a memory 30, a hard disk device 40, an input interface 50, and an output interface 60.

図13は、図12に示した第2画像特定部236の動作の一例を示す。なお、図13は、特徴量の種類が特徴量1と特徴量2の2つで、画像IMGの種別の数が種別aと種別bの2つの場合の第2画像特定部236の動作の一例を示す。画像IMGの種別の数および特徴量の種類は2つに限定されない。図13に示す特徴空間は、図10に示した特徴空間と同じである。また、図13に示す網掛けの四角形、三角形、星形、距離DIS(DIS2、DISp、DISq)の意味は、図10と同じである。図13では、特徴空間上における第1の画像IMGとの距離が所定の第1の距離D1以上である位置関係を所定の位置関係として、第2画像特定部236の動作を説明する。 FIG. 13 shows an example of the operation of the second image specifying unit 236 shown in FIG. Note that FIG. 13 shows an example of the operation of the second image specifying unit 236 when there are two types of feature amounts, feature amount 1 and feature amount 2, and the number of image IMG types is two, type a and type b. Is shown. The number of types of image IMG and the types of features are not limited to two. The feature space shown in FIG. 13 is the same as the feature space shown in FIG. Further, the meanings of the shaded quadrangle, triangle, star shape, and distance DIS (DIS2, DISp, DISq) shown in FIG. 13 are the same as those in FIG. In FIG. 13, the operation of the second image specifying unit 236 will be described with a positional relationship in which the distance from the first image IMG on the feature space is a predetermined first distance D1 or more as a predetermined positional relationship.

第2画像特定部236は、入力画像IMGiとの距離DISが所定の第2の距離D2以上の画像IMG(図13に示した点線の円の外側の画像IMG)を、第2の画像IMGを特定する際の探索対象から除外する。第2画像特定部236のその他の動作は、図10、図11等で説明した第2画像特定部234の動作と同一または同様である。 The second image identification unit 236 uses the image IMG (the image IMG outside the dotted circle shown in FIG. 13) having a distance DIS of the input image IMGi of the predetermined second distance D2 or more as the second image IMG. Exclude from the search target when specifying. Other operations of the second image specifying unit 236 are the same as or similar to the operations of the second image specifying unit 234 described with reference to FIGS. 10, 11 and the like.

図13に示す例では、画像IMGarが、種別aの第2の画像IMGを特定する際の探索対象から除外される。これにより、入力画像IMGiに類似していない画像IMGが第2の画像IMGとして特定されることを抑止することができる。すなわち、入力画像IMGiに類似していない画像IMGが、入力画像IMGiと一緒に表示されることを抑止することができる。 In the example shown in FIG. 13, the image IMGar is excluded from the search target when specifying the second image IMG of the type a. Thereby, it is possible to prevent the image IMG that is not similar to the input image IMGi from being identified as the second image IMG. That is, it is possible to prevent an image IMG that is not similar to the input image IMGi from being displayed together with the input image IMGi.

また、画像表示装置206の動作は、図11に示したステップS512において、入力画像IMGiとの距離DISが所定の第2の距離D2以上の画像IMGが探索対象の画像IMGから除外されることを除いて、図11に示した動作と同一または同様である。 Further, the operation of the image display device 206 is that, in step S512 shown in FIG. 11, the image IMG whose distance DIS from the input image IMGi is equal to or greater than the predetermined second distance D2 is excluded from the image IMG to be searched. Except, the operation is the same as or similar to that shown in FIG.

なお、第2画像特定部236および画像表示装置206の動作は、図13に示す例に限定されない。例えば、画像表示装置206は、変数Nが1の場合、入力画像IMGiとの距離DISが所定の第2の距離D2以上の画像IMGを探索対象に含めてもよい。また、例えば、画像表示装置206は、図11に示したステップS530において、既に特定した参照画像IMGrとの距離が第1の距離D1以上の画像IMGが探索対象の画像IMGの中に存在するか否かを判定してもよい。 The operations of the second image specifying unit 236 and the image display device 206 are not limited to the example shown in FIG. For example, when the variable N is 1, the image display device 206 may include an image IMG whose distance DIS from the input image IMGi is a predetermined second distance D2 or more as a search target. Further, for example, in step S530 shown in FIG. 11, does the image display device 206 include an image IMG whose distance from the reference image IMGr already specified is equal to or greater than the first distance D1 in the image IMG to be searched? It may be determined whether or not.

以上、図12から図13に示す実施形態においても、図1から図11に示した実施形態と同様の効果を得ることができる。例えば、画像表示装置206は、第1の種別と対応付けられており、特徴空間上における入力画像IMGiとの距離が第2の距離D2未満の画像IMGを探索対象とする。そして、画像表示装置206は、探索対象の画像IMGで、特徴空間上における第1の画像IMGとの距離が第1の距離D1以上の画像IMGのうち、入力画像IMGiに最も近い画像IMGを第2の画像IMGに特定する。これにより、画像表示装置206は、入力画像IMGiと一緒に表示する複数の参照画像IMGr(第1の画像IMG、第2の画像IMG)間の特徴空間上における距離を第1の距離D1以上にできる。すなわち、入力画像IMGiとの比較を互いに異なる観点で実行可能な複数の参照画像IMGr(第1の画像IMGと第2の画像IMG)が入力画像IMGiと一緒に表示される。このため、画像IMGにラベルを付与する際に、過去のラベル付け結果(既にラベル付けされた画像IMGのラベル付け結果)との矛盾の発生を抑止することができる。 As described above, even in the embodiments shown in FIGS. 12 to 13, the same effects as those in the embodiments shown in FIGS. 1 to 11 can be obtained. For example, the image display device 206 is associated with the first type, and searches for an image IMG whose distance from the input image IMGi on the feature space is less than the second distance D2. Then, the image display device 206 is the image IMG to be searched, and among the image IMGs whose distance from the first image IMG in the feature space is the first distance D1 or more, the image IMG closest to the input image IMG is selected. It is specified in the image IMG of 2. As a result, the image display device 206 sets the distance in the feature space between the plurality of reference images IMGr (first image IMG, second image IMG) displayed together with the input image IMGi to the first distance D1 or more. can. That is, a plurality of reference image IMGrs (first image IMG and second image IMG) that can be compared with the input image IMGi from different viewpoints are displayed together with the input image IMGi. Therefore, when labeling the image IMG, it is possible to suppress the occurrence of a contradiction with the past labeling result (labeling result of the already labeled image IMG).

さらに、入力画像IMGiとの距離DISが第2の距離D2以上の画像IMGが第2の画像IMGとして特定されないため、入力画像IMGiに類似していない画像IMGが、入力画像IMGiと一緒に表示されることを抑止することができる。 Further, since the image IMG having a distance DIS of the second distance D2 or more from the input image IMGi is not specified as the second image IMG, the image IMG that is not similar to the input image IMGi is displayed together with the input image IMGi. Can be deterred.

図14は、画像表示プログラム、画像表示装置および画像表示方法の別の実施形態を示す。図1から図13で説明した要素と同一または同様の要素については、同一または同様の符号を付し、これ等については、詳細な説明を省略する。図14に示す画像表示装置208は、例えば、オペレータが画像IMGの種別を示すラベルを画像IMGに付与する際に、過去のラベル付け結果との矛盾の発生を抑止するための画像表示処理を実行する。画像表示装置208は、ハードウェアのみで実現されてもよく、ハードウェアをソフトウェアで制御することにより実現されてもよい。図14に示す例では、画像表示装置208は、コンピュータ10が画像表示プログラムDPRGを実行することにより、実現される。例えば、コンピュータ10は、プロセッサ20、メモリ30、ハードディスク装置40、入力インタフェース50、出力インタフェース60およびドライブ装置70を有する。メモリ30およびハードディスク装置40は、記憶部の一例である。 FIG. 14 shows another embodiment of an image display program, an image display device, and an image display method. Elements that are the same as or similar to the elements described with reference to FIGS. 1 to 13 are designated by the same or similar reference numerals, and detailed description thereof will be omitted. The image display device 208 shown in FIG. 14 executes, for example, an image display process for suppressing the occurrence of a contradiction with the past labeling result when the operator assigns a label indicating the type of the image IMG to the image IMG. do. The image display device 208 may be realized only by hardware, or may be realized by controlling the hardware by software. In the example shown in FIG. 14, the image display device 208 is realized by the computer 10 executing the image display program DPRG. For example, the computer 10 has a processor 20, a memory 30, a hard disk device 40, an input interface 50, an output interface 60, and a drive device 70. The memory 30 and the hard disk device 40 are examples of storage units.

画像表示装置208は、図3に示した表示部240の代わりに表示部242を有し、図3に示した画像表示装置202に第3画像特定部238が追加されることを除いて、図3に示した画像表示装置202と同一または同様である。例えば、画像表示装置208は、特徴量算出部210、類似度算出部212、第1画像特定部222、第2画像特定部232、第3画像特定部238、表示部242および登録部250を有する。特徴量算出部210、類似度算出部212、第1画像特定部222、第2画像特定部232および登録部250は、図3に示した特徴量算出部210、類似度算出部212、第1画像特定部222、第2画像特定部232および登録部250と同一または同様である。 The image display device 208 has a display unit 242 instead of the display unit 240 shown in FIG. 3, except that a third image identification unit 238 is added to the image display device 202 shown in FIG. It is the same as or similar to the image display device 202 shown in 3. For example, the image display device 208 has a feature amount calculation unit 210, a similarity calculation unit 212, a first image identification unit 222, a second image identification unit 232, a third image identification unit 238, a display unit 242, and a registration unit 250. .. The feature amount calculation unit 210, the similarity calculation unit 212, the first image identification unit 222, the second image identification unit 232, and the registration unit 250 are the feature amount calculation unit 210, the similarity calculation unit 212, and the first It is the same as or similar to the image identification unit 222, the second image identification unit 232, and the registration unit 250.

第3画像特定部238は、特徴空間上における対象の参照画像IMGrと入力画像IMGiとを通る直線上に位置し、対象の参照画像IMGrと異なる種別の画像を、第3の画像IMGに特定する。対象の参照画像IMGrは、例えば、第1の画像IMGおよび第2の画像IMGのうちの1つの画像IMGである。なお、第3画像特定部238の動作の詳細は、図15で説明する。 The third image identification unit 238 is located on a straight line passing through the target reference image IMGr and the input image IMGi in the feature space, and identifies an image of a type different from the target reference image IMGr as the third image IMG. .. The reference image IMGr of interest is, for example, one image IMG of the first image IMG and the second image IMG. The details of the operation of the third image specifying unit 238 will be described with reference to FIG.

表示部242は、第1の画像IMGおよび第2の画像IMGの他に、第3の画像IMGも参照画像IMGrとして、入力画像IMGiと一緒に表示装置110に表示することを除いて、図3に示した表示部240と同一または同様である。例えば、表示部242は、第1の種別を示す情報と第3の画像IMGの種別を示す情報と第1の画像IMGと第2の画像IMGと第3の画像IMGと入力画像IMGiとを含む画面を表示する。 The display unit 242 displays the third image IMG as the reference image IMGr on the display device 110 together with the input image IMG in addition to the first image IMG and the second image IMG. It is the same as or similar to the display unit 240 shown in 1. For example, the display unit 242 includes information indicating the first type, information indicating the type of the third image IMG, the first image IMG, the second image IMG, the third image IMG, and the input image IMGi. Display the screen.

なお、画像表示装置208およびコンピュータ10の構成は、図14に示す例に限定されない。例えば、画像表示装置208は、第2画像特定部232の代わりに、図9に示した第2画像特定部234を有してもよいし、図12に示した第2画像特定部236を有してもよい。また、例えば、画像表示装置208は、登録部250を除いて定義されてもよい。この場合、例えば、ラベルを画像IMGに付与する処理装置は、登録部250を除いた画像表示装置206、登録部250、メモリ30、ハードディスク装置40、入力インタフェース50および出力インタフェース60を有する。 The configuration of the image display device 208 and the computer 10 is not limited to the example shown in FIG. For example, the image display device 208 may have the second image identification unit 234 shown in FIG. 9 instead of the second image identification unit 232, or may have the second image identification unit 236 shown in FIG. You may. Further, for example, the image display device 208 may be defined except for the registration unit 250. In this case, for example, the processing device that attaches the label to the image IMG has an image display device 206 excluding the registration unit 250, a registration unit 250, a memory 30, a hard disk device 40, an input interface 50, and an output interface 60.

図15は、図14に示した第3画像特定部238の動作の一例を示す。なお、図15は、特徴量の種類が特徴量1と特徴量2の2つで、画像IMGの種別の数が種別aと種別bの2つの場合の第3画像特定部238の動作の一例を示す。画像IMGの種別の数および特徴量の種類は2つに限定されない。図15に示す特徴空間は、図6に示した特徴空間と同じである。また、図15に示す網掛けの四角形、三角形、星形の意味は、図6と同じである。図15では、図6に示した動作により種別aの第1の画像IMGa1および第2の画像IMGa2と種別bの第1の画像IMGb1および第2の画像IMGb2とが特定されたものとして、第3画像特定部238の動作を説明する。 FIG. 15 shows an example of the operation of the third image identification unit 238 shown in FIG. Note that FIG. 15 shows an example of the operation of the third image specifying unit 238 when there are two types of feature amounts, feature amount 1 and feature amount 2, and the number of image IMG types is two, type a and type b. Is shown. The number of types of image IMG and the types of features are not limited to two. The feature space shown in FIG. 15 is the same as the feature space shown in FIG. The shaded quadrangles, triangles, and stars shown in FIG. 15 have the same meanings as those in FIG. In FIG. 15, it is assumed that the first image IMGa1 and the second image IMGa2 of the type a and the first image IMGb1 and the second image IMGb2 of the type b are specified by the operation shown in FIG. The operation of the image specifying unit 238 will be described.

第3画像特定部238は、種別aの第1の画像IMGa1と入力画像IMGiとを結んだ直線上に位置する種別bの画像IMGb31(種別aと異なる種別の画像IMG)を、第3の画像IMGに特定する。これにより、第3の画像IMGb31が、種別aの第1の画像IMGa1と同一の観点を有する参照画像IMGrとして追加される。 The third image identification unit 238 displays the image IMGb31 of the type b (an image IMG of a type different from the type a) located on a straight line connecting the first image IMGa1 of the type a and the input image IMGi as a third image. Specific to IMG. As a result, the third image IMGb31 is added as a reference image IMGr having the same viewpoint as the first image IMGa1 of the type a.

さらに、第3画像特定部238は、種別aの第2の画像IMGa2と入力画像IMGiとを結んだ直線上に位置する種別bの画像IMGb32(種別aと異なる種別の画像IMG)を、第3の画像IMGに特定する。これにより、第3の画像IMGb32が、種別aの第2の画像IMGa2と同一の観点を有する参照画像IMGrとして追加される。 Further, the third image identification unit 238 displays the image IMGb32 of the type b (an image IMG of a type different from the type a) located on a straight line connecting the second image IMGa2 of the type a and the input image IMGi. Specific to the image IMG. As a result, the third image IMGb32 is added as a reference image IMGr having the same viewpoint as the second image IMGa2 of the type a.

同様に、第3画像特定部238は、第3の画像IMGa31を種別bの第1の画像IMGb1と同一の観点を有する参照画像IMGrとして特定し、第3の画像IMGa32を種別bの第2の画像IMGb2と同一の観点を有する参照画像IMGrとして特定する。このように、第3画像特定部238は、第1画像特定部222および第2画像特定部232で特定した参照画像IMGr毎に、各参照画像IMGrと同一の観点を有する異なる種別の参照画像IMGrを追加する。 Similarly, the third image identification unit 238 identifies the third image IMGa31 as the reference image IMGr having the same viewpoint as the first image IMGb1 of the type b, and the third image IMGa32 is the second image IMGa32 of the type b. It is specified as a reference image IMGr having the same viewpoint as the image IMGb2. As described above, the third image identification unit 238 has a different type of reference image IMGr having the same viewpoint as each reference image IMGr for each reference image IMGr specified by the first image identification unit 222 and the second image identification unit 232. To add.

第1の画像IMG、第2の画像IMGおよび第3の画像IMGが参照画像IMGrとして入力画像IMGiと一緒に表示される。これにより、例えば、図15に示す点線の軸上の観点で入力画像IMGiが種別aの画像IMGaと種別bの画像IMGbのどちらに近いかを確認可能な情報を提供することができる。 The first image IMG, the second image IMG, and the third image IMG are displayed together with the input image IMG as the reference image IMGr. Thereby, for example, it is possible to provide information capable of confirming whether the input image IMGi is closer to the image IMGa of the type a or the image IMGb of the type b from the viewpoint on the axis of the dotted line shown in FIG.

なお、第3画像特定部238の動作は、図15に示す例に限定されない。例えば、第1の画像IMGおよび第2の画像IMGの各々と入力画像IMGiとを通る直線(図15の点線)は、所定の幅を有してもよい。例えば、第1の画像IMGおよび第2の画像IMGの各々と入力画像IMGiとを通る直線が図15に示す点線の直線より広い幅を有する場合、図15に示す点線の直線付近の画像IMGを第3の画像IMGとして抽出できる。これにより、第1の画像IMGまたは第2の画像IMGと異なる種別の画像IMGが図15に示す点線の直線上に存在しない場合でも、直線付近に位置する異なる種別の画像IMGを、第3の画像IMGに特定することができる。 The operation of the third image specifying unit 238 is not limited to the example shown in FIG. For example, the straight line (dotted line in FIG. 15) passing through each of the first image IMG and the second image IMG and the input image IMGi may have a predetermined width. For example, when the straight line passing through each of the first image IMG and the second image IMG and the input image IMGi has a width wider than the dotted straight line shown in FIG. 15, the image IMG near the dotted straight line shown in FIG. 15 is used. It can be extracted as a third image IMG. As a result, even if an image IMG of a different type from the first image IMG or the second image IMG does not exist on the straight line of the dotted line shown in FIG. It can be specified as an image IMG.

また、第3画像特定部238は、特徴空間上における対象の参照画像IMGrの位置を示すベクトルVとのなす角が所定の角度以上で180度以下のベクトルVで示され、対象の参照画像IMGrと異なる種別の画像IMGを、第3の画像IMGに特定してもよい。対象の参照画像IMGrは、例えば、第1の画像IMGおよび第2の画像IMGのうちの1つの画像IMGである。 Further, the third image identification unit 238 is indicated by a vector V having an angle formed by a vector V indicating the position of the target reference image IMGr in the feature space of a predetermined angle or more and 180 degrees or less, and the target reference image IMGr. An image IMG of a different type from the above may be specified as a third image IMG. The reference image IMGr of interest is, for example, one image IMG of the first image IMG and the second image IMG.

図16は、図14に示した表示部242の動作の一例を示す。なお、図16は、画像IMGの種別が2つの場合の表示部242の動作の一例を示す。画像IMGの種別の数は、2つに限定されない。画像IMGa1、IMGb1、IMGa2、IMGb2、IMGa31、IMGa32、IMGb31、IMGb32は、例えば、図15で説明した参照画像IMGr(第1の画像IMG、第2の画像IMG、第3の画像IMG)である。 FIG. 16 shows an example of the operation of the display unit 242 shown in FIG. Note that FIG. 16 shows an example of the operation of the display unit 242 when there are two types of image IMGs. The number of image IMG types is not limited to two. The images IMGa1, IMGb1, IMGa2, IMGb2, IMGa31, IMGa32, IMGb31, and IMGb32 are, for example, the reference image IMGr (first image IMG, second image IMG, third image IMG) described with reference to FIG.

表示部242は、第1画像特定部222、第2画像特定部232および第3画像特定部238により特定された参照画像IMGrを、表示装置110に表示する。例えば、表示部242は、表示画面の中心に入力画像IMGiを配置し、入力画像IMGiの左右に参照画像IMGrをラベル毎にまとめて表示する。 The display unit 242 displays the reference image IMGr specified by the first image identification unit 222, the second image identification unit 232, and the third image identification unit 238 on the display device 110. For example, the display unit 242 arranges the input image IMGi in the center of the display screen, and displays the reference image IMGr on the left and right sides of the input image IMGi for each label.

図16に示す例では、ラベルaの画像IMGaのうちで入力画像IMGiに類似した画像IMGa1、IMGa2が、ラベルaの画像IMGaの表示領域内の上から1つ目と2つ目に表示される。そして、ラベルbの画像IMGbの表示領域では、画像IMGa1と同一の観点を有する画像IMGb31が上から1つ目に表示され、画像IMGa2と同一の観点を有する画像IMGb32が上から2つ目に表示される。このため、ラベルbの画像IMGbのうちで入力画像IMGiに類似した画像IMGb1、IMGb2は、ラベルbの画像IMGbの表示領域における上から3つ目および4つ目にそれぞれ表示される。したがって、ラベルaの画像IMGaの表示領域では、画像IMGb1と同一の観点を有する画像IMGa31が上から3つ目に表示され、画像IMGb2と同一の観点を有する画像IMGa32が上から4つ目に表示される。 In the example shown in FIG. 16, among the images IMGa of the label a, the images IMGa1 and IMGa2 similar to the input image IMGi are displayed first and second from the top in the display area of the image IMGa of the label a. .. Then, in the display area of the image IMGb of the label b, the image IMGb31 having the same viewpoint as the image IMGa1 is displayed first from the top, and the image IMGb32 having the same viewpoint as the image IMGa2 is displayed second from the top. Will be done. Therefore, among the image IMGb of the label b, the images IMGb1 and IMGb2 similar to the input image IMGi are displayed as the third and fourth images from the top in the display area of the image IMGb of the label b, respectively. Therefore, in the display area of the image IMGa of the label a, the image IMGa31 having the same viewpoint as the image IMGb1 is displayed third from the top, and the image IMGa32 having the same viewpoint as the image IMGb2 is displayed fourth from the top. Will be done.

このように、表示部242は、特徴量の観点が揃った画像IMG(特徴空間上で入力画像IMGiを通る同一の線上に位置する画像IMG)を同じ行に表示する。これにより、例えば、オペレータは、入力画像IMGiに付与しようとしているラベル以外のラベルの中に、入力画像IMGiに類似した画像IMGが存在した場合、同じ観点で見た時の正解と考えるラベル内の画像IMGを容易に確認できる。すなわち、入力画像IMGiがどのラベルにより近い画像IMGであるかを容易に確認することが可能になる。この結果、画像IMGにラベルを付与する際に、過去のラベル付け結果(既にラベル付けされた画像IMGのラベル付け結果)との矛盾の発生を抑止することができる。 In this way, the display unit 242 displays the image IMG (the image IMG located on the same line passing through the input image IMGi in the feature space) having the same viewpoints of the feature amount on the same line. As a result, for example, when an image IMG similar to the input image IMG exists among the labels other than the label to be given to the input image IMGi, the operator considers the correct answer when viewed from the same viewpoint in the label. The image IMG can be easily confirmed. That is, it becomes possible to easily confirm which label the input image IMGi is closer to. As a result, when labeling the image IMG, it is possible to suppress the occurrence of a contradiction with the past labeling result (labeling result of the already labeled image IMG).

図17は、図14に示した画像表示装置208の動作の一例を示す。図17に示す動作は、コンピュータ10により実行される画像表示方法の一態様である。また、図17に示す動作をコンピュータ10に実行させるためのプログラムは、画像表示プログラムの一態様である。なお、図17に示す動作は、ハードウェアのみで実現されてもよい。図8で説明した動作と同一または同様の動作については、詳細な説明を省略する。図17に示す動作は、ステップS620の処理が図8に示した動作に追加され、図8に示したステップS710の処理の代わりにステップS712の処理が実行されることを除いて、図8に示した動作と同一または同様である。ステップS620の処理は、ステップS610で全てのラベルを探索したと判定された場合に実行される。 FIG. 17 shows an example of the operation of the image display device 208 shown in FIG. The operation shown in FIG. 17 is one aspect of the image display method executed by the computer 10. Further, the program for causing the computer 10 to execute the operation shown in FIG. 17 is one aspect of the image display program. The operation shown in FIG. 17 may be realized only by hardware. Detailed description of the same or similar operation as that described with reference to FIG. 8 will be omitted. The operation shown in FIG. 17 is shown in FIG. 8 except that the process of step S620 is added to the operation shown in FIG. 8 and the process of step S712 is executed instead of the process of step S710 shown in FIG. Same or similar to the shown operation. The process of step S620 is executed when it is determined in step S610 that all the labels have been searched.

ステップS620では、第3画像特定部238は、図15で説明したように、第3の画像IMGを参照画像IMGrとして追加する。例えば、第3画像特定部238は、ステップS410およびステップS510で特定した参照画像IMGr(第1の画像IMG、第2の画像IMG)毎に、参照画像IMGrと同じ観点を有する異なるラベルの画像IMGを第3の画像IMGに特定する。これにより、第3の画像IMGは、後述するステップS712において、入力画像IMGi等と一緒に表示装置110に表示される。ステップS620の処理が実行された後、画像表示装置208の動作は、ステップS712に移る。 In step S620, the third image identification unit 238 adds the third image IMG as the reference image IMGr, as described with reference to FIG. For example, the third image identification unit 238 has a different label image IMG having the same viewpoint as the reference image IMGr for each reference image IMGr (first image IMG, second image IMG) specified in steps S410 and S510. Is specified as the third image IMG. As a result, the third image IMG is displayed on the display device 110 together with the input image IMGi and the like in step S712 described later. After the process of step S620 is executed, the operation of the image display device 208 shifts to step S712.

ステップS712では、表示部242は、図16で説明したように、入力画像IMGiと各ラベルの参照画像IMGrとを表示装置110に表示する。すなわち、表示部242は、第1の種別、第3の画像IMGの種別を示す情報、第1の画像IMG、第2の画像IMG、第3の画像IMGおよび入力画像IMGiを含む画面を表示装置110に表示する。これにより、全てのラベルにおいて参照画像IMGrの観点が揃った画像IMGが表示されるため、ある観点における入力画像IMGiと各ラベルの参照画像IMGrとの距離感を把握しやすくすることができる。ステップS712の処理が実行された後、画像表示装置208の動作は、ステップS800に移る。 In step S712, the display unit 242 displays the input image IMGi and the reference image IMGr of each label on the display device 110 as described with reference to FIG. That is, the display unit 242 displays a screen including the first type, information indicating the type of the third image IMG, the first image IMG, the second image IMG, the third image IMG, and the input image IMGi. Display on 110. As a result, since the image IMG having the same viewpoints of the reference image IMGr is displayed on all the labels, it is possible to easily grasp the sense of distance between the input image IMGi and the reference image IMGr of each label from a certain viewpoint. After the process of step S712 is executed, the operation of the image display device 208 shifts to step S800.

なお、画像表示装置208の動作は、図17に示す例に限定されない。例えば、画像表示装置208は、ステップS510の処理の代わりに、図11に示したステップS512の処理等を実行してもよい。 The operation of the image display device 208 is not limited to the example shown in FIG. For example, the image display device 208 may execute the process of step S512 shown in FIG. 11 instead of the process of step S510.

以上、図14から図17に示す実施形態においても、図1から図13に示した実施形態と同様の効果を得ることができる。例えば、画像表示装置208は、探索対象の画像IMGで、特徴空間上における第1の画像IMGの位置を示すベクトルVとのなす角が90度のベクトルVで示される画像IMGのうち、入力画像IMGiに最も類似する画像IMGを第2の画像IMGに特定する。 As described above, even in the embodiments shown in FIGS. 14 to 17, the same effects as those in the embodiments shown in FIGS. 1 to 13 can be obtained. For example, the image display device 208 is an image IMG to be searched, and is an input image among the image IMGs whose angle formed by the vector V indicating the position of the first image IMG in the feature space is 90 degrees. The image IMG most similar to the IMGi is identified as the second image IMG.

さらに、画像表示装置208は、第1の画像IMGおよび第2の画像IMGのうちの1つの画像IMGと同じ観点を有する異なるラベルの画像IMGを第3の画像IMGに特定する処理を、第1の画像IMGおよび第2の画像IMGの各々に対して実行する。そして、画像表示装置208は、入力画像IMGiと各ラベルの参照画像IMGr(第1の画像IMG、第2の画像IMG、第3の画像IMG)とを表示装置110に表示する。 Further, the image display device 208 performs a process of identifying an image IMG having a different label having the same viewpoint as one of the first image IMG and the second image IMG into the third image IMG. This is performed for each of the image IMG and the second image IMG. Then, the image display device 208 displays the input image IMGi and the reference image IMGr (first image IMG, second image IMG, third image IMG) of each label on the display device 110.

これにより、全てのラベルにおいて参照画像IMGrの観点が揃った画像IMGが表示されるため、ある観点における入力画像IMGiと各ラベルの参照画像IMGrとの距離感を把握しやすくすることができる。この結果、画像IMGにラベルを付与する際に、過去のラベル付け結果(既にラベル付けされた画像IMGのラベル付け結果)との矛盾の発生を抑止することができる。 As a result, since the image IMG having the same viewpoints of the reference image IMGr is displayed on all the labels, it is possible to easily grasp the sense of distance between the input image IMGi and the reference image IMGr of each label from a certain viewpoint. As a result, when labeling the image IMG, it is possible to suppress the occurrence of a contradiction with the past labeling result (labeling result of the already labeled image IMG).

以上の実施形態において説明した発明を整理して、付記として以下の通り開示する。
(付記1)
入力画像から複数種類の特徴量を算出し、
画像に対応付けて前記画像の種別を示す情報と前記画像から算出した複数種類の特徴量とを記憶する記憶部を参照して、前記種別のうち第1の種別と対応付けられた画像のうち前記入力画像に最も類似する第1の画像を特定し、
特徴量の種類によって定められる特徴空間上において、前記記憶部に記憶されている複数の画像のうち、前記第1の種別と対応付けられており、前記入力画像および前記第1の画像と所定の位置関係にある第2の画像を特定し、
前記第1の種別を示す情報と前記第1の画像と前記第2の画像と前記入力画像とを含む画面を表示する
処理をコンピュータに実行させるための画像表示プログラム。
(付記2)
付記1に記載の画像表示プログラムにおいて、
前記第1の種別と対応付けられた画像のうち、前記特徴空間上における前記入力画像の位置を始点とした場合の前記第1の画像の位置を示すベクトルとのなす角が90度のベクトルで示される画像を、前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
(付記3)
付記2に記載の画像表示プログラムにおいて、
前記第1の画像の位置を示すベクトルとのなす角が90度のベクトルで示される画像を複数抽出した場合、抽出した複数の画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
(付記4)
付記3に記載の画像表示プログラムにおいて、
さらに、複数の前記第2の画像を特定する場合、前記第1の種別と対応付けられており、前記特徴空間上における前記入力画像の位置を始点とした場合の前記第1の画像の位置を示すベクトルおよび既に特定した前記第2の画像の位置を示すベクトルの各々とのなす角が全て90度であるベクトルで示される画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
(付記5)
付記1に記載の画像表示プログラムにおいて、
前記第1の種別と対応付けられており、前記特徴空間上における前記入力画像の位置を始点とした場合の前記第1の画像の位置を示すベクトルとのなす角が90度を含む所定の第1の範囲内のベクトルで示される画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定し、
さらに、複数の前記第2の画像を特定する場合、前記第1の種別と対応付けられており、前記特徴空間上における前記入力画像の位置を始点とした場合の前記第1の画像の位置を示すベクトルおよび既に特定した前記第2の画像の位置を示すベクトルの各々とのなす角が全て前記第1の範囲内であるベクトルで示される画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
(付記6)
付記1に記載の画像表示プログラムにおいて、
前記第1の種別と対応付けられており、前記特徴空間上における前記第1の画像との距離が所定の第1の距離以上の画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
(付記7)
付記6に記載の画像表示プログラムにおいて、
さらに、複数の前記第2の画像を特定する場合、前記第1の種別と対応付けられており、前記特徴空間上における前記第1の画像および既に特定した前記第2の画像の各々との距離が前記第1の距離以上の画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
(付記8)
付記6または付記7に記載の画像表示プログラムにおいて、
前記入力画像との距離が所定の第2の距離以上の画像を、前記第2の画像を特定する際の探索対象から除外する
処理をコンピュータに実行させるための画像表示プログラム。
(付記9)
付記1ないし付記8のいずれか1項に記載の画像表示プログラムにおいて、
前記特徴空間上における前記第1の画像および前記第2の画像のうちの1つの画像と前記入力画像とを通る直線上に位置し、前記1つの画像と異なる種別の画像を、第3の画像に特定し、
前記第1の種別を示す情報と前記第3の画像の種別を示す情報と前記第1の画像と前記第2の画像と前記第3の画像と前記入力画像とを含む画面を表示する
処理をコンピュータに実行させるための画像表示プログラム。
(付記10)
付記9に記載の画像表示プログラムにおいて、
前記直線は、所定の幅を有する
ことを特徴とする画像表示プログラム。
(付記11)
付記1ないし付記8のいずれか1項に記載の画像表示プログラムにおいて、
前記特徴空間上における前記入力画像の位置を始点とした場合の前記第1の画像および前記第2の画像のうちの1つの画像の位置を示すベクトルとのなす角が所定の角度以上で180度以下のベクトルで示され、前記1つの画像と異なる種別の画像を、第3の画像に特定し、
前記第1の種別を示す情報と前記第3の画像の種別を示す情報と前記第1の画像と前記第2の画像と前記第3の画像と前記入力画像とを含む画面を表示する
処理をコンピュータに実行させるための画像表示プログラム。
(付記12)
付記1ないし付記11のいずれか1項に記載の画像表示プログラムにおいて、
前記第1の種別を前記種別のうちの他の種別に変更して、前記第1の画像の特定および前記第2の画像の特定を前記種別毎に実行する
処理をコンピュータに実行させるための画像表示プログラム。
(付記13)
入力画像から複数種類の特徴量を算出する特徴量算出部と、
画像に対応付けて前記画像の種別を示す情報と前記画像から算出した複数種類の特徴量とを記憶する記憶部を参照して、前記種別のうち第1の種別と対応付けられた画像のうち前記入力画像に最も類似する第1の画像を特定する第1画像特定部と、
特徴量の種類によって定められる特徴空間上において、前記記憶部に記憶されている複数の画像のうち、前記第1の種別と対応付けられており、前記入力画像および前記第1の画像と所定の位置関係にある第2の画像を特定する第2画像特定部と、
前記第1の種別を示す情報と前記第1の画像と前記第2の画像と前記入力画像とを含む画面を表示する表示部とを有する
ことを特徴とする画像表示装置。
(付記14)
コンピュータにより実行される画像表示方法であって、
前記コンピュータが、
入力画像から複数種類の特徴量を算出し、
画像に対応付けて前記画像の種別を示す情報と前記画像から算出した複数種類の特徴量とを記憶する記憶部を参照して、前記種別のうち第1の種別と対応付けられた画像のうち前記入力画像に最も類似する第1の画像を特定し、
特徴量の種類によって定められる特徴空間上において、前記記憶部に記憶されている複数の画像のうち、前記第1の種別と対応付けられており、前記入力画像および前記第1の画像と所定の位置関係にある第2の画像を特定し、
前記第1の種別を示す情報と前記第1の画像と前記第2の画像と前記入力画像とを含む画面を表示する
ことを特徴とする画像表示方法。
(付記15)
入力画像から複数種類の特徴量を算出し、
画像に対応付けて前記画像の種別を示す情報と前記画像から算出した複数種類の特徴量とを記憶する記憶部を参照して、前記種別のうち第1の種別と対応付けられた画像のうち前記入力画像に最も類似する第1の画像を特定し、
特徴量の種類によって定められる特徴空間上において、前記記憶部に記憶されている複数の画像のうち、前記第1の種別と対応付けられており、前記入力画像および前記第1の画像と所定の位置関係にある第2の画像を特定し、
前記第1の種別を示す情報と前記第1の画像と前記第2の画像と前記入力画像とを含む画面を表示する
処理をコンピュータに実行させるための画像表示プログラムを記録したことを特徴とするコンピュータが読み取り可能な記録媒体。
The inventions described in the above embodiments are organized and disclosed as an appendix as follows.
(Appendix 1)
Calculate multiple types of features from the input image
Of the images associated with the first type of the above types, with reference to the storage unit that stores the information indicating the type of the image associated with the image and the plurality of types of feature quantities calculated from the image. Identify the first image that most closely resembles the input image and
In the feature space determined by the type of feature amount, among the plurality of images stored in the storage unit, the first type is associated with the input image and the first image and a predetermined image. Identify the second image in the positional relationship,
An image display program for causing a computer to execute a process of displaying a screen including information indicating the first type, the first image, the second image, and the input image.
(Appendix 2)
In the image display program described in Appendix 1,
Among the images associated with the first type, a vector having an angle of 90 degrees with a vector indicating the position of the first image when the position of the input image in the feature space is used as a starting point. An image display program for causing a computer to execute a process of identifying the shown image as the second image.
(Appendix 3)
In the image display program described in Appendix 2,
When a plurality of images represented by a vector having an angle of 90 degrees with the vector indicating the position of the first image are extracted, the image most similar to the input image is selected from the extracted plurality of images. An image display program that allows a computer to perform processing that identifies an image.
(Appendix 4)
In the image display program described in Appendix 3,
Further, when a plurality of the second images are specified, the position of the first image is associated with the first type and the position of the first image when the position of the input image in the feature space is used as a starting point. Of the images represented by the vector in which the angle formed by each of the indicated vector and the already identified vector indicating the position of the second image is 90 degrees, the image most similar to the input image is the second image. An image display program that allows a computer to perform the processing specified in.
(Appendix 5)
In the image display program described in Appendix 1,
A predetermined first type that is associated with the first type and has an angle of 90 degrees with a vector indicating the position of the first image when the position of the input image in the feature space is used as a starting point. Among the images represented by the vectors within the range of 1, the image most similar to the input image is specified as the second image.
Further, when a plurality of the second images are specified, the position of the first image is associated with the first type and the position of the first image when the position of the input image in the feature space is used as a starting point. Among the images represented by the vector in which the angles formed by each of the indicated vector and the already identified vector indicating the position of the second image are all within the first range, the image most similar to the input image is described. An image display program for causing a computer to execute a process that identifies a second image.
(Appendix 6)
In the image display program described in Appendix 1,
Among the images associated with the first type and having a distance from the first image on the feature space equal to or greater than a predetermined first distance, the image most similar to the input image is the second image. An image display program that allows a computer to perform processing that identifies an image in.
(Appendix 7)
In the image display program described in Appendix 6,
Further, when a plurality of the second images are specified, the distance between the first image and the already specified second image in the feature space is associated with the first type. Is an image display program for causing a computer to execute a process of identifying an image most similar to the input image as the second image among the images of the first distance or more.
(Appendix 8)
In the image display program described in Appendix 6 or Appendix 7,
An image display program for causing a computer to execute a process of excluding an image whose distance from the input image is equal to or greater than a predetermined second distance from the search target when specifying the second image.
(Appendix 9)
In the image display program according to any one of Appendix 1 to Appendix 8,
A third image is an image of a type different from the one image, which is located on a straight line passing through the first image and one of the second images and the input image in the feature space. Specific to
A process of displaying a screen including the information indicating the first type, the information indicating the type of the third image, the first image, the second image, the third image, and the input image. An image display program to be executed by a computer.
(Appendix 10)
In the image display program described in Appendix 9,
An image display program characterized in that the straight line has a predetermined width.
(Appendix 11)
In the image display program according to any one of Appendix 1 to Appendix 8,
When the angle formed by the vector indicating the position of one of the first image and the second image when the position of the input image is set as the starting point in the feature space is 180 degrees at a predetermined angle or more. An image of a type different from the one image shown by the following vector is specified as a third image.
A process of displaying a screen including the information indicating the first type, the information indicating the type of the third image, the first image, the second image, the third image, and the input image. An image display program to be executed by a computer.
(Appendix 12)
In the image display program according to any one of Appendix 1 to Appendix 11,
An image for changing the first type to another type among the types and causing a computer to execute a process of specifying the first image and specifying the second image for each type. Display program.
(Appendix 13)
A feature amount calculation unit that calculates multiple types of feature amounts from the input image,
Of the images associated with the first type of the above types, with reference to the storage unit that stores the information indicating the type of the image associated with the image and the plurality of types of feature quantities calculated from the image. A first image identification unit that identifies a first image that most closely resembles the input image,
In the feature space determined by the type of feature amount, among the plurality of images stored in the storage unit, the first type is associated with the input image and the first image and a predetermined image. A second image identification unit that identifies a second image that is in a positional relationship,
An image display device including an information indicating the first type, a display unit for displaying a screen including the first image, the second image, and the input image.
(Appendix 14)
An image display method performed by a computer
The computer
Calculate multiple types of features from the input image
Of the images associated with the first type of the above types, with reference to the storage unit that stores the information indicating the type of the image associated with the image and the plurality of types of feature quantities calculated from the image. Identify the first image that most closely resembles the input image and
In the feature space determined by the type of feature amount, among the plurality of images stored in the storage unit, the first type is associated with the input image and the first image and a predetermined image. Identify the second image in the positional relationship,
An image display method comprising displaying a screen including information indicating the first type, the first image, the second image, and the input image.
(Appendix 15)
Calculate multiple types of features from the input image
Of the images associated with the first type of the above types, with reference to the storage unit that stores the information indicating the type of the image associated with the image and the plurality of types of feature quantities calculated from the image. Identify the first image that most closely resembles the input image and
In the feature space determined by the type of feature amount, among the plurality of images stored in the storage unit, the first type is associated with the input image and the first image and a predetermined image. Identify the second image in the positional relationship,
It is characterized in that an image display program for causing a computer to execute a process of displaying a screen including the information indicating the first type, the first image, the second image, and the input image is recorded. A computer-readable recording medium.

以上の詳細な説明により、実施形態の特徴点および利点は明らかになるであろう。これは、特許請求の範囲がその精神および権利範囲を逸脱しない範囲で前述のような実施形態の特徴点および利点にまで及ぶことを意図するものである。また、当該技術分野において通常の知識を有する者であれば、あらゆる改良および変更に容易に想到できるはずである。したがって、発明性を有する実施形態の範囲を前述したものに限定する意図はなく、実施形態に開示された範囲に含まれる適当な改良物および均等物に拠ることも可能である。 The above detailed description will clarify the features and advantages of the embodiments. It is intended that the claims extend to the features and advantages of the embodiments as described above, without departing from their spirit and scope of rights. Also, anyone with ordinary knowledge in the art should be able to easily come up with any improvements or changes. Therefore, there is no intention to limit the scope of the embodiments having invention to those described above, and it is possible to rely on suitable improvements and equivalents included in the scope disclosed in the embodiments.

10‥コンピュータ;20‥プロセッサ;30‥メモリ;40‥ハードディスク装置;50‥入力インタフェース;60‥出力インタフェース;70‥ドライブ装置;80‥バス;90‥撮像装置;100‥入力装置;110‥表示装置;120‥リムーバブルメディア;200、202、204、206、208‥画像表示装置;210‥特徴量算出部;212‥類似度算出部;220、222‥第1画像特定部;230、232、234、236‥第2画像特定部;238‥第3画像特定部;240、242‥表示部;250‥登録部 10 Computer; 20 Processor; 30 Memory; 40 Hard disk device; 50 Input interface; 60 Output interface; 70 Drive device; 80 Bus; 90 Imaging device; 100 Input device; 110 Display device 120 ... Removable media; 200, 202, 204, 206, 208 ... Image display device; 210 ... Feature amount calculation unit; 212 ... Similarity calculation unit; 220, 222 ... First image identification unit; 230, 232, 234, 236 ... 2nd image identification unit; 238 ... 3rd image identification unit; 240, 242 ... Display unit; 250 ... Registration unit

Claims (11)

入力画像から複数種類の特徴量を算出し、
画像に対応付けて前記画像の種別を示す情報と前記画像から算出した複数種類の特徴量とを記憶する記憶部を参照して、前記種別のうち第1の種別と対応付けられた画像のうち前記入力画像に最も類似する第1の画像を特定し、
特徴量の各種類を軸とする座標空間上において、前記記憶部に記憶されている複数の画像のうち、前記第1の種別と対応付けられており、前記入力画像および前記第1の画像と所定の位置関係にある第2の画像を特定し、
前記第1の種別を示す情報と前記第1の画像と前記第2の画像と前記入力画像とを含む画面を表示する
処理をコンピュータに実行させるための画像表示プログラム。
Calculate multiple types of features from the input image
Of the images associated with the first type of the above types, with reference to the storage unit that stores the information indicating the type of the image associated with the image and the plurality of types of feature quantities calculated from the image. Identify the first image that most closely resembles the input image and
Among the plurality of images stored in the storage unit on the coordinate space centered on each type of feature amount, the first type is associated with the input image and the first image. Identify the second image that has a predetermined positional relationship,
An image display program for causing a computer to execute a process of displaying a screen including information indicating the first type, the first image, the second image, and the input image.
請求項1に記載の画像表示プログラムにおいて、
前記第1の種別と対応付けられた画像のうち、前記座標空間上における前記入力画像の位置を始点とした場合の前記第1の画像の位置を示すベクトルとのなす角が90度のベクトルで示される画像を、前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
In the image display program according to claim 1,
Among the images associated with the first type, a vector having an angle of 90 degrees with a vector indicating the position of the first image when the position of the input image in the coordinate space is used as a starting point. An image display program for causing a computer to execute a process of identifying the shown image as the second image.
請求項2に記載の画像表示プログラムにおいて、
前記第1の画像の位置を示すベクトルとのなす角が90度のベクトルで示される画像を複数抽出した場合、抽出した複数の画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
In the image display program according to claim 2,
When a plurality of images represented by a vector having an angle of 90 degrees with the vector indicating the position of the first image are extracted, the image most similar to the input image is selected from the extracted plurality of images. An image display program that allows a computer to perform processing that identifies an image.
請求項3に記載の画像表示プログラムにおいて、
さらに、複数の前記第2の画像を特定する場合、前記第1の種別と対応付けられており、前記座標空間上における前記入力画像の位置を始点とした場合の前記第1の画像の位置を示すベクトルおよび既に特定した前記第2の画像の位置を示すベクトルの各々とのなす角が全て90度であるベクトルで示される画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
In the image display program according to claim 3,
Further, when a plurality of the second images are specified, the position of the first image is associated with the first type and the position of the first image when the position of the input image in the coordinate space is used as a starting point. Among the images represented by the vector in which the angle formed by each of the indicated vector and the already identified vector indicating the position of the second image is 90 degrees, the image most similar to the input image is the second image. An image display program that allows a computer to perform the process specified in.
請求項1に記載の画像表示プログラムにおいて、
前記第1の種別と対応付けられており、前記座標空間上における前記入力画像の位置を始点とした場合の前記第1の画像の位置を示すベクトルとのなす角が90度を含む所定の第1の範囲内のベクトルで示される画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定し、
さらに、複数の前記第2の画像を特定する場合、前記第1の種別と対応付けられており、前記座標空間上における前記入力画像の位置を始点とした場合の前記第1の画像の位置を示すベクトルおよび既に特定した前記第2の画像の位置を示すベクトルの各々とのなす角が全て前記第1の範囲内であるベクトルで示される画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
In the image display program according to claim 1,
A predetermined first type that is associated with the first type and has an angle of 90 degrees with a vector indicating the position of the first image when the position of the input image in the coordinate space is used as a starting point. Among the images represented by the vectors within the range of 1, the image most similar to the input image is specified as the second image.
Further, when a plurality of the second images are specified, the position of the first image is associated with the first type and the position of the first image when the position of the input image in the coordinate space is used as a starting point. Among the images represented by the vector in which the angles formed by each of the indicated vector and the vector indicating the position of the second image already specified are all within the first range, the image most similar to the input image is described. An image display program for causing a computer to execute a process that identifies a second image.
請求項1に記載の画像表示プログラムにおいて、
前記第1の種別と対応付けられており、前記座標空間上における前記第1の画像との距離が所定の第1の距離以上の画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
In the image display program according to claim 1,
Among the images associated with the first type and having a distance to the first image in the coordinate space equal to or greater than a predetermined first distance, the image most similar to the input image is the second image. An image display program that allows a computer to perform processing that identifies an image in.
請求項6に記載の画像表示プログラムにおいて、
さらに、複数の前記第2の画像を特定する場合、前記第1の種別と対応付けられており、前記座標空間上における前記第1の画像および既に特定した前記第2の画像の各々との距離が前記第1の距離以上の画像のうち、前記入力画像に最も類似する画像を前記第2の画像に特定する
処理をコンピュータに実行させるための画像表示プログラム。
In the image display program according to claim 6,
Further, when a plurality of the second images are specified, the distance between the first image and the already specified second image in the coordinate space is associated with the first type. Is an image display program for causing a computer to execute a process of identifying an image most similar to the input image as the second image among the images of the first distance or more.
請求項6または請求項7に記載の画像表示プログラムにおいて、
前記入力画像との距離が所定の第2の距離以上の画像を、前記第2の画像を特定する際の探索対象から除外する
処理をコンピュータに実行させるための画像表示プログラム。
In the image display program according to claim 6 or 7.
An image display program for causing a computer to execute a process of excluding an image whose distance from the input image is equal to or greater than a predetermined second distance from the search target when specifying the second image.
請求項1ないし請求項8のいずれか1項に記載の画像表示プログラムにおいて、
前記座標空間上における前記第1の画像および前記第2の画像のうちの1つの画像と前記入力画像とを通る直線上に位置し、前記1つの画像と異なる種別の画像を、第3の画像に特定し、
前記第1の種別を示す情報と前記第3の画像の種別を示す情報と前記第1の画像と前記第2の画像と前記第3の画像と前記入力画像とを含む画面を表示する
処理をコンピュータに実行させるための画像表示プログラム。
In the image display program according to any one of claims 1 to 8.
A third image is an image of a type different from the one image, which is located on a straight line passing through the first image and one of the second images and the input image in the coordinate space. Specific to
A process of displaying a screen including the information indicating the first type, the information indicating the type of the third image, the first image, the second image, the third image, and the input image. An image display program to be executed by a computer.
入力画像から複数種類の特徴量を算出する特徴量算出部と、
画像に対応付けて前記画像の種別を示す情報と前記画像から算出した複数種類の特徴量とを記憶する記憶部を参照して、前記種別のうち第1の種別と対応付けられた画像のうち前記入力画像に最も類似する第1の画像を特定する第1画像特定部と、
特徴量の各種類を軸とする座標空間上において、前記記憶部に記憶されている複数の画像のうち、前記第1の種別と対応付けられており、前記入力画像および前記第1の画像と所定の位置関係にある第2の画像を特定する第2画像特定部と、
前記第1の種別を示す情報と前記第1の画像と前記第2の画像と前記入力画像とを含む画面を表示する表示部とを有する
ことを特徴とする画像表示装置。
A feature amount calculation unit that calculates multiple types of feature amounts from the input image,
Of the images associated with the first type of the above types, with reference to the storage unit that stores the information indicating the type of the image associated with the image and the plurality of types of feature quantities calculated from the image. A first image identification unit that identifies a first image that most closely resembles the input image,
Among the plurality of images stored in the storage unit on the coordinate space centered on each type of feature amount, the first type is associated with the input image and the first image. A second image identification unit that specifies a second image having a predetermined positional relationship,
An image display device including an information indicating the first type, a display unit for displaying a screen including the first image, the second image, and the input image.
コンピュータにより実行される画像表示方法であって、
前記コンピュータが、
入力画像から複数種類の特徴量を算出し、
画像に対応付けて前記画像の種別を示す情報と前記画像から算出した複数種類の特徴量とを記憶する記憶部を参照して、前記種別のうち第1の種別と対応付けられた画像のうち前記入力画像に最も類似する第1の画像を特定し、
特徴量の各種類を軸とする座標空間上において、前記記憶部に記憶されている複数の画像のうち、前記第1の種別と対応付けられており、前記入力画像および前記第1の画像と所定の位置関係にある第2の画像を特定し、
前記第1の種別を示す情報と前記第1の画像と前記第2の画像と前記入力画像とを含む画面を表示する
ことを特徴とする画像表示方法。
An image display method performed by a computer
The computer
Calculate multiple types of features from the input image
Of the images associated with the first type of the above types, with reference to the storage unit that stores the information indicating the type of the image associated with the image and the plurality of types of feature quantities calculated from the image. Identify the first image that most closely resembles the input image and
Among the plurality of images stored in the storage unit on the coordinate space centered on each type of feature amount, the first type is associated with the input image and the first image. Identify the second image that has a predetermined positional relationship,
An image display method comprising displaying a screen including information indicating the first type, the first image, the second image, and the input image.
JP2017070379A 2017-03-31 2017-03-31 Image display program, image display device and image display method Active JP6919276B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017070379A JP6919276B2 (en) 2017-03-31 2017-03-31 Image display program, image display device and image display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017070379A JP6919276B2 (en) 2017-03-31 2017-03-31 Image display program, image display device and image display method

Publications (2)

Publication Number Publication Date
JP2018173734A JP2018173734A (en) 2018-11-08
JP6919276B2 true JP6919276B2 (en) 2021-08-18

Family

ID=64106627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017070379A Active JP6919276B2 (en) 2017-03-31 2017-03-31 Image display program, image display device and image display method

Country Status (1)

Country Link
JP (1) JP6919276B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5199939B2 (en) * 2009-04-15 2013-05-15 ヤフー株式会社 Image search apparatus, image search method and program
CN105453132B (en) * 2013-08-15 2019-04-05 日本电气株式会社 Information processing apparatus and image processing method implementing image processing
JP6409294B2 (en) * 2014-03-17 2018-10-24 日本電気株式会社 Information processing apparatus, system, method, and program

Also Published As

Publication number Publication date
JP2018173734A (en) 2018-11-08

Similar Documents

Publication Publication Date Title
US11762454B2 (en) Method and apparatus with image augmentation
CN108229468B (en) Vehicle appearance feature recognition and vehicle retrieval method and device, storage medium and electronic equipment
US10909369B2 (en) Imaging system and method for object detection and localization
CN105574527B (en) A Fast Object Detection Method Based on Local Feature Learning
US20110103700A1 (en) Image classification device and image classification program
JP2012243313A (en) Image processing method and image processing device
CN107392215A (en) A kind of multigraph detection method based on SIFT algorithms
JP6331761B2 (en) Determination device, determination method, and determination program
JP5747733B2 (en) Object detection device, object detection method, classifier creation device, and classifier creation method
KR20150058663A (en) Apparatus and Method Searching Shoes Image Using Matching Pair
US8718362B2 (en) Appearance and context based object classification in images
JP2018201161A (en) Moving body tracking device, moving body tracking method, and program
WO2020121866A1 (en) List generation device, photographic subject identification device, list generation method, and program
WO2020052513A1 (en) Image identification and pedestrian re-identification method and apparatus, and electronic and storage device
JP6800671B2 (en) Grant device, grant method and grant program
Liu et al. A large-scale dataset for indoor visual localization with high-precision ground truth
Lima et al. 3d pedestrian localization using multiple cameras: a generalizable approach
Böttger et al. Measuring the accuracy of object detectors and trackers
JP2014102805A (en) Information processing device, information processing method and program
JP6919276B2 (en) Image display program, image display device and image display method
WO2015136716A1 (en) Image processing device, image sensor, and image processing method
US10796435B2 (en) Image processing method and image processing apparatus
JP2022090491A (en) Image processing apparatus, image processing method, and program
JP6855175B2 (en) Image processing equipment, image processing methods and programs
JP2012027617A (en) Pattern identification device, pattern identification method and program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20170803

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20170803

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20170804

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180214

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20180219

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20180219

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210105

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210302

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210622

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210705

R150 Certificate of patent or registration of utility model

Ref document number: 6919276

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150