JP2023003627A - Computer device, method, and computer program - Google Patents

Computer device, method, and computer program Download PDF

Info

Publication number
JP2023003627A
JP2023003627A JP2021104815A JP2021104815A JP2023003627A JP 2023003627 A JP2023003627 A JP 2023003627A JP 2021104815 A JP2021104815 A JP 2021104815A JP 2021104815 A JP2021104815 A JP 2021104815A JP 2023003627 A JP2023003627 A JP 2023003627A
Authority
JP
Japan
Prior art keywords
image
calculating
pattern
luminance values
pattern array
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021104815A
Other languages
Japanese (ja)
Inventor
真良 登
Masayoshi Nobori
正弘 松岡
Masahiro Matsuoka
智成 牧野
Tomonari Makino
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.)
Shachihata Inc
Original Assignee
Shachihata Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shachihata Inc filed Critical Shachihata Inc
Priority to JP2021104815A priority Critical patent/JP2023003627A/en
Publication of JP2023003627A publication Critical patent/JP2023003627A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

To increase accuracy of detection of a mismatch between two images.SOLUTION: A computer device receives a first image and a second image including at least a pattern arrangement from an image-capturing device having an optical sensor and calculates a set of first brightness values and a set of second brightness values for the pattern arrangement from the first image and the second image, respectively. The computer device also calculates a set of difference values between the set of first brightness values and the set of second brightness values and compares the set of difference values with a predetermined threshold value to thereby detect a mismatch between the first image and the second image. The optical sensor has a pixel resolution of 23.6 micrometers/pixel or less.SELECTED DRAWING: Figure 8

Description

本開示は、画像検査方法および画像検査装置に関する。特に、本開示は、2つの画像を比較する際に撮影条件における差異から生じる不一致を検出する画像検査方法および画像検査装置に関する。 The present disclosure relates to an image inspection method and an image inspection apparatus. In particular, the present disclosure relates to an image inspection method and apparatus for detecting discrepancies resulting from differences in imaging conditions when comparing two images.

従来から、食品や薬品などの物品を消費者に安全に提供するために、それらの製造工程で個々の物品を管理する必要がある。個々の物品を管理するために、製造工程において物品を個々に識別する必要がある。通常、物品を識別するために、識別番号が物品またはその包装容器に付される。しかしながら、物品を一定の数量の単位で包装した容器に識別番号が付されても、その個々の物品に識別番号が付されないこともある。 Conventionally, in order to safely provide consumers with articles such as food and medicine, there is a need to control individual articles during their manufacturing process. In order to manage individual items, it is necessary to individually identify the items during the manufacturing process. An identification number is usually attached to an article or its packaging container in order to identify the article. However, even if an identification number is attached to a container in which a certain number of items are packaged, the identification number may not be attached to each individual item.

例えば、使用方法によっては人間に有害となり得る薬品は、外部に持ち出されないよう個々の錠剤の単位で厳格に管理される必要があることもある。市販されている薬品は、複数の錠剤を包装容器に格納した形式で販売されることが多い。包装容器に格納された複数の錠剤はそれぞれ、同一のデザインのラベルが付されたPTP(press through pack)を使用して包装され、それぞれの包装ラベルに識別番号が付されるわけではない。 For example, medicines that can be harmful to humans depending on how they are used may need to be strictly controlled in units of individual tablets so that they are not taken outside. Commercially available drugs are often sold in a form in which a plurality of tablets are stored in a packaging container. A plurality of tablets stored in a packaging container are each packaged using a PTP (press through pack) labeled with the same design, and each packaging label is not attached with an identification number.

近年、個々の物品を識別するために、物品の表面および/または包装ラベルの微細な色の濃淡(例えば、包装ラベルの印刷ムラやかすれなど)などを高精度に見分けることによって物品を識別する技術が開発されている。上述した識別技術は、同一のデザインの包装ラベルであっても人間の目では区別することができない特定の領域における差異を把握し、個々の物品を識別することができる。 In recent years, in order to identify individual goods, technology to identify goods by accurately distinguishing minute color shading on the surface of goods and/or packaging labels (for example, printing unevenness or fading of packaging labels). is being developed. The identification technology described above can recognize differences in specific areas that are indistinguishable to the human eye, even if the packaging labels have the same design, and can identify individual articles.

実際の製造工程において物品(上記薬品の錠剤)を個々に識別するために、カメラなどの撮像装置を使用して錠剤を個々に撮影することによって得られる基準画像を予め生成する必要がある。個々の錠剤を識別する際には、錠剤を個々に撮影することによって得られる比較画像を生成し、比較画像と基準画像とを比較し、両者が一致するかを判定することによって個々の錠剤を識別する。 In order to individually identify articles (medicine tablets) in the actual manufacturing process, it is necessary to previously generate a reference image obtained by photographing each tablet using an imaging device such as a camera. When identifying individual tablets, a comparative image obtained by photographing each tablet is generated, the comparative image and the reference image are compared, and individual tablets are identified by determining whether they match. Identify.

特開2016-018340号公報JP 2016-018340 A

上述した識別技術では、基準画像および比較画像の両者の画素単位で輝度値を算出し、算出した輝度値が一定の範囲内にあるか否かを判定することによって、両者が一致すると判断する。複数の錠剤のそれぞれが同一のデザインの包装ラベルによって包装されるケースでは、包装ラベルの色の濃淡など(人間の目では区別することができない)から輝度値が算出される。よって、比較画像を生成するために錠剤を撮影するとき、および基準画像を生成するために錠剤を撮影するときの双方において、撮像装置の位置および/または傾きなどが一致していないと、算出する輝度値も異なり、結果として、同一の錠剤でも一致しないと判断されることがある。 In the identification technique described above, the luminance values of both the reference image and the comparative image are calculated for each pixel, and it is determined whether the calculated luminance values are within a certain range or not, thereby determining that the two match each other. In a case where a plurality of tablets are each packaged with packaging labels of the same design, the brightness value is calculated from the color shading of the packaging labels (which cannot be distinguished by human eyes). Therefore, it is calculated that the position and/or tilt of the imaging device do not match when the tablet is photographed to generate the comparison image and when the tablet is photographed to generate the reference image. The brightness values are also different, and as a result, even the same tablet may be judged to be inconsistent.

特許文献1は、物体を撮像した画像を取得し、画像のエッジを抽出し、抽出したエッジを含む所定領域内における画素の輝度差に基づいて、エッジのボケ量を算出する技術を開示している。特許文献1に開示された技術によれば、基準画像を生成するために錠剤を撮影するときと比較して、比較画像を生成するために錠剤を撮影するときにおいて、撮像装置の傾きなどが発生していることを検出することができる。 Patent Literature 1 discloses a technique of obtaining an image of an object, extracting the edges of the image, and calculating the edge blur amount based on the luminance difference of pixels in a predetermined area including the extracted edges. there is According to the technique disclosed in Patent Literature 1, tilting of the imaging device occurs when the tablet is photographed to generate the comparative image, compared to when the tablet is photographed to generate the reference image. can be detected.

しかしながら、特許文献1に開示された技術では、生成された画像にエッジ部分のボケを検出することができるが、それ以外の部分のボケを検出するものではない。また、物品を識別する精度は、撮像装置の画素分解能の大きさに左右されるが、特許文献1は、画素分解能の大きさについて何ら言及していない。 However, the technique disclosed in Japanese Patent Application Laid-Open No. 2002-200010 can detect blurring in edge portions of a generated image, but cannot detect blurring in other portions. Further, the accuracy of identifying an article depends on the pixel resolution of the imaging device, but Patent Document 1 makes no mention of the pixel resolution.

一実施形態に係る画像検査装置は、光学センサを有する撮像装置と接続されたコンピュータデバイスであって、撮像装置から、少なくともパターン配列を含む第1の画像を受信し、第1の画像は、撮影対象を撮影することによって生成され、第1の画像から、パターン配列についての第1の輝度値の集合を算出し、撮像装置から、少なくともパターン配列を含む第2の画像を受信し、第2の画像は、撮影対象と同一の撮影対象を撮影することによって生成され、第2の画像から、パターン配列についての第2の輝度値の集合を算出し、第1の輝度値の集合と第2の輝度値の集合と間の差分値の集合を算出し、差分値の集合と予め定められた閾値とを比較することによって、第1の画像と第2の画像との間の不一致を検出し、前記光学センサは、23.6マイクロメートル/画素以下の画素分解能を有する。 An image inspection apparatus according to one embodiment is a computer device connected to an imaging device having an optical sensor, and receives a first image including at least a pattern array from the imaging device, the first image being captured. calculating a first set of luminance values for the pattern array from the first image generated by photographing the object; receiving a second image including at least the pattern array from the imaging device; The image is generated by photographing the same photographing object as the photographing object, calculating a second set of luminance values for the pattern array from the second image, and combining the first set of luminance values with the second set of luminance values. detecting a mismatch between the first image and the second image by calculating a set of difference values between the set of luminance values and comparing the set of difference values to a predetermined threshold; The optical sensor has a pixel resolution of 23.6 micrometers/pixel or less.

また、別の実施形態に係る画像検査装置は、光学センサを有する撮像装置と接続されたコンピュータデバイスであって、撮像装置から、少なくともパターン配列を含む第1の画像を受信し、第1の画像は、撮影対象を撮影することによって生成され、第1の画像から、パターン配列についての第1の座標位置を算出し、撮像装置から、少なくともパターン配列を含む第2の画像を受信し、第2の画像は、撮影対象と同一の撮影対象を撮影することによって生成され、第1の画像から、パターン配列についての第2の座標位置を算出し、第1の座標位置と第2の座標位置と間の差分値を算出し、差分値と予め定められた閾値とを比較することによって、第1の画像と第2の画像との間の不一致を検出し、前記光学センサは、23.6マイクロメートル/画素以下の画素分解能を有する。 Further, an image inspection apparatus according to another embodiment is a computer device connected to an imaging device having an optical sensor, receiving a first image including at least a pattern array from the imaging device, and obtaining the first image is generated by photographing an object to be photographed, calculates a first coordinate position for the pattern array from the first image, receives a second image including at least the pattern array from the imaging device, and a second is generated by photographing the same photographing object as the photographing object, the second coordinate position for the pattern array is calculated from the first image, and the first coordinate position and the second coordinate position are calculated from the first image. The optical sensor detects a discrepancy between the first image and the second image by calculating a difference value between and comparing the difference value with a predetermined threshold, the optical sensor detecting a 23.6 micron It has a pixel resolution of meters/pixel or less.

実施形態に係る画像検査装置によれば、撮像装置が最適な画像分解能を採用することによって、2つの画像の不一致を検出する精度を高めることができる。 According to the image inspection apparatus according to the embodiment, by adopting the optimum image resolution of the imaging device, it is possible to improve the accuracy of detecting a mismatch between two images.

画像検査システムの構成の例を示すブロック図である。1 is a block diagram showing an example of the configuration of an image inspection system; FIG. パターンシートの例を示すブロック図である。FIG. 4 is a block diagram showing an example of a pattern sheet; 基準画像分析処理の例を示すフローチャートである。6 is a flowchart showing an example of reference image analysis processing; ドット内領域の例を示す図である。FIG. 10 is a diagram showing an example of an area inside a dot; ドット間領域の例を示す図である。FIG. 4 is a diagram showing an example of inter-dot regions; ドット行およびドット列の近似直線の例を示す図である。FIG. 4 is a diagram showing an example of approximate straight lines of dot rows and dot columns; パターンシートを使用して撮影対象を撮影する状態の例を示す図である。FIG. 10 is a diagram showing an example of a state in which an object is photographed using a pattern sheet; 比較画像分析処理の例を示すフローチャートである。9 is a flowchart showing an example of comparative image analysis processing; (a)は、基準画像におけるパターン配列の例を示す図であり、(b)は、比較画像におけるパターン配列の例を示す図である。(a) is a diagram showing an example of pattern arrangement in a reference image, and (b) is a diagram showing an example of pattern arrangement in a comparison image. ドット列を比較した状態の例を示す図である。FIG. 10 is a diagram showing an example of a state in which dot strings are compared; (a)は、基準画像におけるパターン配列の例を示す図であり、(b)は、比較画像におけるパターン配列の例を示す図である。(a) is a diagram showing an example of pattern arrangement in a reference image, and (b) is a diagram showing an example of pattern arrangement in a comparison image. (a)は、基準画像における隣接するドット間のドット間領域の例を示す図であり、(b)は、比較画像における隣接するドット間のドット間領域の例を示す図である。(a) is a diagram showing an example of inter-dot areas between adjacent dots in a reference image, and (b) is a diagram showing an example of inter-dot areas between adjacent dots in a comparison image.

以下、添付した図面を参照して、一実施形態に係る画像検査システムを詳細に説明する。画像検査システムは、例えば、物体を撮影することによって生成される2つの画像に基づいて物体を識別する工程において、撮影条件における差異から生じる2つの画像の不一致を検出する。以下、本実施形態では、撮影されることになる任意の物体を「撮影対象」と称する。 Hereinafter, an image inspection system according to one embodiment will be described in detail with reference to the attached drawings. Imaging inspection systems, for example, in the process of identifying an object based on two images generated by photographing the object, detect discrepancies between the two images resulting from differences in photographing conditions. Hereinafter, in this embodiment, an arbitrary object to be photographed will be referred to as a "photographing target".

例えば、薬品の錠剤の製造工程において、錠剤を個々に識別するために、各々の錠剤の事前に生成した画像(基準画像(第1の画像))と実際の製造工程において生成した画像(比較画像(第2の画像))とが比較される。同一の撮影対象(錠剤)を撮影することによって生成された2つの画像が一致するために、撮像装置は、2つの画像を生成する際に撮影対象内で同一の相対位置にある領域を撮影する必要がある。 For example, in the manufacturing process of pharmaceutical tablets, in order to identify each tablet individually, an image generated in advance of each tablet (reference image (first image)) and an image generated in the actual manufacturing process (comparative image) (second image)) are compared. Since the two images generated by photographing the same object (tablet) match, the imaging device photographs an area at the same relative position within the object when generating the two images. There is a need.

また、撮像装置は、2つの画像を生成する際に撮影対象に対して同一の位置および傾きで撮影する必要がある。上述した条件を満たさないと、同一の撮影対象を撮影することによって生成された2つの画像が一致しない場合がある。さらに、上述した条件を満たして撮影しても、2つの画像を生成する際に撮影する場所の明度が異なることなどに起因して、やはり同一の撮影対象を撮影することによって生成された2つの画像が一致しない場合がある。 In addition, the imaging device needs to shoot at the same position and inclination with respect to the shooting target when generating two images. If the above conditions are not met, two images generated by photographing the same subject may not match. Furthermore, even if the above-mentioned conditions are met, the two images generated by photographing the same subject may differ due to factors such as differences in the brightness of the photographing location when generating the two images. Images may not match.

画像検査システムは、例えば、薬品の製造工程の前段階で上述した不一致を検出し、そのことから撮影条件における差異を検出する。2つの画像内の不一致は、画像内のパターン配列における輝度値などに基づいて検出される。 The image inspection system, for example, detects the above-mentioned discrepancies in the previous stages of the drug manufacturing process, and therefrom the differences in the imaging conditions. A mismatch in the two images is detected based on, for example, luminance values in the pattern arrays in the images.

撮影条件における差異は、同一の撮影対象を撮影することによって生成された2つの画像が異なる要因となる。撮影条件における差異は、上述したように、2つの画像(基準画像および比較画像)を生成する際の撮影対象を撮影するときにおける、撮影領域の位置における差異、撮像装置の位置および/または傾きなどにおける差異、ならびに撮影する場所の明度における差異などを含む。 Differences in imaging conditions cause two images generated by imaging the same subject to be different. As described above, the difference in the shooting conditions includes the difference in the position of the shooting area, the position and/or the tilt of the imaging device, etc. when shooting the shooting target when generating the two images (the reference image and the comparison image). differences in color, as well as differences in the brightness of the shooting location.

まず、図1を参照して、画像検査システム100の構成を説明する。図1に示される画像検査システム100は、コンピュータデバイス1、撮像装置2、入力装置3、および出力装置4を含む。コンピュータデバイス1は、撮像装置2、入力装置3、および出力装置4にそれぞれ接続される。 First, the configuration of an image inspection system 100 will be described with reference to FIG. The image inspection system 100 shown in FIG. 1 includes a computer device 1 , an imaging device 2 , an input device 3 and an output device 4 . A computer device 1 is connected to an imaging device 2, an input device 3, and an output device 4, respectively.

コンピュータデバイス1は、プロセッサ、メモリ、記憶装置、および入出力装置を少なくとも含む情報処理装置である。コンピュータデバイス1は、パーソナルコンピュータなどの汎用コンピュータであってもよい。プロセッサは、記憶装置に記憶されたプログラムをメモリに読み出し、当該プログラムを実行する。プログラムは、本実施形態に係る画像検査方法を実装したコンピュータ可読命令を含むコンピュータプログラムである。入出力装置は、後述する撮像装置2、入力装置3、および出力装置4との間でデータを入出力する。 The computer device 1 is an information processing device including at least a processor, memory, storage device, and input/output device. Computer device 1 may be a general-purpose computer such as a personal computer. A processor reads a program stored in a storage device into a memory and executes the program. The program is a computer program including computer-readable instructions implementing the image inspection method according to the present embodiment. The input/output device inputs and outputs data to and from an imaging device 2, an input device 3, and an output device 4, which will be described later.

撮像装置2は、1つまたは複数のCCDイメージセンサまたはCMOSイメージセンサ(光学センサ)などを含む、撮影対象を撮影するためのカメラである。撮像装置2は、コンピュータデバイス1と結合され、撮影対象を撮影することによって生成された画像をコンピュータデバイス1に送信する。撮像装置2は、高画素の画像を生成するために、より多くのイメージセンサが配列されることが望ましい。また、撮像装置2は、図示しないLEDのアレイを含む。LEDのアレイは、物体に光を照射する。より多くのLEDが均等に配列されたアレイを撮像装置2に設けることによって、物体の全体に光が照射され、より鮮明な画像を生成することができる。 The imaging device 2 is a camera for capturing an image of an object, including one or more CCD image sensors or CMOS image sensors (optical sensors). The imaging device 2 is coupled with the computer device 1 and transmits to the computer device 1 an image generated by photographing an object to be photographed. It is desirable that the imaging device 2 be arranged with more image sensors in order to generate a high-pixel image. The imaging device 2 also includes an array of LEDs (not shown). An array of LEDs illuminates the object. By providing the imaging device 2 with an array in which more LEDs are evenly arranged, the entire object is illuminated with light, and a clearer image can be generated.

本実施形態では、同一の撮影対象を撮影することによって生成された2つの画像が一致するか否かを判定することによって、物体を識別するものである。例えば、撮影対象が錠剤(包装ラベル)であり、その包装ラベルがオフセット印刷により文字などが印刷されている場合、本実施形態に係る画像検査システム100では、上述した判定の精度が下がることがある。オフセット印刷とは、刷版に付着したインクを転写ローラに移し、転写ローラを介して印刷面に転写する、刷版と印刷面とが接触しない印刷方式である。オフセット印刷では、転写ローラの特性がそのまま特徴点となる傾向があり、上述したような判定に誤りが発生することがある。 In this embodiment, an object is identified by determining whether or not two images generated by photographing the same object match. For example, if the object to be imaged is a tablet (packaging label) and the packaging label is printed with characters or the like by offset printing, the image inspection system 100 according to the present embodiment may reduce the accuracy of the determination described above. . Offset printing is a printing method in which ink adhering to a printing plate is transferred to a transfer roller and transferred to the printing surface via the transfer roller, so that the printing plate and the printing surface do not contact each other. In offset printing, there is a tendency that the characteristic of the transfer roller is a characteristic point as it is, and an error may occur in the determination as described above.

撮像装置2は、上述した一致/不一致の判定の精度を高めるために、最適な画素分解能を採用する。画素分解能は、撮像装置2が有する光学センサの一画素あたりの視野の大きさを指す。また、使用するカメラおよびレンズの組み合わせによって変動があるが、撮像装置2は、上述した一致/不一致の判定の精度を高めるために、最適なワーキングディスタンスを採用する。ワーキングディスタンスは、撮像装置2のレンズの先端から撮影対象までの距離を指す。 The imaging device 2 adopts the optimum pixel resolution in order to increase the accuracy of the match/mismatch determination described above. The pixel resolution refers to the size of the field of view per pixel of the optical sensor of the imaging device 2 . Although there are variations depending on the combination of camera and lens used, the imaging device 2 adopts the optimum working distance in order to increase the accuracy of the match/mismatch determination described above. The working distance refers to the distance from the tip of the lens of the imaging device 2 to the imaging target.

入力装置3は、ユーザがコンピュータデバイス1と対話する際にユーザが情報を入力することを支援する。入力装置3は、マウスおよびキーボードなどによって実装される。出力装置4も同様に、ユーザがコンピュータデバイス1と対話する際にユーザに情報を出力することを支援する。出力装置4は、ディスプレイスクリーンなどによって実装される。 Input device 3 assists the user in entering information as the user interacts with computing device 1 . The input device 3 is implemented by a mouse, keyboard, and the like. Output device 4 likewise assists in outputting information to the user as the user interacts with computing device 1 . The output device 4 is implemented by a display screen or the like.

本実施形態では、コンピュータデバイス1と撮像装置2とは、直接結合される例を示すが、そのような例に限定されない。コンピュータデバイス1と撮像装置2とは、ネットワークを通じて接続されてもよい。 In this embodiment, an example in which the computer device 1 and the imaging device 2 are directly coupled is shown, but the present invention is not limited to such an example. The computer device 1 and imaging device 2 may be connected through a network.

なお、図示しないが、画像検査システム100は、撮像装置2を支持するための支持部材(ホルダ)を含んでもよい。支持部材は、撮像装置2の焦点が撮影対象に合うように撮像装置2を支持する。また、画像検査システム100は、撮影対象を固定するための治具を含んでもよい。治具は、撮像装置2の焦点が撮影対象内の特定の領域に合うように撮影対象を固定する。 Although not shown, the image inspection system 100 may include a support member (holder) for supporting the imaging device 2 . The support member supports the image pickup device 2 so that the image pickup device 2 is focused on the object to be photographed. The image inspection system 100 may also include a jig for fixing the object to be imaged. The jig fixes the object to be photographed so that the focus of the imaging device 2 is aligned with a specific region within the object to be photographed.

また、撮像装置2は、加速度センサおよびジャイロセンサを含んでもよい。加速度センサおよびジャイロセンサは、撮像装置2が傾いたときの角速度を検出し、角速度信号としてコンピュータデバイス1に送信する。 Also, the imaging device 2 may include an acceleration sensor and a gyro sensor. The acceleration sensor and the gyro sensor detect the angular velocity when the imaging device 2 is tilted, and transmit it to the computer device 1 as an angular velocity signal.

さらに、画像検査システム100は、明度センサを含んでもよい。明度センサは、撮像装置2が撮影対象を撮影する環境内の任意の位置に設置される。明度センサは、環境における明度を検出し、明度信号としてコンピュータデバイス1に送信する。 In addition, image inspection system 100 may include a brightness sensor. The brightness sensor is installed at an arbitrary position in the environment where the imaging device 2 captures an image of an object. The brightness sensor detects the brightness in the environment and sends it to the computer device 1 as a brightness signal.

次に、図2を参照して、パターンシートPSの例を説明する。パターンシートPSは、2つの画像間の不一致を検出するために、撮像装置2によって撮影される。パターンシートPSは、パターン配列PAを含む。パターン配列PAは、等間隔に形成されたドットの集合を含む。パターン配列PA内のドットは、撮影条件における差異を検出する精度を高めるために、密に配列されることが望ましい。本実施形態では、ドットは、1mmの単位で等間隔に配列されるものとする。 Next, an example of the pattern sheet PS will be described with reference to FIG. The pattern sheet PS is photographed by the imaging device 2 in order to detect discrepancies between the two images. The pattern sheet PS includes pattern arrays PA. The pattern array PA includes a set of dots formed at regular intervals. The dots in the pattern array PA are desirably densely arranged in order to improve the accuracy of detecting differences in imaging conditions. In this embodiment, the dots are arranged at regular intervals of 1 mm.

なお、本実施形態では、パターン配列PAはドットの集合に相当するが、ドット以外の任意の形状のパターンの集合であってもよい。例えば、パターン配列PAは、四角形、三角形、またはひし形など、任意の形状を有するパターンの集合であってもよい。 In this embodiment, the pattern array PA corresponds to a set of dots, but may be a set of patterns of arbitrary shapes other than dots. For example, the pattern array PA may be a set of patterns having arbitrary shapes such as squares, triangles, or rhombuses.

撮像装置2は、パターンシートPSを撮影することによって基準画像および比較画像を生成する。例えば、画像検査システム100が物品の製造工程に適用される場合(個々の物品を識別する)、画像検査システム100は、パターンシートPSを撮影することによって事前に基準画像を生成する。そして、画像検査システム100は、実際の製造工程の前段階で、基準画像を生成したときと同一のパターンシートPSを撮影することによって比較画像を生成する。同一のパターンシートPSを撮影することによって生成された2つの画像についての輝度値などを比較することによって、2つの画像間の不一致を検出する。詳細については後述する。 The imaging device 2 generates a reference image and a comparison image by photographing the pattern sheet PS. For example, when the image inspection system 100 is applied to the manufacturing process of articles (to identify individual articles), the image inspection system 100 generates a reference image in advance by photographing the pattern sheet PS. Then, the image inspection system 100 generates a comparison image by photographing the same pattern sheet PS as that used when generating the reference image, in a stage prior to the actual manufacturing process. A discrepancy between the two images is detected by comparing the luminance values, etc., of the two images generated by photographing the same pattern sheet PS. Details will be described later.

次に、図3に示すフローチャートを参照して、画像検査システム100が実行する基準画像分析処理の例を説明する。基準画像分析処理では、撮像装置2がパターンシートPSの特定の領域を撮影することによって基準画像が生成される。パターンシートPSの特定の領域は、少なくともパターン配列PAを含む領域に相当する。以下、この特定の領域を撮影領域IAと称する。また、パターンシートPSは、撮影対象Oに相当する。 Next, an example of reference image analysis processing executed by the image inspection system 100 will be described with reference to the flowchart shown in FIG. In the reference image analysis process, the imaging device 2 photographs a specific area of the pattern sheet PS to generate a reference image. A specific area of the pattern sheet PS corresponds to an area including at least the pattern array PA. Hereinafter, this specific area will be referred to as an imaging area IA. Also, the pattern sheet PS corresponds to the object O to be photographed.

上述したように、撮像装置2は、2つの画像の一致/不一致の判定の精度を高めるために、最適な画素分解能を採用する。本実施形態に係る画像検査システム100に対して、特定の画素分解能を適用した実験の結果から、画素分解能を小さくすると、上述した精度が高まる結果を得ている。具体的には、画素分解能が大きいと、異なる撮影対象を撮影することによって生成された2つの画像が一致すると判定される確率が高い結果を得ている。画素分解能が大きいと、特徴点がどの撮影対象においても同じような位置に出現し、特徴点の一致率が上がるからと考えられるからである。 As described above, the imaging device 2 employs the optimum pixel resolution in order to increase the accuracy of determining match/mismatch between two images. As a result of an experiment in which a specific pixel resolution is applied to the image inspection system 100 according to the present embodiment, the above-described accuracy is improved when the pixel resolution is reduced. Specifically, when the pixel resolution is high, the probability of determining that two images generated by photographing different objects match each other is high. This is because when the pixel resolution is high, the feature points appear at the same positions in any imaging target, and the matching rate of the feature points increases.

本実施形態では、例えば、撮像装置2の光学センサの水平画素数を1456、垂直画素数を1088、画素サイズ3.45マイクロメートルとし、レンズの光学倍率を0.44倍または0.88倍とする条件で、撮像装置2の光学センサは、23.6マイクロメートル/画素以下の画素分解能を採用する。23.6マイクロメートル/画素以下の画素分解能を採用することによって、上述した精度が高まる結果を得ている。なお、上述した画素数および画素サイズなどの条件は例示にすぎず、あらゆる条件に対しても上記画素分解能が適用される。 In this embodiment, for example, the number of horizontal pixels of the optical sensor of the imaging device 2 is 1456, the number of vertical pixels is 1088, the pixel size is 3.45 micrometers, and the optical magnification of the lens is 0.44 or 0.88. provided that the optical sensor of imaging device 2 employs a pixel resolution of 23.6 micrometers/pixel or less. Employing a pixel resolution of 23.6 micrometers/pixel or less results in the increased accuracy described above. Note that the above conditions such as the number of pixels and pixel size are merely examples, and the above pixel resolution is applied to all conditions.

また、撮像装置2は、2つの画像の一致/不一致の判定の精度を高めるために、最適なワーキングディスタンスを採用する。本実施形態に係る画像検査システム100に対して、特定のワーキングディスタンスを適用した実験の結果から、ワーキングディスタンスを短くすると、上述した精度が高まる結果を得ている。ワーキングディスタンスを短くすることによって、レンズの画素分解能が小さくなるからである。 In addition, the imaging device 2 employs an optimum working distance in order to increase the accuracy of determining match/mismatch between two images. From the results of an experiment in which a specific working distance was applied to the image inspection system 100 according to the present embodiment, the above-described accuracy is improved when the working distance is shortened. This is because the pixel resolution of the lens is reduced by shortening the working distance.

本実施形態では、例えば、撮像装置2のレンズの焦点距離を35ミリメートルとする条件で、撮像装置2のレンズは、250ミリメートル(例えば、23.6マイクロメートル/画素の画素分解能)以下(下限を187ミリメート)のワーキングディスタンスを採用する。250ミリメートル以下のワーキングディスタンスを採用することによって、上述した精度が高まる結果を得ている。なお、上述した焦点距離などの条件は例示にすぎず、あらゆる条件に対しても上記ワーキングディスタンスが適用される。 In the present embodiment, for example, under the condition that the focal length of the lens of the imaging device 2 is 35 mm, the lens of the imaging device 2 is 250 mm (for example, pixel resolution of 23.6 micrometers/pixel) or less (the lower limit is 187 mm) working distance. Employing a working distance of 250 millimeters or less results in the increased accuracy described above. Note that the conditions such as the focal length described above are merely examples, and the above working distance is applied to all conditions.

まず、撮像装置2は、撮影対象O(パターンシートPS)の撮影領域IAを撮影する(ステップ301)。本実施形態では、図2に示したパターン配列PAの全領域が撮影領域IAに相当する。 First, the imaging device 2 photographs the imaging area IA of the imaging target O (pattern sheet PS) (step 301). In this embodiment, the entire area of the pattern array PA shown in FIG. 2 corresponds to the imaging area IA.

次に、撮像装置2は、撮影領域IAに対応する画像を生成する(ステップ302)。この画像は、後述する比較画像と比較される基準画像RIとしての役割を果たす。基準画像RIが生成されると、撮像装置2はコンピュータデバイス1に基準画像RIを送信し、コンピュータデバイス1の制御装置が入出力装置を介して基準画像RIを受信する。 Next, the imaging device 2 generates an image corresponding to the imaging area IA (step 302). This image serves as a reference image RI to be compared with a later-described comparison image. When the reference image RI is generated, the imaging device 2 transmits the reference image RI to the computer device 1, and the control device of the computer device 1 receives the reference image RI via the input/output device.

次に、コンピュータデバイス1の制御装置は、基準画像RIを記憶装置に記憶する(ステップ303)。次に、制御装置は、基準画像RIを読み出し、パターン配列PA内の個々のドットを識別する(ステップ304)。ドットは、例えば、基準画像RIを二値化処理し、二値化された画像をラベリングすることによって識別されてもよい。この処理によって、パターン配列PA内の全てのドットの円形部分が認識される。つまり、ドットの外枠部分に対応する画素の座標位置の集合が算出される。 Next, the control device of the computer device 1 stores the reference image RI in the storage device (step 303). The controller then reads the reference image RI and identifies individual dots in the pattern array PA (step 304). The dots may be identified, for example, by binarizing the reference image RI and labeling the binarized image. Through this process, circular portions of all dots in the pattern array PA are recognized. That is, a set of coordinate positions of pixels corresponding to the outer frame portion of the dot is calculated.

次に、制御装置は、識別したそれぞれのドットの中心座標を算出する(ステップS75)。中心座標は、例えば、ステップ304において識別したドットの外枠部分の座標位置からドットの直径を算出し、その直径の中心座標を算出することによって導出される。 Next, the control device calculates the central coordinates of each identified dot (step S75). The central coordinates are derived, for example, by calculating the diameter of the dot from the coordinate position of the outer frame portion of the dot identified in step 304 and calculating the central coordinates of the diameter.

次に、制御装置は、ステップ305において算出した中心座標から、ドット内で予め定められた範囲内の領域を算出する(ステップ306)。本実施形態では、この領域は、中心座標を中心とした予め定められた大きさを有する正方形の領域に相当する。この領域を、「ドット内領域(パターン内領域)DAintra」と称する。この処理によって、ドット内領域DAintraに対応する画素の座標位置の集合が算出される。 Next, the control device calculates an area within a predetermined range within the dot from the central coordinates calculated in step 305 (step 306). In this embodiment, this area corresponds to a square area having a predetermined size centered on the central coordinates. This area is called an "intra-dot area (intra-pattern area) DA intra ". Through this processing, a set of coordinate positions of pixels corresponding to the intra-dot area DA intra is calculated.

図4は、ドット内領域DAintraの例を示す。図4に示すように、ドット内領域DAintraは、ドットDにおいて中心座標(ドット内中心座標(パターン内中心座標)CCintra)を中心とした予め定められた大きさを有する正方形の領域に相当する。本実施形態では、ドット内領域DAintraは、正方形に相当するが、正方形以外の任意の形状であってもよい。 FIG. 4 shows an example of the in-dot area DA intra . As shown in FIG. 4, the in-dot area DA intra corresponds to a square area having a predetermined size centered on the center coordinates (in-dot center coordinates (in-pattern center coordinates) CC intra ) in the dot D. do. In this embodiment, the intra-dot area DA intra corresponds to a square, but may have any shape other than the square.

次に、制御装置は、ドット内領域DAintra内の全ての画素についての輝度値を算出し、その平均(ドット内平均輝度値(パターン内平均輝度値))を算出する(ステップ307)。輝度値は、式(1)に従って、各々の画素RGB値を加重平均することによって算出される。式(1)において使用される係数(Rに対する0.298912、Gに対する0.586611、およびBに対する0.114478)は、人間の眼がそのように見えるという経験則から導出されている。
輝度値=0.298912×R+0.586611×G+0.114478×B (1)
Next, the control device calculates luminance values for all pixels in the intra-dot area DA intra , and calculates the average (in-dot average luminance value (in-pattern average luminance value)) (step 307). A luminance value is calculated by taking a weighted average of each pixel RGB value according to equation (1). The coefficients used in equation (1) (0.298912 for R, 0.586611 for G, and 0.114478 for B) are derived from the rule of thumb that the human eye sees that way.
Luminance value = 0.298912 x R + 0.586611 x G + 0.114478 x B (1)

次に、制御装置は、ステップ304において識別した座標およびステップ305において算出した中心座標から、隣接するドット間の予め定められた範囲内の領域を算出する(ステップ308)。本実施形態では、この領域は、隣接する2つのドットのそれぞれの中心座標間のドット間中心座標(パターン間中心座標)を算出し、ドット間中心座標を中心とした予め定められた大きさを有する正方形の領域に相当する。この領域を、「ドット間領域(パターン間領域)DAinter」と称する。この処理によって、ドット間領域DAinterに対応する画素の座標位置の集合が算出される。 Next, the control device calculates an area within a predetermined range between adjacent dots from the coordinates identified in step 304 and the central coordinates calculated in step 305 (step 308). In the present embodiment, this area is formed by calculating inter-dot central coordinates (inter-pattern central coordinates) between the respective central coordinates of two adjacent dots, and determining a predetermined size centered on the inter-dot central coordinates. corresponds to a square area with This area is called an "inter-dot area (inter-pattern area) DA inter ". Through this processing, a set of coordinate positions of pixels corresponding to the inter-dot area DA inter is calculated.

図5は、ドット間領域DAinterの例を示す。図5に示すように、ドット間領域DAinterは、隣接するドット(ドットD1およびドットD2)のドット内中心座標(ドット内中心座標CCintra1およびドット内中心座標CCintra2)の間の中心座標(ドット間中心座標CCinter)を中心とした予め定められた大きさを有する正方形の領域に相当する。本実施形態では、ドット間領域DAinterは、正方形に相当するが、正方形以外の任意の形状であってもよい。 FIG. 5 shows an example of the dot-to-dot area DA inter . As shown in FIG. 5, the inter-dot area DA inter is the center between the intra-dot center coordinates (in-dot center coordinates CC intra1 and intra-dot center coordinates CC intra2 ) of adjacent dots (dots D 1 and D 2 ). It corresponds to a square area having a predetermined size centered on coordinates (inter-dot center coordinates CC inter ). In this embodiment, the inter-dot area DA inter corresponds to a square, but may have any shape other than the square.

次に、制御装置は、ドット間領域DAinter内の全ての画素についての輝度値を算出し、その平均(ドット間平均輝度値(パターン間平均輝度値))を算出する(ステップ309)。輝度値は、上述した式(1)に従って算出される。 Next, the control device calculates luminance values for all pixels in the inter-dot area DA inter and calculates the average (inter-dot average luminance value (inter-pattern average luminance value)) (step 309). The luminance value is calculated according to Equation (1) described above.

次に、制御装置は、ステップ304において認識した、基準画像RIにおけるパターン配列PA内の全てのドットに対し、ステップ305乃至ステップ307の処理を繰り返す(ステップ310)。この処理によって、パターン配列PA内の全てのドットについてのドット内平均輝度値の集合が算出される。算出したドット内平均輝度値はそれぞれ、パターン配列PA内の各々のドットを示す値(例えば、ドット識別番号(パターン識別番号))と関連付けて記憶装置に記憶される。 Next, the control device repeats the processing of steps 305 to 307 for all dots in the pattern array PA in the reference image RI recognized in step 304 (step 310). Through this processing, a set of in-dot average brightness values for all dots in the pattern array PA is calculated. Each of the calculated in-dot average brightness values is stored in the storage device in association with a value (for example, dot identification number (pattern identification number)) indicating each dot in the pattern array PA.

また、制御装置は、ステップ304において認識した、基準画像RIにおけるパターン配列PA内の全ての隣接するドットに対し、ステップ308およびステップ309の処理を繰り返す(ステップ311)。この処理によって、パターン配列PA内の全ての隣接するドットについてのドット間平均輝度値の集合が算出される。算出したドット間平均輝度値はそれぞれ、パターン配列PA内の各々のドット間の集合を示す値(例えば、ドット間集合識別番号(パターン間集合識別番号))と関連付けて記憶装置に記憶される。 The control device also repeats the processing of steps 308 and 309 for all adjacent dots within the pattern array PA in the reference image RI recognized in step 304 (step 311). Through this process, a set of dot-to-dot average brightness values for all adjacent dots in the pattern array PA is calculated. Each of the calculated inter-dot average brightness values is stored in the storage device in association with a value (for example, an inter-dot group identification number (inter-pattern group identification number)) indicating a group between dots in the pattern array PA.

さらに、制御装置は、パターン配列PA内のX座標におけるドットの集合(ドット行(パターン行))を識別し、ドット行内の各々のドットの中心座標を結んだ近似直線を算出する(ステップ312)。図6は、特定のドット行についての近似直線の例を示す。 Further, the control device identifies a set of dots (dot row (pattern row)) at the X coordinate in the pattern array PA, and calculates an approximate straight line connecting the center coordinates of each dot in the dot row (step 312). . FIG. 6 shows an example of an approximate straight line for a particular dot row.

上述したように、パターン配列PAでは、ドットが均等に配置されている。よって、図6に示すように、パターン配列PA内のドット行では、ドットが矢印Xの方向に直線を描くように配列されることになる。この直線が近似直線に相当する。 As described above, the dots are arranged evenly in the pattern array PA. Therefore, as shown in FIG. 6, in the dot row in the pattern array PA, the dots are arranged so as to draw a straight line in the direction of the arrow X. As shown in FIG. This straight line corresponds to the approximate straight line.

この処理を、パターン配列PA内の全ての行に対して繰り返す。この処理によって、パターン配列PA内の全てのドット行についての近似直線の集合が算出される。算出した近似直線は、パターン配列PA内の各々のドット行を示す値(例えば、ドット行識別番号(パターン行識別番号))と関連付けて記憶装置に記憶される。 This process is repeated for all rows in the pattern array PA. Through this processing, a set of approximate straight lines for all dot rows in the pattern array PA is calculated. The calculated approximate straight line is stored in the storage device in association with a value (for example, dot row identification number (pattern row identification number)) indicating each dot row in the pattern array PA.

同様に、制御装置は、パターン配列PA内のY座標におけるドットの集合(ドット列(パターン列))を識別し、ドット行内の各々のドットの中心座標を結んだ近似直線を算出する(ステップ313)。図6は、特定のドット列についての近似直線の例を示す。 Similarly, the control device identifies a set of dots (dot row (pattern row)) at the Y coordinate in the pattern array PA, and calculates an approximate straight line connecting the center coordinates of each dot in the dot row (step 313). ). FIG. 6 shows an example of an approximate straight line for a particular dot row.

上述したように、パターン配列PAでは、ドットが均等に配置されている。よって、図6に示すように、パターン配列PA内のドット列では、ドットが矢印Yの方向に直線を描くように配列されることになる。この直線が近似直線に相当する。 As described above, the dots are arranged evenly in the pattern array PA. Therefore, as shown in FIG. 6, in the dot row in the pattern array PA, the dots are arranged so as to draw a straight line in the arrow Y direction. This straight line corresponds to the approximate straight line.

この処理を、パターン配列PA内の全ての列に対して繰り返す。この処理によって、パターン配列PA内の全てのドット列についての近似直線の集合が算出される。算出した近似直線は、パターン配列PA内の各々のドット列を示す値(例えば、ドット列識別番号(パターン列識別番号))と関連付けて記憶装置に記憶される。 This process is repeated for all columns in the pattern array PA. Through this processing, a set of approximate straight lines for all dot rows in the pattern array PA is calculated. The calculated approximate straight line is stored in the storage device in association with a value (for example, dot row identification number (pattern row identification number)) indicating each dot row in the pattern array PA.

上記説明した基準画像分析処理によって、基準画像RIにおけるパターン配列PAの全てのドットについてのドット内平均輝度値、ドット間平均輝度値、および近似直線がコンピュータデバイス1の記憶装置に記憶される。後述する比較画像分析処理では、比較画像に対しても同様に、配列PA内の全てドットについてのドット内平均輝度値、ドット間平均輝度値、および近似直線が算出される。そして、比較画像についてのドット内平均輝度値、ドット間平均輝度値、および近似直線が、基準画像についてのドット内平均輝度値、ドット間平均輝度値、および近似直線と比較される。 By the reference image analysis processing described above, the in-dot average brightness value, the inter-dot average brightness value, and the approximate straight line for all the dots of the pattern array PA in the reference image RI are stored in the storage device of the computer device 1 . In the comparison image analysis process, which will be described later, the in-dot average brightness value, the inter-dot average brightness value, and the approximate straight line are similarly calculated for all the dots in the array PA for the comparison image. Then, the in-dot average brightness value, the inter-dot average brightness value, and the approximate straight line for the comparative image are compared with the intra-dot average brightness value, the inter-dot average brightness value, and the approximate straight line for the reference image.

なお、基準画像分析処理では、撮像装置2がパターンシートPSを撮影対象Oとして撮影する例を示したが、そのような例に限定されない。例えば、パターンシートPSは、撮影対象O(薬品の錠剤など)とは別個に存在し、撮影対象Oと重なって撮影されてもよい。後述する比較画像分析処理においても同様である。この場合、パターンシートPSは、透明上のシートによって構成される。 In the reference image analysis process, an example in which the imaging device 2 photographs the pattern sheet PS as the imaging target O has been described, but the present invention is not limited to such an example. For example, the pattern sheet PS may exist separately from the imaging target O (medicine tablet, etc.), and may overlap the imaging target O and be photographed. The same applies to the comparative image analysis processing to be described later. In this case, the pattern sheet PS is composed of a transparent sheet.

図7は、パターンシートPSを使用して撮影対象Oを撮影する状態の例を示す。図7に示すように、パターンシートPSは、撮像装置2と撮影対象Oとの間に配置される。撮像装置2から照射される光Lは、パターンシートPSを通過して撮影対象Oに到達する。このようにして撮影対象Oを撮影することによって生成される画像(基準画像および比較画像)は、例えば、撮影対象Oが薬品の錠剤(包装ラベル)である場合、パターン配列PAおよび包装ラベルを含むことになる。 FIG. 7 shows an example of a state in which the photographing object O is photographed using the pattern sheet PS. As shown in FIG. 7, the pattern sheet PS is arranged between the imaging device 2 and the object O to be photographed. The light L emitted from the image pickup device 2 passes through the pattern sheet PS and reaches the object O to be photographed. Images (reference image and comparative image) generated by photographing the object O in this way include the pattern array PA and the package label, for example, when the object O is a drug tablet (package label). It will be.

また、パターンシートPSを使用する代わりに、撮影対象Oに予めパターン配列が形成されてもよい。この場合、撮影対象Oが薬品の錠剤(包装ラベル)である場合、包装シートにパターン配列が形成されることになる。 Also, instead of using the pattern sheet PS, a pattern array may be formed in advance on the object O to be photographed. In this case, if the imaging target O is a drug tablet (packaging label), a pattern array is formed on the packaging sheet.

次に、図8に示すフローチャートを参照して、画像検査システム100が実行する比較画像分析処理を説明する。比較画像分析処理は、例えば、薬品の製造工程の前段階で実行される。比較画像分析処理では、撮像装置2が、基準画像RIと同一のパターンシートPSの撮影領域IAを撮影することによって比較画像が生成される。 Next, the comparison image analysis processing executed by the image inspection system 100 will be described with reference to the flowchart shown in FIG. The comparative image analysis processing is performed, for example, in the pre-stage of the manufacturing process of medicines. In the comparative image analysis process, the imaging device 2 photographs the same photographing area IA of the pattern sheet PS as the reference image RI to generate a comparative image.

原則として、基準画像RIの元となるパターンシートPSと同一のパターンシートPSを撮影することによって生成される比較画像は、基準画像RIと一致する。しかしながら、基準画像RIを生成するためにパターンシートPSを撮影(以下、第1の撮影)するときと、比較画像を生成するためにパターンシートPSを撮影(以下、第2の撮影)するときとの間の撮影条件における差異に起因して、両者の画像が一致しないことがある。 In principle, a comparative image generated by photographing the same pattern sheet PS as the original pattern sheet PS of the reference image RI matches the reference image RI. However, when the pattern sheet PS is photographed to generate the reference image RI (hereinafter referred to as the first photographing) and when the pattern sheet PS is photographed to generate the comparative image (hereinafter referred to as the second photographing), The two images may not match due to the difference in shooting conditions between the two.

図8に示す処理では、比較画像および基準画像についての輝度値などを比較することによって、両者の不一致を検出する。薬品の製造工程の前段階でこの処理を実行することによって、撮影条件における差異を検出することができる。製造工程の前段階で撮影条件における差異を検出することによって、撮像装置2を適切な位置に補正するなどの処置を行うことができる。 In the processing shown in FIG. 8, a mismatch between the comparison image and the reference image is detected by comparing the luminance values of the comparison image and the reference image. By executing this process in the pre-stage of the drug manufacturing process, differences in imaging conditions can be detected. By detecting the difference in the photographing conditions in the previous stage of the manufacturing process, it is possible to take measures such as correcting the imaging device 2 to an appropriate position.

まず、撮像装置2は、撮影対象O(パターンシートPS)の撮影領域IAを撮影する(ステップ801)。撮影領域IAは、図3において説明した基準画像RIにおける撮影領域IAと同一の領域に相当する。 First, the imaging device 2 photographs the imaging area IA of the imaging target O (pattern sheet PS) (step 801). The imaging area IA corresponds to the same area as the imaging area IA in the reference image RI described with reference to FIG.

次に、撮像装置2は、撮影領域IAに対応する画像を生成する(ステップ802)。この画像は、基準画像RIと比較することになる比較画像CIに相当する。比較画像CIが生成されると、撮像装置2はコンピュータデバイス1に比較画像CIを送信し、コンピュータデバイス1の制御装置が入出力装置を介して基準画像RIを受信する。 Next, the imaging device 2 generates an image corresponding to the imaging area IA (step 802). This image corresponds to the comparison image CI to be compared with the reference image RI. After the comparison image CI is generated, the imaging device 2 transmits the comparison image CI to the computer device 1, and the control device of the computer device 1 receives the reference image RI via the input/output device.

次に、コンピュータデバイス1において、比較画像CIに対してステップ803乃至ステップ813の処理が実行されるが、これらの処理は、図3において説明したステップ303乃至ステップ313の処理と同様であるので説明を省略する。つまり、コンピュータデバイス1の制御装置は、比較画像CI内のパターン配列PAの全てのドットについてのドット内平均輝度値、ドット間平均輝度値、および近似直線を算出する。 Next, in the computer device 1, the processing of steps 803 to 813 is performed on the comparison image CI. omitted. That is, the control device of the computer device 1 calculates the in-dot average brightness value, the inter-dot average brightness value, and the approximate straight line for all the dots of the pattern array PA in the comparison image CI.

次に、制御装置は、ステップ812において算出した特定のドット行についての近似直線を、基準画像に対して算出された、対応するドット行についての近似直線と比較し、両者の差分値を算出する。また、この差分値が予め定められた閾値内にあるかどうかを判定する(ステップ814)。2つの画像(基準画像RIおよび比較画像CI)についての近似直線の差分値は、全てのドット行に対して算出され、閾値内にあるかどうかが判定される。 Next, the control device compares the approximate straight line for the specific dot row calculated in step 812 with the approximate straight line for the corresponding dot row calculated for the reference image, and calculates the difference value between the two. . It is also determined whether this difference value is within a predetermined threshold (step 814). The difference value of the approximate straight line for the two images (reference image RI and comparison image CI) is calculated for all dot rows and determined whether it is within the threshold.

同様に、制御装置は、ステップ810において算出した特定のドット列についての近似直線を、基準画像に対して算出された、対応するドット列についての近似直線と比較し、両者の差分値を算出する。また、この差分値が予め定められた閾値内にあるかどうかを判定する(ステップ815)。2つの画像についての近似直線の差分値は、全てのドット列に対して算出され、閾値内にあるかどうかが判定される。 Similarly, the control device compares the approximate straight line for the specific dot row calculated in step 810 with the approximate straight line for the corresponding dot row calculated for the reference image, and calculates the difference value between the two. . It is also determined whether this difference value is within a predetermined threshold (step 815). The difference values of the approximate straight lines for the two images are calculated for all dot rows and determined whether they are within the threshold.

図9および図10を参照して、基準画像RIにおけるドット行と比較画像CIにおけるドット行との間の近似直線における差分の例を説明する。 An example of the difference in the approximate straight line between the dot line in the reference image RI and the dot line in the comparison image CI will be described with reference to FIGS. 9 and 10. FIG.

図9(a)は、第1の撮影における状態、およびその結果生成された基準画像RIにおけるパターン配列PAの例を示す。パターン配列PAの矢印は、特定のドット列についての近似直線を示す。図9(a)に示すように、撮像装置2は、第1の撮影のとき、撮影対象であるパターンシートPSに対して正対して撮影している。その結果、生成された基準画像RIでは、パターン配列PAが基準画像RI内でほぼ真ん中に位置している。 FIG. 9(a) shows an example of the pattern array PA in the state in the first imaging and the reference image RI generated as a result. Arrows in the pattern array PA indicate approximate straight lines for specific dot rows. As shown in FIG. 9(a), the imaging device 2 faces the pattern sheet PS, which is an object to be photographed, in the first photographing. As a result, in the generated reference image RI, the pattern array PA is positioned substantially in the center within the reference image RI.

図9(b)は、第1の撮影における状態、およびその結果生成された比較画像CIにおけるパターン配列PAの例を示す。パターン配列PAの矢印は、特定のドット列についての近似直線を示す。この近似直線は、図9(a)に示した近似直線に対応する。図9(b)に示すように、撮像装置2は、第1の撮影のとき、撮影対象であるパターンシートPSに対して傾いて撮影している。その結果、生成された比較画像CIでは、比較画像RI内のパターン配列と比較して、パターン配列PAが比較画像CI内で横にずれて位置している。 FIG. 9B shows an example of the pattern array PA in the state in the first imaging and the comparative image CI generated as a result. Arrows in the pattern array PA indicate approximate straight lines for specific dot rows. This approximate straight line corresponds to the approximate straight line shown in FIG. As shown in FIG. 9B, the imaging device 2 is tilted with respect to the pattern sheet PS to be photographed at the time of the first photographing. As a result, in the generated comparative image CI, the pattern array PA is laterally displaced in the comparative image CI as compared with the pattern array in the comparative image RI.

図10は、基準画像RIに対して算出された特定のドット列についての近似直線(基準画像近似直線RA)と、比較画像CIに対して算出された、対応するドット列についての近似直線(比較画像近似直線CA)とを比較した状態の例を示す。図10では、比較画像近似直線CAが横にずれて位置していることを明確に示すために、基準画像近似直線RAおよび比較画像近似直線CAを同一平面にある状態で表している。なお、両者を区別するために、基準画像RI内のドット列は黒塗りで、比較画像CI内のドット列は網掛けで表している。 FIG. 10 shows an approximate straight line for a specific dot row (reference image approximate straight line RA) calculated for the reference image RI and an approximate straight line for the corresponding dot row calculated for the comparative image CI (comparative An example of a state of comparison with the image approximation straight line CA) is shown. In FIG. 10, the reference image approximating straight line RA and the comparative image approximating straight line CA are shown in the same plane in order to clearly show that the comparative image approximating straight line CA is laterally shifted. In order to distinguish between the two, the dot row in the reference image RI is blacked out and the dot row in the comparative image CI is shaded.

図10に示すように、基準画像近似直線RAと比較画像近似直線CAとを比較すると、両者は差分Diだけ離れている。基準画像近似直線RAが基準となるので、差分Diは、比較画像近似直線CAがDiだけ横にずれていることを意味する。この差分を示す差分値が、ステップ814およびステップ815において、全てのドット行およびドット列に対して算出される。 As shown in FIG. 10, when the reference image approximation straight line RA and the comparison image approximation straight line CA are compared, they are separated by the difference Di. Since the reference image approximation straight line RA is the reference, the difference Di means that the comparison image approximation straight line CA is laterally shifted by Di. Difference values indicating this difference are calculated for all dot rows and dot columns in steps 814 and 815 .

なお、本実施形態では、パターン配列内のドット行およびドット列についての近似直線を比較しているが、そのような例に限定されない。例えば、基準画像RIおよび比較画像CIの双方に対し、パターン配列PA内の任意の2点を結んだ近似直線(例えば、略45度に傾いた直線)を算出し、両者を比較してもよい。 Note that in this embodiment, the approximate straight lines for the dot rows and dot columns in the pattern array are compared, but the present invention is not limited to such an example. For example, for both the reference image RI and the comparison image CI, an approximate straight line connecting any two points in the pattern array PA (for example, a straight line inclined at approximately 45 degrees) may be calculated and compared. .

また、例えば、基準画像RIにおけるそれぞれのドットの中心座標と比較画像CIにおけるそれぞれのドットの中心座標とを比較してもよい。この場合、計算負荷は高まるが、画像内の特定の領域のみに不一致が発生していることなどを検出することができる。つまり、ステップ814およびステップ815の処理では、基準画像RIにおけるドットと比較画像CIにおけるドットとの間の座標位置を比較する。 Further, for example, the center coordinates of each dot in the reference image RI and the center coordinates of each dot in the comparison image CI may be compared. In this case, although the computational load increases, it is possible to detect the occurrence of a mismatch only in a specific area within the image. That is, in the processing of steps 814 and 815, the coordinate positions between the dots in the reference image RI and the dots in the comparison image CI are compared.

ステップ814およびステップ815の処理によって、基準画像RIと比較画像CIとの間の画像の不一致を検出することができる。上述したように、この不一致は、第1の撮影のときと比較して、第2の撮影において、撮像装置2がパターンシートPSに対して傾いていることに起因している。よって、画像間の不一致を検出することによって、撮影条件における差異を判定することができる。 Through the processing of steps 814 and 815, image mismatch between the reference image RI and the comparison image CI can be detected. As described above, this discrepancy is due to the fact that the imaging device 2 is tilted with respect to the pattern sheet PS in the second photographing as compared to the first photographing. Thus, by detecting discrepancies between images, differences in imaging conditions can be determined.

図8の説明に戻ると、制御装置は、ステップ808において算出した特定のドットについてのドット間平均輝度値およびドット間平均輝度値を、基準画像に対して算出された、対応するドットについてのドット間平均輝度値およびドット間平均輝度値と比較し、両者の差分値を算出する。また、この差分値が予め定められた閾値内にあるかどうかを判定する(ステップ816)。2つの画像(基準画像RIおよび比較画像CI)についてのドット間平均輝度値およびドット間平均輝度値の差分値は、全てのドットに対して算出され、閾値内にあるかどうかが判定される。 Returning to the description of FIG. 8, the control unit converts the dot-to-dot average brightness value and the dot-to-dot average brightness value for the specific dot calculated in step 808 to the dot-to-dot average brightness value for the corresponding dot calculated for the reference image. It is compared with the inter-dot average brightness value and the inter-dot average brightness value, and the difference value between the two is calculated. It is also determined whether this difference value is within a predetermined threshold (step 816). The dot-to-dot average brightness value and the dot-to-dot average brightness value difference value for the two images (the reference image RI and the comparison image CI) are calculated for all dots, and it is determined whether or not they are within the threshold.

図11および図12を参照して、基準画像RIにおけるパターン配列PA内のドットと比較画像CIにおけるパターン配列PA内のドットとの間のドット内平均輝度値およびドット間平均輝度値における差分の例を説明する。なお、図11および図12に示す例は、図9および図10に示した例とは別の例である。 11 and 12, an example of the difference in the in-dot average brightness value and the inter-dot average brightness value between the dots in the pattern array PA in the reference image RI and the dots in the pattern array PA in the comparison image CI. explain. Note that the examples shown in FIGS. 11 and 12 are different from the examples shown in FIGS. 9 and 10 .

図11(a)は、基準画像RIにおけるパターン配列PAの例を示す。図11(a)に示すように、パターン配列PA内のそれぞれのドットは、略同一のサイズを有している。 FIG. 11(a) shows an example of the pattern array PA in the reference image RI. As shown in FIG. 11(a), each dot in the pattern array PA has substantially the same size.

図11(b)は、比較画像CIにおけるパターン配列PAの例を示す。図11(b)に示すように、パターン配列PA内のそれぞれのドットは、基準画像RIにおけるドットと比較して、破線で囲んだ部分におけるドットのサイズが大きい。これは、例えば、第1の撮影のときの撮像装置2とパターンシートPSとの間の距離が、第2の撮影のときの場所のその距離と異なることに起因している。 FIG. 11(b) shows an example of the pattern array PA in the comparison image CI. As shown in FIG. 11(b), each dot in the pattern array PA has a larger dot size in the portion surrounded by the dashed line than the dots in the reference image RI. This is because, for example, the distance between the imaging device 2 and the pattern sheet PS at the time of the first photography is different from the distance at the location at the time of the second photography.

図12(a)は、基準画像RIにおける隣接するドット間の基準画像ドット間領域DARDinterの例を示す。図12(b)は、比較画像CIにおける隣接するドット間の比較画像ドット間領域DACDinterの例を示す。 FIG. 12(a) shows an example of the reference image inter-dot area DA RDinter between adjacent dots in the reference image RI. FIG. 12(b) shows an example of the comparison image inter-dot area DA CDinter between adjacent dots in the comparison image CI.

図12に示すように、基準画像ドット間領域DARDinterは、基準画像RIにおける2つのドット(基準画像ドットRD1およびRD2)のいずれとも重なっていない。つまり、基準画像ドット間領域DARDinterでは、黒い部分が存在しない。 As shown in FIG. 12, the reference image inter-dot area DA RDinter does not overlap with any of the two dots (reference image dots RD 1 and RD 2 ) in the reference image RI. In other words, there is no black portion in the reference image inter-dot area DA RDinter .

一方で、比較画像ドット間領域DACDinterは、比較画像CIにおける2つのドット(比較画像ドットCD1およびCD2)のいずれとも一部で重なっている。つまり、比較画像ドット間領域DACDinterでは、黒い部分が存在する。 On the other hand, the comparative image inter-dot area DA CDinter partially overlaps both of the two dots (comparative image dots CD 1 and CD 2 ) in the comparative image CI. In other words, a black portion exists in the comparison image inter-dot area DA CDinter .

よって、基準画像ドット間領域DARDinterについてのドット間平均輝度値は、比較画像ドット間領域DACDinterについてのドット間平均輝度値と一定の差分値だけ異なる。この差分値の範囲で閾値を設定することによって、両者の差分は閾値を超えることになる。 Therefore, the dot-to-dot average brightness value for the reference image dot-to-dot area DA RDinter differs from the dot-to-dot average brightness value for the comparison image dot-to-dot area DA CDinter by a constant difference value. By setting a threshold within this difference value range, the difference between the two exceeds the threshold.

上述したように閾値を設定することによって、基準画像ドットRD1および比較画像ドットCD1は共に中心座標が略同一であるので、両者のドット内領域DAintraについてのドット内平均輝度値の差分値は、閾値を超えない。基準画像ドットRD2および比較画像ドットCD2についても同様である。 By setting the threshold value as described above, both the reference image dot RD 1 and the comparison image dot CD 1 have substantially the same center coordinates. does not exceed the threshold. The same is true for the reference image dot RD2 and the comparative image dot CD2.

一方で、比較画像ドット間領域DACDinterと基準画像ドット間領域DARDinterとを比較すると、両者の平均輝度値は、差分値は閾値を超えることになる。その結果、基準画像と比較画像との間の不一致が検出されることになる。 On the other hand, when the comparison image inter-dot area DA CDinter and the reference image inter-dot area DA RDinter are compared, the difference between the average luminance values of the two exceeds the threshold value. As a result, discrepancies between the reference image and the comparison image will be detected.

ステップ816の処理によって、上述したように、2つの画像のドットの中心座標が略同一であり、双方のドットのサイズが異なる場合でも、基準画像RIと比較画像CIとの間の画像の不一致を検出することができる。上述したように、この不一致は、第1の撮影のときと、第2の撮影のときとの撮像装置2とパターンシートPSとの間の距離における差異に起因している。よって、画像間の不一致を検出することによって、撮影条件における差異を判定することができる。 As described above, the process of step 816 enables the image discrepancy between the reference image RI and the comparison image CI to be corrected even if the center coordinates of the dots of the two images are substantially the same and the sizes of the dots of both images are different. can be detected. As described above, this discrepancy is due to the difference in distance between the imaging device 2 and the pattern sheet PS between the first photographing and the second photographing. Thus, by detecting discrepancies between images, differences in imaging conditions can be determined.

なお、本実施形態では、基準画像RIおよび比較画像CIについてのパターン配列PA内の全てのドットに対し、ドット内平均輝度値およびドット間平均輝度値を比較しているが、必ずしも全てのドットに対して比較を行う必要はない。例えば、基準画像RIおよび比較画像CIの双方において所定の領域内のドットに対してのみ比較が行われてもよい。 In this embodiment, the in-dot average brightness value and the inter-dot average brightness value are compared with respect to all the dots in the pattern array PA for the reference image RI and the comparative image CI. No need to compare. For example, in both the reference image RI and the comparison image CI, comparison may be made only for dots within a predetermined area.

また、本実施形態では、基準画像RIおよび比較画像CIについてのドット行およびドット列についての近似直線、ドット内平均輝度値、ならびにドット間平均輝度値を比較しているが、それらの全てを比較する必要はない。ドット行およびドット列についての近似直線、ドット内平均輝度値、ならびにドット間平均輝度値のうちにいずれか1つまたは複数を比較してもよい。 In addition, in the present embodiment, the approximate straight lines, the in-dot average brightness values, and the inter-dot average brightness values for the dot rows and dot columns of the reference image RI and the comparative image CI are compared. do not have to. Any one or more of the approximate straight line for the dot row and dot column, the intra-dot average brightness value, and the inter-dot average brightness value may be compared.

以上のように、実施形態に係る画像検査システムを説明した、本実施形態によれば、2つの画像内のあらゆる領域において発生している不一致を検出することができる。 As described above, according to the present embodiment, which describes the image inspection system according to the embodiment, it is possible to detect mismatches that occur in all regions within the two images.

なお、上述した近似直線、ドット内平均輝度値、およびドット間平均輝度値についての差分値は、コンピュータデバイス1と結合された出力装置4に出力されてもよい。差分地を出力することによって、ユーザは、例えば、撮像装置2がどの程度傾いているかを把握することができ、そのことを考慮して、第2の撮影を再度行うことができる。 The approximate straight line, the in-dot average brightness value, and the difference value for the inter-dot average brightness value may be output to the output device 4 coupled to the computer device 1 . By outputting the difference ground, the user can, for example, grasp how much the imaging device 2 is tilted, and can take this into consideration when performing the second photographing again.

また、第1の撮影または第2の撮影のときに、撮像装置2の傾きおよび/または撮影する場所の明度を検出し、近似直線、ドット内平均輝度値、およびドット間平均輝度値についての差分値と関連付けて、コンピュータデバイス1の記憶装置に記憶されてもよい。このようにすることによって、差分値に対応する撮像装置2の傾きを出力装置4に出力して、ユーザにフィードバックすることができる。 Also, at the time of the first photographing or the second photographing, the tilt of the imaging device 2 and/or the brightness of the photographing location are detected, and the approximate straight line, the intra-dot average luminance value, and the difference of the inter-dot average luminance value are detected. It may be stored in the storage device of the computer device 1 in association with the value. By doing so, the inclination of the imaging device 2 corresponding to the difference value can be output to the output device 4 and fed back to the user.

上記実施形態で説明したハードウェアの構成要素は例示的なものにすぎず、その他の構成も可能であることに留意されたい。また、上記実施形態で説明した処理の順序は、必ずしも説明した順序で実行される必要がなく、任意の順序で実行されてもよい。さらに、本発明の基本的な概念から逸脱することなく、追加のステップが新たに加えられてもよい。 Note that the hardware components described in the above embodiments are exemplary only, and that other configurations are possible. Also, the order of the processes described in the above embodiment does not necessarily have to be executed in the order described, and may be executed in any order. Moreover, additional steps may be newly added without departing from the basic concept of the invention.

また、本発明の一実施形態に係る画像検査システム100は、コンピュータデバイス1によって実行されるコンピュータプログラムによって実装されるが、当該コンピュータプログラムは、非一時的記憶媒体に記憶されてもよい。非一時的記憶媒体の例は、リードオンリメモリ(ROM)、ランダムアクセスメモリ(RAM)、レジスタ、キャッシュメモリ、半導体メモリ装置、内蔵ハードディスクおよび取外可能ディスク装置などの磁気媒体、光磁気媒体、ならびにCD-ROMディスクおよびデジタル多用途ディスク(DVD)などの光学媒体などを含む。 Also, the image inspection system 100 according to one embodiment of the present invention is implemented by a computer program executed by the computer device 1, but the computer program may be stored in a non-temporary storage medium. Examples of non-transitory storage media include read-only memory (ROM), random access memory (RAM), registers, cache memory, semiconductor memory devices, magnetic media such as internal hard disks and removable disk devices, magneto-optical media, and Including optical media such as CD-ROM discs and Digital Versatile Discs (DVDs).

本開示は、コンピュータデバイス、方法およびコンピュータプログラムに関する。特に、本開示は、2つの画像を比較する際に撮影条件における差異から生じる不一致を検出するコンピュータデバイス、方法およびコンピュータプログラムに関する。 The present disclosure relates to computer devices, methods and computer programs . In particular, the present disclosure relates to computer devices, methods and computer programs for detecting discrepancies resulting from differences in imaging conditions when comparing two images.

一実施形態に係るコンピュータデバイスは、光学センサを有する撮像装置と接続されたコンピュータデバイスであって、撮像装置から、少なくともパターン配列を含む第1の画像を受信し、第1の画像は、撮影対象を撮影することによって生成され、第1の画像から、パターン配列についての第1の輝度値の集合を算出し、撮像装置から、少なくともパターン配列を含む第2の画像を受信し、第2の画像は、撮影対象と同一の撮影対象を撮影することによって生成され、第2の画像から、パターン配列についての第2の輝度値の集合を算出し、第1の輝度値の集合と第2の輝度値の集合と間の差分値の集合を算出し、差分値の集合と予め定められた閾値とを比較することによって、第1の画像と第2の画像との間の不一致を検出して第1の画像と第2の画像の撮影における差異を検出し、光学センサは、23.6マイクロメートル/画素以下の画素分解能を有し、差異は、撮影領域の位置における差異、撮像装置の位置および/または傾きにおける差異、ならびに撮影する場所の明度における差異のうちの少なくとも1つを含み、コンピュータデバイスは、差異に関する情報を提示する出力装置を備える。 A computer device according to one embodiment is a computer device connected to an imaging device having an optical sensor, and receives a first image including at least a pattern array from the imaging device, the first image being an object to be photographed. calculating from the first image a first set of luminance values for the pattern array; receiving from the imaging device a second image including at least the pattern array; is generated by photographing the same photographing object as the photographing object, calculates a second set of luminance values for the pattern array from the second image, and calculates the first set of luminance values and the second luminance value detecting a mismatch between the first image and the second image by calculating a set of difference values between the set of values and comparing the set of difference values to a predetermined threshold; detecting a difference in the capture of the first image and the second image, the optical sensor having a pixel resolution of 23.6 micrometers/pixel or less, the difference being a difference in the position of the imaging area, the position of the imaging device; and/or at least one of differences in tilt and differences in brightness of the location where the picture was taken, the computing device comprising an output device presenting information regarding the differences.

また、別の実施形態に係るコンピュータデバイスは、光学センサを有する撮像装置と接続されたコンピュータデバイスであって、撮像装置から、少なくともパターン配列を含む第1の画像を受信し、第1の画像は、撮影対象を撮影することによって生成され、第1の画像から、パターン配列についての第1の座標位置を算出し、撮像装置から、少なくともパターン配列を含む第2の画像を受信し、第2の画像は、撮影対象と同一の撮影対象を撮影することによって生成され、第の画像から、パターン配列についての第2の座標位置を算出し、第1の座標位置と第2の座標位置と間の差分値を算出し、差分値と予め定められた閾値とを比較することによって、第1の画像と第2の画像との間の不一致を検出して第1の画像と第2の画像の撮影条件における差異を検出し、光学センサは、23.6マイクロメートル/画素以下の画素分解能を有差異は、撮影領域の位置における差異、撮像装置の位置および/または傾きにおける差異、ならびに撮影する場所の明度における差異のうちの少なくとも1つを含み、コンピュータデバイスは、差異に関する情報を提示する出力装置を備える。
また、一実施形態に係る方法は、光学センサを有する撮像装置と接続されたコンピュータデバイスによって実行される方法であって、撮像装置から、少なくともパターン配列を含む第1の画像を受信するステップであって、第1の画像は、撮影対象を撮影することによって生成される、ステップと、第1の画像から、パターン配列についての第1の輝度値の集合を算出するステップと、撮像装置から、少なくともパターン配列を含む第2の画像を受信するステップであって、第2の画像は、撮影対象と同一の撮影対象を撮影することによって生成される、ステップと、第2の画像から、パターン配列についての第2の輝度値の集合を算出するステップと、第1の輝度値の集合と第2の輝度値の集合と間の差分値の集合を算出するステップと、差分値の集合と予め定められた閾値とを比較することによって、第1の画像と第2の画像との間の不一致を検出して第1の画像と第2の画像の撮影条件における差異を検出するステップであって、差異は、撮影領域の位置における差異、撮像装置の位置および/または傾きにおける差異、ならびに撮影する場所の明度における差異のうちの少なくとも1つを含む、ステップと、差異に関する情報を提示するステップと、を備え、光学センサは、23.6マイクロメートル/画素以下の画素分解能を有する。
また、別の実施形態に係る方法は、光学センサを有する撮像装置と接続されたコンピュータデバイスによって実行される方法であって、撮像装置から、少なくともパターン配列を含む第1の画像を受信するステップであって、第1の画像は、撮影対象を撮影することによって生成される、ステップと、第1の画像から、パターン配列についての第1の座標位置を算出するステップと、撮像装置から、少なくともパターン配列を含む第2の画像を受信するステップであって、第2の画像は、撮影対象と同一の撮影対象を撮影することによって生成される、ステップと、第2の画像から、パターン配列についての第2の座標位置を算出するステップと、第1の座標位置と第2の座標位置と間の差分値を算出するステップと、差分値と予め定められた閾値とを比較することによって、第1の画像と第2の画像との間の不一致を検出して第1の画像と第2の画像の撮影条件における差異を検出するステップであって、差異は、撮影領域の位置における差異、撮像装置の位置および/または傾きにおける差異、ならびに撮影する場所の明度における差異のうちの少なくとも1つを含み、差異に関する情報を提示するステップと、を備え、光学センサは、23.6マイクロメートル/画素以下の画素分解能を有する。
また、一実施形態に係るコンピュータプログラムは、コンピュータ実行可能命令を含むコンピュータプログラムであって、コンピュータ実行可能命令は、コンピュータデバイスによって実行されるとき、コンピュータデバイスに、上記の方法を実行させる。
また、他の実施形態のコンピュータデバイスは、光学センサを有する撮像装置と接続されたコンピュータデバイスであって、撮像装置から、少なくともパターン配列を含む第1の画像を受信し、第1の画像は、撮影対象を撮影することによって生成され、第1の画像から、パターン配列についての第1の輝度値の集合を算出し、撮像装置から、少なくともパターン配列を含む第2の画像を受信し、第2の画像は、撮影対象と同一の撮影対象を撮影することによって生成され、第2の画像から、パターン配列についての第2の輝度値の集合を算出し、第1の輝度値の集合と第2の輝度値の集合と間の差分値の集合を算出し、差分値の集合と予め定められた閾値とを比較することによって、第1の画像と第2の画像との間の不一致を検出し、光学センサは、23.6マイクロメートル/画素以下の画素分解能を有し、第1の輝度値の集合は、第1の画像から、パターン配列内の隣接するパターン間の予め定められた第1のパターン間領域についての輝度値を算出することによって行われ、第2の輝度値の集合は、第2の画像から、パターン配列内の隣接するパターン間の予め定められた第2のパターン間領域についての輝度値を算出することによって行われる。
Further, a computing device according to another embodiment is a computing device connected to an imaging device having an optical sensor, receiving a first image including at least a pattern array from the imaging device, the first image being , calculating a first coordinate position for the pattern array from the first image generated by photographing an object to be photographed; receiving a second image including at least the pattern array from the imaging device; The image is generated by photographing the same photographing object as the photographing object, calculating the second coordinate position for the pattern array from the second image, and calculating the distance between the first coordinate position and the second coordinate position. and comparing the difference value with a predetermined threshold value to detect a mismatch between the first image and the second image to determine the difference between the first image and the second image. Detecting differences in imaging conditions, the optical sensor having a pixel resolution of 23.6 micrometers/pixel or less, the differences being differences in the position of the imaging region, differences in the position and/or tilt of the imaging device, and At least one of the difference in lightness of the photographing location is included, and the computing device comprises an output device for presenting information regarding the difference.
A method according to an embodiment is also a method performed by a computing device connected to an imaging device having an optical sensor, the method comprising receiving from the imaging device a first image comprising at least a pattern array. wherein the first image is generated by photographing a subject; calculating from the first image a first set of luminance values for the pattern array; receiving a second image comprising the pattern array, the second image being generated by photographing the same subject as the subject; calculating a second set of luminance values; calculating a set of difference values between the first set of luminance values and the second set of luminance values; detecting a discrepancy between the first image and the second image to detect a difference in the capture conditions of the first image and the second image by comparing with a threshold value, the difference comprises at least one of a difference in the position of the imaging region, a difference in the position and/or tilt of the imaging device, and a difference in the brightness of the location to be photographed; and presenting information about the difference; The optical sensor has a pixel resolution of 23.6 micrometers/pixel or less.
In accordance with another embodiment, a method is performed by a computing device connected to an imaging device having an optical sensor, the method comprising receiving from the imaging device a first image comprising at least a pattern array. wherein the first image is generated by photographing a subject; calculating a first coordinate position for the pattern array from the first image; receiving a second image containing the array, wherein the second image is generated by imaging the same imaging subject as the imaging subject; calculating a second coordinate position; calculating a difference value between the first coordinate position and the second coordinate position; a step of detecting a mismatch between the image and the second image to detect a difference in shooting conditions of the first image and the second image, the difference being a difference in the position of the shooting area, the imaging device and presenting information about the difference, including at least one of a difference in the position and/or tilt of the photographing location and a difference in the brightness of the location to be photographed, wherein the optical sensor is 23.6 micrometers/pixel or less has a pixel resolution of
Also, a computer program according to one embodiment is a computer program comprising computer-executable instructions that, when executed by a computing device, cause the computing device to perform the method described above.
Also, a computing device of another embodiment is a computing device connected to an imaging device having an optical sensor, receiving a first image including at least a pattern array from the imaging device, the first image comprising: calculating a first set of luminance values for the pattern array from the first image generated by photographing a subject; receiving a second image including at least the pattern array from the imaging device; is generated by photographing the same photographing object as the photographing object, a second set of luminance values for the pattern array is calculated from the second image, and the first set of luminance values and the second set of luminance values are calculated from the second image. detecting a mismatch between the first image and the second image by computing a set of difference values between the set of luminance values and comparing the set of difference values with a predetermined threshold , the optical sensor has a pixel resolution of 23.6 micrometers/pixel or less, and the first set of luminance values is obtained from the first image at a predetermined first distance between adjacent patterns in the pattern array. A second set of intensity values is obtained from the second image for a predetermined second inter-pattern area between adjacent patterns in the pattern array. is performed by calculating the luminance value for .

実施形態に係るコンピュータデバイス、方法およびコンピュータプログラムによれば、撮像装置が最適な画像分解能を採用することによって、2つの画像の不一致を検出する精度を高めることができる。 Computer devices, methods, and computer program products according to embodiments can increase the accuracy of detecting discrepancies between two images by employing an optimal image resolution in an imaging device.

一実施形態に係るコンピュータデバイスは、光学センサを有する撮像装置と接続されたコンピュータデバイスであって、前記撮像装置から、少なくともパターン配列を含む第1の画像を受信し、前記第1の画像は、予め撮影対象を撮影することによって生成され、前記第1の画像から、前記パターン配列についての第1の輝度値の集合及び前記パターン配列についての第1の座標位置を算出し、前記撮像装置から、少なくともパターン配列を含む第2の画像を受信し、前記第2の画像は、前記撮影対象と同一の撮影対象を撮影することによって生成され、前記第2の画像から、前記パターン配列についての第2の輝度値の集合及び、前記パターン配列についての第2の座標位置を算出し、前記第1の輝度値の集合と前記第2の輝度値の集合と間の輝度差分値の集合を算出し、前記第1の座標位置と前記第2の座標位置との間の座標差分値を算出し、前記輝度差分値の集合と予め定められた閾値とを比較すること、または前記座標差分値と予め定められた閾値とを比較することによって、前記第1の画像と前記第2の画像との間の不一致を検出して前記第1の画像と前記第2の画像の撮影における差異を検出し、前記光学センサは、23.6マイクロメートル/画素以下の画素分解能を有し、前記差異は、撮影領域の位置における差異、前記撮像装置の位置および/または傾きにおける差異、ならびに前記差異と関連付けられる撮影場所の任意の位置に配置される明度センサによって検出された明度の差異の少なくとも1つを含み、前記コンピュータデバイスは、前記差異に関する情報を提示する出力装置を備える。 A computing device according to one embodiment is a computing device connected to an imaging device having an optical sensor, receiving from the imaging device a first image comprising at least a pattern array, the first image comprising: calculating a first set of luminance values for the pattern array and a first coordinate position for the pattern array from the first image generated by photographing an object to be photographed in advance ; receiving a second image including at least a pattern array, the second image being generated by photographing a subject identical to the subject; from the second image, a second image of the pattern array; and a second coordinate position for the pattern array, and a set of luminance difference values between the first set of luminance values and the second set of luminance values. , calculating a coordinate difference value between the first coordinate position and the second coordinate position, and comparing the set of luminance difference values with a predetermined threshold value ; or detecting discrepancies between the first image and the second image by comparing to a defined threshold to detect differences in the capture of the first image and the second image; The optical sensor has a pixel resolution of 23.6 micrometers/pixel or less, and the differences include differences in the position of the imaging region, differences in the position and/or tilt of the imaging device, and imaging associated with the differences . At least one of the brightness differences detected by a brightness sensor located anywhere in the location, the computing device comprising an output device for presenting information about the differences.

また、一実施形態に係る方法は、光学センサを有する撮像装置と接続されたコンピュータデバイスによって実行される方法であって、前記撮像装置から、少なくともパターン配列を含む第1の画像を受信するステップであって、前記第1の画像は、予め撮影対象を撮影することによって生成される、ステップと、前記第1の画像から、前記パターン配列についての第1の輝度値の集合及び前記パターン配列についての第1の座標位置を算出するステップと、前記撮像装置から、少なくともパターン配列を含む第2の画像を受信するステップであって、前記第2の画像は、前記撮影対象と同一の撮影対象を撮影することによって生成される、ステップと、前記第2の画像から、前記パターン配列についての第2の輝度値の集合及び、前記パターン配列についての第2の座標位置を算出するステップと、前記第1の輝度値の集合と前記第2の輝度値の集合と間の輝度差分値の集合を算出するステップと、前記第1の座標位置と前記第2の座標位置との間の座標差分値を算出するステップと、前記輝度差分値の集合と予め定められた閾値とを比較すること、または前記座標差分値と予め定められた閾値とを比較することによって、前記第1の画像と前記第2の画像との間の不一致を検出して前記第1の画像と前記第2の画像の撮影条件における差異を検出するステップであって、前記差異は、撮影領域の位置における差異、前記撮像装置の位置および/または傾きにおける差異、ならびに前記差異と関連付けられる撮影場所の任意の位置に配置される明度センサによって検出された明度差異のうちの少なくとも1つを含む、ステップと、前記差異に関する情報を提示するステップと、を備え、前記光学センサは、23.6マイクロメートル/画素以下の画素分解能を有する。
また、一実施形態に係るコンピュータプログラムは、コンピュータ実行可能命令を含むコンピュータプログラムであって、コンピュータ実行可能命令は、コンピュータデバイスによって実行されるとき、コンピュータデバイスに、上記の方法を実行させる。
また、他の実施形態のコンピュータデバイスは、光学センサを有する撮像装置と接続されたコンピュータデバイスであって、撮像装置から、少なくともパターン配列を含む第1の画像を受信し、第1の画像は、撮影対象を撮影することによって生成され、第1の画像から、パターン配列についての第1の輝度値の集合を算出し、撮像装置から、少なくともパターン配列を含む第2の画像を受信し、第2の画像は、撮影対象と同一の撮影対象を撮影することによって生成され、第2の画像から、パターン配列についての第2の輝度値の集合を算出し、第1の輝度値の集合と第2の輝度値の集合と間の差分値の集合を算出し、差分値の集合と予め定められた閾値とを比較することによって、第1の画像と第2の画像との間の不一致を検出し、光学センサは、23.6マイクロメートル/画素以下の画素分解能を有し、第1の輝度値の集合は、第1の画像から、パターン配列内の隣接するパターン間の予め定められた第1のパターン間領域についての輝度値を算出することによって行われ、第2の輝度値の集合は、第2の画像から、パターン配列内の隣接するパターン間の予め定められた第2のパターン間領域についての輝度値を算出することによって行われる。
Also according to an embodiment is a method performed by a computing device connected to an imaging device having an optical sensor, the method comprising receiving from the imaging device a first image comprising at least a pattern array. wherein the first image is generated by photographing an object to be photographed in advance ; and from the first image, a set of first luminance values for the pattern array and the pattern array a step of calculating a first coordinate position ; and a step of receiving a second image including at least a pattern array from the imaging device, wherein the second image is the same imaging target as the imaging target. calculating from the second image a second set of luminance values for the pattern array and a second coordinate position for the pattern array; and the first calculating a set of luminance difference values between the set of luminance values and the second set of luminance values; and calculating the coordinate difference values between the first coordinate position and the second coordinate position and comparing the set of luminance difference values with a predetermined threshold value , or comparing the coordinate difference values with a predetermined threshold value, to obtain the first image and the second image. a step of detecting a difference in photographing conditions between the first image and the second image by detecting a mismatch between the images of the first image and the second image, wherein the difference is a difference in the position of the photographing area, the position of the imaging device at least one of a difference in position and/or tilt, and a difference in brightness detected by a brightness sensor placed at any position of the shooting location associated with said difference; and C., wherein the optical sensor has a pixel resolution of 23.6 micrometers/pixel or less.
Also, a computer program according to one embodiment is a computer program comprising computer-executable instructions that, when executed by a computing device, cause the computing device to perform the method described above.
Also, a computing device of another embodiment is a computing device connected to an imaging device having an optical sensor, receiving a first image including at least a pattern array from the imaging device, the first image comprising: calculating a first set of luminance values for the pattern array from the first image generated by photographing a subject; receiving a second image including at least the pattern array from the imaging device; is generated by photographing the same photographing object as the photographing object, a second set of luminance values for the pattern array is calculated from the second image, and the first set of luminance values and the second set of luminance values are calculated from the second image. Detect a mismatch between the first image and the second image by computing a set of difference values between the set of luminance values and comparing the set of difference values with a predetermined threshold value and the optical sensor has a pixel resolution of 23.6 micrometers/pixel or less, and the first set of luminance values are obtained from the first image at a predetermined number between adjacent patterns in the pattern array. A second set of luminance values is obtained from the second image by calculating luminance values for one inter-pattern region, and a second set of luminance values for predetermined second pattern inter-pattern regions between adjacent patterns in the pattern array. This is done by calculating the luminance value for the region.

Claims (13)

光学センサを有する撮像装置と接続されたコンピュータデバイスであって、
前記撮像装置から、少なくともパターン配列を含む第1の画像を受信し、前記第1の画像は、撮影対象を撮影することによって生成され、
前記第1の画像から、前記パターン配列についての第1の輝度値の集合を算出し、
前記撮像装置から、少なくともパターン配列を含む第2の画像を受信し、前記第2の画像は、前記撮影対象と同一の撮影対象を撮影することによって生成され、
前記第2の画像から、前記パターン配列についての第2の輝度値の集合を算出し、
前記第1の輝度値の集合と前記第2の輝度値の集合と間の差分値の集合を算出し、
前記差分値の集合と予め定められた閾値とを比較することによって、前記第1の画像と前記第2の画像との間の不一致を検出し、
前記光学センサは、23.6マイクロメートル/画素以下の画素分解能を有する、
ことを特徴とするコンピュータデバイス。
A computing device connected to an imaging device having an optical sensor,
receiving a first image including at least a pattern array from the imaging device, the first image being generated by photographing an object to be photographed;
calculating a first set of luminance values for the pattern array from the first image;
receiving a second image including at least a pattern array from the imaging device, the second image being generated by photographing the same subject as the subject;
calculating a second set of luminance values for the pattern array from the second image;
calculating a set of difference values between the first set of luminance values and the second set of luminance values;
detecting a mismatch between the first image and the second image by comparing the set of difference values to a predetermined threshold;
the optical sensor has a pixel resolution of 23.6 micrometers/pixel or less;
A computing device characterized by:
前記撮像装置は、レンズをさらに有し、前記レンズから前記撮影対象までの距離は、250ミリメートル以下である、ことを特徴とする請求項1に記載のコンピュータデバイス。 2. The computer device of claim 1, wherein the imaging device further comprises a lens, and wherein the distance from the lens to the subject is 250 millimeters or less. 前記第1の画像から、前記パターン配列内のそれぞれのパターン内の予め定められた第1のパターン内領域についての輝度値を算出することによって、前記第1の輝度値の集合を算出し、
前記第2の画像から、前記パターン配列内のそれぞれのパターン内の予め定められた第2のパターン内領域についての輝度値を算出することによって、前記第2の輝度値の集合を算出する、
ことを特徴とする請求項1または2に記載のコンピュータデバイス。
calculating the first set of luminance values by calculating luminance values for predetermined first pattern inner regions in each pattern in the pattern array from the first image;
calculating the second set of luminance values by calculating luminance values for predetermined second pattern inner regions in each pattern in the pattern array from the second image;
3. A computing device according to claim 1 or 2, characterized in that:
前記第1のパターン内領域は、複数の画素を含み、前記第1のパターン内領域内の前記画素ごとの輝度値を算出し、前記算出した輝度値の平均を算出することによって、前記第1の輝度値の集合を算出し、
前記第2のパターン内領域は、複数の画素を含み、前記第2のパターン内領域内の前記画素ごとの輝度値を算出し、前記算出した輝度値の平均を算出することによって、前記第2の輝度値の集合を算出する、
ことを特徴とする請求項3に記載のコンピュータデバイス。
The first pattern inner region includes a plurality of pixels, and the first pattern inner region calculates a luminance value for each pixel in the first pattern inner region, and calculates an average of the calculated luminance values. compute a set of luminance values of
The second pattern inner area includes a plurality of pixels, and the second pattern inner area is calculated by calculating a luminance value of each pixel in the second pattern inner area and calculating an average of the calculated luminance values. compute a set of luminance values for
4. A computer device as recited in claim 3, wherein:
前記第1の画像から、前記パターン配列内の隣接するパターン間の予め定められた第1のパターン間領域についての輝度値を算出することによって、前記第1の輝度値の集合を算出し、
前記第2の画像から、前記パターン配列内の隣接するパターン間の予め定められた第2のパターン間領域についての輝度値を算出することによって、前記第2の輝度値の集合を算出する、
ことを特徴とする請求項1乃至4のいずれか一項に記載のコンピュータデバイス。
calculating from the first image the first set of luminance values by calculating luminance values for a first predetermined inter-pattern region between adjacent patterns in the pattern array;
calculating from the second image the second set of luminance values by calculating luminance values for a second predetermined inter-pattern region between adjacent patterns in the pattern array;
5. A computer device as claimed in any one of claims 1 to 4, characterized in that:
前記第1のパターン間領域は、複数の画素を含み、前記第1のパターン間領域内の前記画素ごとの輝度値を算出し、前記算出した輝度値の平均を算出することによって、前記第1の輝度値の集合を算出し、
前記第2のパターン間領域は、複数の画素を含み、前記第2のパターン間領域内の前記画素ごとの輝度値を算出し、前記算出した輝度値の平均を算出することによって、前記第2の輝度値の集合を算出する、
ことを特徴とする請求項5に記載のコンピュータデバイス。
The first inter-pattern area includes a plurality of pixels, and the first inter-pattern area is calculated by calculating a luminance value for each of the pixels in the first inter-pattern area and calculating an average of the calculated luminance values. compute a set of luminance values of
The second inter-pattern area includes a plurality of pixels, and the second inter-pattern area is calculated by calculating a luminance value for each of the pixels in the second inter-pattern area and calculating an average of the calculated luminance values. compute a set of luminance values for
6. A computer device as recited in claim 5, wherein:
光学センサを有する撮像装置と接続されたコンピュータデバイスであって、
前記撮像装置から、少なくともパターン配列を含む第1の画像を受信し、前記第1の画像は、撮影対象を撮影することによって生成され、
前記第1の画像から、前記パターン配列についての第1の座標位置を算出し、
前記撮像装置から、少なくともパターン配列を含む第2の画像を受信し、前記第2の画像は、前記撮影対象と同一の撮影対象を撮影することによって生成され、
前記第1の画像から、前記パターン配列についての第2の座標位置を算出し、
前記第1の座標位置と前記第2の座標位置と間の差分値を算出し、
前記差分値と予め定められた閾値とを比較することによって、前記第1の画像と前記第2の画像との間の不一致を検出し、
前記光学センサは、23.6マイクロメートル/画素以下の画素分解能を有する、
ことを特徴とするコンピュータデバイス。
A computing device connected to an imaging device having an optical sensor,
receiving a first image including at least a pattern array from the imaging device, the first image being generated by photographing an object to be photographed;
calculating a first coordinate position for the pattern array from the first image;
receiving a second image including at least a pattern array from the imaging device, the second image being generated by photographing the same subject as the subject;
calculating a second coordinate position for the pattern array from the first image;
calculating a difference value between the first coordinate position and the second coordinate position;
detecting a mismatch between the first image and the second image by comparing the difference value to a predetermined threshold;
the optical sensor has a pixel resolution of 23.6 micrometers/pixel or less;
A computing device characterized by:
前記撮像装置は、レンズをさらに有し、前記レンズから前記撮影対象までの距離は、250ミリメートル以下である、ことを特徴とする請求項7に記載のコンピュータデバイス。 8. The computing device of claim 7, wherein the imaging device further comprises a lens, and wherein the distance from the lens to the subject is 250 millimeters or less. 前記第1の画像から、前記パターン配列内のそれぞれのパターン内の中心座標の集合を算出することによって、前記第1の座標位置を算出し、
前記第2の画像から、前記パターン配列内のそれぞれのパターン内の中心座標の集合を算出することによって、前記第2の座標位置を算出する、
ことを特徴とする請求項7または8に記載のコンピュータデバイス。
calculating the first coordinate position by calculating a set of center coordinates within each pattern in the pattern array from the first image;
calculating the second coordinate position by calculating a set of central coordinates within each pattern in the pattern array from the second image;
9. A computing device according to claim 7 or 8, characterized in that:
前記第1の画像から、前記中心座標の集合に基づいて、前記パターン配列内の複数のパターンを結ぶ第1の近似直線を算出することによって、前記第1の座標位置を算出し、
前記第2の画像から、前記中心座標の集合に基づいて、前記パターン配列内の複数のパターンを結ぶ第2の近似直線を算出することによって、前記第2の座標位置を算出する、
ことを特徴とする請求項9に記載のコンピュータデバイス。
calculating the first coordinate position by calculating a first approximate straight line connecting a plurality of patterns in the pattern array from the first image based on the set of central coordinates;
calculating the second coordinate position by calculating a second approximate straight line connecting a plurality of patterns in the pattern array from the second image based on the set of central coordinates;
10. A computer device as recited in claim 9.
光学センサを有する撮像装置と接続されたコンピュータデバイスによって実行される方法であって、
前記撮像装置から、少なくともパターン配列を含む第1の画像を受信するステップであって、前記第1の画像は、撮影対象を撮影することによって生成される、ステップと、
前記第1の画像から、前記パターン配列についての第1の輝度値の集合を算出するステップと、
前記撮像装置から、少なくともパターン配列を含む第2の画像を受信するステップであって、前記第2の画像は、前記撮影対象と同一の撮影対象を撮影することによって生成される、ステップと、
前記第2の画像から、前記パターン配列についての第2の輝度値の集合を算出するステップと、
前記第1の輝度値の集合と前記第2の輝度値の集合と間の差分値の集合を算出するステップと、
前記差分値の集合と予め定められた閾値とを比較することによって、前記第1の画像と前記第2の画像との間の不一致を検出するステップと、を備え、
前記光学センサは、23.6マイクロメートル/画素以下の画素分解能を有する、
を備えたことを特徴とする方法。
A method performed by a computing device connected to an imaging device having an optical sensor, comprising:
receiving from the imaging device a first image comprising at least a pattern array, the first image being generated by photographing a subject;
calculating from the first image a first set of luminance values for the pattern array;
receiving from the imaging device a second image including at least a pattern array, wherein the second image is generated by photographing a subject identical to the subject;
calculating a second set of luminance values for the pattern array from the second image;
calculating a set of difference values between the first set of luminance values and the second set of luminance values;
detecting a mismatch between the first image and the second image by comparing the set of difference values to a predetermined threshold;
the optical sensor has a pixel resolution of 23.6 micrometers/pixel or less;
A method comprising:
光学センサを有する撮像装置と接続されたコンピュータデバイスによって実行される方法であって、
前記撮像装置から、少なくともパターン配列を含む第1の画像を受信するステップであって、前記第1の画像は、撮影対象を撮影することによって生成される、ステップと、
前記第1の画像から、前記パターン配列についての第1の座標位置を算出するステップと、
前記撮像装置から、少なくともパターン配列を含む第2の画像を受信するステップであって、前記第2の画像は、前記撮影対象と同一の撮影対象を撮影することによって生成される、ステップと、
前記第1の画像から、前記パターン配列についての第2の座標位置を算出するステップと、
前記第1の座標位置と前記第2の座標位置と間の差分値を算出するステップと、
前記差分値と予め定められた閾値とを比較することによって、前記第1の画像と前記第2の画像との間の不一致を検出するステップと、を備え、
前記光学センサは、23.6マイクロメートル/画素以下の画素分解能を有する、
を備えたことを特徴とする方法。
A method performed by a computing device connected to an imaging device having an optical sensor, comprising:
receiving from the imaging device a first image comprising at least a pattern array, the first image being generated by photographing a subject;
calculating a first coordinate position for the pattern array from the first image;
receiving from the imaging device a second image including at least a pattern array, wherein the second image is generated by photographing a subject identical to the subject;
calculating a second coordinate position for the pattern array from the first image;
calculating a difference value between the first coordinate position and the second coordinate position;
detecting a mismatch between the first image and the second image by comparing the difference value to a predetermined threshold;
the optical sensor has a pixel resolution of 23.6 micrometers/pixel or less;
A method comprising:
コンピュータ実行可能命令を含むコンピュータプログラムであって、前記コンピュータ実行可能命令は、コンピュータデバイスによって実行されるとき、前記コンピュータデバイスに、請求項11または12に記載の方法を実行させることを特徴とするコンピュータプログラム。 A computer program comprising computer-executable instructions, said computer-executable instructions, when executed by a computer device, causing said computer device to perform the method of claim 11 or 12. program.
JP2021104815A 2021-06-24 2021-06-24 Computer device, method, and computer program Pending JP2023003627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021104815A JP2023003627A (en) 2021-06-24 2021-06-24 Computer device, method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021104815A JP2023003627A (en) 2021-06-24 2021-06-24 Computer device, method, and computer program

Publications (1)

Publication Number Publication Date
JP2023003627A true JP2023003627A (en) 2023-01-17

Family

ID=85100393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021104815A Pending JP2023003627A (en) 2021-06-24 2021-06-24 Computer device, method, and computer program

Country Status (1)

Country Link
JP (1) JP2023003627A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003078811A (en) * 2001-09-04 2003-03-14 Nippon Hoso Kyokai <Nhk> Marker coordinate association method, camera parameter acquisition method, camera parameter acquisition system, and calibration pattern
JP2003530737A (en) * 2000-09-15 2003-10-14 トラストコピー・ピーティーイー・リミテッド Optical watermark
WO2008143087A1 (en) * 2007-05-14 2008-11-27 International Frontier Technology Laboratory, Inc. Authenticity validation subject, authenticity validation chip reader, and authenticity judging method
JP2010191823A (en) * 2009-02-19 2010-09-02 Panasonic Electric Works Co Ltd Genuineness determination method for printing medium, image processing inspection system suitable therefor, and printing medium
JP2011007967A (en) * 2009-06-25 2011-01-13 National Printing Bureau Multiplex diffraction grating recording medium and mechanical reading device
JP2013029924A (en) * 2011-07-27 2013-02-07 Dainippon Printing Co Ltd Individual identification apparatus, individual identification target, individual identification method and program
JP2013061697A (en) * 2011-09-12 2013-04-04 Dainippon Printing Co Ltd Individual identification device, individual identification method and program
JP2013221801A (en) * 2012-04-13 2013-10-28 Motoharu Fujigaki Three-dimensional displacement measurement method and device
JP2015069363A (en) * 2013-09-27 2015-04-13 ブラザー工業株式会社 Printing method, authentication method, printing apparatus, printing system, recording medium, and program
WO2016136900A1 (en) * 2015-02-27 2016-09-01 日本電気株式会社 Comparison system, comparison device, comparison method, and program
WO2016157299A1 (en) * 2015-03-27 2016-10-06 三菱電機株式会社 Imaging apparatus and method, operating apparatus and method, program, and recording medium
WO2017159384A1 (en) * 2016-03-14 2017-09-21 日本電気株式会社 Object management device
WO2018083848A1 (en) * 2016-11-07 2018-05-11 ソニー株式会社 Image processing device, chart for calibration, and calibration system
JP2020082679A (en) * 2018-11-30 2020-06-04 大日本印刷株式会社 Authenticity determination system, authenticity determination method, and print inspection device
US20210004930A1 (en) * 2019-07-01 2021-01-07 Digimarc Corporation Watermarking arrangements permitting vector graphics editing

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003530737A (en) * 2000-09-15 2003-10-14 トラストコピー・ピーティーイー・リミテッド Optical watermark
JP2003078811A (en) * 2001-09-04 2003-03-14 Nippon Hoso Kyokai <Nhk> Marker coordinate association method, camera parameter acquisition method, camera parameter acquisition system, and calibration pattern
WO2008143087A1 (en) * 2007-05-14 2008-11-27 International Frontier Technology Laboratory, Inc. Authenticity validation subject, authenticity validation chip reader, and authenticity judging method
JP2010191823A (en) * 2009-02-19 2010-09-02 Panasonic Electric Works Co Ltd Genuineness determination method for printing medium, image processing inspection system suitable therefor, and printing medium
JP2011007967A (en) * 2009-06-25 2011-01-13 National Printing Bureau Multiplex diffraction grating recording medium and mechanical reading device
JP2013029924A (en) * 2011-07-27 2013-02-07 Dainippon Printing Co Ltd Individual identification apparatus, individual identification target, individual identification method and program
JP2013061697A (en) * 2011-09-12 2013-04-04 Dainippon Printing Co Ltd Individual identification device, individual identification method and program
JP2013221801A (en) * 2012-04-13 2013-10-28 Motoharu Fujigaki Three-dimensional displacement measurement method and device
JP2015069363A (en) * 2013-09-27 2015-04-13 ブラザー工業株式会社 Printing method, authentication method, printing apparatus, printing system, recording medium, and program
WO2016136900A1 (en) * 2015-02-27 2016-09-01 日本電気株式会社 Comparison system, comparison device, comparison method, and program
WO2016157299A1 (en) * 2015-03-27 2016-10-06 三菱電機株式会社 Imaging apparatus and method, operating apparatus and method, program, and recording medium
WO2017159384A1 (en) * 2016-03-14 2017-09-21 日本電気株式会社 Object management device
WO2018083848A1 (en) * 2016-11-07 2018-05-11 ソニー株式会社 Image processing device, chart for calibration, and calibration system
JP2020082679A (en) * 2018-11-30 2020-06-04 大日本印刷株式会社 Authenticity determination system, authenticity determination method, and print inspection device
US20210004930A1 (en) * 2019-07-01 2021-01-07 Digimarc Corporation Watermarking arrangements permitting vector graphics editing

Similar Documents

Publication Publication Date Title
US11774769B2 (en) Depth measurement using a pulsed structured light projector
JP6532325B2 (en) Measuring device for measuring the shape of the object to be measured
JP5163985B2 (en) Granular product type inspection device
CN107315011B (en) Image processing apparatus, image processing method, and storage medium
JP2022536253A (en) Under display image sensor
WO2018005561A1 (en) Improved camera calibration system, target, and process
JP2021185681A5 (en) Imaging systems, imaging devices, video display devices, image processing devices, methods and programs.
WO2011011353A2 (en) Stereoscopic form reader
JP2016166842A (en) Information processing, information processing method, and program
BR112017025162B1 (en) Optical device for detecting an internal imperfection of a transparent substrate and method for the same
KR20150098104A (en) Evaluation system for optical image stabilizer and method thereof
Tabata et al. High-speed 3D sensing with three-view geometry using a segmented pattern
CN114450677B (en) Drug control device, drug control system, drug management method and recording medium
JP2019168862A5 (en)
JPWO2019082584A1 (en) Information processing device
DK2297674T3 (en) Optical registration and classification of returned packaging items in a return system
CN103119395A (en) Glass bottle inspection device
JP5913506B2 (en) Color correction apparatus and method
JP2007292619A (en) Image distortion correction method, and three-dimensional shape measuring instrument
JP7708463B2 (en) Image inspection method and image inspection device
JP2023003627A (en) Computer device, method, and computer program
JP5883688B2 (en) Installation state detection system, installation state detection device, and installation state detection method
KR102785697B1 (en) Method and apparatus for processing moving image
JP7546268B2 (en) Movement amount detection system and program for the movement amount detection system
JP2024109358A (en) Program and image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220712

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220909

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221018

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221219

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230110