JP7613093B2 - Information processing device and information processing program - Google Patents
Information processing device and information processing program Download PDFInfo
- Publication number
- JP7613093B2 JP7613093B2 JP2020214347A JP2020214347A JP7613093B2 JP 7613093 B2 JP7613093 B2 JP 7613093B2 JP 2020214347 A JP2020214347 A JP 2020214347A JP 2020214347 A JP2020214347 A JP 2020214347A JP 7613093 B2 JP7613093 B2 JP 7613093B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- image quality
- index value
- representing
- information processing
- 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
Links
- 230000010365 information processing Effects 0.000 title claims description 65
- 230000002159 abnormal effect Effects 0.000 claims description 26
- 238000003384 imaging method Methods 0.000 claims description 16
- 230000005856 abnormality Effects 0.000 claims description 3
- 238000005520 cutting process Methods 0.000 claims description 3
- 238000013441 quality evaluation Methods 0.000 description 30
- 238000011156 evaluation Methods 0.000 description 23
- 238000003860 storage Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 13
- 238000000034 method Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 9
- 230000006866 deterioration Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- CVOFKRWYWCSDMA-UHFFFAOYSA-N 2-chloro-n-(2,6-diethylphenyl)-n-(methoxymethyl)acetamide;2,6-dinitro-n,n-dipropyl-4-(trifluoromethyl)aniline Chemical compound CCC1=CC=CC(CC)=C1N(COC)C(=O)CCl.CCCN(CCC)C1=C([N+]([O-])=O)C=C(C(F)(F)F)C=C1[N+]([O-])=O CVOFKRWYWCSDMA-UHFFFAOYSA-N 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 238000000605 extraction Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000005266 casting Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005401 electroluminescence Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- BQCADISMDOOEFD-UHFFFAOYSA-N Silver Chemical compound [Ag] BQCADISMDOOEFD-UHFFFAOYSA-N 0.000 description 1
- 239000000919 ceramic Substances 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000002923 metal particle Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000003973 paint Substances 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004576 sand Substances 0.000 description 1
- 238000005488 sandblasting Methods 0.000 description 1
- 229910052709 silver Inorganic materials 0.000 description 1
- 239000004332 silver Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000008685 targeting Effects 0.000 description 1
Landscapes
- Image Analysis (AREA)
Description
本発明は、情報処理装置及び情報処理プログラムに関する。 The present invention relates to an information processing device and an information processing program.
例えば、特許文献1には、汚れによる性能劣化の判定を行う生体認証装置が記載されている。この生体認証装置は、認証対象となる生体の画像を撮像部で取得し、この画像データと予め用意した登録データとを照合して生体認証を行う認証部と、撮像部の汚れ量を検出する汚れ検出部と、汚れ検出部で検出した汚れ量の履歴と、認証部における照合結果履歴とに基づいて汚れ判定条件を決定する汚れ判定条件計算部と、汚れ判定条件とその時点で検出された汚れ量とに基づいて、認証性能低下の要因となる汚れがあるか否かを判定する汚れ判定部と、を備えている。 For example, Patent Document 1 describes a biometric authentication device that determines whether performance has deteriorated due to dirt. This biometric authentication device includes an authentication unit that uses an imaging unit to capture an image of the biometric subject to authentication and performs biometric authentication by comparing this image data with pre-prepared registered data, a dirt detection unit that detects the amount of dirt on the imaging unit, a dirt determination condition calculation unit that determines dirt determination conditions based on a history of the amount of dirt detected by the dirt detection unit and a matching result history in the authentication unit, and a dirt determination unit that determines whether there is dirt that will cause a deterioration in authentication performance based on the dirt determination conditions and the amount of dirt detected at that time.
また、特許文献2には、対象物の真偽及び当該対象物の所有者の真偽を通知する判定システムが記載されている。この判定システムは、登録対象物の登録識別情報及び登録対象物の特定箇所の登録画像を関連付けて記憶する記憶手段と、提示対象物を撮像した画像のうち、ユーザが指定した箇所の指定画像を取得し、提示対象物の提示識別情報と同一の登録識別情報に関連付けられている登録画像を、記憶手段から取得する取得手段と、取得した指定画像と登録画像が一致するか否かを判定する判定手段と、判定手段の判定結果を通知する通知手段と、を有する。 Patent Document 2 also describes a determination system that notifies the authenticity of an object and the authenticity of the owner of the object. This determination system has a storage means that associates and stores the registered identification information of the registered object and a registered image of a specific location of the registered object, an acquisition means that acquires a designated image of a location designated by the user from images of the presented object and acquires from the storage means a registered image associated with the same registered identification information as the presented identification information of the presented object, a determination means that determines whether the acquired designated image matches the registered image, and a notification means that notifies the determination result of the determination means.
ところで、対象物の表面のランダムパターンを撮影し、撮影したランダムパターンを表す登録画像と、照合対象とされる照合画像とを比較することで、対象物の一意識別を行うシステムがある。 There is a system that uniquely identifies an object by capturing an image of a random pattern on the surface of the object and comparing a registered image that represents the captured random pattern with a match image that is used for matching.
この場合、対象物を撮影する撮影装置の劣化、撮影環境の変化、対象物の材質等に起因して、登録画像の画質が悪く、識別性能に影響を与えることがある。しかしながら、画質の程度や、一対象物に対する登録画像の数、一対象物における他の領域の画質の程度等によっては、画質がある程度悪くても、登録画像として登録されることが望ましい。 In this case, the quality of the registered image may be poor due to deterioration of the imaging device that captures the object, changes in the imaging environment, the material of the object, etc., which may affect the recognition performance. However, depending on the level of image quality, the number of registered images for one object, the level of image quality of other areas of one object, etc., it is desirable to register an image even if its image quality is somewhat poor.
本開示は、一意識別を行う対象物の表面のランダムパターンが表れた画像である登録画像を登録する場合に、登録画像の画質が悪くても一意識別が行える場合には、登録画像として登録することができる情報処理装置及び情報処理プログラムを提供することを目的とする。 The present disclosure aims to provide an information processing device and an information processing program that, when registering a registration image that is an image showing a random pattern on the surface of an object to be uniquely identified, can register the registration image as a registration image even if the image quality of the registration image is poor, as long as the image can be uniquely identified.
上記目的を達成するために、第1態様に係る情報処理装置は、プロセッサを備え、前記プロセッサが、一意識別を行う対象物を表す画像から、一意識別を行う際に用いる複数の領域を抽出し、抽出した複数の領域の各々の画質を表す指標値と、前記対象物の特性及び前記対象物を撮影する撮影装置の特性の少なくとも一方により決定される2つ以上の閾値とに基づいて、前記複数の領域の各々について登録画像として登録するか否かを決定する。 To achieve the above object, the information processing device according to the first aspect includes a processor, which extracts multiple regions to be used when performing unique identification from an image representing an object to be uniquely identified, and determines whether or not to register each of the multiple regions as a registered image based on an index value representing the image quality of each of the multiple extracted regions and two or more thresholds determined by at least one of the characteristics of the object and the characteristics of a photographing device that photographs the object.
また、第2態様に係る情報処理装置は、第1態様に係る情報処理装置において、前記2つ以上の閾値が、前記画質を表す指標値について、前記画質が正常であることを示す正常値と前記画質が異常であることを示す第1異常値とを判定するための第1閾値、及び、前記第1異常値と前記第1異常値よりも異常の度合いが大きい第2異常値とを判定するための第2閾値を含み、前記第1閾値以上前記第2閾値未満又は前記第2閾値以上前記第1閾値未満の第1範囲が、一意識別の識別性能を低下させることのない範囲であり、前記第2閾値以上又は前記第2閾値未満の第2範囲が、一意識別の識別性能を低下させる範囲である。 In addition, the information processing device according to the second aspect is an information processing device according to the first aspect, in which the two or more thresholds include a first threshold for determining, for an index value representing the image quality, a normal value indicating that the image quality is normal and a first abnormal value indicating that the image quality is abnormal, and a second threshold for determining, for the index value representing the image quality, the first abnormal value and a second abnormal value that is more abnormal than the first abnormal value, and a first range of equal to or greater than the first threshold and less than the second threshold or equal to or greater than the second threshold and less than the first threshold is a range that does not degrade the identification performance of unique identification, and a second range of equal to or greater than the second threshold or less than the second threshold is a range that degrades the identification performance of unique identification.
また、第3態様に係る情報処理装置は、第2態様に係る情報処理装置において、前記プロセッサが、前記画質を表す指標値が前記第1範囲に含まれる場合、前記画質を表す指標値に対応する領域を登録画像として登録すると決定し、前記画質を表す指標値が前記第2範囲に含まれる場合、前記画質を表す指標値に対応する領域を登録画像として登録しないと決定する。 In addition, in the information processing device according to the third aspect, in the information processing device according to the second aspect, the processor determines that, if the index value representing the image quality is within the first range, the area corresponding to the index value representing the image quality is to be registered as a registered image, and, if the index value representing the image quality is within the second range, the processor determines that the area corresponding to the index value representing the image quality is not to be registered as a registered image.
また、第4態様に係る情報処理装置は、第2態様又は第3態様の情報処理装置において、前記2つ以上の閾値が、予め定められた撮影条件を満たす複数の画像を含むサンプル画像群の照合スコアを評価し、層別化することにより決定される。 In addition, in the information processing device according to the fourth aspect, in the information processing device according to the second or third aspect, the two or more threshold values are determined by evaluating and stratifying the matching scores of a sample image group including a plurality of images that satisfy predetermined shooting conditions.
また、第5態様に係る情報処理装置は、第2態様~第4態様の何れか1の態様に係る情報処理装置において、前記プロセッサが、前記2つ以上の閾値を、前記対象物と前記撮影装置との組み合わせ毎に登録し、予め対応付けられた、前記対象物の識別情報、前記撮影装置の識別情報、及び前記対象物の撮影場所の識別情報を指定することで、対応する2つ以上の閾値を取得する。 In addition, in the information processing device according to the fifth aspect, in the information processing device according to any one of the second to fourth aspects, the processor registers the two or more thresholds for each combination of the object and the photographing device, and acquires the two or more corresponding thresholds by specifying the identification information of the object, the identification information of the photographing device, and the identification information of the photographing location of the object, which are associated in advance.
また、第6態様に係る情報処理装置は、第1態様~第5態様の何れか1の態様に係る情報処理装置において、前記画質を表す指標値が、前記領域におけるボケの度合いを示す指標値、前記領域におけるブレの度合いを示す指標値、前記領域における明るさを示す指標値、及び、前記領域におけるランダム性を示す指標値の少なくとも1つであるとされている。 In addition, the information processing device according to the sixth aspect is an information processing device according to any one of the first to fifth aspects, in which the index value representing the image quality is at least one of an index value indicating the degree of blur in the region, an index value indicating the degree of shaking in the region, an index value indicating the brightness in the region, and an index value indicating randomness in the region.
また、第7態様に係る情報処理装置は、第6態様に係る情報処理装置において、前記ボケの度合いを示す指標値が、ラプラシアンフィルタ値の標準偏差として表され、前記ブレの度合いを示す指標値が、4方向のソーベルフィルタ値の標準偏差の最大値と最小値との差として表され、前記明るさを示す指標値が、輝度の平均値として表され、前記ランダム性を示す指標値が、画像の中心1/4サイズの部分を切り出し、画像の各座標を起点とする同サイズの画像との相関値を求め、その相関値群の最大値から平均値を減じて標準偏差で除した値として表される。 In addition, the information processing device according to the seventh aspect is an information processing device according to the sixth aspect, in which the index value indicating the degree of blur is expressed as the standard deviation of Laplacian filter values, the index value indicating the degree of shaking is expressed as the difference between the maximum and minimum values of the standard deviations of Sobel filter values in four directions, the index value indicating brightness is expressed as the average luminance, and the index value indicating randomness is expressed as a value obtained by cutting out a central 1/4-size portion of the image, finding correlation values with an image of the same size starting from each coordinate of the image, subtracting the average value from the maximum value of the correlation value group, and dividing the result by the standard deviation.
また、第8態様に係る情報処理装置は、第1態様~第7態様の何れか1の態様に係る情報処理装置において、前記複数の領域が、前記対象物の複数の場所の各々について撮影して得られた画像毎に抽出される。 In addition, the information processing device according to the eighth aspect is an information processing device according to any one of the first to seventh aspects, in which the multiple regions are extracted for each image obtained by photographing each of multiple locations of the object.
更に、上記目的を達成するために、第9態様に係る情報処理プログラムは、一意識別を行う対象物を表す画像から、一意識別を行う際に用いる複数の領域を抽出し、抽出した複数の領域の各々の画質を表す指標値と、前記対象物の特性及び前記対象物を撮影する撮影装置の特性の少なくとも一方により決定される2つ以上の閾値とに基づいて、前記複数の領域の各々について登録画像として登録するか否かを決定することを、コンピュータに実行させる。 Furthermore, in order to achieve the above object, the information processing program according to the ninth aspect causes a computer to extract multiple regions to be used when performing unique identification from an image representing an object to be uniquely identified, and determine whether or not to register each of the multiple regions as a registered image based on an index value representing the image quality of each of the multiple extracted regions and two or more thresholds determined by at least one of the characteristics of the object and the characteristics of a photographing device that photographs the object.
第1態様及び第9態様によれば、一意識別を行う対象物の表面のランダムパターンが表れた画像である登録画像を登録する場合に、登録画像の画質が悪くても一意識別が行える場合には、登録画像として登録することができる、という効果を有する。 According to the first and ninth aspects, when a registration image is registered, which is an image showing a random pattern on the surface of an object to be uniquely identified, if the image quality of the registration image is poor but unique identification can be performed, the registration image can be registered.
第2態様によれば、画質を表す指標値、第1閾値、及び第2閾値の関係に基づいて、一意識別の識別性能を低下させることのない範囲を特定することができる、という効果を有する。 The second aspect has the effect of being able to identify a range that does not degrade the identification performance of unique identification based on the relationship between the index value representing image quality, the first threshold, and the second threshold.
第3態様によれば、画質を表す指標値、第1閾値、及び第2閾値の関係に基づいて、登録画像として登録するか否かを決定することができる、という効果を有する。 The third aspect has the effect of being able to determine whether or not to register an image as a registered image based on the relationship between the index value representing image quality, the first threshold, and the second threshold.
第4態様によれば、サンプル画像群の照合スコアを用いて2つ以上の閾値を決定することができる、という効果を有する。 The fourth aspect has the advantage that two or more thresholds can be determined using the matching scores of a group of sample images.
第5態様によれば、対象物の識別情報、撮影装置の識別情報、及び対象物の撮影場所の識別情報を用いて、対応する2つ以上の閾値を得ることができる、という効果を有する。 The fifth aspect has the advantage that it is possible to obtain two or more corresponding thresholds using identification information of the object, identification information of the imaging device, and identification information of the imaging location of the object.
第6態様及び第7態様によれば、画質を表す指標値として、ボケの度合いを示す指標値、ブレの度合いを示す指標値、明るさを示す指標値、及びランダム性を示す指標値を用いて、画質を評価することができる、という効果を有する。 According to the sixth and seventh aspects, the image quality can be evaluated using an index value indicating the degree of blur, an index value indicating the degree of shaking, an index value indicating brightness, and an index value indicating randomness as index values representing the image quality.
第8態様によれば、複数の領域の各々を撮影して得られた画像を1つの領域について複数ずつ得ることができる、という効果を有する。 The eighth aspect has the advantage that it is possible to obtain multiple images for each of the multiple regions by photographing each of the multiple regions.
以下、図面を参照して、本開示の技術を実施するための形態の一例について詳細に説明する。なお、動作、作用、機能が同じ働きを担う構成要素及び処理には、全図面を通して同じ符合を付与し、重複する説明を適宜省略する場合がある。各図面は、本開示の技術を十分に理解できる程度に、概略的に示してあるに過ぎない。よって、本開示の技術は、図示例のみに限定されるものではない。また、本実施形態では、本開示の技術と直接的に関連しない構成や周知な構成については、説明を省略する場合がある。 An example of a form for implementing the technology of the present disclosure will be described in detail below with reference to the drawings. Note that components and processes that perform the same actions, actions, and functions are given the same reference numerals throughout all the drawings, and duplicated descriptions may be omitted as appropriate. Each drawing is merely a schematic illustration to allow a sufficient understanding of the technology of the present disclosure. Therefore, the technology of the present disclosure is not limited to the illustrated examples. Also, in this embodiment, descriptions of configurations that are not directly related to the technology of the present disclosure or well-known configurations may be omitted.
図1は、本実施形態に係る一意識別システム100の構成の一例を示す図である。 Figure 1 is a diagram showing an example of the configuration of a unique identification system 100 according to this embodiment.
図1に示すように、本実施形態に係る一意識別システム100は、物体表面の一部の領域(例えば、10mm角程度)の画像を当該物体固有の情報として予め登録しておき、照合する物体の画像が登録されている物体の画像と類似することをもって、照合する物体が同じであることを一意に識別するものである。なお、同じものか否かを識別することを一意識別と称する。 As shown in FIG. 1, the unique identification system 100 according to this embodiment registers an image of a partial area (e.g., about 10 mm square) of the surface of an object in advance as information specific to that object, and uniquely identifies that the objects being matched are the same if the image of the object being matched resembles the image of the registered object. Note that identifying whether or not objects are the same is referred to as unique identification.
ここでいう物体固有の情報には、一例として、紙を形成する植物繊維の分布、シルバー塗料に含まれる金属微粒子の分散状態等のような制御して形成することが困難とされるランダムパターンが適用される。一意識別システム100では、このランダムパターンを光学的に読み取って情報として利用する。微細なランダムパターンを表す画像は、例えば、スマートフォン、デジタルカメラ、スキャナ等の撮影装置を用いて撮影される。 As an example of the object-specific information referred to here, random patterns that are difficult to control and form, such as the distribution of plant fibers that make up paper or the dispersion state of metal particles contained in silver paint, are applied. In the unique identification system 100, this random pattern is optically read and used as information. An image representing a fine random pattern is captured using a capture device such as a smartphone, digital camera, or scanner.
図1に示す一意識別システム100は、情報処理装置10と、撮影装置20と、撮影装置30と、を備えている。撮影装置20は、登録対象物21の表面のランダムパターンを撮影する。撮影装置30は、照合対象物31の表面のランダムパターンを撮影する。情報処理装置10は、撮影装置20によって登録対象物21の表面を撮影して得られたランダムパターンを表す画像を登録画像としてデータベース(図示省略)に予め登録する。一方、情報処理装置10は、撮影装置30によって照合対象物31の表面を撮影して得られたランダムパターンを表す画像を照合画像として取得する。情報処理装置10では、一意識別の対象である照合画像と、データベースに予め登録しておいた登録画像との比較を行う。具体的には、登録画像及び照合画像の各々の特徴量を求め、求めた各々の特徴量から算出される、登録画像と照合画像との類似度を用いて行う。類似度が一定の値以上であれば、登録画像及び照合画像は同一の対象物から読み取られたもの、すなわち、照合対象物31は同じであると判定する。 The unique identification system 100 shown in FIG. 1 includes an information processing device 10, a photographing device 20, and a photographing device 30. The photographing device 20 photographs the random pattern on the surface of the registration object 21. The photographing device 30 photographs the random pattern on the surface of the matching object 31. The information processing device 10 registers an image representing the random pattern obtained by photographing the surface of the registration object 21 with the photographing device 20 as a registered image in a database (not shown) in advance. Meanwhile, the information processing device 10 acquires an image representing the random pattern obtained by photographing the surface of the matching object 31 with the photographing device 30 as a matching image. The information processing device 10 compares the matching image, which is the target of unique identification, with a registered image registered in advance in the database. Specifically, the feature amounts of the registered image and the matching image are calculated, and the similarity between the registered image and the matching image calculated from the respective feature amounts is used. If the similarity is equal to or greater than a certain value, it is determined that the registered image and the matching image were read from the same object, that is, the matching object 31 is the same.
図2は、本実施形態に係る情報処理装置10の電気的な構成の一例を示すブロック図である。 Figure 2 is a block diagram showing an example of the electrical configuration of the information processing device 10 according to this embodiment.
図2に示すように、本実施形態に係る情報処理装置10は、CPU(Central Processing Unit)11と、ROM(Read Only Memory)12と、RAM(Random Access Memory)13と、入出力インターフェース(I/O)14と、記憶部15と、表示部16と、操作部17と、通信部18と、を備えている。 As shown in FIG. 2, the information processing device 10 according to this embodiment includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, an input/output interface (I/O) 14, a storage unit 15, a display unit 16, an operation unit 17, and a communication unit 18.
本実施形態に係る情報処理装置10には、一例として、サーバコンピュータ、パーソナルコンピュータ(PC:Personal Computer)等の汎用的なコンピュータ装置が適用される。 The information processing device 10 according to this embodiment is, for example, a general-purpose computer device such as a server computer or a personal computer (PC).
CPU11、ROM12、RAM13、及びI/O14は、バスを介して各々接続されている。I/O14には、記憶部15と、表示部16と、操作部17と、通信部18と、を含む各機能部が接続されている。これらの各機能部は、I/O14を介して、CPU11と相互に通信可能とされる。 The CPU 11, ROM 12, RAM 13, and I/O 14 are each connected via a bus. The I/O 14 is connected to various functional units including a memory unit 15, a display unit 16, an operation unit 17, and a communication unit 18. These functional units are capable of communicating with the CPU 11 via the I/O 14.
CPU11、ROM12、RAM13、及びI/O14によって制御部が構成される。制御部は、情報処理装置10の一部の動作を制御するサブ制御部として構成されてもよいし、情報処理装置10の全体の動作を制御するメイン制御部の一部として構成されてもよい。制御部の各ブロックの一部又は全部には、例えば、LSI(Large Scale Integration)等の集積回路又はIC(Integrated Circuit)チップセットが用いられる。上記各ブロックに個別の回路を用いてもよいし、一部又は全部を集積した回路を用いてもよい。上記各ブロック同士が一体として設けられてもよいし、一部のブロックが別に設けられてもよい。また、上記各ブロックのそれぞれにおいて、その一部が別に設けられてもよい。制御部の集積化には、LSIに限らず、専用回路又は汎用プロセッサを用いてもよい。 The control unit is composed of the CPU 11, ROM 12, RAM 13, and I/O 14. The control unit may be configured as a sub-control unit that controls part of the operation of the information processing device 10, or may be configured as part of the main control unit that controls the entire operation of the information processing device 10. For example, an integrated circuit such as an LSI (Large Scale Integration) or an IC (Integrated Circuit) chip set is used for part or all of the blocks of the control unit. An individual circuit may be used for each of the above blocks, or a circuit in which some or all of the blocks are integrated may be used. The above blocks may be provided integrally, or some of the blocks may be provided separately. In addition, a part of each of the above blocks may be provided separately. The integration of the control unit is not limited to an LSI, and a dedicated circuit or a general-purpose processor may be used.
記憶部15としては、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)、フラッシュメモリ等が用いられる。記憶部15には、本実施形態に係る画像登録処理を実行するための情報処理プログラム15Aが記憶される。なお、この情報処理プログラム15Aは、ROM12に記憶されていてもよい。 For example, a hard disk drive (HDD), a solid state drive (SSD), a flash memory, or the like is used as the storage unit 15. The storage unit 15 stores an information processing program 15A for executing the image registration process according to this embodiment. Note that this information processing program 15A may be stored in the ROM 12.
情報処理プログラム15Aは、例えば、情報処理装置10に予めインストールされていてもよい。情報処理プログラム15Aは、不揮発性の記憶媒体に記憶して、又はネットワークを介して配布して、情報処理装置10に適宜インストールすることで実現してもよい。なお、不揮発性の記憶媒体の例としては、CD-ROM(Compact Disc Read Only Memory)、光磁気ディスク、HDD、DVD-ROM(Digital Versatile Disc Read Only Memory)、フラッシュメモリ、メモリカード等が想定される。 The information processing program 15A may be pre-installed in the information processing device 10, for example. The information processing program 15A may be realized by storing it in a non-volatile storage medium or distributing it via a network and installing it appropriately in the information processing device 10. Note that examples of non-volatile storage media include a CD-ROM (Compact Disc Read Only Memory), an optical magnetic disk, a HDD, a DVD-ROM (Digital Versatile Disc Read Only Memory), a flash memory, a memory card, etc.
表示部16には、例えば、液晶ディスプレイ(LCD:Liquid Crystal Display)、有機EL(Electro Luminescence)ディスプレイ等が用いられる。表示部16は、タッチパネルを一体的に有していてもよい。操作部17には、例えば、キーボード、マウス等の操作入力用のデバイスが設けられている。表示部16及び操作部17は、情報処理装置10のユーザから各種の指示を受け付ける。表示部16は、ユーザから受け付けた指示に応じて実行された処理の結果や、処理に対する通知等の各種の情報を表示する。 For example, a liquid crystal display (LCD) or an organic EL (Electro Luminescence) display is used for the display unit 16. The display unit 16 may have an integrated touch panel. The operation unit 17 is provided with devices for operation input, such as a keyboard and a mouse. The display unit 16 and the operation unit 17 receive various instructions from a user of the information processing device 10. The display unit 16 displays various information such as the results of processing executed in response to instructions received from the user and notifications regarding the processing.
通信部18は、一例として、インターネット、LAN(Local Area Network)、WAN(Wide Area Network)等のネットワークに接続されており、撮影装置20、撮影装置30、画像形成装置等の外部機器との間でネットワークを介して通信が可能とされる。 The communication unit 18 is connected to a network such as the Internet, a LAN (Local Area Network), or a WAN (Wide Area Network), and is capable of communicating with external devices such as the imaging device 20, the imaging device 30, and an image forming device via the network.
ところで、上述したように、画質の程度や、一対象物に対する登録画像の数、一対象物における他の領域の画質の程度等によっては、画質がある程度悪くても、登録画像として登録されることが望ましい。 However, as mentioned above, depending on the level of image quality, the number of registered images for an object, the level of image quality of other areas of an object, etc., it is desirable to register an image as a registered image even if the image quality is relatively poor.
本実施形態に係る情報処理装置10は、一意識別を行う対象物の表面のランダムパターンが表れた画像である登録画像をデータベースに登録する場合に、対象物を表す画像から複数の領域を抽出し、抽出した複数の領域の画質と、対象物の特性及び対象物を撮影する撮影装置の特性の少なくとも一方により決定される閾値とに基づいて、各領域の画像各々について登録画像として登録するか否かを決定する。 When registering a registration image, which is an image showing a random pattern on the surface of an object to be uniquely identified, in a database, the information processing device 10 according to this embodiment extracts multiple regions from the image representing the object, and determines whether or not to register the image of each region as a registration image based on the image quality of the multiple extracted regions and a threshold determined by at least one of the characteristics of the object and the characteristics of the imaging device that captures the object.
具体的に、本実施形態に係る情報処理装置10のCPU11は、記憶部15に記憶されている情報処理プログラム15AをRAM13に書き込んで実行することにより、図3に示す各部として機能する。なお、CPU11は、プロセッサの一例である。 Specifically, the CPU 11 of the information processing device 10 according to this embodiment writes the information processing program 15A stored in the storage unit 15 to the RAM 13 and executes it, thereby functioning as each unit shown in FIG. 3. The CPU 11 is an example of a processor.
図3は、本実施形態に係る情報処理装置10の機能的な構成の一例を示すブロック図である。 Figure 3 is a block diagram showing an example of the functional configuration of the information processing device 10 according to this embodiment.
図3に示すように、本実施形態に係る情報処理装置10のCPU11は、取得部11A、抽出部11B、画質評価部11C、及び閾値決定部11Dとして機能する。 As shown in FIG. 3, the CPU 11 of the information processing device 10 according to this embodiment functions as an acquisition unit 11A, an extraction unit 11B, an image quality evaluation unit 11C, and a threshold determination unit 11D.
本実施形態に係る記憶部15には、閾値データベース(以下、「閾値DB」という。)15Bが記憶されている。閾値DB15Bは、外部の記憶装置に記憶されていてもよい。閾値DB15Bには、登録対象物21を表す画像から抽出された複数の領域の各々について登録画像として登録するか否かを決定するための2つ以上の閾値が登録されている。2つ以上の閾値は、登録対象物21の特性及び登録対象物21を撮影する撮影装置20の特性に基づき閾値決定部11Dによって予め決定される閾値である。2つ以上の閾値は、登録対象物21の識別情報である対象物ID(Identification)、撮影装置20の識別情報である撮影装置ID、及び登録対象物21の撮影場所の識別情報である撮影場所IDが対応付けられている。2つ以上の閾値は、登録対象物21及び撮影装置20の組み合わせ毎に予め決定される。なお、2つ以上の閾値は、登録対象物21の特性及び撮影装置20の特性のいずれか一方の特性により決定されてもよい。 The storage unit 15 according to this embodiment stores a threshold database (hereinafter referred to as "threshold DB") 15B. The threshold DB 15B may be stored in an external storage device. The threshold DB 15B stores two or more thresholds for determining whether or not to register each of a plurality of regions extracted from an image representing the registered object 21 as a registered image. The two or more thresholds are thresholds that are determined in advance by the threshold determination unit 11D based on the characteristics of the registered object 21 and the characteristics of the photographing device 20 that photographs the registered object 21. The two or more thresholds are associated with an object ID (Identification) that is identification information of the registered object 21, a photographing device ID that is identification information of the photographing device 20, and a photographing location ID that is identification information of the photographing location of the registered object 21. The two or more thresholds are determined in advance for each combination of the registered object 21 and the photographing device 20. The two or more thresholds may be determined based on either the characteristics of the registered object 21 or the characteristics of the photographing device 20.
取得部11Aは、撮影装置20によって登録対象物21の表面を撮影して得られた画像を取得する。ここでいう画像は、上述のランダムパターンを表す画像である。なお、撮影装置20は、登録対象物21の複数の異なる場所を撮影してもよいし、1つの場所だけを撮影してもよい。撮影装置20は、1台でもよいし、複数台でもよい。撮影装置20は、1つの撮影場所について複数の画像を撮影してもよい。複数の異なる場所で撮影された場合には、複数の撮影場所の各々について複数の画像が取得される。 The acquisition unit 11A acquires an image obtained by photographing the surface of the registered object 21 with the photographing device 20. The image referred to here is an image representing the random pattern described above. The photographing device 20 may photograph multiple different locations of the registered object 21, or may photograph only one location. There may be one photographing device 20, or multiple photographing devices. The photographing device 20 may capture multiple images for one photographing location. When photographs are taken at multiple different locations, multiple images are acquired for each of the multiple photographing locations.
抽出部11Bは、取得部11Aにより取得された画像から複数の領域を抽出する。なお、複数の撮影場所の各々について複数の画像が取得された場合には、複数の画像の各々から複数の領域が抽出される。 The extraction unit 11B extracts multiple regions from the image acquired by the acquisition unit 11A. Note that if multiple images are acquired for each of multiple shooting locations, multiple regions are extracted from each of the multiple images.
画質評価部11Cは、抽出部11Bにより抽出された複数の領域の各々の画質を表す指標値(以下、「画質指標値」という。)を算出する。画質評価部11Cは、複数の領域の各々についての画質指標値と、閾値DB15Bから取得される2つ以上の閾値とに基づいて、複数の領域の各々について登録画像として登録するか否かを決定する。画質評価部11Cは、更に、管理者等に対してデータセットに含まれる画像の状態を通知するモードを表す通知モードを決定する。 The image quality evaluation unit 11C calculates an index value (hereinafter referred to as "image quality index value") representing the image quality of each of the multiple regions extracted by the extraction unit 11B. The image quality evaluation unit 11C determines whether or not to register each of the multiple regions as a registered image based on the image quality index value for each of the multiple regions and two or more thresholds acquired from the threshold DB 15B. The image quality evaluation unit 11C further determines a notification mode representing a mode for notifying an administrator or the like of the status of the images included in the dataset.
閾値決定部11Dは、上述したように、登録対象物21及び撮影装置20の組み合わせ毎に2つ以上の閾値を決定し、決定した2つ以上の閾値を閾値DB15Bに登録する。 As described above, the threshold determination unit 11D determines two or more thresholds for each combination of the registration object 21 and the image capture device 20, and registers the determined two or more thresholds in the threshold DB 15B.
次に、図4を参照して、本実施形態に係る情報処理装置10の作用を説明する。 Next, the operation of the information processing device 10 according to this embodiment will be described with reference to FIG.
図4は、本実施形態に係る情報処理プログラム15Aによる処理の流れの一例を示すフローチャートである。 Figure 4 is a flowchart showing an example of the processing flow of information processing program 15A according to this embodiment.
まず、情報処理装置10に対して、画像登録処理の実行が指示されると、CPU11により情報処理プログラム15Aが起動され、以下のステップを実行する。 First, when the information processing device 10 is instructed to execute an image registration process, the information processing program 15A is started by the CPU 11 and executes the following steps.
図4のステップS101では、CPU11が、一例として、図5に示すように、登録対象物21を表す画像を取得する。 In step S101 of FIG. 4, the CPU 11 acquires an image representing the registration object 21, as shown in FIG. 5 as an example.
図5は、本実施形態に係る登録対象物21及び画像の一例を模式的に示す図である。 Figure 5 is a schematic diagram showing an example of a registration object 21 and an image according to this embodiment.
図5に示すように、登録対象物21の複数の異なる場所を撮影装置20によって複数回ずつ撮影する。図5の例では、登録対象物21の撮影場所21Aに対して複数の画像(以下、「画像A」という。)が取得され、登録対象物21の撮影場所21Bに対して複数の画像(以下、「画像B」という。)が取得される。 As shown in FIG. 5, multiple different locations of the registered object 21 are photographed multiple times by the photographing device 20. In the example of FIG. 5, multiple images (hereinafter referred to as "image A") are acquired for the photographing location 21A of the registered object 21, and multiple images (hereinafter referred to as "image B") are acquired for the photographing location 21B of the registered object 21.
ステップS102では、CPU11が、ステップS101で取得した画像から複数の領域を抽出する。具体的に、上述の図5の例では、複数の画像Aの各々から複数の領域A-a、A-b、A-cが抽出され、複数の画像Bの各々から複数の領域B-a、B-b、B-cが抽出される。 In step S102, the CPU 11 extracts multiple regions from the images acquired in step S101. Specifically, in the example of FIG. 5 described above, multiple regions A-a, Ab, and A-c are extracted from each of the multiple images A, and multiple regions B-a, B-b, and B-c are extracted from each of the multiple images B.
ステップS103では、CPU11が、ステップS102で抽出した複数の領域の各々について画質を評価する。具体的に、上述の図5の例では、複数の画像Aの各々から抽出された複数の領域A-a、A-b、A-cの各々について画質を評価する。同様に、複数の画像Bの各々から抽出された複数の領域B-a、B-b、B-cの各々について画質を評価する。画質の評価に用いる画質指標値には、撮影条件の劣化原因を推定可能な指標値が適用される。 In step S103, the CPU 11 evaluates the image quality of each of the multiple regions extracted in step S102. Specifically, in the example of FIG. 5 described above, the image quality is evaluated for each of the multiple regions A-a, Ab, and A-c extracted from each of the multiple images A. Similarly, the image quality is evaluated for each of the multiple regions B-a, B-b, and B-c extracted from each of the multiple images B. An index value that can estimate the cause of deterioration in the shooting conditions is applied as the image quality index value used to evaluate the image quality.
画質指標値には、一例として、領域におけるボケの度合いを示す指標値、領域におけるブレの度合いを示す指標値、領域における明るさを示す指標値、及び、領域におけるランダム性を示す指標値の少なくとも1つが用いられる。ボケの度合いを示す指標値は、例えば、ラプラシアンフィルタ値の標準偏差として表される。また、ブレの度合いを示す指標値は、例えば、4方向のソーベルフィルタ値の標準偏差の最大値と最小値との差として表される。また、明るさを示す指標値は、例えば、輝度の平均値として表される。また、ランダム性を示す指標値は、例えば、画像の中心1/4サイズの部分を切り出し、画像の各座標を起点とする同サイズの画像との相関値を求め、その相関値群の最大値から平均値を減じて標準偏差で除した値(自己ランダム性評価値)として表される。 As an example, the image quality index value may be at least one of an index value indicating the degree of blur in an area, an index value indicating the degree of shaking in an area, an index value indicating the brightness in an area, and an index value indicating randomness in an area. The index value indicating the degree of blur is expressed, for example, as the standard deviation of the Laplacian filter value. The index value indicating the degree of shaking is expressed, for example, as the difference between the maximum and minimum standard deviations of the Sobel filter values in four directions. The index value indicating brightness is expressed, for example, as the average brightness value. The index value indicating randomness is expressed, for example, as a value (self-randomness evaluation value) obtained by cutting out a portion of the center 1/4 size of the image, finding correlation values with an image of the same size starting from each coordinate of the image, subtracting the average value from the maximum value of the correlation value group, and dividing the result by the standard deviation.
画質の評価は、一例として、図6に示すように、画質指標値と2つ以上の閾値とを比較することによって行う。ここで、2つ以上の閾値は、上述したように、登録対象物21と撮影装置20との組み合わせ毎に閾値DB15Bに予め登録されている。CPU11は、例えば、ユーザによる入力操作に従って、予め対応付けられた対象物ID、撮影装置ID、及び撮影場所IDの指定を受け付け、対応する2つ以上の閾値を閾値DB15Bから取得する。 As an example, image quality is evaluated by comparing the image quality index value with two or more thresholds, as shown in FIG. 6. Here, as described above, the two or more thresholds are pre-registered in the threshold DB 15B for each combination of the registered object 21 and the photographing device 20. For example, the CPU 11 accepts the designation of the pre-associated object ID, photographing device ID, and photographing location ID according to an input operation by the user, and obtains the corresponding two or more thresholds from the threshold DB 15B.
図6は、本実施形態に係る画質評価方法の説明に供する図である。 Figure 6 is a diagram used to explain the image quality evaluation method according to this embodiment.
図6に示すように、2つ以上の閾値は、例えば、第1閾値及び第2閾値として表される。図6の例では、画質指標値が高いほど画質が良いことを示している。第1閾値は、正常値と第1異常値とを判定するための閾値である。正常値は、画質が正常であることを示し、第1異常値は、画質が異常であることを示す。第2閾値は、第1異常値と第2異常値とを判定するための閾値である。第2異常値は、第1異常値よりも異常の度合いが大きいことを示す。つまり、第2閾値以上第1閾値未満の第1範囲は、撮影条件の劣化の可能性はあるが、一意識別の識別性能を低下させることのない範囲である。第2閾値未満の第2範囲は、撮影条件の劣化の可能性があり、一意識別の識別性能を低下させる範囲である。なお、第1閾値以上の第3範囲は、撮影条件の劣化の可能性はなく、一意識別の識別性能の低下もない正常な範囲である。 As shown in FIG. 6, the two or more thresholds are expressed as, for example, a first threshold and a second threshold. In the example of FIG. 6, a higher image quality index value indicates better image quality. The first threshold is a threshold for determining a normal value and a first abnormal value. The normal value indicates that the image quality is normal, and the first abnormal value indicates that the image quality is abnormal. The second threshold is a threshold for determining a first abnormal value and a second abnormal value. The second abnormal value indicates that the degree of abnormality is greater than that of the first abnormal value. In other words, the first range from the second threshold to the first threshold is a range in which the shooting conditions may deteriorate but the identification performance of the unique identification is not reduced. The second range less than the second threshold is a range in which the shooting conditions may deteriorate and the identification performance of the unique identification is reduced. Note that the third range from the first threshold to the first threshold is a normal range in which there is no possibility of deterioration of the shooting conditions and no deterioration of the identification performance of the unique identification.
この場合、ある領域の画質指標値が第1範囲に含まれる場合、当該領域の画質は「推奨外」とされ、ある領域の画質指標値が第2範囲に含まれる場合、当該領域の画質は「対象外」とされ、ある領域の画質指標値が第3範囲に含まれる場合、当該領域の画質は「良好」とされる。なお、図6の例において、「良好」は丸印に対応し、「推奨外」は三角印に対応し、「対象外」は×印に対応する。 In this case, if the image quality index value of a certain area is within the first range, the image quality of the area is determined to be "not recommended", if the image quality index value of a certain area is within the second range, the image quality of the area is determined to be "not applicable", and if the image quality index value of a certain area is within the third range, the image quality of the area is determined to be "good". Note that in the example of Figure 6, "good" corresponds to a circle, "not recommended" corresponds to a triangle, and "not applicable" corresponds to an x.
ここで、第1閾値及び第2閾値は、予め定められた撮影条件を満たす複数の画像を含むサンプル画像群の照合スコアを評価し、層別化することにより決定される。サンプル画像群のサンプル画像には、一例として、予め収集した画質の悪い画像、予め収集した画質の悪いシミュレーション画像、運用中に収集した画質の悪い画像、等が含まれる。例えば、丸印は、照合スコアが静止撮影条件と同等レベルという条件を満たすサンプル画像を示す。この条件は、例えば、静止撮影条件の同一個体で100回分の照合スコアの3σ(σ:標準偏差)以内とされる。×印は、照合スコアが識別不可レベルという条件を満たすサンプル画像を示す。この条件は、例えば、静止撮影条件の異なる個体で100回分の照合スコアの3σ以内とされる。三角印は、丸印のサンプル画像と×印のサンプル画像との中間で、撮影条件の劣化が疑われるサンプル画像を示す。このように、予め収集されたサンプル画像群を層別化することで第1閾値及び第2閾値が決定される。 Here, the first threshold and the second threshold are determined by evaluating and stratifying the matching scores of a sample image group including a plurality of images that satisfy predetermined shooting conditions. The sample images of the sample image group include, for example, images of poor image quality collected in advance, simulation images of poor image quality collected in advance, images of poor image quality collected during operation, and the like. For example, a circle indicates a sample image that satisfies the condition that the matching score is at a level equivalent to the still shooting conditions. This condition is, for example, within 3σ (σ: standard deviation) of the matching score for 100 times for the same individual under still shooting conditions. A cross indicates a sample image that satisfies the condition that the matching score is at an indistinguishable level. This condition is, for example, within 3σ of the matching score for 100 times for individuals under different still shooting conditions. A triangle indicates a sample image that is intermediate between the sample image with a circle and the sample image with a cross, and is suspected of having deteriorated shooting conditions. In this way, the first threshold and the second threshold are determined by stratifying the sample image group collected in advance.
また、図6の例とは逆に、画質指標値が低いほど画質が良いことを示す場合には、正常値と第2異常値との関係を逆にし、第1閾値と第2閾値との関係を逆にすればよい。つまり、左から順に正常値、第1閾値、第1異常値、第2閾値、第2異常値となる。この場合、第1閾値以上第2閾値未満の第1範囲は、撮影条件の劣化の可能性はあるが、一意識別の識別性能を低下させることのない範囲である。第2閾値以上の第2範囲は、撮影条件の劣化の可能性があり、一意識別の識別性能を低下させる範囲である。第1閾値未満の第3範囲は、撮影条件の劣化の可能性はなく、一意識別の識別性能の低下もない正常な範囲である。 Also, contrary to the example of FIG. 6, if a lower image quality index value indicates better image quality, the relationship between the normal value and the second abnormal value and the relationship between the first threshold and the second threshold can be reversed. That is, from the left, the normal value, the first threshold, the first abnormal value, the second threshold, and the second abnormal value are displayed. In this case, the first range equal to or greater than the first threshold and less than the second threshold is a range in which there is a possibility of deterioration in the shooting conditions, but which does not degrade the identification performance of the unique identification. The second range equal to or greater than the second threshold is a range in which there is a possibility of deterioration in the shooting conditions, which degrades the identification performance of the unique identification. The third range less than the first threshold is a normal range in which there is no possibility of deterioration in the shooting conditions and no degrade in the identification performance of the unique identification.
上述した4つの画質指標値を用いた画質評価方法について具体的に説明する。例えば、ラプラシアンフィルタ値の標準偏差を第1画質指標値、4方向のソーベルフィルタ値の標準偏差の最大値と最小値との差を第2画質指標値、輝度の平均値を第3画質指標値、画像の中心1/4サイズの部分を切り出し、画像の各座標を起点とする同サイズの画像との相関値を求め、その相関値群の最大値から平均値を減じて標準偏差で除した値(自己ランダム性評価値)を第4画質指標値とした場合、第1画質指標値~第4画質指標値を用いて各領域の総合画質を「良好」、「推奨外」、及び「対象外」で判定する。 The image quality evaluation method using the above-mentioned four image quality index values will be specifically described. For example, the standard deviation of the Laplacian filter value is the first image quality index value, the difference between the maximum and minimum standard deviations of the Sobel filter values in four directions is the second image quality index value, the average brightness is the third image quality index value, and a portion of the image that is 1/4 the size of the center is cut out and correlation values with an image of the same size starting from each coordinate of the image are calculated, and the value obtained by subtracting the average value from the maximum value of the correlation value group and dividing the result by the standard deviation (self-randomness evaluation value) is set as the fourth image quality index value. The first image quality index value to the fourth image quality index value are used to determine the overall image quality of each area as "good", "not recommended", or "not applicable".
まず、第1画質指標値~第4画質指標値の各々について、一例として、上述の図6に示す第1閾値及び第2閾値を用いて、「良好」、「推奨外」、及び「対象外」を判定する。次に、2つの画質指標値の組み合わせについて評価を求める。つまり、第1画質指標値と第2画質指標値との組み合わせ、第1画質指標値と第3画質指標値との組み合わせ、・・・の2つの画質指標値の全ての組み合わせについて「良好」、「推奨外」、及び「対象外」を判定する。例えば、2つの画質指標値のうち「対象外」を含む組み合わせは「対象外」と判定する。2つの画質指標値が共に「良好」の組み合わせは「良好」と判定する。2つの画質指標値のうち一方が「推奨外」で他方が「良好」の組み合わせは「推奨外」と判定する。2つの画質指標値が共に「推奨外」の組み合わせは画質指標値と予め準備したデータテーブル(図示省略)を用いて「推奨外」又は「対象外」と判定する。 First, for each of the first to fourth image quality index values, the first and second thresholds shown in FIG. 6 are used to determine whether the image quality index is "good", "not recommended", or "not applicable". Next, an evaluation is obtained for combinations of two image quality index values. That is, all combinations of two image quality index values, such as the combination of the first image quality index value and the second image quality index value, the combination of the first image quality index value and the third image quality index value, ... are determined to be "good", "not recommended", or "not applicable". For example, a combination of two image quality index values that includes "not applicable" is determined to be "not applicable". A combination of two image quality index values that are both "good" is determined to be "good". A combination of two image quality index values where one is "not recommended" and the other is "good" is determined to be "not recommended". A combination of two image quality index values where both are "not recommended" is determined to be "not recommended" or "not applicable" using the image quality index values and a data table (not shown) prepared in advance.
そして、上記で求めた組み合わせの評価について、1つ以上の「対象外」があれば総合評価は「対象外」と判定し、全て「良好」であれば「良好」と判定し、それ以外は「推奨外」と判定する。この総合評価が1つの領域についての評価となる。 Then, in the evaluation of the combinations obtained above, if there is one or more "not applicable", the overall evaluation is judged as "not applicable", if all are "good", it is judged as "good", and otherwise it is judged as "not recommended". This overall evaluation becomes the evaluation for one area.
ステップS104では、CPU11が、ステップS103での画質評価結果に基づいて、各領域の登録可能でかつ最も画質の良い画像を選定する。ある領域の登録可能な画像は、「良好」又は「推奨外」の画像とされる。そして、最も画質の良い画像は、ある領域に複数の「良好」の画像がある場合には入力順の小さい「良好」の画像を採用する。「良好」がなく複数の「推奨外」の画像がある場合には、画質指標値の「推奨外」閾値への近さを評価し、全ての画質指標値の合計値が小さいものを選定する。画質指標値をV、「推奨外」閾値(第1閾値)をTH1、「対象外」閾値(第2閾値)をTH2とした場合、「推奨外」閾値(第1閾値)への近さ(距離)Dは、例えば、下記の式(1)により求められる。 In step S104, the CPU 11 selects the image that can be registered in each area and has the best image quality based on the image quality evaluation results in step S103. Images that can be registered in a certain area are considered to be "good" or "not recommended". If there are multiple "good" images in a certain area, the "good" image with the smallest input order is used as the image with the best image quality. If there are no "good" images and multiple "not recommended" images, the image quality index value is evaluated for its closeness to the "not recommended" threshold, and the image with the smallest total value of all image quality index values is selected. If the image quality index value is V, the "not recommended" threshold (first threshold) is TH1, and the "not applicable" threshold (second threshold) is TH2, the closeness (distance) D to the "not recommended" threshold (first threshold) can be calculated, for example, by the following formula (1):
D=(V-TH1)/(TH2-TH1) ・・・(1) D=(V-TH1)/(TH2-TH1)...(1)
ステップS105では、CPU11が、ステップS104で選定した複数の領域の各々の画像について、予め定められた設定に従って、登録画像を決定する。具体的に、CPU11は、ステップS104で選定した複数の領域の各々について、一例として、後述の図7に示す画質評価結果テーブルに含まれる「設定」に従って、画質指標値が第1範囲又は第3範囲に含まれる場合(つまり、「推奨外」又は「良好」である場合)、当該領域を登録画像として登録すると決定し、ある領域の画質指標値が第2範囲に含まれる場合(つまり、「対象外」である場合)、当該領域を登録画像として登録しないと決定する。 In step S105, the CPU 11 determines a registration image for each image of the multiple regions selected in step S104 according to a predetermined setting. Specifically, for each of the multiple regions selected in step S104, if the image quality index value is within the first or third range (i.e., "not recommended" or "good") according to the "settings" included in the image quality evaluation result table shown in FIG. 7 described below, for example, the CPU 11 determines to register the region as a registration image, and if the image quality index value of a certain region is within the second range (i.e., "not applicable"), the CPU 11 determines not to register the region as a registration image.
ステップS106では、CPU11が、一例として、後述の図7に示す画質評価結果テーブルに含まれる「結果」に従って、各撮影場所におけるデータセットの通知モードを決定する。通知モードは、一例として、「正常」、「警告」、及び「エラー」のいずれかに決定される。データセットの全ての画像が「良好」である場合に「正常」に決定され、データセットの中に1つ以上の「推奨外」の画像が含まれる場合に「警告」に決定され、データセットに登録画像がない場合には「エラー」に決定される。なお、データセットとは、上述の図5の例の場合、画像Aについて領域A-a、A-b、A-cが1つのデータセットとされ、画像Bについて領域B-a、B-b、B-cが1つのデータセットとされる。これらのデータセットには、後述する設定番号を示すフラグが予め付与されている。 In step S106, the CPU 11 determines the notification mode of the data set at each shooting location according to, for example, the "result" included in the image quality evaluation result table shown in FIG. 7 described later. As an example, the notification mode is determined to be one of "normal", "warning", and "error". If all images in the data set are "good", the notification mode is determined to be "normal", if the data set contains one or more "not recommended" images, the notification mode is determined to be "warning", and if there are no registered images in the data set, the notification mode is determined to be "error". In the example of FIG. 5 described above, the data set is one data set consisting of areas A-a, A-b, and A-c for image A, and one data set consisting of areas B-a, B-b, and B-c for image B. A flag indicating a setting number described later is assigned to each of these data sets in advance.
ステップS107では、CPU11が、一例として、後述の図9に示す通知モードテーブルに従って、登録対象物21の全体の通知モードを決定し、本情報処理プログラム15Aによる一連の処理を終了する。なお、通知モードが決定すると、「正常」、「警告」、及び「エラー」のいずれかが管理者等の端末装置に対して、電子メール等で通知される。 In step S107, the CPU 11 determines the overall notification mode for the registration object 21 according to, for example, a notification mode table shown in FIG. 9 described below, and ends the series of processes by the information processing program 15A. Once the notification mode is determined, one of "Normal", "Warning", or "Error" is notified to the terminal device of the administrator, etc., by email, etc.
次に、図7~図9を参照して、登録画像及び通知モードの決定方法について具体的に説明する。 Next, we will explain in detail how to determine the registration image and notification mode with reference to Figures 7 to 9.
図7は、本実施形態に係る画質評価結果テーブル15Cの一例を示す図である。 Figure 7 shows an example of an image quality evaluation result table 15C according to this embodiment.
図7に示す画質評価結果テーブル15Cは、一例として、記憶部15に記憶されている。画質評価結果テーブル15Cは、外部の記憶装置に記憶されていてもよい。画質評価結果テーブル15Cには、「各領域の画質評価結果」という項目が含まれる。「各領域の画質評価結果」には、一例として、上述の図5に示す撮影場所21Aを複数回撮影して得られた複数の画像Aの各々における領域A-a、A-b、A-cの画質評価結果が登録されている。画質の凡例としては、丸印が「良好」を表し、三角印が「推奨外」を表し、×印が「対象外」を表している。 The image quality evaluation result table 15C shown in FIG. 7 is stored in the storage unit 15, as an example. The image quality evaluation result table 15C may be stored in an external storage device. The image quality evaluation result table 15C includes an item called "image quality evaluation result of each area." As an example, the "image quality evaluation result of each area" registers the image quality evaluation results of areas A-a, A-b, and A-c in each of multiple images A obtained by photographing the shooting location 21A shown in FIG. 5 multiple times. As an example of the image quality legend, a circle indicates "good," a triangle indicates "not recommended," and an x indicates "not applicable."
また、画質評価結果テーブル15Cには、更に、「設定」という項目が含まれる。この「設定」には、一例として、図8に示す設定テーブル15Dに含まれる設定番号が登録される。 The image quality evaluation result table 15C further includes an item called "settings." As an example, the setting numbers included in the setting table 15D shown in FIG. 8 are registered in this "settings."
図8は、本実施形態に係る設定テーブル15Dの一例を示す図である。 Figure 8 shows an example of a setting table 15D according to this embodiment.
図8に示す設定テーブル15Dは、一例として、記憶部15に記憶されている。設定テーブル15Dは、外部の記憶装置に記憶されていてもよい。設定テーブル15Dには、設定番号毎に、「推奨外を保存可能か」、「対象外を含むデータセットを保存可能か」、という項目が含まれる。図8の例における設定番号1~4は、例えば、ユーザによってデータセットに付与されたフラグを示す。設定番号1は、「推奨外」を保存可能、「対象外」を含むデータセットを保存可能、という設定とされる。なお、ここでいう「保存」とは、「登録」と同義である。設定番号2は、「推奨外」を保存不可、「対象外」を含むデータセットを保存可能、という設定とされる。設定番号3は、「推奨外」を保存可能、「対象外」を含むデータセットを保存不可、という設定とされる。設定番号4は、「推奨外」を保存不可、「対象外」を含むデータセットを保存不可、という設定とされる。 The setting table 15D shown in FIG. 8 is stored in the storage unit 15 as an example. The setting table 15D may be stored in an external storage device. The setting table 15D includes items such as "Can non-recommended items be saved?" and "Can a dataset including non-target items be saved?" for each setting number. Setting numbers 1 to 4 in the example of FIG. 8 indicate flags assigned to datasets by the user, for example. Setting number 1 is set to "Can non-recommended items be saved" and "Can a dataset including non-target items be saved." Note that "save" here is synonymous with "register." Setting number 2 is set to "Cannot non-recommended items be saved" and "Can a dataset including non-target items be saved." Setting number 3 is set to "Can non-recommended items be saved" and "Can a dataset including non-target items be saved" cannot be saved. Setting number 4 is set to "Cannot non-recommended items be saved" and "Can a dataset including non-target items be saved" cannot be saved.
また、図7に示す画質評価結果テーブル15Cには、更に、「結果」という項目が含まれる。この「結果」には、「保存画像」及び「画像Aの通知モード」という項目が含まれる。つまり、「保存画像」及び「画像Aの通知モード」は、「各領域の画質評価結果」及び「設定」により決定される。図7の例では、領域A-a、A-b、A-cの評価結果が全て「良好」であり、かつ、設定番号1、2、3、4(図8を参照)が設定された場合、領域A-a、A-b、A-cの全てが保存画像として決定され、画像Aの通知モードが「正常」と決定される。また、領域A-aの評価結果が「良好」、領域A-b、A-cの評価結果が「推奨外」であり、かつ、設定番号1、3(図8)が設定された場合、領域A-a、A-b、A-cの全てが保存画像として決定され、画像Aの通知モードが「警告」と決定される。 The image quality evaluation result table 15C shown in FIG. 7 further includes an item called "Result". This "Result" includes items called "Saved image" and "Notification mode of image A". In other words, the "Saved image" and "Notification mode of image A" are determined by the "image quality evaluation result of each area" and "Setting". In the example of FIG. 7, if the evaluation results of areas A-a, A-b, and A-c are all "Good" and setting numbers 1, 2, 3, and 4 (see FIG. 8) are set, all of areas A-a, A-b, and A-c are determined as saved images, and the notification mode of image A is determined as "Normal". Also, if the evaluation result of area A-a is "Good", the evaluation results of areas A-b and A-c are "Not recommended", and setting numbers 1 and 3 (see FIG. 8) are set, all of areas A-a, A-b, and A-c are determined as saved images, and the notification mode of image A is determined as "Warning".
同様に、領域A-aの評価結果が「良好」、領域A-b、A-cの評価結果が「推奨外」であり、かつ、設定番号2、4(図8)が設定された場合、領域A-aが保存画像として決定され、画像Aの通知モードが「警告」と決定される。また、領域A-a、A-b、A-cの評価結果が全て「推奨外」であり、かつ、設定番号2、4(図8)が設定された場合、領域A-a、A-b、A-cの保存画像なしとして決定され、画像Aの通知モードが「エラー」と決定される。また、領域A-aの評価結果が「良好」、領域A-bの評価結果が「推奨外」、領域A-cの評価結果が「対象外」であり、かつ、設定番号1(図8)が設定された場合、領域A-a、A-bが保存画像として決定され、画像Aの通知モードが「警告」と決定される。また、領域A-aの評価結果が「良好」、領域A-bの評価結果が「推奨外」、領域A-cの評価結果が「対象外」であり、かつ、設定番号2(図8)が設定された場合、領域A-aが保存画像として決定され、画像Aの通知モードが「警告」と決定される。また、領域A-aの評価結果が「良好」、領域A-bの評価結果が「推奨外」、領域A-cの評価結果が「対象外」であり、かつ、設定番号3、4(図8)が設定された場合、領域A-a、A-b、A-cの保存画像なしとして決定され、画像Aの通知モードが「エラー」と決定される。また、領域A-a、A-b、A-cの評価結果が全て「対象外」であり、かつ、設定番号1、2、3、4(図8)が設定された場合、領域A-a、A-b、A-cの保存画像なしとして決定され、画像Aの通知モードが「エラー」と決定される。 Similarly, if the evaluation result of area A-a is "good", the evaluation results of areas A-b and A-c are "not recommended", and setting numbers 2 and 4 (Figure 8) are set, area A-a is determined as the saved image, and the notification mode of image A is determined as "warning". If the evaluation results of areas A-a, A-b, and A-c are all "not recommended", and setting numbers 2 and 4 (Figure 8) are set, areas A-a, A-b, and A-c are determined as not having saved images, and the notification mode of image A is determined as "error". If the evaluation result of area A-a is "good", the evaluation result of area A-b is "not recommended", the evaluation result of area A-c is "not applicable", and setting number 1 (Figure 8) is set, areas A-a and A-b are determined as the saved images, and the notification mode of image A is determined as "warning". Also, if the evaluation result of area A-a is "good", the evaluation result of area A-b is "not recommended", the evaluation result of area A-c is "not applicable", and setting number 2 (Figure 8) is set, area A-a is determined as the saved image, and the notification mode of image A is determined as "warning". Also, if the evaluation result of area A-a is "good", the evaluation result of area A-b is "not recommended", the evaluation result of area A-c is "not applicable", and setting numbers 3 and 4 (Figure 8) are set, areas A-a, A-b, and A-c are determined as no saved images, and the notification mode of image A is determined as "error". Also, if the evaluation results of areas A-a, A-b, and A-c are all "not applicable", and setting numbers 1, 2, 3, and 4 (Figure 8) are set, areas A-a, A-b, and A-c are determined as no saved images, and the notification mode of image A is determined as "error".
図9は、本実施形態に係る通知モードテーブル15Eの一例を示す図である。 Figure 9 shows an example of a notification mode table 15E according to this embodiment.
図9に示す通知モードテーブル15Eは、一例として、記憶部15に記憶されている。通知モードテーブル15Eは、外部の記憶装置に記憶されていてもよい。通知モードテーブル15Eには、画像Aの通知モードと画像Bの通知モードとの組み合わせに対して、登録対象物21の全体の通知モードが登録されている。図9の例では、画像Aの通知モードが「正常」で、画像Bの通知モードが「正常」である場合には、全体の通知モードが「正常」と決定される。また、画像Aの通知モードが「推奨外又は対象外を含む」で、画像Bの通知モードが「正常」である場合には、全体の通知モードが「警告」と決定される。また、画像Aの通知モードが「推奨外又は対象外を含む」で、画像Bの通知モードが「推奨外又は対象外を含む」である場合には、全体の通知モードが「警告」と決定される。また、画像Aの通知モードが「推奨外又は対象外を含む」で、画像Bの通知モードが「エラー」である場合には、全体の通知モードが「エラー」と決定される。 The notification mode table 15E shown in FIG. 9 is stored in the storage unit 15 as an example. The notification mode table 15E may be stored in an external storage device. In the notification mode table 15E, the notification mode of the entire registered object 21 is registered for the combination of the notification mode of the image A and the notification mode of the image B. In the example of FIG. 9, when the notification mode of the image A is "normal" and the notification mode of the image B is "normal", the notification mode of the entire is determined to be "normal". When the notification mode of the image A is "including not recommended or not applicable" and the notification mode of the image B is "normal", the notification mode of the entire is determined to be "warning". When the notification mode of the image A is "including not recommended or not applicable" and the notification mode of the image B is "including not recommended or not applicable", the notification mode of the entire is determined to be "warning". When the notification mode of the image A is "including not recommended or not applicable" and the notification mode of the image B is "including not recommended or not applicable", the notification mode of the entire is determined to be "warning". When the notification mode of the image A is "including not recommended or not applicable" and the notification mode of the image B is "error", the notification mode of the entire is determined to be "error".
上記より、通知モードとして、「正常」、「警告」、及び「エラー」のいずれかが通知される。「警告」によって画質の悪い画像が含まれていることが管理者等に通知されるため、例えば、製造ライン等を急に停止させることなく、計画的に撮影環境のメンテナンス等が実施される。保存画像(登録画像)は、一例として、上述の設定テーブル15Dの設定、つまり、「推奨外を保存可能か」及び「対象外を含むデータセットを保存可能か」に基づいて決定される。切り出す領域を多くとれる対象物では「推奨外」を含んでいても一意識別の識別性能への影響は抑制される。 As a result, one of the notification modes, "Normal", "Warning", or "Error", is displayed. A "Warning" notifies an administrator that poor quality images are included, so that, for example, maintenance of the shooting environment can be carried out in a planned manner without suddenly stopping a production line, etc. Images to be saved (registered images) are determined, for example, based on the settings in the above-mentioned setting table 15D, that is, "Can non-recommended images be saved?" and "Can a data set including non-targets be saved?". For objects that have a large area to be cut out, the impact on the identification performance of unique identification is suppressed even if "non-recommended images" are included.
また、登録時に画質不良だった位置を特定し、照合時にその位置だけ画質良好かつ識別に失敗(又は偽物と判定)した場合は、識別失敗(偽物)ではなく撮影不良のエラーとしてもよい。なお、照合時にはそれ以外の位置が画質良好と判定されるまで撮影を繰り返してもよい。真贋判定(1対1の照合)の場合は対象の登録個体の履歴データから画質不良位置を特定し、1対多の照合の場合は照合対象範囲の複数の個体の履歴データから画質不良の割合が高い位置を特定する。 In addition, a location with poor image quality during registration can be identified, and if that location has good image quality and identification fails (or is determined to be a fake) during matching, it can be determined to be an error due to poor photography rather than a failed identification (fake). Note that photography can be repeated during matching until other locations are determined to have good image quality. In the case of authenticity determination (one-to-one matching), locations with poor image quality are identified from the history data of the registered individual in question, and in the case of one-to-many matching, locations with a high rate of poor image quality are identified from the history data of multiple individuals in the range to be matched.
また、本実施形態に係る画質評価方法は、同一の対象物であっても登録時の撮影条件と照合時の撮影条件とが異なる場合にも適用可能とされる。例えば、登録時には製造ラインに設けられた撮影装置で機械的に連続撮影し、照合時には作業者がスマートフォン等で撮影する場合には、登録時と照合時とでサンプリングし、登録時と照合時とで異なる閾値を採用する。また、登録用の撮影装置では保存設定を厳しく、照合用の撮影装置では保存設定を緩く(画質が良好でなくても保存)してもよい。 The image quality evaluation method according to this embodiment can also be applied to cases where the photographing conditions at the time of registration are different from those at the time of comparison, even for the same object. For example, if continuous photographs are taken mechanically with a photographing device installed on the production line during registration, and photographs are taken by an operator with a smartphone or the like during comparison, sampling is performed at the time of registration and comparison, and different thresholds are used for registration and comparison. In addition, the storage settings may be strict for the photographing device used for registration, and relaxed for the photographing device used for comparison (storing even if the image quality is not good).
また、本実施形態に係る画質評価方法は、製造ラインで異なる品番の製品を製造する場合、対象物のランダムパターンの特性は異なるが、同一の撮影装置で適用可能とされる。例えば、ガラスに施されるマークのランダムパターンを撮影する場合、サンドブラストの場合と黒セラミック印刷の場合とで異なる閾値を採用する。 The image quality evaluation method according to this embodiment can be applied to the same imaging device when different product numbers are manufactured on a production line, even though the characteristics of the random pattern of the object are different. For example, when photographing the random pattern of a mark applied to glass, different threshold values are used for sandblasting and black ceramic printing.
また、本実施形態に係る画質評価方法は、複数の場所を撮影した画像を同じ個体として登録する場合、場所によってランダムパターンの特性は異なるが、同一のプログラム(一度のリクエスト)で適用可能とされる。例えば、鋳造品の砂型と製品とを同一の個体として登録する場合に、異なる閾値を採用する。 In addition, when images taken at multiple locations are registered as the same individual, the image quality evaluation method according to this embodiment can be applied with the same program (one request) even though the characteristics of the random pattern differ depending on the location. For example, when a sand mold for a casting and a finished product are registered as the same individual, different thresholds are used.
また、本実施形態に係る画質評価方法は、全面がランダムパターンである切り出し画像に対して適用可能とされる。この場合、識別性能に影響する画質が評価されるため、画質評価の精度が向上する。例えば、撮影装置の一例であるカメラの画角の都合で例えば115mm×72mmの領域を撮影するが、識別に使う箇所は例えば10mm×10mm程度である。凹凸のある鋳造品などを対象とする場合、識別に使う箇所以外のボケを無視することが可能とされる。これにより、ランダム性が評価される。 The image quality evaluation method according to this embodiment can be applied to cut-out images in which the entire surface is a random pattern. In this case, the image quality that affects the identification performance is evaluated, improving the accuracy of the image quality evaluation. For example, an area of 115 mm x 72 mm is photographed due to the angle of view of a camera, which is an example of an imaging device, but the area used for identification is, for example, approximately 10 mm x 10 mm. When targeting a casting with irregularities, it is possible to ignore blurring other than the area used for identification. This allows randomness to be evaluated.
また、本実施形態に係る通知モードに基づく通知には、一例として、画質不良の発生位置、画質評価結果から推定される画質不良の原因等が付加される。このため、メンテナンスにかかる時間が削減される。なお、推定できる画質不良の原因は、例えば、ボケ、ブレ、照明不良、ごみの混入等が考えられる。画質評価に用いた画質指標値と閾値との関係に基づいて画質不良の原因である可能性の高さを表示してもよい。 In addition, the notification based on the notification mode according to this embodiment may include, for example, the location where the poor image quality occurred, the cause of the poor image quality estimated from the image quality evaluation results, etc. This reduces the time required for maintenance. Note that possible causes of the poor image quality include, for example, blurring, shaking, poor lighting, and the presence of dust. The likelihood that the cause of the poor image quality is due to the image quality index value used in the image quality evaluation may be displayed based on the relationship between the threshold value and the image quality index value.
また、1つの撮影場所について複数回撮影して得られた画像を1枚撮影する毎に画質を評価し、切り出し画像(つまり、切り出し領域の画像)のうち所定の数が画質良好と判定された場合にその撮影場所での撮影を終了するようにしてもよい。所定の回数撮影した後に切り出し画像を選定する場合に比べて、一意識別にかかる時間が短縮される。また、全ての切り出し画像が良好画質になるまで撮影系を調整する場合に比べて、一意識別にかかる時間が短縮される。 In addition, one shooting location may be photographed multiple times, and the image quality may be evaluated each time an image is photographed. When a predetermined number of the cropped images (i.e., images of the cropped area) are determined to have good image quality, shooting at that shooting location may be terminated. This reduces the time required for unique identification compared to selecting cropped images after a predetermined number of photographs. Also, this reduces the time required for unique identification compared to adjusting the shooting system until all cropped images have good image quality.
また、一意識別する場合に、画質良好の領域の画像の照合結果を優先して個体IDを決定するようにしてもよい。これにより誤識別しにくくなる。例えば、まず、画質が良好だった登録画像のみを対象として一意識別の計算(判定)を行い、個体IDが決まらなかった場合に画質が良好及び推奨外の登録画像を対象として一意識別の計算(判定)を行うことが考えられる。 In addition, when performing unique identification, priority may be given to the results of matching images in areas of good image quality in determining the individual ID. This makes it less likely that misidentification will occur. For example, first, calculation (determination) of unique identification may be performed only on registered images with good image quality, and if an individual ID cannot be determined, calculation (determination) of unique identification may be performed on registered images with good image quality and those that are not recommended.
このように本実施形態によれば、一意識別を行う対象物の表面のランダムパターンが表れた画像である登録画像をデータベースに登録する場合に、対象物を表す画像から複数の領域を抽出し、抽出した複数の領域の画質と、対象物の特性及び対象物を撮影する撮影装置の特性の少なくとも一方により決定される閾値とに基づいて、各領域の画像各々について登録画像として登録するか否かが決定される。このため、一意識別を行う対象物の表面のランダムパターンが表れた画像である登録画像の画質が悪くても一意識別が行える場合には、登録画像として登録される。 Thus, according to this embodiment, when a registration image that is an image showing a random pattern on the surface of an object to be uniquely identified is registered in a database, multiple regions are extracted from the image representing the object, and whether or not to register the image of each region as a registration image is determined based on the image quality of the multiple extracted regions and a threshold determined by at least one of the characteristics of the object and the characteristics of the imaging device that captures the object. Therefore, even if the image quality of the registration image that is an image showing a random pattern on the surface of an object to be uniquely identified is poor, it will be registered as a registration image if unique identification can be performed.
なお、上記各実施形態において、プロセッサとは広義的なプロセッサを指し、汎用的なプロセッサ(例えば、CPU:Central Processing Unit、等)や、専用のプロセッサ(例えば、GPU:Graphics processing Unit、ASIC:Application Specific Integrated Circuit、FPGA:Field Programmable Gate Array、プログラマブル論理デバイス、等)を含むものである。 In the above embodiments, the term "processor" refers to a processor in a broad sense, including general-purpose processors (e.g., CPU: Central Processing Unit, etc.) and dedicated processors (e.g., GPU: Graphics processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, programmable logic device, etc.).
また、上記各実施形態におけるプロセッサの動作は、1つのプロセッサによって成すのみでなく、物理的に離れた位置に存在する複数のプロセッサが協働して成すものであってもよい。また、プロセッサの各動作の順序は、上記各実施形態において記載した順序のみに限定されるものではなく、適宜変更してもよい。 In addition, the processor operations in each of the above embodiments may not only be performed by a single processor, but may also be performed by multiple processors located at physically separate locations working together. Furthermore, the order of each processor operation is not limited to the order described in each of the above embodiments, and may be changed as appropriate.
以上、実施形態に係る情報処理装置を例示して説明した。実施形態は、情報処理装置が備える各部の機能をコンピュータに実行させるためのプログラムの形態としてもよい。実施形態は、これらのプログラムを記憶したコンピュータが読み取り可能な非一時的記憶媒体の形態としてもよい。 The above describes an information processing device according to an embodiment. The embodiment may be in the form of a program for causing a computer to execute the functions of each unit of the information processing device. The embodiment may be in the form of a non-transitory storage medium that stores these programs and is readable by a computer.
その他、上記実施形態で説明した情報処理装置の構成は、一例であり、主旨を逸脱しない範囲内において状況に応じて変更してもよい。 In addition, the configuration of the information processing device described in the above embodiment is merely an example, and may be modified according to circumstances without departing from the spirit of the invention.
また、上記実施形態で説明したプログラムの処理の流れも、一例であり、主旨を逸脱しない範囲内において不要なステップを削除したり、新たなステップを追加したり、処理順序を入れ替えたりしてもよい。 The processing flow of the program described in the above embodiment is also an example, and unnecessary steps may be deleted, new steps may be added, or the processing order may be rearranged, without departing from the spirit of the program.
また、上記実施形態では、プログラムを実行することにより、実施形態に係る処理がコンピュータを利用してソフトウェア構成により実現される場合について説明したが、これに限らない。実施形態は、例えば、ハードウェア構成や、ハードウェア構成とソフトウェア構成との組み合わせによって実現してもよい。 In the above embodiment, a case has been described in which the processing according to the embodiment is realized by a software configuration using a computer by executing a program, but this is not limited to this. The embodiment may be realized, for example, by a hardware configuration or a combination of a hardware configuration and a software configuration.
10 情報処理装置
11 CPU
11A 取得部
11B 抽出部
11C 画質評価部
11D 閾値決定部
12 ROM
13 RAM
14 I/O
15 記憶部
15A 情報処理プログラム
15B 閾値DB
15C 画質評価結果テーブル
15D 設定テーブル
15E 通知モードテーブル
16 表示部
17 操作部
18 通信部
20、30 撮影装置
21 登録対象物
31 照合対象物
100 一意識別システム
10 Information processing device 11 CPU
11A Acquisition unit 11B Extraction unit 11C Image quality evaluation unit 11D Threshold value determination unit 12 ROM
13 RAM
14 I/O
15 Storage unit 15A Information processing program 15B Threshold DB
15C: image quality evaluation result table 15D: setting table 15E: notification mode table 16: display unit 17: operation unit 18: communication unit 20, 30: image capture device 21: registered object 31: matching object 100: unique identification system
Claims (9)
前記プロセッサは、
一意識別を行う対象物の表面のランダムパターンを表す画像から、一意識別を行う際に用いる複数の領域を抽出し、抽出した複数の領域の各々の画質を表す指標値と、前記対象物の特性及び前記対象物を撮影する撮影装置の特性の少なくとも一方により決定される2つ以上の閾値とに基づいて、前記複数の領域の各々について前記対象物の表面のランダムパターンを表す登録画像として登録するか否かを決定し、
前記2つ以上の閾値は、前記画質を表す指標値について、前記画質が正常であることを示す正常値と前記画質が異常であることを示す第1異常値とを判定するための第1閾値、及び、前記第1異常値と前記第1異常値よりも異常の度合いが大きい第2異常値とを判定するための第2閾値を含み、
前記第1閾値以上前記第2閾値未満又は前記第2閾値以上前記第1閾値未満の第1範囲は、一意識別の識別性能を低下させることのない範囲であり、
前記第2閾値以上又は前記第2閾値未満の第2範囲は、一意識別の識別性能を低下させる範囲である
情報処理装置。 A processor is provided.
The processor,
extracting a plurality of regions to be used when performing unique identification from an image representing a random pattern on the surface of an object to be uniquely identified, and determining whether or not to register each of the plurality of regions as a registered image representing the random pattern on the surface of the object based on an index value representing the image quality of each of the extracted plurality of regions and two or more threshold values determined by at least one of the characteristics of the object and the characteristics of an imaging device that images the object ;
the two or more threshold values include a first threshold value for determining whether the index value representing the image quality is a normal value indicating that the image quality is normal or a first abnormal value indicating that the image quality is abnormal, and a second threshold value for determining whether the index value representing the image quality is the first abnormal value or a second abnormal value indicating a greater degree of abnormality than the first abnormal value,
a first range of the first threshold value or more and less than the second threshold value or the second threshold value or more and less than the first threshold value is a range that does not degrade the identification performance of unique identification,
A second range that is equal to or greater than the second threshold value or less than the second threshold value is a range that reduces the identification performance of unique identification.
Information processing device.
前記画質を表す指標値が前記第2範囲に含まれる場合、前記画質を表す指標値に対応する領域を登録画像として登録しないと決定する
請求項1に記載の情報処理装置。 The processor determines, when the index value representing the image quality is within the first range, to register an area corresponding to the index value representing the image quality as a registered image;
The information processing apparatus according to claim 1 , further comprising: a step of: determining, when the index value representing image quality is included in the second range, not to register an area corresponding to the index value representing image quality as a registered image.
請求項1又は請求項2に記載の情報処理装置。 The information processing apparatus according to claim 1 , wherein the two or more threshold values are determined by evaluating and stratifying a matching score of a sample image group including a plurality of images that satisfy a predetermined shooting condition.
請求項1~請求項3の何れか1項に記載の情報処理装置。 The information processing device of any one of claims 1 to 3, wherein the processor registers the two or more thresholds for each combination of the object and the photographing device, and acquires the two or more corresponding thresholds by specifying identification information of the object, identification information of the photographing device , and identification information of the photographing location of the object , which are associated in advance.
前記プロセッサは、
一意識別を行う対象物の表面のランダムパターンを表す画像から、一意識別を行う際に用いる複数の領域を抽出し、抽出した複数の領域の各々の画質を表す指標値と、前記対象物の特性及び前記対象物を撮影する撮影装置の特性の少なくとも一方により決定される2つ以上の閾値とに基づいて、前記複数の領域の各々について前記対象物の表面のランダムパターンを表す登録画像として登録するか否かを決定し、
前記画質を表す指標値は、前記領域におけるボケの度合いを示す指標値、前記領域におけるブレの度合いを示す指標値、前記領域における明るさを示す指標値、及び、前記領域におけるランダム性を示す指標値の少なくとも1つである
情報処理装置。 A processor is provided.
The processor,
extracting a plurality of regions to be used when performing unique identification from an image representing a random pattern on the surface of an object to be uniquely identified, and determining whether or not to register each of the plurality of regions as a registered image representing the random pattern on the surface of the object based on an index value representing the image quality of each of the extracted plurality of regions and two or more threshold values determined by at least one of the characteristics of the object and the characteristics of an imaging device that images the object;
The index value representing the image quality is at least one of an index value indicating a degree of blur in the region, an index value indicating a degree of shaking in the region, an index value indicating a brightness in the region, and an index value indicating randomness in the region.
Information processing device.
前記ブレの度合いを示す指標値は、4方向のソーベルフィルタ値の標準偏差の最大値と最小値との差として表され、
前記明るさを示す指標値は、輝度の平均値として表され、
前記ランダム性を示す指標値は、画像の中心1/4サイズの部分を切り出し、画像の各座標を起点とする同サイズの画像との相関値を求め、その相関値群の最大値から平均値を減じて標準偏差で除した値として表される
請求項5に記載の情報処理装置。 The index value indicating the degree of blur is expressed as a standard deviation of Laplacian filter values,
the index value indicating the degree of blur is expressed as a difference between a maximum value and a minimum value of a standard deviation of the Sobel filter values in four directions,
The brightness index value is expressed as an average value of luminance,
The information processing device according to claim 5, wherein the index value indicating the randomness is expressed as a value obtained by cutting out a central 1/4 size portion of the image, calculating correlation values with an image of the same size starting from each coordinate of the image, subtracting the average value from the maximum value of the correlation values, and dividing the result by the standard deviation.
請求項1~請求項6の何れか1項に記載の情報処理装置。 The information processing device according to any one of claims 1 to 6 , wherein the plurality of regions are extracted for each image obtained by photographing each of a plurality of locations of the object.
前記2つ以上の閾値は、前記画質を表す指標値について、前記画質が正常であることを示す正常値と前記画質が異常であることを示す第1異常値とを判定するための第1閾値、及び、前記第1異常値と前記第1異常値よりも異常の度合いが大きい第2異常値とを判定するための第2閾値を含み、
前記第1閾値以上前記第2閾値未満又は前記第2閾値以上前記第1閾値未満の第1範囲は、一意識別の識別性能を低下させることのない範囲であり、
前記第2閾値以上又は前記第2閾値未満の第2範囲は、一意識別の識別性能を低下させる範囲であることを、
コンピュータに実行させるための情報処理プログラム。 extracting a plurality of regions to be used when performing unique identification from an image representing a random pattern on the surface of an object to be uniquely identified, and determining whether or not to register each of the plurality of regions as a registered image representing the random pattern on the surface of the object based on an index value representing the image quality of each of the extracted plurality of regions and two or more threshold values determined by at least one of the characteristics of the object and the characteristics of an imaging device that images the object ;
the two or more threshold values include a first threshold value for determining whether the index value representing the image quality is a normal value indicating that the image quality is normal or a first abnormal value indicating that the image quality is abnormal, and a second threshold value for determining whether the index value representing the image quality is the first abnormal value or a second abnormal value indicating a greater degree of abnormality than the first abnormal value,
a first range of the first threshold value or more and less than the second threshold value or the second threshold value or more and less than the first threshold value is a range that does not degrade the identification performance of unique identification,
A second range that is equal to or greater than the second threshold value or less than the second threshold value is a range that reduces the identification performance of unique identification ,
An information processing program for execution by a computer.
前記画質を表す指標値は、前記領域におけるボケの度合いを示す指標値、前記領域におけるブレの度合いを示す指標値、前記領域における明るさを示す指標値、及び、前記領域におけるランダム性を示す指標値の少なくとも1つであることを、the index value representing the image quality is at least one of an index value indicating a degree of blur in the region, an index value indicating a degree of shaking in the region, an index value indicating a brightness in the region, and an index value indicating a randomness in the region;
コンピュータに実行させるための情報処理プログラム。An information processing program for execution by a computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020214347A JP7613093B2 (en) | 2020-12-23 | 2020-12-23 | Information processing device and information processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020214347A JP7613093B2 (en) | 2020-12-23 | 2020-12-23 | Information processing device and information processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022100153A JP2022100153A (en) | 2022-07-05 |
| JP7613093B2 true JP7613093B2 (en) | 2025-01-15 |
Family
ID=82269770
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020214347A Active JP7613093B2 (en) | 2020-12-23 | 2020-12-23 | Information processing device and information processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7613093B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017037417A (en) | 2015-08-07 | 2017-02-16 | キヤノン株式会社 | Image processing apparatus and method, and program |
| JP2019121080A (en) | 2017-12-28 | 2019-07-22 | シヤチハタ株式会社 | Authentication image acquisition device, authentication image acquisition system, and authentication image acquisition method |
-
2020
- 2020-12-23 JP JP2020214347A patent/JP7613093B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017037417A (en) | 2015-08-07 | 2017-02-16 | キヤノン株式会社 | Image processing apparatus and method, and program |
| JP2019121080A (en) | 2017-12-28 | 2019-07-22 | シヤチハタ株式会社 | Authentication image acquisition device, authentication image acquisition system, and authentication image acquisition method |
Non-Patent Citations (1)
| Title |
|---|
| 須崎 昌彦 外5名,競走馬のアイリス個体識別システム,電子情報通信学会論文誌 (J84-D-II) 第6号,第J84-D-II巻 第6号,日本,電子情報通信学会,2001年06月01日,p.1061-p.1072 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022100153A (en) | 2022-07-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5935308B2 (en) | User detection device, method and program | |
| KR20180065889A (en) | Method and apparatus for detecting target | |
| US20160034782A1 (en) | Apparatus and method of collating categories of images | |
| CN109903210B (en) | Watermark removal method, watermark removal device and server | |
| CN116168351B (en) | Inspection method and device for power equipment | |
| CN112651953A (en) | Image similarity calculation method and device, computer equipment and storage medium | |
| CN113920565A (en) | Authenticity identification method, authenticity identification device, electronic device and storage medium | |
| EP3133530B1 (en) | Digital verification of modified documents | |
| CN112347988A (en) | Mask recognition model training method and device, computer equipment and readable storage medium | |
| CN112541899B (en) | Incomplete detection method and device of certificate, electronic equipment and computer storage medium | |
| CN111178398A (en) | Method, system, storage medium and device for detecting tampering of ID card image information | |
| CN115601684B (en) | Emergency early warning method and device, electronic equipment and storage medium | |
| JP7613093B2 (en) | Information processing device and information processing program | |
| US20250349025A1 (en) | Automatic image cropping using a reference feature | |
| US11854185B2 (en) | Individual identification apparatus | |
| CN114299007B (en) | A flame detection method, system and computer readable storage medium | |
| CN114387648B (en) | Abnormal image detection method, device, computer equipment and storage medium | |
| CN111062927A (en) | Method, system and equipment for detecting image quality of unmanned aerial vehicle | |
| CN116939171B (en) | Power transmission line monitoring method, device and computer equipment | |
| CN116580410B (en) | Ticket number identification methods, devices, electronic equipment and storage media | |
| CN115731547B (en) | Method, device and equipment for processing screenshots of medical rating indicators | |
| WO2025001536A1 (en) | Identity verification method and apparatus, device and medium | |
| CN111524171A (en) | Image processing method and device and electronic equipment | |
| CN111275693A (en) | Counting method and counting device for objects in image and readable storage medium | |
| CN117809032A (en) | Method and device for extracting surface defects of product |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231120 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240821 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20241001 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241113 |
|
| 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: 20241126 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241209 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7613093 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |