JP2019106075A - Inspection image synthesizing device, inspection image synthesizing system, inspection image synthesizing method and program - Google Patents

Inspection image synthesizing device, inspection image synthesizing system, inspection image synthesizing method and program Download PDF

Info

Publication number
JP2019106075A
JP2019106075A JP2017239081A JP2017239081A JP2019106075A JP 2019106075 A JP2019106075 A JP 2019106075A JP 2017239081 A JP2017239081 A JP 2017239081A JP 2017239081 A JP2017239081 A JP 2017239081A JP 2019106075 A JP2019106075 A JP 2019106075A
Authority
JP
Japan
Prior art keywords
image
search range
movement amount
inspection
images
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.)
Granted
Application number
JP2017239081A
Other languages
Japanese (ja)
Other versions
JP6869880B2 (en
Inventor
岳彦 山口
Takehiko Yamaguchi
岳彦 山口
直人 川瀬
Naoto Kawase
直人 川瀬
杉本 喜一
Kiichi Sugimoto
喜一 杉本
是 木村
Tadashi Kimura
是 木村
川浪 精一
Seiichi Kawanami
精一 川浪
貴士 長谷部
Takashi Hasebe
貴士 長谷部
優司 小橋
Yuji Kohashi
優司 小橋
知浩 松本
Tomohiro Matsumoto
知浩 松本
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.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP2017239081A priority Critical patent/JP6869880B2/en
Publication of JP2019106075A publication Critical patent/JP2019106075A/en
Application granted granted Critical
Publication of JP6869880B2 publication Critical patent/JP6869880B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Stereoscopic And Panoramic Photography (AREA)
  • Image Processing (AREA)

Abstract

To provide an inspection image synthesizing device, an inspection image synthesizing system, an inspection image synthesizing method, and a program that can specify, in a shorter time, an overlapping portion of a plurality of images photographed for visual inspection.SOLUTION: An inspection image synthesizing device includes: an image information acquisition unit that acquires a photographed image and photographing position information from a photographing device that scans a surface of an inspection object and photographs at constant time intervals; a movement amount calculation unit that calculates, from the photographing position information for each of images adjacent in time series, a movement amount between the images; a search range setting unit that calculates a range of overlapping pixels between the images adjacent in time series based on the movement amount, and sets a range as a search range in template matching; and an image synthesizing unit that performs template matching in the search range to specify the range of overlapping pixels between the images, and synthesizes a panoramic image in which the specified range of pixels is overlapped.SELECTED DRAWING: Figure 1

Description

本発明は、検査画像合成装置、検査画像合成システム、検査画像合成方法およびプログラムに関する。   The present invention relates to an inspection image combining device, an inspection image combining system, an inspection image combining method, and a program.

作業員が入れない場所にある検査対象物を目視検査する方法として、該当場所に移動式の撮影装置に検査対象物の表面を走査させて撮影を行わせ、得られた画像を用いて目視検査を行う方法がある。この方法で、得られた複数の画像を手作業で重ね合わせてパノラマ画像を生成する場合がある。特に、目視検査では一般的に、対象を高解像度で確認することが要求されるために画角が狭くなり、きず等が複数の画像にまたがって撮影される場合がある。このような場合に、きず等の全体像を把握するために、手作業でパノラマ画像を生成することがある。
また、特許文献1では、検査対象を撮影して得た、各フレームに対してほぼ独立なノイズを含む映像の複数のフレームについて局所的に位置合わせを行ってフレーム合成を行うことで、SN比が高いフレームを生成することが記載されている。
As a method of visually inspecting the inspection object in the place where the worker can not enter, make the mobile photographing device scan the surface of the inspection object at the corresponding place and make the photographing, and use the obtained image for visual inspection There is a way to do that. In this manner, a plurality of obtained images may be manually overlaid to generate a panoramic image. In particular, in visual inspection, in general, it is required to confirm an object with high resolution, so the angle of view becomes narrow, and a defect or the like may be photographed across a plurality of images. In such a case, a panoramic image may be manually generated in order to obtain an overview of a flaw or the like.
Further, in Patent Document 1, the SN ratio is achieved by locally aligning a plurality of frames of a video containing substantially independent noise with respect to each frame obtained by photographing an inspection target. It is stated that the high frame is generated.

特許第5602530号公報Patent No. 5602530

手作業でパノラマ画像を生成することは、作業者にとって負担であり、パノラマ画像の生成を自動化できることが好ましい。一方で、目視検査で得られる画像は一般的に色調差に乏しいことから、複数の画像の重なり部分を特定することが困難、または時間を要する。目視検査用に撮影された複数の画像の重なり部分を、より短時間で特定できることが好ましい。   Manually generating a panoramic image is a burden for the operator, and preferably, the generation of the panoramic image can be automated. On the other hand, images obtained by visual inspection are generally poor in color tone difference, so it is difficult or time-consuming to identify overlapping portions of a plurality of images. It is preferable that overlapping portions of a plurality of images captured for visual inspection can be identified in a shorter time.

また、特許文献1では、撮影装置が移動して撮影を行った場合に複数の画像の重なり部分を検出する具体的方法は示されていない。例えば、特許文献1では、フレームを同一形状の局所領域に分割して位置合わせを行うことが記載されているものの、どの局所領域とどの局所領域との位置合わせを試みるかについては記載されていない。   Further, Patent Document 1 does not disclose a specific method of detecting an overlapping portion of a plurality of images when the imaging apparatus moves and performs imaging. For example, although Patent Document 1 describes that a frame is divided into local regions of the same shape and registration is performed, it is not described which local region and which local region are to be aligned. .

本発明は、目視検査用に撮影された複数の画像の重なり部分を、より短時間で特定することができる検査画像合成装置、検査画像合成システム、検査画像合成方法およびプログラムを提供する。   The present invention provides an inspection image combining device, an inspection image combining system, an inspection image combining method, and a program capable of specifying an overlapping portion of a plurality of images captured for visual inspection in a shorter time.

本発明の第1の態様によれば、検査画像合成装置は、検査対象物の表面を走査して一定時間間隔で撮影を行う撮影装置から、撮影した画像と撮影位置情報とを取得する画像情報取得部と、時系列で隣り合う前記画像毎の撮影位置情報から、これら画像間の移動量を演算する移動量演算部と、前記時系列で隣り合う前記画像間で重なり合う画素の範囲を前記移動量に基づいて算出し、テンプレートマッチングにおける探索範囲として設定する探索範囲設定部と、前記探索範囲にてテンプレートマッチングを行って前記画像間で重なり合う画素の範囲を特定し、特定した画素の範囲を重ね合わせたパノラマ画像を合成する画像合成部と、を備える。   According to the first aspect of the present invention, the inspection image synthesizing device acquires the photographed image and the photographing position information from the photographing device which scans the surface of the inspection object and photographs at predetermined time intervals. An acquisition unit, a movement amount calculation unit calculating a movement amount between the images based on shooting position information of each of the images adjacent in time series, and moving a range of overlapping pixels between the images adjacent in the time series A search range setting unit that calculates based on the amount and sets it as a search range in template matching and performs template matching in the search range to specify the range of overlapping pixels between the images, and overlaps the specified range of pixels And an image combining unit that combines the combined panoramic images.

前記探索範囲設定部は、前記移動量のばらつきに応じた幅を有する前記探索範囲を設定するようにしてもよい。   The search range setting unit may set the search range having a width corresponding to the variation of the movement amount.

前記探索範囲設定部は、前記画像の画素の縦方向、横方向それぞれに前記移動量のばらつきに応じた幅を有する前記探索範囲を設定するようにしてもよい。   The search range setting unit may set the search range having a width corresponding to the variation of the movement amount in each of the vertical direction and the horizontal direction of the pixel of the image.

前記探索範囲設定部は、前記撮影装置が過去に撮影した時系列の画像から前記移動量のばらつきに応じた幅を算出するようにしてもよい。   The search range setting unit may calculate a width according to the variation of the movement amount from time-series images captured by the imaging device in the past.

前記探索範囲設定部は、前記撮影装置の動作テストデータから前記移動量のばらつきに応じた幅を算出するようにしてもよい。   The search range setting unit may calculate a width according to the variation of the movement amount from operation test data of the imaging device.

前記探索範囲設定部は、前記移動量の複数の実績データにおける前記移動量の最大値または最小値と前記撮影装置の標準の移動量との差を前記移動量のばらつきの最大として、前記移動量のばらつきの最大値に応じた探索範囲の幅を算出するようにしてもよい。   The search range setting unit sets the difference between the maximum value or the minimum value of the moving amount in the plurality of actual data of the moving amount and the standard moving amount of the imaging device as the maximum variation of the moving amount. The width of the search range may be calculated according to the maximum value of the variation of.

前記探索範囲設定部は、前記移動量の実績データから得られた前記移動量のばらつきの大きさに余裕分を加えた値を前記移動量のばらつきの最大値として、前記移動量のばらつきの最大値に応じた探索範囲の幅を算出するようにしてもよい。   The search range setting unit sets a value obtained by adding a margin to the magnitude of the variation of the moving amount obtained from the actual data of the moving amount as the maximum value of the variation of the moving amount, the maximum of the variation of the moving amount. The width of the search range according to the value may be calculated.

前記探索範囲設定部は、前記移動量の度数分布における3σを前記移動量のばらつきの最大値として、前記移動量のばらつきの最大値に応じた探索範囲の幅を算出するようにしてもよい。   The search range setting unit may calculate the width of the search range according to the maximum value of the variation of the movement amount, with 3σ in the frequency distribution of the movement amount as the maximum value of the variation of the movement amount.

前記探索範囲設定部は、前記撮影装置に前記検査対象物の表面を走査させるために設定される走査軌跡情報に基づいて、前記移動量のばらつきに応じた幅を算出するようにしてもよい。   The search range setting unit may calculate a width corresponding to the variation of the movement amount based on scan locus information set to cause the imaging device to scan the surface of the inspection object.

本発明の第2の態様によれば、検査画像合成システムは、検査対象物の表面を走査して一定時間間隔で撮影を行う撮影装置と、前記撮影装置が撮影した画像と撮影位置情報とを取得する画像情報取得部と、時系列で隣り合う前記画像毎の撮影位置情報から、これら画像間の移動量を演算する移動量演算部と、前記時系列で隣り合う前記画像間で重なり合う画素の範囲を前記移動量に基づいて算出し、テンプレートマッチングにおける探索範囲として設定する探索範囲設定部と、前記探索範囲にてテンプレートマッチングを行って前記画像間で重なり合う画素の範囲を特定し、特定した画素の範囲を重ね合わせたパノラマ画像を合成する画像合成部と、を備える。   According to the second aspect of the present invention, the inspection image synthesizing system scans the surface of the inspection object and performs imaging at predetermined time intervals, an image captured by the imaging device, and imaging position information An image information acquisition unit to be acquired, a movement amount calculation unit calculating a movement amount between the images from the photographing position information for each of the images adjacent in time series, and pixels overlapping between the images adjacent in the time series A search range setting unit which calculates a range based on the movement amount and sets it as a search range in template matching, and performs template matching in the search range to specify the range of overlapping pixels between the images, and specifies the specified pixels And an image synthesizing unit for synthesizing a panoramic image in which the ranges of.

本発明の第3の態様によれば、検査画像合成方法は、検査対象物の表面を走査して一定時間間隔で撮影を行う撮影装置から、撮影した画像と撮影位置情報とを取得することと、時系列で隣り合う前記画像毎の撮影位置情報から、これら画像間の移動量を演算することと、前記時系列で隣り合う前記画像間で重なり合う画素の範囲を前記移動量に基づいて算出し、テンプレートマッチングにおける探索範囲として設定することと、前記探索範囲にてテンプレートマッチングを行って前記画像間で重なり合う画素の範囲を特定し、特定した画素の範囲を重ね合わせたパノラマ画像を合成することと、を含む。   According to a third aspect of the present invention, there is provided an inspection image combining method which acquires a photographed image and photographing position information from a photographing device which scans a surface of a test object and photographs at predetermined time intervals. From the photographing position information of each of the images adjacent in time series, calculating the movement amount between the images, and calculating the range of overlapping pixels between the images adjacent in the time series based on the movement amount Setting as a search range in template matching, and performing template matching in the search range to specify a range of overlapping pixels between the images, and combining a panoramic image in which the specified range of pixels is superimposed. ,including.

本発明の第4の態様によれば、プログラムは、コンピュータに、検査対象物の表面を走査して一定時間間隔で撮影を行う撮影装置から、撮影した画像と撮影位置情報とを取得することと、時系列で隣り合う前記画像毎の撮影位置情報から、これら画像間の移動量を演算することと、前記時系列で隣り合う前記画像間で重なり合う画素の範囲を前記移動量に基づいて算出し、テンプレートマッチングにおける探索範囲として設定することと、前記探索範囲にてテンプレートマッチングを行って前記画像間で重なり合う画素の範囲を特定し、特定した画素の範囲を重ね合わせたパノラマ画像を合成することと、を実行させるためのプログラムである。   According to the fourth aspect of the present invention, the program causes the computer to acquire a photographed image and photographing position information from a photographing device that scans the surface of the inspection object and performs photographing at predetermined time intervals. From the photographing position information of each of the images adjacent in time series, calculating the movement amount between the images, and calculating the range of overlapping pixels between the images adjacent in the time series based on the movement amount Setting as a search range in template matching, and performing template matching in the search range to specify a range of overlapping pixels between the images, and combining a panoramic image in which the specified range of pixels is superimposed. , Is a program to execute.

上記した検査画像合成装置、検査画像合成システム、検査画像合成方法およびプログラムによれば、目視検査用に撮影された複数の画像の重なり部分を、より短時間で特定することができる。   According to the inspection image synthesizing device, the inspection image synthesizing system, the inspection image synthesizing method, and the program described above, the overlapping portion of a plurality of images photographed for visual inspection can be specified in a short time.

本発明の一実施形態に係る検査画像合成システムの機能構成を示す概略ブロック図である。It is a schematic block diagram which shows the function structure of the test | inspection image synthetic | combination system which concerns on one Embodiment of this invention. 同実施形態に係る撮影装置の走査パターンの例を示す図である。It is a figure which shows the example of the scanning pattern of the imaging device which concerns on the embodiment. 同実施形態に係る撮影装置の走査パターンの第2の例を示す図である。It is a figure which shows the 2nd example of the scanning pattern of the imaging device concerning the embodiment. 同実施形態に係る撮影装置の走査パターンの第3の例を示す図である。It is a figure which shows the 3rd example of the scanning pattern of the imaging device concerning the embodiment. 同実施形態に係る撮影装置が撮影した画像の時系列の例を示す図である。It is a figure which shows the example of the time series of the image which the imaging device which concerns on the embodiment image | photographed. 同実施形態に係る撮影装置の移動量の例を示す図である。It is a figure which shows the example of the movement amount of the imaging device concerning the embodiment. 同実施形態に係る画像の重ね合わせの例を示す図である。It is a figure showing the example of superposition of the picture concerning the embodiment. 同実施形態に係る撮影装置の移動量にばらつきがある場合の画像の重ね合わせの例を示す図である。It is a figure which shows the example of the superposition of the image in case the amount of movement of the imaging device which concerns on the embodiment has a variation. 同実施形態に係るテンプレートマッチングにおけるテンプレートの設定例を示す図である。It is a figure which shows the example of a setting of the template in the template matching which concerns on the same embodiment. 同実施形態に係るテンプレートマッチングにおける探索範囲の設定例を示す図である。It is a figure which shows the example of a setting of the search range in the template matching which concerns on the embodiment. 同実施形態に係る検査画像合成システムを用いた検査の手順の例を示すフローチャートである。It is a flowchart which shows the example of the procedure of the test | inspection using the test | inspection image synthetic | combination system which concerns on the embodiment. 少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。It is a schematic block diagram showing composition of a computer concerning at least one embodiment.

以下、本発明の実施形態を説明するが、以下の実施形態は請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。
図1は、本発明の一実施形態に係る検査画像合成システムの機能構成を示す概略ブロック図である。同図に示すように、検査画像合成システム1は、撮影装置100と、検査画像合成装置200とを備える。検査画像合成装置200は、通信部210と、表示部220と、操作入力部230と、記憶部280と、制御部290とを備える。制御部290は、移動量演算部291と、探索範囲設定部292と、画像合成部293とを備える。
Hereinafter, embodiments of the present invention will be described, but the following embodiments do not limit the invention according to the claims. Moreover, not all combinations of features described in the embodiments are essential to the solution of the invention.
FIG. 1 is a schematic block diagram showing a functional configuration of an inspection image combining system according to an embodiment of the present invention. As shown in the figure, the inspection image combining system 1 includes an imaging device 100 and an inspection image combining device 200. The inspection image synthesizing device 200 includes a communication unit 210, a display unit 220, an operation input unit 230, a storage unit 280, and a control unit 290. The control unit 290 includes a movement amount calculation unit 291, a search range setting unit 292, and an image combining unit 293.

検査画像合成システム1は、検査対象物を目視検査(Visual Testing;VT)するための、検査対象物の表面の撮影画像を提供する。
撮影装置100は、検査対象物の表面を走査して一定時間間隔で撮影を行う。
図2は、撮影装置100の走査パターンの例を示す図である。図2では、検査対象物900の表面における撮影装置100の走査パターンが線L11で示されている。また、検査対象物900の表面の傷C11が示されている。
The inspection image synthesis system 1 provides a photographed image of the surface of the inspection object for visual inspection (VT) of the inspection object.
The imaging device 100 scans the surface of the inspection object and performs imaging at fixed time intervals.
FIG. 2 is a view showing an example of a scanning pattern of the imaging device 100. As shown in FIG. In FIG. 2, a scanning pattern of the imaging device 100 on the surface of the inspection object 900 is indicated by a line L11. Also, a flaw C11 on the surface of the inspection object 900 is shown.

図2の走査パターンでは、撮影装置100は、検査対象物900の表面を図の左右に往復しながら図の下方向に移動していく。撮影装置100は、往路、復路のそれぞれで撮影を行う。
但し、撮影装置100の走査パターンは特定のものに限定されない。撮影装置100の走査パターンとして、目視検査対象範囲全域を撮影可能ないろいろな走査パターンを用いることができる。
In the scanning pattern of FIG. 2, the imaging device 100 moves downward in the drawing while reciprocating the surface of the inspection object 900 to the left and right of the drawing. The imaging device 100 performs imaging on each of the forward pass and the return pass.
However, the scanning pattern of the imaging device 100 is not limited to a specific one. As a scanning pattern of the imaging device 100, various scanning patterns capable of imaging the entire visual inspection target range can be used.

図3は、撮影装置100の走査パターンの第2の例を示す図である。図3では、検査対象物900は、円柱と円錐台と直方体とを組み合わせた形状をしている。撮影装置100は、矢印で示すように検査対象物900の上部側から、検査対象物周方向に回転しながら検査対象物900を走査し、1周する毎に下方に移動して周方向の走査を繰り返す。
撮影装置100がこのように走査を行うことで、円柱および円錐台など円形を有する検査対象物に対しても走査を行うことができる。
FIG. 3 is a diagram showing a second example of the scan pattern of the imaging device 100. As shown in FIG. In FIG. 3, the inspection object 900 has a shape in which a cylinder, a truncated cone, and a rectangular parallelepiped are combined. The imaging apparatus 100 scans the inspection object 900 while rotating in the circumferential direction of the inspection object from the upper side of the inspection object 900 as indicated by the arrow, and moves downward each time it makes a round and scans in the circumferential direction repeat.
The scanning performed by the imaging device 100 in this manner can also scan an inspection object having a circular shape, such as a cylinder and a truncated cone.

図4は、撮影装置100の走査パターンの第3の例を示す図である。図4では、検査対象物900の表面における撮影装置100の走査パターンが実線および破線で示されている。撮影装置100が実線に沿って移動する際の画像が目視検査に用いられる。一方、撮影装置100が破線に沿って移動する際の画像は、目視検査には用いられない。
ここで、撮影装置100の駆動部の歯車のバックラッシ等に起因して、往路と復路とで撮影装置100の動作が異なる場合が考えられる。この場合、撮影装置100が1方向で撮影した画像のみを用いることで、バックラッシ等の影響を受けにくくすることができる。
FIG. 4 is a view showing a third example of the scan pattern of the imaging device 100. As shown in FIG. In FIG. 4, a scanning pattern of the imaging device 100 on the surface of the inspection object 900 is shown by a solid line and a broken line. The image when the imaging device 100 moves along the solid line is used for visual inspection. On the other hand, the image when the imaging device 100 moves along the broken line is not used for visual inspection.
Here, it is conceivable that the operation of the imaging device 100 differs between the forward pass and the return path due to backlash or the like of the gear of the drive unit of the imaging device 100. In this case, the influence of backlash or the like can be reduced by using only the image captured in one direction by the imaging device 100.

検査画像合成装置200は、撮影装置100が検査対象物の表面を撮影した画像を複数繋ぎ合わせたパノラマ画像を生成する。ここでいうパノラマ画像は、撮影装置100の実際の画角よりも広い画角で撮影したのに相当する画像(従って、検査対象物の、より広い範囲を示す画像)である。
検査画像合成装置200は、例えばパソコン(Personal Computer;PC)またはEWS(Engineering Workstation)等のコンピュータを用いて構成される。
The inspection image synthesizing device 200 generates a panoramic image in which a plurality of images obtained by photographing the surface of the inspection object by the photographing device 100 are connected. The panoramic image referred to here is an image (corresponding to an image showing a wider range of the inspection object) equivalent to one taken at a wider angle of view than the actual angle of view of the photographing device 100.
The inspection image synthesizing device 200 is configured using, for example, a computer such as a personal computer (PC) or an EWS (engineering workstation).

通信部210は、他の装置と通信を行う。特に、通信部210は、撮影装置100からの撮影データを受信する。この撮影データには、撮影装置100が撮影した画像が画像データにて含まれ、また、当該画像の撮影位置情報(当該画像を撮影した際の撮影装置100の位置情報)が含まれる。通信部210は、画像情報取得部の例に該当する。
ここでの撮影位置情報は、撮影と撮影との間の撮影装置100の移動量が分かるものであればよい。例えば、撮影位置情報は、撮影装置100の積算移動距離情報であってもよい。あるいは、撮影位置情報は、撮影時の撮影装置100の位置を3次元座標データまたは2次元座標データで示すものであってもよい。
The communication unit 210 communicates with other devices. In particular, the communication unit 210 receives imaging data from the imaging device 100. The shooting data includes an image shot by the shooting device 100 as image data, and also includes shooting position information of the image (position information of the shooting device 100 when the image is shot). The communication unit 210 corresponds to an example of an image information acquisition unit.
The shooting position information here may be any information that indicates the amount of movement of the shooting apparatus 100 between shooting and shooting. For example, the imaging position information may be integrated movement distance information of the imaging device 100. Alternatively, the photographing position information may indicate the position of the photographing apparatus 100 at the time of photographing by three-dimensional coordinate data or two-dimensional coordinate data.

表示部220は、例えば液晶パネルまたはLED(Light Emitting Diode、発光ダイオード)パネル等の表示画面を有し、各種画像を表示する。例えば、表示部220は、検査画像合成装置200が生成した検査対象物のパノラマ画像を表示する。
操作入力部230は、例えばキーボードおよびマウス等の入力デバイスを用いて構成され、ユーザ操作を受ける。例えば、表示部220が検査対象物のパノラマ画像を表示しているときに、操作入力部230が、画像の倍率変更を指示するユーザ操作、および、表示範囲の変更(移動)を指示するユーザ操作を受けるようにしてもよい。
The display unit 220 has a display screen such as a liquid crystal panel or a light emitting diode (LED) panel, and displays various images. For example, the display unit 220 displays a panoramic image of the inspection object generated by the inspection image synthesizing device 200.
The operation input unit 230 is configured using an input device such as a keyboard and a mouse, for example, and receives a user operation. For example, when the display unit 220 is displaying a panoramic image of the inspection object, the operation input unit 230 instructs the user to change the magnification of the image and the user to change (move) the display range. You may be asked to

記憶部280は、各種データを記憶する。例えば、記憶部280は、通信部210が受信した撮影データを時系列に記憶する。
記憶部280は、検査画像合成装置200が備える記憶デバイスを用いて構成される。
制御部290は、検査画像合成装置200の各部を制御して各種処理を行う。制御部290は、検査画像合成装置200が備えるCPU(Central Processing Unit、中央処理装置)が、記憶部280からプログラムを読み出して実行することで構成される。
The storage unit 280 stores various data. For example, the storage unit 280 stores shooting data received by the communication unit 210 in time series.
The storage unit 280 is configured using a storage device included in the inspection image combining device 200.
The control unit 290 controls each unit of the inspection image synthesis device 200 to perform various processes. The control unit 290 is configured such that a CPU (Central Processing Unit, central processing unit) included in the inspection image combining device 200 reads out a program from the storage unit 280 and executes it.

移動量演算部291は、時系列で隣り合う、撮影装置100からの画像毎の撮影位置情報から、これら画像間の移動量を演算する。特に、移動量演算部291は、当該移動量を画素数で算出する。
例えば、移動量演算部291は、時系列で隣り合う画像毎の撮影位置情報の差分をとることで、これらの撮影位置間の距離(すなわち、撮影装置100の移動量)を算出する。そして、移動量演算部291は、算出した距離に撮影装置100の撮影画像における単位距離当たりの画素数を乗算することで、当該距離を画素数に換算する。
The movement amount calculation unit 291 calculates the movement amount between the images based on the photographing position information of each image from the photographing device 100 adjacent in time series. In particular, the movement amount calculation unit 291 calculates the movement amount by the number of pixels.
For example, the movement amount calculation unit 291 calculates the distance between the photographing positions (that is, the movement amount of the photographing apparatus 100) by calculating the difference between the photographing position information of each image adjacent in time series. Then, the movement amount calculation unit 291 converts the calculated distance into the number of pixels by multiplying the calculated distance by the number of pixels per unit distance in the photographed image of the photographing device 100.

図5は、撮影装置100が撮影した画像の時系列の例を示す図である。図5の横軸は時刻を示す。図5では、各画像の撮影時刻がフレーム番号で示されている。ここでいうフレームは、撮影装置100の1回の撮影で得られる画像(従って、撮影装置100が撮影した個々の画像)である。
図5に示す各画像のうち、フレーム番号t+ω、t+(ω+1)、t+(ω+2)の各画像には、きず(図2のきずC11)の一部が写っている。図2に示す走査パターンで、撮影装置100が図の上下方向に一定で左から右へ移動しながら、図5の画像を撮影する。これにより、フレーム番号t+ω、t+(ω+1)、t+(ω+2)の順に画像を見ると、きずの像は、高さ(図の上下方向)一定で、図の右側から、中央、左側へと移動している。
FIG. 5 is a diagram illustrating an example of a time series of images captured by the imaging device 100. The horizontal axis of FIG. 5 shows time. In FIG. 5, the shooting time of each image is indicated by a frame number. The frame referred to here is an image obtained by one photographing of the photographing device 100 (therefore, an individual image photographed by the photographing device 100).
Among the images shown in FIG. 5, a part of the flaw (a flaw C11 in FIG. 2) appears in each of the frame numbers t + ω, t + (ω + 1), and t + (ω + 2). In the scanning pattern shown in FIG. 2, the image of FIG. 5 is photographed while the photographing device 100 moves from left to right constantly in the vertical direction of the drawing. As a result, when the image is viewed in the order of frame numbers t + ω, t + (ω + 1), t + (ω + 2), the flaw image is constant in height (vertical direction in the figure) and moves from the right to the center to the left of the figure. doing.

図6は、撮影装置100の移動量の例を示す図である。
図6では、図5の各画像のうちフレーム番号t+ωの画像と、フレーム番号t+(ω+1)の画像とが、左右の端を揃えて縦に並べて示されている。以下の説明では、フレーム番号t+ωの画像を第1画像と称し、フレーム番号t+(ω+1)の画像を第2画像と称する。
FIG. 6 is a diagram illustrating an example of the movement amount of the imaging device 100.
In FIG. 6, among the images in FIG. 5, the image of frame number t + ω and the image of frame number t + (ω + 1) are shown aligned vertically with the left and right ends aligned. In the following description, an image of frame number t + ω is referred to as a first image, and an image of frame number t + (ω + 1) is referred to as a second image.

第1画像における点P11と、第2画像における点P12とは、検査対象物の表面における同一箇所を示している。第1画像と第2画像とは、図の上下方向には、ずれていない。距離dが、第1画像を撮影してから第2画像を撮影するまでの撮影装置100の移動量に該当する。移動量演算部291は、この距離dを、撮影装置100が撮影した画像における画素数pで算出する。
図6の状態から第2画像を右方向に画素数pだけずらした後、第2画像を上方向に移動させて第1画像の上下の端と第2画像の上下の端を揃えることで、これら2つの画像のパノラマ画像を得られる。
The point P11 in the first image and the point P12 in the second image indicate the same place on the surface of the inspection object. The first image and the second image are not shifted in the vertical direction of the figure. The distance d corresponds to the movement amount of the photographing apparatus 100 from the photographing of the first image to the photographing of the second image. The movement amount calculation unit 291 calculates the distance d from the number of pixels p in the image captured by the imaging device 100.
After shifting the second image rightward by the number of pixels p from the state of FIG. 6, the second image is moved upward to align the upper and lower ends of the first image with the upper and lower ends of the second image, A panoramic image of these two images can be obtained.

探索範囲設定部292は、時系列で隣り合う、撮影装置100からの画像間で重なり合う画素の範囲を、移動量演算部291が算出した移動量に基づいて算出する。探索範囲設定部292は、算出した画素の範囲を、画像合成部293が行うテンプレートマッチングにおける探索範囲として設定する。
図7は、画像の重ね合わせの例を示す図である。図7の例では、図6を参照して説明したように、第1画像と第2画像とを、左右に画素数pだけずらし、上下を揃えて重ね合わせている。
The search range setting unit 292 calculates, based on the movement amount calculated by the movement amount calculation unit 291, the range of pixels adjacent to each other in time series and overlapping between the images from the imaging device 100. The search range setting unit 292 sets the calculated range of pixels as a search range in template matching performed by the image combining unit 293.
FIG. 7 shows an example of image superposition. In the example of FIG. 7, as described with reference to FIG. 6, the first image and the second image are shifted by the number of pixels p to the left and right, aligned vertically, and superimposed.

仮に、撮影装置100が撮影と撮影との間に必ず距離Dずつ図2の左から右に移動し、その間、図2の上下方向にずれなければ、図7のように得られた画像を横方向に画素数pずつずらして重ね合わせれば、(横1行分の)パノラマ画像を得られる。この場合、重ね合わせる画素の範囲は一意に定まり、画像マッチングを行う必要はない。   If the imaging apparatus 100 always moves from the left to the right in FIG. 2 by a distance D between imaging and imaging, and if the imaging apparatus 100 does not shift in the vertical direction in FIG. A panoramic image (for one horizontal line) can be obtained by shifting and superposing the number of pixels p in the direction. In this case, the range of pixels to be superimposed is uniquely determined, and it is not necessary to perform image matching.

しかしながら、実際には、撮影装置100を常に一定速度で移動させることは困難であり、撮影と撮影との間の撮影装置100の移動量にばらつきが生じる。そこで、探索範囲設定部292は、撮影装置100の移動量のばらつきに応じた幅を有する探索範囲を設定する。
また、通常、撮影装置100が移動する際、予定された移動方向(図2の横方向)に移動量のばらつきが生じるだけでなく、予定された移動方向と直交方向(図2の上下方向)にもずれる(移動量0からばらつきが生じる)。そこで、探索範囲設定部292は、画像の画素の縦方向、横方向それぞれに移動量のばらつきに応じた幅を有する探索範囲を設定する。
However, in practice, it is difficult to always move the imaging device 100 at a constant speed, and the amount of movement of the imaging device 100 between imaging and imaging varies. Therefore, the search range setting unit 292 sets a search range having a width corresponding to the variation of the movement amount of the imaging device 100.
In addition, usually, when the photographing apparatus 100 moves, not only the variation of the movement amount occurs in the planned movement direction (horizontal direction in FIG. 2), but also the direction perpendicular to the planned movement direction (vertical direction in FIG. 2) Misalignment (a shift from 0 occurs). Therefore, the search range setting unit 292 sets a search range having a width corresponding to the variation of the movement amount in each of the vertical direction and the horizontal direction of the pixel of the image.

図8は、撮影装置100の移動量にばらつきがある場合の画像の重ね合わせの例を示す図である。図8では、重ね合わせで図の左側に位置する画像(図7の例では第1画像)の位置を位置q1で示している。この位置q1との関係で、重ね合わせで図の右側に位置する画像(図7の例では第2画像)の位置を、位置q2、q2’、q2’’の3通り示している。
以下では、重ね合わせで図の左側に位置する画像を左画像と称し、重ね合わせで図の右側に位置する画像を右画像と称する。
FIG. 8 is a view showing an example of superposition of images in the case where the movement amount of the imaging device 100 has variation. In FIG. 8, the position of the image (first image in the example of FIG. 7) positioned on the left side of the drawing in superposition is indicated by the position q1. In relation to the position q1, three positions q2, q2 'and q2''are shown as the positions of the image (the second image in the example of FIG. 7) positioned on the right side of the figure in the superposition.
Hereinafter, an image positioned on the left side of the drawing in superposition will be referred to as a left image, and an image positioned on the right side of the drawing in superposition will be referred to as a right image.

また、画素数pは、探索範囲設定部292が想定する撮影装置100の標準の移動量を画素数で表したものである。図8の例では、撮影と撮影との間に撮影装置100が画素数pだけ図の右方向へ移動することを標準としている。
画素数Δpは、探索範囲設定部292が想定する、予定された移動方向(図の横方向)における移動量のばらつきの最大値である。図8の例では、撮影と撮影との間に撮影装置100が画素数p−Δpからp+Δpまでの範囲内で図の右方向へ移動することを想定している。
画素数Δpは、探索範囲設定部292が想定する、予定された移動方向と垂直方向(図の縦方向)における移動量のばらつきの最大値である。図8の例では、撮影と撮影との間に撮影装置100が図の上下いずれにも画素数Δpの範囲内でずれることを想定している。
The pixel number p h, in which the search range setting section 292 indicates a standard amount of movement of the imaging device 100 assumed in the number of pixels. In the example of FIG. 8, the photographing apparatus 100 between the imaging and imaging is a standard to move to the right in Figure by the number of pixels p h.
Number of pixels Delta] p h, the search range setting unit 292 is assumed, the maximum value of the variation of the amount of movement planned moving direction (lateral direction in the drawing). In the example of FIG. 8, the photographing apparatus 100 is assumed to move to the right in FIG. Within the range of the pixel number p h -Δp h until p h + Δp h between the imaging and imaging.
The number of pixels Δp v is the maximum value of the variation of the movement amount in the direction (vertical direction in the drawing) perpendicular to the planned movement direction, which the search range setting unit 292 assumes. In the example of FIG. 8, it is assumed that the imaging apparatus 100 shifts between the imaging and the imaging within the range of the number of pixels Δp V in any of the upper and lower sides of the diagram.

位置q2は、撮影装置100が、予定された移動方向である図の右方向に画素数pだけ移動し、縦方向にずれなかった場合の、右画像の位置である。位置q2’は、撮影装置100が、図の右方向に画素数p−Δpだけ移動し、図の上方向に画素数Δpだけずれた場合の、右画像の位置である。位置q2’’は、撮影装置100が、図の右方向に画素数p−Δpだけ移動し、図の上方向に画素数Δpだけずれた場合の、右画像の位置である。
位置q2’、q2’’は、いずれも図の上下、左右共に想定される最大のぱらつきがあった場合の位置を示している。位置q1、q2’、q2’’の重なった部分である領域A11は、想定範囲内において2つの画像が必ず重なる部分を示している。
Position q2 is, the photographing apparatus 100 is moved to the right in FIG. Is a scheduled movement direction by the number of pixels p h, when no shift in the vertical direction and the position of the right image. Position q2 'is photographing apparatus 100 is moved by the number of pixels p h -Δp h in the right direction in the figure, when displaced by the number of pixels Delta] p v upward in the figure, the position of the right image. Position q2 '' includes a photographing apparatus 100 is moved by the number of pixels p h -Δp h in the right direction in the figure, when displaced by the number of pixels Delta] p v upward in the figure, the position of the right image.
The positions q2 ′ and q2 ′ ′ indicate the positions where there is the maximum possible distortion both at the top and bottom and at the left and right of the figure. An area A11, which is an overlapping portion of the positions q1, q2 ′ and q2 ′ ′, indicates a portion where two images necessarily overlap within the assumed range.

図9は、テンプレートマッチングにおけるテンプレートの設定例を示す図である。図9の例で、探索範囲設定部292は、撮影装置100の移動量のばらつきの想定範囲内で左画像が右画像と必ず重なる部分である領域A11をテンプレートマッチングにおけるテンプレートに設定している。
図9の横方向における左画像の画素数をpとすると、探索範囲設定部292の想定範囲内で撮影装置100の横方向の移動量の最大値であるp+Δp(標準の移動量+ばらつきの最大値)をpから減算したp−p+Δpが、テンプレート(領域A11)の横方向の画素数となる。
また、図9の縦方向における左画像の画素数をpとすると、探索範囲設定部292の想定範囲内で撮影装置100の縦方向の移動量の最大値であるΔpの2倍を減算したp−2Δpが、テンプレート(領域A11)の縦方向の画素数となる。撮影装置100が上方向にずれる場合、下方向にずれる場合の両方を想定してΔpの2倍を減算している。
FIG. 9 is a diagram showing an example of setting of a template in template matching. In the example of FIG. 9, the search range setting unit 292 sets an area A11 in which the left image necessarily overlaps the right image within the assumed range of the variation of the movement amount of the imaging device 100 as a template in template matching.
Assuming that the number of pixels of the left image in the horizontal direction in FIG. 9 is p x , the maximum value of the horizontal movement amount of the imaging device 100 within the assumed range of the search range setting unit 292 p n + Δp n (standard movement amount + p x -p n + Δp n of the maximum value) was subtracted from p x of variation, the number of pixels in the horizontal direction of the template (area A11).
Further, assuming that the number of pixels of the left image in the vertical direction in FIG. 9 is p y , twice the Δp n which is the maximum value of the vertical movement amount of the imaging device 100 within the assumed range of the search range setting unit 292 is subtracted The calculated p y −2Δp n is the number of pixels in the vertical direction of the template (area A11). If the photographing apparatus 100 is shifted upward, it is subtracted twice the Delta] p n assuming both be shifted downward.

ここでいうテンプレートマッチングは、探索範囲内においてテンプレートの画素値のパターンの出現位置を探索するパターンマッチング手法である。具体的には、以下の手順でパターンマッチングを行う。   Template matching here is a pattern matching method for searching for the appearance position of a pattern of pixel values of a template within a search range. Specifically, pattern matching is performed according to the following procedure.

(1)マッチング対象の2つの画像のうちの一方(図8〜8の例では、左画像)の一部(図8〜8の例では領域A11)をテンプレートに設定する。
(2)マッチング対象の2つの画像のうちのもう一方(図8〜8の例では、右画像)の一部を探索範囲に設定する。
(3)探索範囲内で、画素値がテンプレートと最もよく一致するする部分画像を探索する。画素値の一致度合いの評価スコアとして、例えば各画素における画素値の差の二乗平均など、画素値の差の大きさを評価可能なスコアを算出し、スコアが最小となる部分画像(画素値の差の大きさが最も小さいと評価される部分画像)を探索する。
(1) A part (area A11 in the example of FIGS. 8-8) of one of the two images to be matched (left image in the examples of FIGS. 8-8) is set as a template.
(2) A part of the other of the two images to be matched (the right image in the example of FIGS. 8 to 8) is set as the search range.
(3) Within the search range, search for a partial image whose pixel value most closely matches the template. As the evaluation score of the degree of coincidence of pixel values, for example, a score capable of evaluating the magnitude of the difference between pixel values, such as the root mean square of differences between pixel values at each pixel, is calculated. Search for a partial image that is evaluated to have the smallest difference magnitude.

図10は、テンプレートマッチングにおける探索範囲の設定例を示す図である。探索範囲設定部292は、右画像のうちテンプレート(図9の領域A11)と重なり合う(検査対象物の表面のうち同一部分を撮影した画像ないし部分画像である)可能性のある範囲を探索範囲に設定する。図10の例では、探索範囲設定部292は、領域A12を探索範囲に設定する。   FIG. 10 is a diagram showing an example of setting a search range in template matching. The search range setting unit 292 sets the search range to a possible range (which is an image or a partial image obtained by photographing the same portion of the surface of the inspection object) overlapping the template (the area A11 in FIG. 9) in the right image. Set In the example of FIG. 10, the search range setting unit 292 sets the area A12 as a search range.

探索範囲設定部292の想定範囲内で撮影装置100の横方向の移動量の最小値であるp−Δp(標準の移動量−ばらつきの最大値)を、図10の横方向における右画像の画素数pから減算したp−(p−Δp)が、探索範囲(領域A12)の横方向の画素数となる。
図10の縦方向について、右画像の全体(画素数p)が探索範囲に設定される。
図10で領域A12内に領域A11を示しているように、テンプレートマッチングでは、探索範囲内にテンプレートと同じ形、向きおよび大きさの部分画像を設定し、画素値の一致度合いの評価スコアを算出する。設定し得る全ての部分画像のうち、評価スコアが最小となる部分画像の位置を検出する。
なお、ここでいうテンプレートマッチングを実行する手法は、特定の手法に限定されない。
The minimum value of the lateral movement amount of the photographing apparatus 100 within the assumed range of the search range setting unit 292 p n −Δp n (standard movement amount−variation maximum value) The pixel number of the search range (area A12) in the horizontal direction is obtained by subtracting p x- (p n -Δp n ) from the pixel number p x of x .
In the vertical direction in FIG. 10, the entire right image (number of pixels p y ) is set as the search range.
As area A11 is shown in area A12 in FIG. 10, in template matching, a partial image of the same shape, direction, and size as the template is set in the search range, and the evaluation score of the degree of coincidence of pixel values is calculated. Do. Among all the partial images that can be set, the position of the partial image with the smallest evaluation score is detected.
In addition, the method of performing template matching here is not limited to a specific method.

図9に例示されるテンプレートおよび図10に例示される探索範囲を設定するために、撮影装置100の標準の移動量(図8〜8の例では画素数p)と、撮影装置100の移動量のばらつきの最大値(図8〜8の例では画素数ΔpおよびΔp)を設定する必要がある。
これらのうち撮影装置100の標準の移動量については、撮影装置100に設定される移動速度と撮影の周期(撮影と撮影との間の時間間隔)を乗算し、画素数に換算することで算出し得る。
In order to set the template illustrated in FIG. 9 and the search range illustrated in FIG. 10, the standard amount of movement of the photographing device 100 (number of pixels p h in the example of FIGS. 8 to 8) and movement of the photographing device 100 maximum value of the variation amount (in the example of FIG. 8 to 8 Delta] p h and Delta] p v number of pixels) must be set.
Among them, the standard movement amount of the photographing apparatus 100 is calculated by multiplying the movement speed set in the photographing apparatus 100 by the photographing cycle (time interval between photographing and photographing) and converting it into the number of pixels. It can.

一方、撮影装置100の移動量のばらつきの最大値については、何らかの撮影装置100の動作の実績データに基づいて求めることが考えられる。
例えば、探索範囲設定部292または人が、撮影装置100が過去に撮影した時系列の画像から、撮影毎に撮影装置100の移動量を算出し、算出した移動量から移動量のばらつきの最大値を設定するようにしてもよい。撮影装置100が過去に撮影した時系列の画像として、過去の点検時に撮影した画像、または、工場等での試験時または調整時に撮影した画像を用いることが考えられる。
あるいは、撮影装置100の動作テストにて、撮影と撮影との間の移動量が記録されていれば、この動作テストデータから撮影装置100の移動量のばらつきの最大値を設定することができる。
On the other hand, it is conceivable to obtain the maximum value of the variation of the movement amount of the imaging device 100 based on the result data of the operation of the imaging device 100 in any way.
For example, the search range setting unit 292 or a person calculates the movement amount of the imaging device 100 for each photographing from the time-series images photographed by the photographing device 100 in the past, and the calculated movement amount shows the maximum value of variation of movement amounts. May be set. As a time-series image captured by the imaging device 100 in the past, it is conceivable to use an image captured at the time of inspection in the past, or an image captured at the time of testing or adjustment in a factory or the like.
Alternatively, if the movement amount between photographing and photographing is recorded in the operation test of the photographing device 100, the maximum value of the variation of the movement amount of the photographing device 100 can be set from the operation test data.

撮影装置100の移動量の実績データが幾つか得られた場合、探索範囲設定部292または人が、移動量の最大値または最小値を検出し、得られた最大値または最小値と撮影装置100の標準の移動量との差を、撮影装置100の移動量のばらつきの最大値として用いるようにしてもよい。あるいは、探索範囲設定部292または人が、移動量の実績データから得られたばらつきの大きさにマージン(余裕分)を加えた値を、撮影装置100の移動量のばらつきの最大値として用いるようにしてもよい。
あるいは、探索範囲設定部292または人が、撮影装置100の移動量の度数分布を求めて、3σを算出し、移動量のばらつきの最大値として用いるなど、撮影装置100の移動量のばらつきの最大値を確率的手法で求めるようにしてもよい。
If several movement data of the photographing device 100 are obtained, the search range setting unit 292 or a person detects the maximum value or the minimum value of the movement amount, and the obtained maximum value or the minimum value The difference between this and the standard movement amount may be used as the maximum value of the variation of the movement amount of the imaging device 100. Alternatively, the search range setting unit 292 or a person may use a value obtained by adding a margin (a margin) to the size of the variation obtained from the actual data of the moving amount as the maximum value of the variation of the moving amount of the imaging device 100. You may
Alternatively, the search range setting unit 292 or a person determines the frequency distribution of the movement amount of the imaging device 100, calculates 3σ, and uses it as the maximum value of the movement amount variation, etc. The value may be determined by a probabilistic method.

また、探索範囲設定部292または人が撮影装置100の移動量のばらつきの最大値を求める際、撮影装置100に検査対象物の表面を走査させるために設定される走査軌跡情報に基づいて、移動量のばらつきの最大値を設定するようにしてもよい。
例えば、図2の走査パターンで、撮影装置100が図の左から右へ移動するときと、右から左へ移動するときとでは、画像に写った像の移動方向も逆になる。例えば、図5のフレーム番号t+ω、t+(ω+1)、t+(ω+2)の各画像では、写っているきずの像が画像の右から左へ移動している。撮影装置100が図の右から左へ移動するときは、このきずの像の動きも逆向きになる。また、撮影装置100が図2の縦方向に移動するときの画像は目視検査には用いられない。撮影装置100が過去に撮影した画像の時系列に基づいて撮影装置100の移動量を算出する場合、画像と走査軌跡情報とを突き合わせて画像における移動方向を把握して、撮影装置100の移動量を求めるようにしてもよい。
In addition, when the search range setting unit 292 or a person calculates the maximum value of the variation of the movement amount of the imaging device 100, movement is performed based on the scanning locus information set to cause the imaging device 100 to scan the surface of the inspection object The maximum value of the variation of the amount may be set.
For example, in the scanning pattern of FIG. 2, when the imaging device 100 moves from left to right in the drawing and when it moves from right to left, the moving direction of the image shown in the image is reversed. For example, in each of the images of frame numbers t + ω, t + (ω + 1), and t + (ω + 2) in FIG. 5, the image of the flaw being captured moves from the right to the left of the image. When the photographing device 100 moves from the right to the left in the figure, the movement of the image of this flaw is reversed. Further, the image when the imaging device 100 moves in the vertical direction in FIG. 2 is not used for visual inspection. When the moving amount of the imaging device 100 is calculated based on the time series of the image captured in the past by the imaging device 100, the image and the scanning locus information are matched to grasp the moving direction in the image, and the moving amount of the imaging device 100 You may ask for

また、図3の走査パターンの場合、検査対象物900のうち円柱の部分よりも円錐台の部分の方が1周分の長さが長く、また、円錐台の部分の下側ほど1周分の長さが長くなる。このように、検査対象物900の部分に応じて撮影装置100の移動量が異なる場合、走査軌跡情報を参照して、画像と撮影装置100の位置とを対応付けることが考えられる。
図4の走査パターンの場合、撮影装置100が破線に沿って移動するときの画像は目視検査には用いられない。この場合も、走査軌跡情報を参照して、画像と撮影装置100の位置とを対応付けることが考えられる。
Further, in the case of the scanning pattern of FIG. 3, the length of one portion of the truncated cone is longer than that of the cylindrical portion of the inspection object 900, and one portion is closer to the lower side of the portion of the truncated cone. The length of the As described above, when the moving amount of the imaging device 100 differs depending on the portion of the inspection object 900, it is conceivable to associate the image with the position of the imaging device 100 with reference to the scanning locus information.
In the case of the scanning pattern of FIG. 4, the image when the imaging device 100 moves along the broken line is not used for visual inspection. Also in this case, it is conceivable to associate the image with the position of the imaging device 100 with reference to the scanning locus information.

画像合成部293は、探索範囲設定部292が設定した探索範囲にてテンプレートマッチングを行って、時系列で隣り合う画像間で重なり合う画素の範囲を特定する。そして、画像合成部293は、特定した画素の範囲を重ね合わせたパノラマ画像を合成する。
ここで、画像マッチングの方法としてテンプレートマッチング以外に特徴点抽出による画像マッチングもある。しかしながら、目視検査用の撮影で得られる画像は一般的に色調差に乏しく、適切な特徴点を抽出することが困難である。このことから、目視検査用に撮影された画像に対する画像マッチングでは、特徴点抽出による画像マッチングを行うよりもテンプレートマッチングを行う方がパターンマッチングの精度がよいと期待される。
The image combining unit 293 performs template matching in the search range set by the search range setting unit 292, and specifies the range of overlapping pixels between the images adjacent in time series. Then, the image combining unit 293 combines a panoramic image in which the specified range of pixels is superimposed.
Here, as a method of image matching, there is also image matching by feature point extraction other than template matching. However, an image obtained by photographing for visual inspection is generally poor in tone difference, and it is difficult to extract an appropriate feature point. From this, it is expected that in the image matching for the image taken for visual inspection, the accuracy of the pattern matching is better if the template matching is performed than the image matching by the feature point extraction.

テンプレートマッチングでは、探索範囲の大きさとテンプレートの大きさとの差が大きいほど、探索範囲内にとり得る部分画像の数が多くなり、処理に時間を要する。
これに対し、検査画像合成装置200では、探索範囲設定部292がテンプレートを設定し、テンプレートと重なり合う可能性のある部分を探索範囲に設定することで、探索範囲内にとり得る部分画像の数が少なくて済み、処理時間が比較的短くて済む。
In template matching, the larger the difference between the size of the search range and the size of the template, the larger the number of partial images that can be taken within the search range, and it takes time for processing.
On the other hand, in the inspection image synthesizing device 200, the search range setting unit 292 sets a template and sets a portion that may overlap with the template as the search range, thereby reducing the number of partial images that can be taken within the search range. Processing time is relatively short.

次に、検査画像合成システム1を用いた検査の手順について説明する。
図11は、検査画像合成システム1を用いた検査の手順の例を示すフローチャートである。
図11の検査手順で、撮影装置100が検査対象物の表面の撮影を行う(ステップS101)。
次に、検査画像合成装置200が、撮影装置100による検査対象物の表面の画像をパノラマ合成して、検査対象の表面の目視検査対象範囲の全体画像を生成する(ステップS102)。
Next, an inspection procedure using the inspection image synthesis system 1 will be described.
FIG. 11 is a flow chart showing an example of an inspection procedure using the inspection image synthesis system 1.
In the inspection procedure of FIG. 11, the imaging device 100 performs imaging of the surface of the inspection object (step S101).
Next, the inspection image synthesizing device 200 performs panoramic synthesis of the image of the surface of the inspection object by the photographing device 100, and generates an entire image of the visual inspection object range of the surface of the inspection object (step S102).

点検作業員は、検査画像合成装置200が生成した全体画像を用いて目視検査を行う(ステップS103)。
そして、点検作業員は目視検査にて指示があったか否かを判定する(ステップS104)。ここでいう指示は、形状変化またはきず等の異常個所である。
指示が無かったと判定した場合(ステップS104:NO)、点検作業員は、検査結果を報告する(ステップS121)。
ステップS121の後、図11の処理を終了する。
The inspection worker performs a visual inspection using the entire image generated by the inspection image synthesizing device 200 (step S103).
Then, the inspection worker determines whether or not an instruction has been given by visual inspection (step S104). The instruction here is an abnormal point such as a shape change or a flaw.
If it is determined that there is no instruction (step S104: NO), the inspection worker reports the inspection result (step S121).
After step S121, the process of FIG. 11 ends.

一方、指示があったと判定した場合(ステップS104:指示あり)、点検作業員は、検査画像合成装置200が生成した全体画像のうち、指示に該当する部分を拡大し、より詳細に目視検査を行う(ステップS111)。
そして、点検作業員は、検査結果を報告し(ステップS112)、また、別手法による検査、健全性の評価または補修工事など、指示に対する対応措置を決定し実施する(ステップS113)。
ステップS113の後、図11の処理を終了する。
On the other hand, when it is determined that there is an instruction (step S104: instruction is present), the inspection worker enlarges a portion corresponding to the instruction in the entire image generated by the inspection image combining device 200, and performs visual inspection in more detail. Perform (step S111).
Then, the inspection worker reports the inspection result (step S112), and determines and implements a countermeasure for the instruction such as inspection by another method, evaluation of soundness or repair work (step S113).
After step S113, the process of FIG. 11 ends.

図11の検査手順は、検査画像合成装置200が画像のパノラマ合成を行って目視検査対象範囲の全体画像を生成することで、点検作業員に大きな負担が生じずに全体画像を得られることを前提に成立している。
図11の検査手順では、目視検査対象範囲の全体画像を得られることで、点検作業員は、検査対象物の形状を容易に把握することができる。また、検査対象物に指示がある場合、検査対象物における指示の位置を容易に把握できる。また、指示が比較的大きく撮影装置100の画角に入りきらない場合でも、点検作業員は、目視検査対象範囲の全体画像を参照することで、指示の全体形状を容易に把握できる。
The inspection procedure of FIG. 11 is that the inspection image synthesizing device 200 performs panoramic combination of the images to generate the entire image of the visual inspection target range, so that the entire image can be obtained without causing a large burden on the inspection worker. It is established on the premise.
In the inspection procedure of FIG. 11, the inspection worker can easily grasp the shape of the inspection object by obtaining the entire image of the visual inspection target range. In addition, when the inspection object has an instruction, the position of the instruction on the inspection object can be easily grasped. In addition, even when the instruction is relatively large and does not fit within the angle of view of the imaging device 100, the inspection worker can easily grasp the entire shape of the instruction by referring to the entire image of the visual inspection target range.

また、検査画像合成装置200が目視検査対象範囲の全体画像を生成するので、撮影装置100が撮影する個々の画像の画角は比較的小さくてよい。この点で、撮影装置100は高解像度で撮影を行うことができる。撮影装置100が高解像度で撮影を行い、検査画像合成装置200がその画像をパノラマ合成して目視検査対象範囲の全体画像を生成することで、高解像度の全体画像を得られる。目視検査で指示が見つかった場合、点検作業員は、全体画像の該当箇所を拡大してより詳細な目視検査を行うことができる。   Further, since the inspection image combining device 200 generates the entire image of the visual inspection target range, the angle of view of each image captured by the imaging device 100 may be relatively small. In this regard, the imaging device 100 can perform imaging with high resolution. The imaging device 100 performs imaging with high resolution, and the inspection image combining device 200 performs panoramic synthesis of the image to generate the entire image of the visual inspection target range, thereby obtaining the entire image of high resolution. If an instruction is found in the visual inspection, the inspection worker can magnify the corresponding portion of the entire image to perform a more detailed visual inspection.

検査画像合成システム1を用いない一般的な点検では、検査対象物の画像を用いて目視検査を行い、指示が見つかった場合は、撮影の倍率を上げて該当箇所を撮影し直して再度目視検査を行っている。これに対し、検査画像合成システム1を用いた検査では、上記のように検査対象物を再撮影する必要がない。この点で、検査画像合成システム1を用いることで効率よく検査を行うことができる。
また、検査画像合成システム1を用いない一般的な点検では、撮影装置が撮影する画像を点検作業員がリアルタイムで参照して指示の有無を確認している。これに対し、検査画像合成システム1を用いた検査では、点検作業員は、目視検査対象範囲の全体画像を参照して指示の有無を確認すればよく、リアルタイム性による時間的な拘束が無い。
また、検査画像合成システム1を用いない一般的な検査では、点検作業員が参照する画像が時系列で変化してく。これに対し、検査画像合成システム1を用いた検査では、点検員は、目視検査対象範囲の全体画像を参照するので、画像が時系列で変化するということはない。この点で、検査画像合成システム1を用いた検査では、検査精度を向上させることができる。特に、検査画像合成システム1を用いた検査では、動画像ではなく静止画像で目視検査を行うことができる。また、画像が時系列で変化しないので、観察時間(目視検査を行う時間)を限定されず、その結果、異常等の見逃しの可能性を低減させることができる。
In a general inspection that does not use the inspection image synthesis system 1, a visual inspection is performed using the image of the inspection object, and if an instruction is found, the magnification of imaging is increased and the relevant portion is rephotographed and visual inspection is performed again. It is carried out. On the other hand, in the inspection using the inspection image synthesis system 1, it is not necessary to rephotograph the inspection object as described above. In this respect, by using the inspection image synthesis system 1, the inspection can be efficiently performed.
Further, in a general inspection that does not use the inspection image synthesis system 1, the inspection worker refers to the image captured by the imaging device in real time to confirm the presence or absence of an instruction. On the other hand, in the inspection using the inspection image synthesis system 1, the inspection worker may check the presence or absence of the instruction with reference to the entire image of the visual inspection target range, and there is no time constraint due to the real time property.
Moreover, in the general inspection which does not use the inspection image synthesizing system 1, the image to which the inspection worker refers changes in time series. On the other hand, in the inspection using the inspection image synthesis system 1, since the inspector refers to the entire image of the visual inspection target range, the images do not change in time series. In this respect, in the inspection using the inspection image synthesis system 1, the inspection accuracy can be improved. In particular, in the inspection using the inspection image synthesis system 1, the visual inspection can be performed not with a moving image but with a still image. In addition, since the image does not change in time series, the observation time (time for performing a visual inspection) is not limited, and as a result, the possibility of missing an abnormality or the like can be reduced.

以上のように、通信部210は、検査対象物の表面を走査して一定時間間隔で撮影を行う撮影装置100から、撮影した画像と撮影位置情報とを取得する。移動量演算部291は、時系列で隣り合う画像毎の撮影位置情報から、これら画像間の移動量を演算する。探索範囲設定部292は、時系列で隣り合う画像間で重なり合う画素の範囲を撮影装置100の移動量に基づいて算出し、テンプレートマッチングにおける探索範囲として設定する。画像合成部293は、探索範囲にてテンプレートマッチングを行って画像間で重なり合う画素の範囲を特定し、特定した画素の範囲を重ね合わせたパノラマ画像を合成する。   As described above, the communication unit 210 acquires the photographed image and the photographing position information from the photographing device 100 which scans the surface of the inspection object and photographs at a constant time interval. The movement amount calculation unit 291 calculates the movement amount between the images from the photographing position information of each image adjacent in time series. The search range setting unit 292 calculates the range of overlapping pixels between the images adjacent in time series based on the movement amount of the imaging device 100, and sets the range as a search range in template matching. The image combining unit 293 performs template matching in the search range to specify the range of overlapping pixels between images, and combines a panoramic image in which the specified range of pixels is superimposed.

探索範囲設定部292が、撮影装置100の移動量に基づいて探索範囲を設定することで、探索範囲の絞り込みを行うことができる。この点で、検査画像合成装置200によれば目視検査用に撮影された複数の画像の重なり部分を、より短時間で特定することができる。
また、画像合成部293がパノラマ画像を合成して目視検査対象範囲の全体画像を生成することで、点検作業員は、全体の位置関係を把握して効率よく、また、高精度に目視点検を行うことができる。
The search range setting unit 292 can narrow the search range by setting the search range based on the movement amount of the imaging device 100. In this respect, according to the inspection image synthesizing device 200, the overlapping portion of a plurality of images captured for visual inspection can be specified in a shorter time.
In addition, the image synthesizing unit 293 synthesizes the panoramic image to generate the entire image of the visual inspection target range, whereby the inspection worker grasps the entire positional relationship and efficiently performs visual inspection with high accuracy. It can be carried out.

また探索範囲設定部292は、撮影装置100移動量のばらつきに応じた幅を有する探索範囲を設定する。
これにより、探索範囲設定部292は、撮影装置100の移動量にばらつきがあってもテンプレートマッチングを行える程度に探索範囲を絞り込むことができる。この点で、検査画像合成装置200によればテンプレートマッチングの精度の確保と処理時間の低減との両立を図ることができる。
Further, the search range setting unit 292 sets a search range having a width corresponding to the variation of the movement amount of the imaging device 100.
Thus, the search range setting unit 292 can narrow the search range to such an extent that template matching can be performed even if the movement amount of the imaging device 100 varies. From this point of view, according to the inspection image synthesizing device 200, it is possible to achieve both the securing of the accuracy of the template matching and the reduction of the processing time.

また、探索範囲設定部292は、画像の画素の縦方向、横方向それぞれに移動量のばらつきに応じた幅を有する探索範囲を設定する。
これにより、検査画像合成装置200では、予定されている撮影装置100の移動方向における撮影装置100の移動量のばらつきに加えて、予定されている撮影装置100の移動方向に垂直方向のずれに対応して、探索範囲の絞り込みを行うことができる。
Further, the search range setting unit 292 sets a search range having a width corresponding to the variation of the movement amount in each of the vertical direction and the horizontal direction of the pixel of the image.
Thereby, in the inspection image synthesizing device 200, in addition to the variation in the movement amount of the imaging device 100 in the movement direction of the imaging device 100 planned, the deviation in the vertical direction to the movement direction of the imaging device 100 scheduled Then, the search range can be narrowed.

また、探索範囲設定部292は、撮影装置100が過去に撮影した時系列の画像から撮影装置100の移動量のばらつきに応じた探索範囲の幅を算出する。
これにより、探索範囲設定部292は、撮影装置100の動作の実績に基づいて探索範囲を設定することができる。この点で、探索範囲設定部292は、探索範囲を高精度に設定することができる。
Further, the search range setting unit 292 calculates the width of the search range according to the variation of the movement amount of the imaging device 100 from the time-series images captured by the imaging device 100 in the past.
Thus, the search range setting unit 292 can set the search range based on the results of the operation of the imaging device 100. In this regard, the search range setting unit 292 can set the search range with high accuracy.

また、探索範囲設定部292は、撮影装置100の動作テストデータから撮影装置100移動量のばらつきに応じた探索範囲の幅を算出する。
これにより、探索範囲設定部292は、撮影装置100の動作の実績に基づいて探索範囲を設定することができる。この点で、探索範囲設定部292は、探索範囲を高精度に設定することができる。
Further, the search range setting unit 292 calculates the width of the search range according to the variation of the movement amount of the imaging device 100 from the operation test data of the imaging device 100.
Thus, the search range setting unit 292 can set the search range based on the results of the operation of the imaging device 100. In this regard, the search range setting unit 292 can set the search range with high accuracy.

また、探索範囲設定部292は、移動量の複数の実績データにおける移動量の最大値または最小値と撮影装置100の標準の移動量との差を移動量のばらつきの最大として、前記移動量のばらつきの最大値に応じた探索範囲の幅を算出する。
これにより、探索範囲設定部292は、移動量のばらつきの最大値または最小値に応じて探索範囲の幅を高精度に設定することができる。
In addition, the search range setting unit 292 sets the difference between the maximum value or the minimum value of the movement amounts in the plurality of actual data of movement amounts and the standard movement amount of the imaging device 100 as the maximum movement amount variation. The width of the search range according to the maximum value of the variation is calculated.
Thus, the search range setting unit 292 can set the width of the search range with high accuracy in accordance with the maximum value or the minimum value of the variation of the movement amount.

また、探索範囲設定部292は、移動量の実績データから得られた移動量のばらつきの大きさに余裕分を加えた値を移動量のばらつきの最大値として、移動量のばらつきの最大値に応じた探索範囲の幅を算出する。
探索範囲設定部292が移動量のばらつきの最大値に余裕分を含めて算出することで、移動量のばらつきの大きさを過小評価する可能性を低減させることができる。
Further, the search range setting unit 292 sets a value obtained by adding a margin to the size of the variation of the moving amount obtained from the actual data of the moving amount as the maximum value of the variation of the moving amount as the maximum value of the variation of the moving amount. Calculate the width of the search range according to.
By calculating the search range setting unit 292 by adding a margin to the maximum value of the variation of the movement amount, the possibility of underestimating the magnitude of the variation of the movement amount can be reduced.

また、探索範囲設定部292は、移動量の度数分布における3σを移動量のばらつきの最大値として、移動量のばらつきの最大値に応じた探索範囲の幅を算出する。
探索範囲設定部292が、移動量のばらつきの大きさを確率的手法に基づいて算出する点で、探索範囲の幅を高精度に設定することができる。
Further, the search range setting unit 292 calculates the width of the search range according to the maximum value of the variation of the movement amount, with 3σ in the frequency distribution of the movement amount as the maximum value of the variation of the movement amount.
The width of the search range can be set with high accuracy in that the search range setting unit 292 calculates the magnitude of the variation of the movement amount based on the probabilistic method.

また、探索範囲設定部292は、撮影装置100に検査対象物の表面を走査させるために設定される走査軌跡情報に基づいて、撮影装置100の移動量のばらつきに応じた探索範囲の幅を算出する。
これにより、探索範囲設定部292は、撮影装置100が行う走査におけるいろいろな動作パターンに対応して撮影装置100の移動量のばらつきを求めることができ、これに基づいて探索範囲を設定することができる。撮影装置100の移動量のばらつきを求めるためのデータを多く得られる点で、探索範囲設定部292は、探索範囲を高精度に設定することができる。
Further, the search range setting unit 292 calculates the width of the search range according to the variation of the movement amount of the imaging device 100 based on the scanning locus information set to cause the imaging device 100 to scan the surface of the inspection object. Do.
As a result, the search range setting unit 292 can obtain the variation of the movement amount of the imaging device 100 corresponding to various operation patterns in the scanning performed by the imaging device 100, and based on this, the search range can be set. it can. The search range setting unit 292 can set the search range with high accuracy, in that a large amount of data for obtaining the variation of the movement amount of the imaging device 100 can be obtained.

図12は、少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。
コンピュータ10は、CPU11と、主記憶装置12と、補助記憶装置13と、インタフェース14を備える。
上述の検査画像合成装置200は、コンピュータ10に実装される。そして、上述した制御部290の各部の動作は、プログラムの形式で補助記憶装置13に記憶されている。CPU11は、プログラムを補助記憶装置13から読み出して主記憶装置12に展開し、当該プログラムに従って上記処理を実行する。また、CPU11は、プログラムに従って、上述した記憶部280に対応する記憶領域を主記憶装置に確保する。
FIG. 12 is a schematic block diagram showing the configuration of a computer according to at least one embodiment.
The computer 10 includes a CPU 11, a main storage 12, an auxiliary storage 13, and an interface 14.
The inspection image synthesizing device 200 described above is mounted on the computer 10. The operation of each unit of the control unit 290 described above is stored in the auxiliary storage device 13 in the form of a program. The CPU 11 reads a program from the auxiliary storage device 13 and develops it in the main storage device 12, and executes the above processing according to the program. Further, the CPU 11 secures a storage area corresponding to the storage unit 280 described above in the main storage device according to the program.

なお、制御部290の全部または一部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することで各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク、SSD(Solid State Drive)等の記憶装置のことをいう。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
Note that a program for realizing all or part of functions of the control unit 290 is recorded in a computer readable recording medium, and the computer system reads the program recorded in the recording medium and executes each part. Processing may be performed. Here, the “computer system” includes an OS and hardware such as peripheral devices.
The "computer system" also includes a homepage providing environment (or display environment) if the WWW system is used.
The “computer-readable recording medium” is a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, a hard disk built in a computer system, or a storage device such as a solid state drive (SSD). It means that. The program may be for realizing a part of the functions described above, or may be realized in combination with the program already recorded in the computer system.

以上、本発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings, but the specific configuration is not limited to this embodiment, and design changes and the like within the scope of the present invention are also included.

1 検査画像合成システム
100 撮影装置
200 検査画像合成装置
210 通信部
220 表示部
230 操作入力部
280 記憶部
290 制御部
291 移動量演算部
292 探索範囲設定部
293 画像合成部
DESCRIPTION OF SYMBOLS 1 inspection image synthesizing system 100 photographing device 200 inspection image synthesizing device 210 communication unit 220 display unit 230 operation input unit 280 storage unit 290 control unit 291 movement amount calculating unit 292 search range setting unit 293 image synthesizing unit

Claims (12)

検査対象物の表面を走査して一定時間間隔で撮影を行う撮影装置から、撮影した画像と撮影位置情報とを取得する画像情報取得部と、
時系列で隣り合う前記画像毎の撮影位置情報から、これら画像間の移動量を演算する移動量演算部と、
前記時系列で隣り合う前記画像間で重なり合う画素の範囲を前記移動量に基づいて算出し、テンプレートマッチングにおける探索範囲として設定する探索範囲設定部と、
前記探索範囲にてテンプレートマッチングを行って前記画像間で重なり合う画素の範囲を特定し、特定した画素の範囲を重ね合わせたパノラマ画像を合成する画像合成部と、
を備える検査画像合成装置。
An image information acquisition unit that acquires a photographed image and photographing position information from a photographing device that scans the surface of the inspection object and photographs at constant time intervals;
A movement amount calculation unit that calculates the movement amount between the images from the photographing position information for each of the images adjacent in time series;
A search range setting unit that calculates a range of overlapping pixels between the images adjacent in time series based on the movement amount, and sets the range as a search range in template matching;
An image combining unit that performs template matching in the search range to specify a range of overlapping pixels between the images, and combines a panoramic image in which the specified range of pixels are superimposed;
An inspection image synthesizing apparatus comprising:
前記探索範囲設定部は、前記移動量のばらつきに応じた幅を有する前記探索範囲を設定する、
請求項1に記載の検査画像合成装置。
The search range setting unit sets the search range having a width corresponding to the variation of the movement amount.
The inspection image synthesizing device according to claim 1.
前記探索範囲設定部は、前記画像の画素の縦方向、横方向それぞれに前記移動量のばらつきに応じた幅を有する前記探索範囲を設定する、
請求項2に記載の検査画像合成装置。
The search range setting unit sets the search range having a width corresponding to the variation of the movement amount in each of the vertical direction and the horizontal direction of the pixel of the image.
The inspection image synthesizing device according to claim 2.
前記探索範囲設定部は、前記撮影装置が過去に撮影した時系列の画像から前記移動量のばらつきに応じた幅を算出する、
請求項2または請求項3に記載の検査画像合成装置。
The search range setting unit calculates a width according to the variation of the movement amount from time-series images captured by the imaging device in the past.
The inspection image synthesizing device according to claim 2 or 3.
前記探索範囲設定部は、前記撮影装置の動作テストデータから前記移動量のばらつきに応じた幅を算出する、
請求項2から4の何れか一項に記載の検査画像合成装置。
The search range setting unit calculates a width according to the variation of the movement amount from operation test data of the imaging device.
The inspection image synthesizing device according to any one of claims 2 to 4.
前記探索範囲設定部は、前記移動量の複数の実績データにおける前記移動量の最大値または最小値と前記撮影装置の標準の移動量との差を前記移動量のばらつきの最大として、前記移動量のばらつきの最大値に応じた幅を算出する、
請求項4または請求項5に記載の検査画像合成装置。
The search range setting unit sets the difference between the maximum value or the minimum value of the moving amount in the plurality of actual data of the moving amount and the standard moving amount of the imaging device as the maximum variation of the moving amount. Calculate the width according to the maximum value of the
The inspection image synthesizing device according to claim 4 or 5.
前記探索範囲設定部は、前記移動量の実績データから得られた前記移動量のばらつきの大きさに余裕分を加えた値を前記移動量のばらつきの最大値として、前記移動量のばらつきの最大値に応じた探索範囲の幅を算出する、
請求項4または請求項5に記載の検査画像合成装置。
The search range setting unit sets a value obtained by adding a margin to the magnitude of the variation of the moving amount obtained from the actual data of the moving amount as the maximum value of the variation of the moving amount, the maximum of the variation of the moving amount. Calculate the width of search range according to the value,
The inspection image synthesizing device according to claim 4 or 5.
前記探索範囲設定部は、前記移動量の度数分布における3σを前記移動量のばらつきの最大値として、前記移動量のばらつきの最大値に応じた探索範囲の幅を算出する、
請求項4または請求項5に記載の検査画像合成装置。
The search range setting unit calculates the width of the search range according to the maximum value of the variation of the movement amount, with 3σ in the frequency distribution of the movement amount as the maximum value of the variation of the movement amount.
The inspection image synthesizing device according to claim 4 or 5.
前記探索範囲設定部は、前記撮影装置に前記検査対象物の表面を走査させるために設定される走査軌跡情報に基づいて、前記移動量のばらつきに応じた幅を算出する、
請求項2から8の何れか一項に記載の検査画像合成装置。
The search range setting unit calculates a width according to the variation of the movement amount based on scanning locus information set to cause the imaging device to scan the surface of the inspection object.
The inspection image synthesizing device according to any one of claims 2 to 8.
検査対象物の表面を走査して一定時間間隔で撮影を行う撮影装置と、
前記撮影装置が撮影した画像と撮影位置情報とを取得する画像情報取得部と、
時系列で隣り合う前記画像毎の撮影位置情報から、これら画像間の移動量を演算する移動量演算部と、
前記時系列で隣り合う前記画像間で重なり合う画素の範囲を前記移動量に基づいて算出し、テンプレートマッチングにおける探索範囲として設定する探索範囲設定部と、
前記探索範囲にてテンプレートマッチングを行って前記画像間で重なり合う画素の範囲を特定し、特定した画素の範囲を重ね合わせたパノラマ画像を合成する画像合成部と、
を備える検査画像合成システム。
An imaging device for scanning the surface of the inspection object and performing imaging at fixed time intervals;
An image information acquisition unit that acquires an image captured by the imaging device and imaging position information;
A movement amount calculation unit that calculates the movement amount between the images from the photographing position information for each of the images adjacent in time series;
A search range setting unit that calculates a range of overlapping pixels between the images adjacent in time series based on the movement amount, and sets the range as a search range in template matching;
An image combining unit that performs template matching in the search range to specify a range of overlapping pixels between the images, and combines a panoramic image in which the specified range of pixels are superimposed;
An examination image combining system comprising:
検査対象物の表面を走査して一定時間間隔で撮影を行う撮影装置から、撮影した画像と撮影位置情報とを取得することと、
時系列で隣り合う前記画像毎の撮影位置情報から、これら画像間の移動量を演算することと、
前記時系列で隣り合う前記画像間で重なり合う画素の範囲を前記移動量に基づいて算出し、テンプレートマッチングにおける探索範囲として設定することと、
前記探索範囲にてテンプレートマッチングを行って前記画像間で重なり合う画素の範囲を特定し、特定した画素の範囲を重ね合わせたパノラマ画像を合成することと、
を含む検査画像合成方法。
Acquiring a photographed image and photographing position information from a photographing device which scans the surface of the inspection object and photographs at constant time intervals;
Calculating the amount of movement between the images from the photographing position information of each of the images adjacent in time series;
Calculating a range of overlapping pixels between the images adjacent in time series based on the movement amount, and setting the range as a search range in template matching;
Template matching is performed in the search range to specify a range of overlapping pixels between the images, and combining a panoramic image in which the specified range of pixels is superimposed;
An inspection image combining method including:
コンピュータに、
検査対象物の表面を走査して一定時間間隔で撮影を行う撮影装置から、撮影した画像と撮影位置情報とを取得することと、
時系列で隣り合う前記画像毎の撮影位置情報から、これら画像間の移動量を演算することと、
前記時系列で隣り合う前記画像間で重なり合う画素の範囲を前記移動量に基づいて算出し、テンプレートマッチングにおける探索範囲として設定することと、
前記探索範囲にてテンプレートマッチングを行って前記画像間で重なり合う画素の範囲を特定し、特定した画素の範囲を重ね合わせたパノラマ画像を合成することと、
を実行させるためのプログラム。
On the computer
Acquiring a photographed image and photographing position information from a photographing device which scans the surface of the inspection object and photographs at constant time intervals;
Calculating the amount of movement between the images from the photographing position information of each of the images adjacent in time series;
Calculating a range of overlapping pixels between the images adjacent in time series based on the movement amount, and setting the range as a search range in template matching;
Template matching is performed in the search range to specify a range of overlapping pixels between the images, and combining a panoramic image in which the specified range of pixels is superimposed;
A program to run a program.
JP2017239081A 2017-12-13 2017-12-13 Inspection image compositing device, inspection image compositing system, inspection image compositing method and program Active JP6869880B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017239081A JP6869880B2 (en) 2017-12-13 2017-12-13 Inspection image compositing device, inspection image compositing system, inspection image compositing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017239081A JP6869880B2 (en) 2017-12-13 2017-12-13 Inspection image compositing device, inspection image compositing system, inspection image compositing method and program

Publications (2)

Publication Number Publication Date
JP2019106075A true JP2019106075A (en) 2019-06-27
JP6869880B2 JP6869880B2 (en) 2021-05-12

Family

ID=67062464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017239081A Active JP6869880B2 (en) 2017-12-13 2017-12-13 Inspection image compositing device, inspection image compositing system, inspection image compositing method and program

Country Status (1)

Country Link
JP (1) JP6869880B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021022210A (en) * 2019-07-29 2021-02-18 株式会社ソーシャル・キャピタル・デザイン Image processing system
JP7422010B2 (en) 2020-06-11 2024-01-25 三菱重工業株式会社 Image synthesis device, image synthesis method, image synthesis program, and inspection device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09322055A (en) * 1996-05-28 1997-12-12 Canon Inc Electronic camera system
JP2001124522A (en) * 1999-10-25 2001-05-11 Nikon Corp Crack evaluator using image processing
JP2003060888A (en) * 2001-08-10 2003-02-28 Minolta Co Ltd Image reader

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09322055A (en) * 1996-05-28 1997-12-12 Canon Inc Electronic camera system
JP2001124522A (en) * 1999-10-25 2001-05-11 Nikon Corp Crack evaluator using image processing
JP2003060888A (en) * 2001-08-10 2003-02-28 Minolta Co Ltd Image reader

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021022210A (en) * 2019-07-29 2021-02-18 株式会社ソーシャル・キャピタル・デザイン Image processing system
JP7317299B2 (en) 2019-07-29 2023-07-31 株式会社ソーシャル・キャピタル・デザイン Image processing system
JP7422010B2 (en) 2020-06-11 2024-01-25 三菱重工業株式会社 Image synthesis device, image synthesis method, image synthesis program, and inspection device

Also Published As

Publication number Publication date
JP6869880B2 (en) 2021-05-12

Similar Documents

Publication Publication Date Title
US9959451B2 (en) Image inspection device, image inspection method and image inspection program
KR100785594B1 (en) Image process apparatus
KR100499764B1 (en) Method and system of measuring an object in a digital
JP2015135331A (en) Practical use 3d vision system device and method thereof
JP2003290217A (en) X-ray diagnostic device and medical image analytic device
JP2007047930A (en) Image processor and inspection device
JP7088530B2 (en) 3D method and device for projecting measurement result-related information on the surface of an object to be measured
JP2013171425A (en) Image processing device
JP2019020348A (en) Tunnel measurement system
JP5388921B2 (en) Three-dimensional distance measuring apparatus and method
US8379081B2 (en) Appearance inspection apparatus and appearance inspection method
JPWO2006112242A1 (en) Board inspection equipment
TW201415010A (en) Inspection device, inspection method, and inspection program
US11416978B2 (en) Image processing apparatus, control method and non-transitory computer-readable recording medium therefor
JP2019106075A (en) Inspection image synthesizing device, inspection image synthesizing system, inspection image synthesizing method and program
KR20150022463A (en) Substrate inspection apparatus
JP2005283440A (en) Vibration measuring device and measuring method thereof
JPWO2018168757A1 (en) Image processing apparatus, system, image processing method, article manufacturing method, program
KR100808536B1 (en) Method for calibration using by pattern image
US11830177B2 (en) Image processing apparatus, control method and non-transitory computer-readable recording medium therefor
JP2020170257A (en) Image processing device and control method thereof
JP7477956B2 (en) Image processing device and control method thereof, and information processing system
JP2004012192A (en) Measuring microscope device, its display method, and its display program
JP2013257155A (en) X-ray inspection device
JP5206499B2 (en) Measuring method, measuring device, measurement control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191108

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210308

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210406

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210414

R150 Certificate of patent or registration of utility model

Ref document number: 6869880

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150