TW201415010A - Inspection device, inspection method, and inspection program - Google Patents

Inspection device, inspection method, and inspection program Download PDF

Info

Publication number
TW201415010A
TW201415010A TW102131561A TW102131561A TW201415010A TW 201415010 A TW201415010 A TW 201415010A TW 102131561 A TW102131561 A TW 102131561A TW 102131561 A TW102131561 A TW 102131561A TW 201415010 A TW201415010 A TW 201415010A
Authority
TW
Taiwan
Prior art keywords
image
inspection
registered
difference
alignment
Prior art date
Application number
TW102131561A
Other languages
Chinese (zh)
Other versions
TWI500925B (en
Inventor
Daisuke Nishiwaki
Original Assignee
Nec Corp
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 Nec Corp filed Critical Nec Corp
Publication of TW201415010A publication Critical patent/TW201415010A/en
Application granted granted Critical
Publication of TWI500925B publication Critical patent/TWI500925B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/9501Semiconductor wafers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • G01N21/95607Inspecting patterns on the surface of objects using a comparative method

Landscapes

  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Health & Medical Sciences (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Pathology (AREA)
  • Analytical Chemistry (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

To provide an inspection device capable of reducing the load for an adjusting operation for inspections when the type of object to be inspected for defects changes or the location of a camera for the object to be inspected changes. [Solution] This inspection device comprises: a registered image storage means for storing registered images, which are images of an object to be inspected, that is from objects to be inspected that are flat, and that is without defects, and for storing a plurality of feature points, which are extracted from the registered image and which are points satisfying prescribed conditions; an alignment means for performing alignment that extracts a plurality of the feature points from an inspection image, which is an image of the object to be inspected captured from a direction different than the capture direction of the captured registered image, that calculates, for a plurality of points on the object to be inspected, a conversion parameter, representing a projection transformation that matches the coordinates of a figure at the point on one of the inspection image and the registered image to coordinates of the figure at the point on the other image, where the figure is contained in both the inspection image and the registered image based on a plurality of the feature points in the inspection image and a plurality of the feature points in the registered image, and that performs the projection transformation on one of the images using the conversion parameter; and a discrepancy detection means for detecting discrepancies in the inspection image and the registered image after the alignment.

Description

檢查裝置、檢查方法及檢查程式 Inspection device, inspection method and inspection program

本發明係關於一種檢查裝置、檢查方法及檢查程式。本發明特別是關於藉由影像進行檢查之檢查裝置、檢查方法及檢查程式。 The present invention relates to an inspection apparatus, an inspection method, and an inspection program. More particularly, the present invention relates to an inspection apparatus, an inspection method, and an inspection program for inspecting images.

調查印刷於紙面或零件之文字是否正確印刷,或是零件是否正確裝設在基板上之檢查中,多半使用藉由以相機拍攝檢查對象所取得之影像。使用檢查對象之影像,判定於檢查對象有無缺陷(亦即,檢查對象是否依設計完成),藉此進行這種檢查。作為其判定方法,例如有藉由比較:預先登記之無缺陷的檢查對象之影像,與自被判定有無缺陷之檢查對象所取得之影像,而檢測差異之方法。為了能以此方法高精度地檢測差異,登記無缺陷之檢查對象的影像之際的影像取得環境,與取得被檢查有無缺陷之檢查對象的影像之際的影像取得環境,兩者必須同一,這點相當重要。影像取得環境係例如相機及光源。影像取得環境同一係例如拍攝此等影像之際,相機及相機參數、光源、相機與光源之位置關係等同一。且分別取得影像之際,相對於影像取得環境之檢查對象的配置亦須相同。為了於生產線實現這樣的檢查環境,需於生產線內構築檢查環境。拍攝或保存無缺陷之檢查對象的影像之登記作業,或自所檢測出之差異而檢測缺陷的基準之調整作業中,需時間或勞力。另一方面,檢查環境構築完成後,以檢查環境進行之檢查較以人力進行之檢查高速許多。 Investigate whether the text printed on the paper or part is correctly printed, or whether the part is correctly mounted on the substrate, and most of the images obtained by taking the inspection object by the camera are used. This inspection is performed by using the image of the inspection object to determine whether or not the inspection object is defective (that is, whether the inspection object is completed by design). As a method of determining the difference, for example, there is a method of detecting a difference by comparing an image of a non-defective inspection target registered in advance with an image obtained from an inspection target determined to have a defect. In order to detect the difference with high precision by this method, the image acquisition environment for registering the image of the non-defective inspection target and the image acquisition environment for acquiring the image of the inspection target with or without the defect must be the same. The point is quite important. The image acquisition environment is, for example, a camera and a light source. The image acquisition environment is the same, for example, when shooting such images, the camera and camera parameters, the light source, and the positional relationship between the camera and the light source are the same. When the images are acquired separately, the configuration of the inspection object relative to the image acquisition environment must be the same. In order to realize such an inspection environment on the production line, it is necessary to construct an inspection environment in the production line. It takes time or labor to perform an operation of photographing or storing an image of a non-defective inspection object or a reference for detecting a defect from the detected difference. On the other hand, after the construction of the inspection environment is completed, the inspection performed in the inspection environment is much faster than the inspection performed by the human power.

生產線係少種類大量生產線時,一旦前述調整完成,即長時間無須再 調整。此時,再調整用的時間變得不再需要,故檢查每一個檢查對象所須的時間較以人力逐一對檢查對象進行檢查時所須的時間短許多。另一方面,生產線係近年來增加之少量多種類生產線時,每當檢查對象種類變更即須調整檢查環境。此時,以人力進行之目視檢查其檢查效率有時也可能較高。然而,以人力進行之目視檢查中,有可能發生因疏忽或誤會引起看漏不良品之難以完全避免的錯誤。且以人力進行之目視檢查中,有可能每一檢查者之判斷基準不同,導致發生品質不穩定的情形。因此,業界希望可提供即使在少量多種類生產線中,亦不須很多的調整作業之檢查環境。 When the production line is less than a large number of production lines, once the aforementioned adjustment is completed, there is no need to wait for a long time. Adjustment. At this time, the time for re-adjustment becomes unnecessary, so the time required to inspect each inspection object is much shorter than the time required to inspect the object one by one. On the other hand, when the production line is added to a small number of various types of production lines in recent years, the inspection environment must be adjusted whenever the type of inspection object is changed. At this time, the inspection efficiency by human inspection may sometimes be high. However, in the visual inspection by manpower, there may be errors that are difficult to avoid completely due to negligence or misunderstanding. In the visual inspection by human power, there is a possibility that the judgment criteria of each examiner are different, resulting in a situation in which quality is unstable. Therefore, the industry hopes to provide an inspection environment that does not require a lot of adjustment work even in a small number of different types of production lines.

專利文獻1中記載一外觀檢查裝置,藉由比較:拍攝比較對象即被檢查物之影像,與拍攝檢查對象之被檢查物之影像,而進行缺陷檢查。專利文獻1之外觀檢查裝置以拍攝比較對象即被檢查物之影像,與拍攝檢查對象之被檢查物之影像分別不同的兩處以上之對應的圖案部分,對準雙方影像。換言之,外觀檢查裝置將自比較對象即晶片的影像之兩處以上切出之基準影像所對應的檢查對象,亦即被檢查物之晶片所拍攝的影像上的區域之位置,以次畫素單位檢測出。又,外觀檢查裝置重疊兩張影像,俾比較對象即晶片的影像上之基準影像重疊於檢查對象之晶片的影像上的前述檢測的位置。又,外觀檢查裝置藉由比較圖案進行缺陷檢查。具體而言,外觀檢查裝置產生兩張影像之差分影像,自產生之差分影像而檢測晶片缺陷。 Patent Document 1 describes an appearance inspection device that performs a defect inspection by comparing an image of an object to be inspected which is a comparison object with an image of an inspection object to be inspected. In the visual inspection device of Patent Document 1, two or more corresponding pattern portions different from the image of the inspection object to be inspected are imaged, and the two images are aligned. In other words, the visual inspection device sets the position of the region on the image captured by the reference image cut out from the two or more images of the wafer to be compared, that is, the region on the image captured by the wafer of the object to be inspected, in sub-pixel units. detected. Further, the visual inspection device superimposes two images, and the reference image on the image of the wafer to be compared is superimposed on the detected position on the image of the wafer to be inspected. Further, the visual inspection device performs defect inspection by comparing the patterns. Specifically, the visual inspection device generates a difference image of two images, and detects a wafer defect from the generated difference image.

專利文獻2之圖案檢查裝置藉由比較半導體晶圓上鄰接之晶片影像,而檢測晶片缺陷。圖案檢查裝置將比較鄰接之晶片影像之際,鄰接之兩個晶片同一部分在影像上的位置之偏離,使用該部分之影像而檢測。圖案檢查裝置以檢測出之偏離為基礎,導出兩個晶片影像重疊時,相互對應之畫素之灰階差。圖案檢查裝置自導出之結果產生灰階差影像。圖案檢查裝置自產生之灰階差影像,檢測存在於晶片之缺陷選項之位置。圖案檢查裝置更自產生灰階差影像之兩個晶片中一方之影像,與接近該晶片之其他晶片影像,同樣地檢測缺陷選項之位置。圖案檢查裝置在自於前一檢查檢測到的缺陷選項起既定距離以內之位置,於下一檢查亦檢測到缺陷選項時,判定在於兩次檢查皆檢測到作為檢查對象之晶片的缺陷選項之位置存在缺 陷。 The pattern inspection device of Patent Document 2 detects wafer defects by comparing adjacent wafer images on a semiconductor wafer. When the pattern inspection device compares the adjacent wafer images, the position of the same portion of the adjacent two wafers on the image is deviated and is detected using the image of the portion. The pattern inspection device derives the gray scale difference of the pixels corresponding to each other when the two wafer images overlap based on the detected deviation. The pattern inspection device produces a grayscale difference image as a result of the derivation. The pattern inspection device detects the position of the defect option present on the wafer from the generated grayscale image. The pattern inspection device detects the position of the defect option in the same manner as the image of one of the two wafers that generate the grayscale difference image. The pattern inspection device is located within a predetermined distance from the defect option detected by the previous inspection. When the next inspection also detects the defect option, it is determined that the position of the defect option of the wafer to be inspected is detected by both inspections. Lack of existence trap.

專利文獻3中記載一表面檢查裝置,使用兩台相機判別鋼板之凹凸瑕疵與髒污。安裝此等兩台相機,俾光軸沿垂直於鋼板表面之方向。又,表面檢查裝置在開始檢查前,以兩台相機拍攝三角形校正片。表面檢查裝置自獲得之兩張影像中校正片之頂點座標,算出表示兩張影像間之座標變換之仿射變換(affine transformation)之座標變換參數。檢查時,表面檢查裝置以兩台相機同時拍攝鋼板。表面檢查裝置藉由使用前述座標變換參數之座標變換,而進行影像變換,俾獲得之兩張影像之座標系為相同。表面檢查裝置對變換後之兩張影像,算出各畫素的畫素值之差分。表面檢查裝置依獲得之差分,檢測凹凸瑕疵。 Patent Document 3 describes a surface inspection device that uses two cameras to discriminate between embossing and staining of a steel sheet. Install these two cameras with the beam axis oriented perpendicular to the surface of the steel plate. Further, the surface inspection device photographs the triangular correction piece with two cameras before starting the inspection. The surface inspection device calculates the coordinate transformation parameters of the affine transformation of the coordinate transformation between the two images from the obtained two images. At the time of inspection, the surface inspection device simultaneously photographs the steel plate with two cameras. The surface inspection device performs image conversion by using the coordinate transformation of the coordinate conversion parameters described above, and the coordinates of the two images obtained are the same. The surface inspection device calculates the difference between the pixel values of the respective pixels for the two converted images. The surface inspection device detects the unevenness according to the difference obtained.

【先前技術文獻】 [Previous Technical Literature]

【專利文獻】 [Patent Literature]

【專利文獻1】日本特開2000-323541號公報 [Patent Document 1] Japanese Patent Laid-Open Publication No. 2000-323541

【專利文獻2】日本特開2004-273850號公報 [Patent Document 2] Japanese Patent Laid-Open Publication No. 2004-273850

【專利文獻3】日本特開2006-177852號公報 [Patent Document 3] Japanese Patent Laid-Open Publication No. 2006-177852

專利文獻1至3之技術中,每當檢查對象物種類,或相對於對象物之相機的配置被變更,即須進行檢查用調整作業。專利文獻1及專利文獻2之技術中,檢查用調整作業係例如取得用來檢測對象物位置偏離,對象物一部分之影像,與無缺陷之對象物影像之登記。專利文獻3之技術中,檢查用調整作業係例如使用三角形校正片之座標變換參數之算出。 In the techniques of Patent Documents 1 to 3, the inspection adjustment operation is required every time the type of the inspection object or the arrangement of the camera with respect to the object is changed. In the techniques of Patent Document 1 and Patent Document 2, for example, the inspection adjustment operation acquires an image for detecting a positional deviation of an object, a part of an image of the object, and an image of the object image without defects. In the technique of Patent Document 3, the adjustment operation for inspection is performed using, for example, a coordinate conversion parameter of a triangular correction piece.

本發明之目的之一在於提供一種檢查裝置,檢測缺陷之檢查對象物之種類、或相對於檢查對象物之相機的配置改變時,可減輕檢查用調整作業之負擔。 An object of the present invention is to provide an inspection apparatus capable of reducing the burden of an adjustment operation for inspection when the type of the inspection object for detecting a defect or the arrangement of the camera with respect to the inspection object is changed.

本發明之檢查裝置包含:登記影像記憶機構,記憶著:複數之形狀為平面之檢查對象中所拍攝的無缺陷之該檢查對象的影像、即登記影像;與自該登記影像抽出之符合既定條件之點、即特徵點;對準機構,進行對準,該對準包含:從與拍攝該登記影像的拍攝方向不同之方向拍攝該檢查對象的影像、即檢查影像,抽出複數該特徵點;算出表示一射影變換之變換參數,該射影變換根據該檢查影像之複數該特徵點及該登記影像之複數該特徵點,對於像包含於該檢查影像及該登記影像雙方之該檢查對象上的複數點,使該檢查影像及該登記影像其中一個影像上該點之像的座標,與該另一個影像上該點之像的座標一致;及以該變換參數對該一個影像進行該射影變換;及差異檢測機構,檢測該對準後該檢查影像與該登記影像之差異。 The inspection apparatus of the present invention includes: a registered image memory mechanism that memorizes: an image of the inspection object that is not defective in the inspection object in a planar shape, that is, a registered image; and a predetermined condition that is extracted from the registered image Pointing, that is, the feature point; the alignment mechanism performs alignment, and the image is captured from a direction different from the direction in which the registered image is captured, that is, the image is inspected, and the plurality of feature points are extracted; a transformation parameter indicating a projective transformation, the projection transformation is based on the plurality of feature points of the inspection image and the plurality of feature points of the registration image, and for a plurality of points on the inspection object included in both the inspection image and the registration image And causing the coordinates of the image of the inspection image and the image of the registration image to coincide with the coordinates of the image of the point on the other image; and performing the projective transformation on the image by using the transformation parameter; and the difference The detecting mechanism detects the difference between the inspection image and the registered image after the alignment.

本發明之檢查方法,將複數之形狀為平面之檢查對象中所拍攝的無缺陷之該檢查對象的影像、即登記影像;與自該登記影像抽出之符合既定條件之點、即特徵點,記憶於登記影像記憶機構;進行對準,該對準包含:從與拍攝該登記影像的拍攝方向不同之方向拍攝該檢查對象的影像、即檢查影像,抽出複數該特徵點;算出表示一射影變換之變換參數,該射影變換根據該檢查影像之複數該特徵點及該登記影像之複數該特徵點,對於像包含於該檢查影像及該登記影像雙方之該檢查對象上的複數點,使該檢查影像及該登記影像其中一個影像上該點之像的座標,與該另一個影像上該點之像的座標一致;及以該變換參數對該一個影像進行該射影變換;及檢測該對準後該檢查影像與該登記影像之差異。 In the inspection method of the present invention, the image of the inspection target image which is captured in the inspection object of the plurality of planes, that is, the registration image; and the feature point extracted from the registration image that meets the predetermined condition, that is, the feature point, is memorized. Aligning the image memory mechanism; performing alignment: capturing an image of the inspection object from a direction different from a shooting direction in which the registered image is captured, that is, checking the image, extracting the plurality of feature points; and calculating a projection transformation Converting a parameter, the projective transformation is based on the plurality of feature points of the inspection image and the plurality of feature points of the registered image, and the inspection image is made for a plurality of points on the inspection object included in both the inspection image and the registration image And a coordinate of the image of the point on one of the registered images is consistent with a coordinate of the image of the point on the other image; and performing the projective transformation on the image by using the transformation parameter; and detecting the alignment Check the difference between the image and the registered image.

本發明之檢查程式使電腦實現以下機構: 登記影像記憶機構,記憶著:複數之形狀為平面之檢查對象中所拍攝的無缺陷之該檢查對象的影像、即登記影像;與自該登記影像抽出之符合既定條件之點、即特徵點;對準機構,進行對準,該對準包含:從與拍攝該登記影像的拍攝方向不同之方向拍攝該檢查對象的影像、即檢查影像,抽出複數該特徵點;算出表示一射影變換之變換參數,該射影變換根據該檢查影像之複數該特徵點及該登記影像之複數該特徵點,對於像包含於該檢查影像及該登記影像雙方之該檢查對象上的複數點,使該檢查影像及該登記影像其中一個影像上該點之像的座標,與該另一個影像上該點之像的座標一致;及以該變換參數對該一個影像進行該射影變換;及差異檢測機構,檢測該對準後該檢查影像與該登記影像之差異。 The inspection program of the present invention enables the computer to implement the following mechanisms: Registering the image memory mechanism, remembering that the image of the inspection object that is not defective in the shape of the plurality of inspection objects, that is, the registration image; and the feature point extracted from the registration image that meets the predetermined condition, that is, the feature point; Aligning the alignment, the aligning includes: capturing an image of the inspection object from a direction different from a shooting direction in which the registered image is captured, that is, checking the image, extracting the plurality of feature points; and calculating a transformation parameter indicating a projective transformation And the projective transformation is based on the plurality of feature points of the inspection image and the plurality of feature points of the registered image, and the inspection image and the plurality of points included in the inspection object included in the inspection image and the registration image Registering the coordinates of the image of the image on one of the images, conforming to the coordinates of the image of the point on the other image; and performing the projective transformation on the image with the transformation parameter; and detecting the alignment by the difference detecting mechanism Then check the difference between the image and the registered image.

又,本發明亦可藉由儲存有上述檢查程式之電腦可讀取的有形記錄媒體來實現。 Furthermore, the present invention can also be realized by a computer-readable tangible recording medium storing the above-described inspection program.

本發明具有下列效果:當檢查對象物之種類、或取得檢查用影像之相機與檢查對象物之間的配置經常被改變時,可減輕檢查用調整之負擔,縮短包含檢查用調整的時間之檢查時間。 According to the present invention, when the type of the inspection object or the arrangement between the camera for acquiring the inspection image and the inspection object is often changed, the burden of the inspection adjustment can be reduced, and the inspection including the inspection adjustment time can be shortened. time.

1‧‧‧檢查裝置 1‧‧‧Checking device

2‧‧‧攝影裝置 2‧‧‧Photographing device

3‧‧‧輸出裝置 3‧‧‧Output device

4‧‧‧檢查對象 4‧‧‧Check objects

10‧‧‧輸入部 10‧‧‧ Input Department

11‧‧‧登記影像記憶部 11‧‧‧Registered Image Memory Department

12‧‧‧對準部 12‧‧‧Alignment Department

13‧‧‧差異檢測部 13‧‧‧Differential Detection Department

14‧‧‧輸出部 14‧‧‧Output Department

40‧‧‧檢查台 40‧‧‧Checkpoint

100‧‧‧檢查系統 100‧‧‧Check system

1000‧‧‧電腦 1000‧‧‧ computer

1001‧‧‧處理器 1001‧‧‧ processor

1002‧‧‧記憶體 1002‧‧‧ memory

1003‧‧‧記憶裝置 1003‧‧‧ memory device

1004‧‧‧I/O介面 1004‧‧‧I/O interface

1005‧‧‧記錄媒體 1005‧‧‧Recording media

圖1係顯示第1、第2、第3實施形態之檢查系統100之構成方塊圖。 Fig. 1 is a block diagram showing the configuration of an inspection system 100 according to the first, second, and third embodiments.

圖2係顯示各實施形態之檢查裝置1之將登記影像儲存於登記影像記憶部11時之動作流程圖。 Fig. 2 is a flow chart showing the operation of the inspection apparatus 1 of each embodiment when the registered image is stored in the registered image storage unit 11.

圖3係顯示第1實施形態之檢查裝置1之由檢查影像檢測檢查對象4之缺陷之動作流程圖。 Fig. 3 is a flow chart showing the operation of detecting the defect of the inspection target 4 by the inspection image device 1 of the first embodiment.

圖4係顯示檢查影像之例圖。 Fig. 4 is a view showing an example of an inspection image.

圖5係顯示登記影像之例圖。 Fig. 5 is a diagram showing an example of registered images.

圖6係顯示對準時之檢查裝置1之動作流程圖。 Fig. 6 is a flow chart showing the operation of the inspection apparatus 1 at the time of alignment.

圖7係顯示由檢查影像與登記影像抽出之特徵點之例圖。 Fig. 7 is a view showing an example of feature points extracted from the inspection image and the registration image.

圖8係顯示變形前後之檢查影像之例圖。 Fig. 8 is a view showing an example of an inspection image before and after the deformation.

圖9係顯示登記影像與變形後的檢查影像作為缺陷被檢測出之差異的例圖。 FIG. 9 is a view showing an example in which a registered image and a deformed inspection image are detected as defects.

圖10係顯示第2實施形態之檢查裝置1之由檢查影像檢測檢查對象4的缺陷之動作流程圖。 FIG. 10 is a flowchart showing an operation of detecting the defect of the inspection target 4 by the inspection image of the inspection apparatus 1 of the second embodiment.

圖11係顯示第4實施形態之檢查裝置1的校正之方塊圖。 Fig. 11 is a block diagram showing the correction of the inspection apparatus 1 of the fourth embodiment.

圖12係顯示第1實施形態之構成例的攝影裝置2與檢查對象4之配置圖。 Fig. 12 is a layout view showing the imaging device 2 and the inspection object 4 in the configuration example of the first embodiment.

圖13係顯示以遮罩檢測缺陷之檢測結果的例圖。 Fig. 13 is a view showing an example of the detection result of detecting a defect by a mask.

圖14係顯示以遮罩檢測缺陷之檢測結果的例圖。 Fig. 14 is a view showing an example of a detection result of detecting a defect by a mask.

圖15係顯示為實現檢查裝置1而使用之電腦1000之構成的一例圖。 FIG. 15 is a view showing an example of the configuration of the computer 1000 used to implement the inspection apparatus 1.

其次,參照圖式詳細說明關於本發明實施形態。 Next, an embodiment of the present invention will be described in detail with reference to the drawings.

圖1係顯示本發明第1實施形態之檢查系統100構成之方塊圖。 Fig. 1 is a block diagram showing the configuration of an inspection system 100 according to a first embodiment of the present invention.

參照圖1即知,本實施形態之檢查系統100包含檢查裝置1、攝影裝置2與輸出裝置3。檢查系統100檢測檢查對象4之缺陷。 Referring to Fig. 1, the inspection system 100 of the present embodiment includes an inspection device 1, an imaging device 2, and an output device 3. The inspection system 100 detects defects of the inspection object 4.

檢查裝置1包含輸入部10、登記影像記憶部11、對準部12、差異檢測部13與輸出部14。 The inspection device 1 includes an input unit 10, a registered image storage unit 11, an alignment unit 12, a difference detection unit 13, and an output unit 14.

攝影裝置2係例如拍攝檢查對象4之影像的相機。 The photographing device 2 is, for example, a camera that captures an image of the inspection target 4.

輸出裝置3係顯示器等顯示裝置,亦可為列印裝置等其他裝置,只要是電腦系統中一般的輸出裝置即可。 The output device 3 is a display device such as a display, and may be another device such as a printing device, as long as it is a general output device in a computer system.

輸入部10自攝影裝置2取得檢查對象4之被拍攝的影像。以下,將檢測缺陷之檢查的對象、即檢查對象4,之拍攝的影像稱為檢查影像。輸入部10亦可將由攝影裝置2預先拍攝,儲存於後述登記影像記憶部11或未圖示之其他記憶部的檢查對象4之被拍攝影像,作為檢查影像取得之。 The input unit 10 acquires the captured image of the inspection target 4 from the imaging device 2. Hereinafter, the image captured by the object to be inspected, that is, the inspection object 4, is referred to as an inspection image. The input unit 10 can also capture a captured image of the inspection target 4, which is recorded in advance by the photographing device 2, and stored in a registered image storage unit 11 or another memory unit (not shown), as an inspection image.

登記影像記憶部11,記憶無缺陷之檢查對象4的影像。以下,將為了檢測缺陷而與檢查影像比較之影像稱為登記影像。將儲存於登記影像記憶部11之無缺陷的檢查對象4之影像作為登記影像使用之。 The image memory unit 11 is registered, and the image of the inspection object 4 without defects is stored. Hereinafter, an image that is compared with an inspection image for detecting a defect is referred to as a registered image. The image of the non-defective inspection object 4 stored in the registered image storage unit 11 is used as a registered image.

對準部12算出:表示使登記影像與取得之檢查影像其中一方,和另一方最一致的變換之變換參數。對準部12使用算出之變換參數進行影像變換。 The aligning unit 12 calculates a conversion parameter indicating a transformation in which one of the registered image and the acquired inspection image is most consistent with the other. The aligning unit 12 performs image conversion using the calculated transformation parameters.

差異檢測部13,檢測影像變換後之登記影像與檢查影像的差異。 The difference detecting unit 13 detects a difference between the registered image after the image conversion and the detected image.

輸出部14,將檢測出之差異輸出予輸出裝置3。 The output unit 14 outputs the detected difference to the output device 3.

其次,參照圖式詳細說明:將登記影像儲存於登記影像記憶部11時檢查裝置1之動作。 Next, the operation of the inspection apparatus 1 when the registered image is stored in the registered image storage unit 11 will be described in detail with reference to the drawings.

圖2係顯示本實施形態之檢查裝置1將登記影像儲存於登記影像記憶部11時之動作流程圖。以下,將登記影像儲存於登記影像記憶部11亦稱為登記「登記影像」。且後述其他實施形態之檢查裝置1將登記影像儲存於登記影像記憶部11時之動作係同於圖2所示者。 Fig. 2 is a flow chart showing the operation of the inspection apparatus 1 of the present embodiment when the registered image is stored in the registered image storage unit 11. Hereinafter, storing the registered image in the registered image storage unit 11 is also referred to as registering "registered video". The operation of the inspection apparatus 1 of the other embodiment to be described later when storing the registered image in the registered image storage unit 11 is the same as that shown in FIG. 2.

參照圖2即知,首先,輸入部10自攝影裝置2取得登記影像(步驟S101)。 Referring to Fig. 2, first, the input unit 10 acquires a registered image from the imaging device 2 (step S101).

攝影裝置2拍攝預先經確認無缺陷之檢查對象4的影像即可。確認於檢查對象4無缺陷之方法可為已知的任意方法。例如,檢查人員藉由目視, 確認於檢查對象4無缺陷即可。或是亦可為下列方法:首先,攝影裝置2拍攝不同之三個以上的檢查對象4。輸入部10取得攝影裝置2拍攝之影像。對準部12及差異檢測部13對於拍攝之影像中兩張影像的所有組合,以組合中任一方為登記影像,以另一方為檢查影像,進行後述之動作,藉此檢測差異。對無缺陷之檢查對象4的影像組合,差異檢測部13不檢測差異。另一方面,對有缺陷之檢查對象4的影像,與無缺陷之檢查對象4的影像之組合,差異檢測部13檢測差異。有缺陷之檢查對象4的影像之組合時,缺陷若相同,差異檢測部13不檢測差異;缺陷若不相同,差異檢測部13即檢測差異。無缺陷之檢查對象4的數量較有缺陷之檢查對象4的數量多的話,對無缺陷之檢查對象4的影像檢測差異之次數即應較對有缺陷之檢查對象4的影像檢測差異之次數少。輸入部10自差異檢測部13取得差異之檢測結果,以檢測出差異的次數最少之影像為登記影像即可。 The photographing device 2 may photograph an image of the inspection object 4 that has been confirmed to have no defect in advance. The method of confirming that the inspection object 4 is free of defects may be any known method. For example, the inspector, by visual inspection, It is confirmed that the inspection object 4 has no defects. Alternatively, the following method may be employed: First, the photographing device 2 photographs three or more different inspection objects 4. The input unit 10 acquires an image captured by the imaging device 2. The alignment unit 12 and the difference detecting unit 13 detect the difference by using one of the combinations of the two images in the captured image as the registered image and the other as the inspection image, and performing the operation described later. The difference detecting unit 13 does not detect the difference in the image combination of the non-defective inspection object 4. On the other hand, the difference detecting unit 13 detects the difference between the image of the defective inspection object 4 and the image of the inspection object 4 without the defect. When the images of the defective inspection object 4 are combined, if the defects are the same, the difference detecting unit 13 does not detect the difference; if the defects are different, the difference detecting unit 13 detects the difference. If the number of non-defective inspection objects 4 is larger than the number of defective inspection objects 4, the number of image detection differences for the non-defective inspection object 4 should be less than the number of image detection differences for the defective inspection object 4. . The input unit 10 acquires the detection result of the difference from the difference detecting unit 13, and detects that the image having the least number of differences is the registered image.

其次,輸入部10將登記影像儲存於登記影像記憶部11(步驟S102)。 Next, the input unit 10 stores the registered image in the registered image storage unit 11 (step S102).

其次,參照圖式詳細說明:由檢查影像檢測檢查對象4之缺陷時,檢查裝置1之動作。 Next, the operation of the inspection apparatus 1 will be described in detail when the defect of the inspection object 4 is detected by the inspection image with reference to the drawings.

圖3係顯示本實施形態之檢查裝置1由檢查影像檢測檢查對象4之缺陷時之動作流程圖。 Fig. 3 is a flow chart showing the operation of the inspection apparatus 1 of the present embodiment when detecting defects of the inspection object 4 by inspection images.

參照圖3即知,首先,輸入部10取得檢查影像(步驟S103)。如前述,檢查影像係檢測有無缺陷之檢查的對象、即檢查對象4所拍攝的影像。 Referring to Fig. 3, first, the input unit 10 acquires an inspection image (step S103). As described above, the inspection image is an object to be inspected for the presence or absence of a defect, that is, an image taken by the inspection object 4.

其次,對準部12自登記影像記憶部11讀取登記影像(步驟S104)。如前述,將無缺陷之檢查對象4所拍攝的影像,作為登記影像使用之。於登記影像記憶部11登記有複數種類的檢查對象4之登記影像時,例如檢查人員對檢查影像指定登記影像即可。或是,對準部12亦可藉由已知之任意影像辨識方法,判定映現於檢查影像之檢查對象4之種類。又,對準部12亦可自登記影像記憶部11讀取經判定之種類的檢查對象4之登記影像。 Next, the aligning unit 12 reads the registered image from the registered image storage unit 11 (step S104). As described above, the image taken by the non-defective inspection object 4 is used as the registered image. When the registration image storage unit 11 registers a registered image of a plurality of types of inspection objects 4, for example, the examiner may specify a registration image for the inspection image. Alternatively, the alignment unit 12 may determine the type of the inspection object 4 that is reflected on the inspection image by any known image recognition method. Further, the alignment unit 12 can read the registered image of the inspection object 4 of the determined type from the registered image storage unit 11.

對準部12對準取得之檢查影像,與讀取之登記影像(步驟S105)。此對準係使檢查影像上之檢查對象4之尺寸或形狀符合登記影像上之檢查對象4之尺寸或形狀而進行之修正。對準部12,例如進行根據登記影像而變換檢查影像之修正,藉以進行對準。對準時,對準部12將表示消除登記影像與檢查影像在影像上檢查對象4之尺寸或位置或方向之不同,或因拍攝方向不同造成的檢查對象4形變之不同的變換之變換參數加以算出。此等不同係因登記影像拍攝時與檢查影像拍攝時攝影裝置2種類之不同,或拍攝對象4與攝影裝置2位置關係之不同產生。又,對準部12藉由使用算出之變換參數之變換,修正檢查影像。對準亦可根據檢查影像而變換登記影像。關於對準,於後詳細說明。 The alignment unit 12 aligns the acquired inspection image with the read registration image (step S105). This alignment corrects the size or shape of the inspection object 4 on the inspection image in accordance with the size or shape of the inspection object 4 on the registered image. The alignment unit 12 performs, for example, a correction for changing the inspection image based on the registered image, thereby performing alignment. In the alignment, the alignment unit 12 calculates the difference between the size and position or direction of the image to be inspected by the image to be erased, or the transformation parameter of the transformation of the inspection object 4 due to the difference in the imaging direction. . These differences are caused by the difference in the type of the photographing device 2 when the registered image is taken, and the positional relationship between the photographing object 4 and the photographing device 2. Further, the alignment unit 12 corrects the inspection image by using the conversion of the calculated transformation parameters. The alignment can also change the registered image according to the inspection image. The alignment will be described in detail later.

接著,差異檢測部13藉由比較對準後之檢查影像與登記影像檢測差異(步驟S106)。關於差異之檢測,於後詳細說明。 Next, the difference detecting unit 13 detects a difference between the aligned inspection image and the registered image (step S106). The detection of the difference will be described in detail later.

最後,輸出部14將該差異對輸出裝置3輸出(步驟S107)。 Finally, the output unit 14 outputs the difference to the output device 3 (step S107).

其次,參照圖式詳細說明關於步驟S105對準時檢查裝置1之動作。 Next, the operation of the inspection apparatus 1 at the time of the alignment in step S105 will be described in detail with reference to the drawings.

圖4係登記影像之一例。 Fig. 4 is an example of a registered image.

圖5係檢查影像之一例。圖4之登記影像係用於圖5之檢查影像的登記影像。 Fig. 5 is an example of an inspection image. The registered image of Fig. 4 is used for the registered image of the inspection image of Fig. 5.

圖4及圖5之文字係檢查對象4表面上之文字。本實施形態中,存在此等文字,檢查對象4之表面係平面。圖4之文字與圖5之文字分別存在於同一平面上。本實施形態之檢查裝置1檢測之缺陷係檢查對象4之表面上文字的差異。比較圖4與圖5即知,對應圖5右下文字列「abc812」中之「8」的部分與圖4不同。對應圖5之「8」的部分於圖4係為「0」。本實施形態中,圖5之文字列「abc812」之「8」的部分係為缺陷。 The characters in Fig. 4 and Fig. 5 are the characters on the surface of the inspection object 4. In the present embodiment, these characters are present, and the surface of the inspection object 4 is flat. The text of Fig. 4 and the text of Fig. 5 exist on the same plane, respectively. The defect detected by the inspection apparatus 1 of the present embodiment is a difference in characters on the surface of the inspection object 4. Comparing Fig. 4 with Fig. 5, the portion corresponding to "8" in the lower right character string "abc812" of Fig. 5 is different from Fig. 4. The portion corresponding to "8" in Fig. 5 is "0" in Fig. 4. In the present embodiment, the portion of "8" of the character string "abc812" in Fig. 5 is a defect.

拍攝相同平面之兩張影像中,拍攝對象平面上相同點之像、即兩點的座標間之關係,以自一個影像上的點之座標,朝另一個影像上的點之座標的射影變換表示。表示射影變換之數學式,在一個影像上的座標為x1,另一個影像上的座標為x2時,x2=Hx1。x1與x2係第3元素非為零之3維向量。作為此等向量之以第3元素除以第1元素與第2元素的兩個值,以兩個元素表示之2維向量表示平面上的座標。矩陣H係表示射影變換的3×3矩陣。矩陣H之常數倍的矩陣亦表示相同的射影變換。亦即,矩陣H之自由度為8。此表示射影變換之矩陣H亦稱為單應性矩陣(homography matrix)。 In the two images of the same plane, the relationship between the same point on the plane of the object, that is, the relationship between the coordinates of the two points, is represented by the coordinates of the points on one image and the coordinates of the coordinates of the points on the other image. . The mathematical expression representing the projective transformation, where the coordinates on one image are x1 and the coordinates on the other image are x2, x2 = Hx1. The x1 and x2 are the non-zero 3-dimensional vectors of the third element. The two elements of the vectors are divided by the two values of the first element and the second element, and the two-dimensional vector represented by the two elements represents the coordinates on the plane. The matrix H represents a 3 × 3 matrix of projective transformation. The matrix of the constant multiple of the matrix H also represents the same projective transformation. That is, the degree of freedom of the matrix H is 8. This matrix H representing the projective transformation is also referred to as the homography matrix.

相同平面所拍攝的兩張影像間之單應性矩陣若為已知,即可算出映現於一個影像的所有點位於另一個影像之哪一位置。藉此,可自一個影像與單應性矩陣,獲得:以拍攝一個影像之攝影裝置來拍攝另一個影像中的拍攝對象而攝得的影像,所相當的影像。該計算之際,不須導出拍攝兩張影像之攝影裝置2相對於拍攝對象4之位置。且拍攝兩張影像之攝影裝置2亦可非相同攝影裝置。 If the homography matrix between two images taken on the same plane is known, it can be calculated at which position of the other image is reflected at all points of one image. Thereby, it is possible to obtain, from an image and a homography matrix, an image obtained by taking a photographing device of one image to capture an image of a subject in another image. In this calculation, it is not necessary to derive the position of the photographing device 2 for taking two images with respect to the subject 4. The photographing device 2 that takes two images can also be different from the same photographing device.

拍攝無缺陷之檢查對象4而獲得之檢查影像上之檢查對象4的像,係藉由將檢查影像變換為登記影像之單應性矩陣而變換檢查影像,應與登記影像上之檢查對象4的像一致。同樣地,登記影像上之檢查對象4的像,係藉由將登記影像變換為檢查影像之單應性矩陣而變換登記影像,應與檢查影像上之檢查對象4的像一致。以表示變換之矩陣對影像進行變換,意味對變換對象之影像的各畫素之變換。關於其具體處理之說明於後詳述。 The image of the inspection object 4 on the inspection image obtained by photographing the inspection object 4 without defects is converted into the inspection image by converting the inspection image into the homography matrix of the registration image, and the inspection object 4 on the registered image Like the same. Similarly, the image of the inspection object 4 on the registered image is converted into the registration image by converting the registered image into the homography matrix of the inspection image, and should coincide with the image of the inspection object 4 on the inspection image. Transforming the image with a matrix representing the transformation means transforming the pixels of the image of the transformed object. A description of the specific processing thereof will be described later.

例如於非專利文獻1所記載,已知若於兩張影像間獲得4組對應點的座標,即可將表示自一個影像往另一個影像之變換,使用單應性矩陣(H)之影像變換式加以導出。亦即,於檢查影像與登記影像若有4組對應點的座標,即可進行修正前述尺寸、旋轉、射影形變之檢查影像與登記影像之間之對準。 For example, as described in Non-Patent Document 1, it is known that if coordinates of four sets of corresponding points are obtained between two images, the conversion from one image to another can be performed, and the image conversion using the homography matrix (H) can be performed. Export it. That is, if there are four sets of coordinates of the corresponding points in the inspection image and the registered image, the alignment between the inspection image of the size, rotation, and projective deformation and the registered image can be corrected.

(非專利文獻1)金澤靖、金谷健一:兩影像間之特徵點對應之自動探索,影像laboratory, pp.20-23 (2004) (Non-Patent Document 1) Jin Zejing, Jin Gu Jianyi: Automatic Exploration of Feature Points Between Two Images, Image Laboratory, pp. 20-23 (2004)

圖6係顯示對準時檢查裝置1動作之流程圖。 Fig. 6 is a flow chart showing the operation of the inspection apparatus 1 at the time of alignment.

參照圖6即知,首先,對準部12由檢查影像與登記影像雙方抽出特徵點(步驟S301)。對準部12亦可預先自登記影像抽出特徵點,將抽出之特徵點的座標儲存於,例如登記影像記憶部11。此時,對準部12將對應檢查影像之登記影像之各特徵點的座標自登記影像記憶部11讀取即可。 Referring to Fig. 6, first, the alignment unit 12 extracts feature points from both the inspection image and the registered image (step S301). The alignment unit 12 may also extract feature points from the registered image in advance, and store the coordinates of the extracted feature points in, for example, the registered image storage unit 11. At this time, the alignment unit 12 may read the coordinates of the feature points corresponding to the registered image of the inspection image from the registered image storage unit 11.

對準部12藉由指定符合既定條件之畫素的座標,而抽出特徵點即可。對準部12,例如算出影像縱方向、橫方向雙方之畫素值的梯度即可。又,對準部12將縱方向梯度與橫方向梯度雙方為極值之點抽出作為特徵點即可。特徵點之抽出方法亦可為其他方法。並且,對準部12可以例如記載於非專利文獻2之方法抽出特徵點。 The alignment unit 12 extracts the feature points by specifying the coordinates of the pixels that meet the predetermined conditions. For example, the alignment unit 12 may calculate a gradient of pixel values in both the longitudinal direction and the lateral direction of the image. Further, the alignment unit 12 may extract a point at which both the vertical gradient and the horizontal gradient are extreme values as the feature points. The extraction method of the feature points can also be other methods. Further, the alignment unit 12 can extract the feature points by, for example, the method described in Non-Patent Document 2.

(非專利文獻2)David G. Lowe; Object recognition from local scale-invariant features, Proc. of Intl. Conf. on Computer Vision. 2. pp.1150-1157 (1999). (Non-Patent Document 2) David G. Lowe; Object recognition from local scale-invariant features, Proc. of Intl. Conf. on Computer Vision. 2. pp. 1150-1157 (1999).

檢查影像或登記影像若係如圖4及圖5之例的文字影像,對準部12亦可以適當的閾值使影像二值化,並求取連結區域,以各連結區域的重心點為特徵點之方法抽出特徵點。此時,對準部12首先根據檢查影像或登記影像、即原影像之各畫素的畫素值與既定閾值之比較結果,產生各畫素的畫素值為兩個值其中之一的二值影像。例如,對準部12於原影像之某畫素的畫素值在閾值以上時,以位於對應該畫素位置之位置的二值影像畫素之畫素值為第一值。且對準部12於原影像之某畫素的畫素值未達閾值時,以位於對應該畫素位置之位置的二值影像畫素之畫素值為第二值。第一值與第二值例如為0與1。第一值與第二值若分別為不同值,則可為任何值。又,對準部12自二值影像抽出同一畫素值連續之區域、即連結區域。檢查影像 或登記影像為文字影像,已知文字所包含之畫素的畫素值是否對應第一值與第二值其中之一時,對準部12僅對於二值中對應文字畫素的畫素值之值,抽出連結區域即可。又,對準部12將各連結區域之重心抽出作為特徵點即可。 If the image or the registered image is a character image as shown in FIGS. 4 and 5, the alignment unit 12 may binarize the image with an appropriate threshold value, and obtain a joint region, with the center of gravity of each link region as a feature point. The method extracts feature points. At this time, the aligning unit 12 first generates a pixel value of each pixel as one of two values based on a comparison result between the pixel value of each pixel of the inspection image or the registration image, that is, the original image, and a predetermined threshold value. Value image. For example, when the pixel value of a certain pixel of the original image is above a threshold value, the pixel value of the binary image pixel located at a position corresponding to the pixel position is the first value. When the pixel value of the pixel of the original image is less than the threshold value, the pixel value of the binary image pixel located at the position corresponding to the pixel position is the second value. The first value and the second value are, for example, 0 and 1. The first value and the second value may be any values if they are different values, respectively. Further, the aligning unit 12 extracts a region in which the same pixel value is continuous, that is, a connected region, from the binary image. Check image Or the registered image is a text image, and if the pixel value of the pixel included in the known text corresponds to one of the first value and the second value, the aligning portion 12 only refers to the pixel value of the corresponding text pixel in the binary value. Value, just pull out the link area. Further, the alignment unit 12 may extract the center of gravity of each of the connection regions as a feature point.

圖7係顯示由檢查影像與登記影像抽出之特徵點之例圖。 Fig. 7 is a view showing an example of feature points extracted from the inspection image and the registration image.

其次,對準部12使用自雙方影像抽出之特徵點,將表示使檢查影像上的檢查對象4符合登記影像上的檢查對象4之變換的變換參數算出(步驟S302)。 Next, the aligning unit 12 calculates a conversion parameter indicating that the inspection target 4 on the inspection image conforms to the inspection target 4 on the registered image is extracted using the feature points extracted from the two images (step S302).

如前述,此變換以單應性矩陣表示時,變換參數係單應性矩陣各元素之值。此時,對準部12算出單應性矩陣、即變換矩陣H。如前述,為了計算變換矩陣H,需4組以上的對應點組。對應點組係:可視為拍攝對象上之相同點的像之檢查影像上的點與登記影像上的點之組。 As described above, when this transformation is represented by a homography matrix, the transformation parameters are the values of the elements of the homography matrix. At this time, the alignment unit 12 calculates a homography matrix, that is, a transformation matrix H. As described above, in order to calculate the transformation matrix H, four or more corresponding point groups are required. Corresponding point group: A group of points on the inspection image and points on the registered image that can be regarded as images of the same point on the subject.

計算變換矩陣H之際,對準部12首先檢測4組以上的對應點組。對準部12藉由以單純的樣板匹配進行之方法,或記載於非專利文獻1之方法等已知的任意方法檢測對應點組即可。 When the transformation matrix H is calculated, the alignment unit 12 first detects four or more corresponding point groups. The alignment unit 12 may detect the corresponding point group by a method of simple template matching or a known method described in Non-Patent Document 1 or the like.

對準部12依檢測出之4組以上的對應點組之座標,計算變換矩陣H。對準部12,藉由例如以最小平方法(least square method)算出變換矩陣H各元素之方法等已知的任意方法,計算變換矩陣H即可。 The alignment unit 12 calculates the transformation matrix H based on the coordinates of the corresponding group of four or more detected points. The alignment unit 12 may calculate the transformation matrix H by any known method such as a method of calculating each element of the transformation matrix H by a least square method.

對準部12亦可藉由「減輕對應點組的座標中偏離值之影響的穩健估計」,算出變換矩陣H。其係作為對應點組檢測,但實際上並非對應點組之「檢查影像上的點與登記影像上的點之組」的座標。對應點組的座標之偏離值,係由於例如特徵點之誤抽出或對應點組之誤檢測等而產生。作為穩健估計之方法,例如有以LMedS(Least Median of Squares,最小平方中值法)估計,或M估計量(M-estimator)進行之估計方法。對準部12 藉由例如此等方法或其他種類之穩健估計而算出變換矩陣H。 The aligning unit 12 can also calculate the transformation matrix H by "stable estimation of the influence of the deviation value in the coordinates of the corresponding point group". It is detected as a corresponding point group, but it is not actually a coordinate of the "group of points on the inspection image and the points on the registered image" of the corresponding point group. The deviation value of the coordinates of the corresponding point group is caused by, for example, erroneous extraction of feature points or erroneous detection of corresponding point groups. As a method of robust estimation, for example, there is an estimation method based on LMedS (Least Median of Squares) estimation or M-estimator. Alignment portion 12 The transformation matrix H is calculated by, for example, such methods or other types of robust estimates.

對準部12,以例如記載於非專利文獻3之方法計算變換矩陣H即可。記載於非專利文獻3之方法係:一邊將由檢查影像與登記影像雙方抽出之特徵點進行對應,一邊計算變換矩陣H。 The alignment unit 12 may be calculated by the method described in Non-Patent Document 3, for example. The method described in Non-Patent Document 3 calculates a transformation matrix H while correlating feature points extracted from both the inspection image and the registered image.

(非專利文獻3)Martin A. Fischler and Robert C. Bolles; Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography, Comm. of the ACM 24(6), pp.381-395 (1981). (Non-Patent Document 3) Martin A. Fischler and Robert C. Bolles; Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography, Comm. of the ACM 24(6), pp.381-395 ( 1981).

對準部12亦可例如使用記載於非專利文獻4之方法計算變換矩陣H。此方法係在抽出特徵點後,計算對應點組,再由算出之對應點組的座標計算變換矩陣H之方法。 The alignment unit 12 can also calculate the transformation matrix H by using the method described in Non-Patent Document 4, for example. This method is a method of calculating a transformation matrix H from the coordinates of the corresponding point group after calculating the corresponding point group after extracting the feature points.

(非專利文獻4)秋山、西脇:使用投影不變量與單應性矩陣之文字列影像檢索方式之提議,第9次資訊科技論壇(FIT2010), H-011 (2011.9). (Non-Patent Document 4) Akiyama and Nishiwaki: Proposal for the use of projection invariants and homography matrices for image search methods, the 9th Information Technology Forum (FIT2010), H-011 (2011.9).

其次,對準部12使用變換矩陣H進行檢查影像之變換(步驟S304)。 Next, the aligning unit 12 performs conversion of the inspection image using the transformation matrix H (step S304).

變換檢查影像之際,對準部12,例如首先對檢查影像的各畫素進行使用變換矩陣H之座標的變換。其次,對準部12,根據檢查影像之各畫素的畫素值與變換後之座標,以補足方式算出登記影像之各畫素的座標中、變換後之檢查影像的畫素值。或是其次對準部12亦可以補足方式算出檢查影像之各畫素變換後的座標中、登記影像之畫素值。 When the inspection image is converted, the aligning unit 12 first converts the coordinates of the transformation matrix H to the respective pixels of the inspection image. Next, the aligning unit 12 calculates the pixel values of the converted inspection images in the coordinates of the pixels of the registered image based on the pixel values of the pixels of the inspection image and the transformed coordinates. Alternatively, the second alignment unit 12 may calculate the pixel value of the registered image in the coordinates of each of the pixel elements of the inspection image.

圖8係顯示以變換矩陣H進行變換之變換前後的檢查影像圖。本實施形態中,變換亦稱為變形。藉由本變換,前述相對於登記影像之檢查影像的檢查對象4尺寸的不同、檢查對象4方向的不同、射影形變等,均會消除。 Fig. 8 is a view showing an inspection image before and after the transformation by the transformation matrix H. In the present embodiment, the transformation is also referred to as deformation. According to the present transformation, the difference in the size of the inspection object 4 with respect to the inspection image of the registered image, the difference in the direction of the inspection object 4, and the projective distortion are all eliminated.

以上說明:對準部12變換檢查影像,俾檢查影像所包含之檢查對象4的像符合登記影像所包含之檢查對象4的像之情形。相反地,對準部12亦可變換登記影像,俾登記影像所包含之檢查對象4的像符合檢查影像所包含之檢查對象4的像。 As described above, the alignment unit 12 converts the inspection image and checks that the image of the inspection object 4 included in the image conforms to the image of the inspection object 4 included in the registered image. Conversely, the alignment unit 12 can also change the registered image, and the image of the inspection object 4 included in the registration image conforms to the image of the inspection object 4 included in the inspection image.

其次,詳細說明關於步驟S106:以差異檢測部13檢測差異。 Next, the difference is detected in detail with respect to step S106: the difference detecting unit 13 detects the difference.

於步驟S106,差異檢測部13將以算出之變換參數表示的「變換後登記影像與檢查影像之差異」加以計算。上述例中,差異檢測部13計算:登記影像與使用算出之變形矩陣H而變形的檢查影像兩者的差異。具體而言,差異檢測部13計算「登記影像與使用算出之變形矩陣H而變形的檢查影像於相同座標中畫素值的差」即可。差異檢測部13亦可計算由雙方影像的畫素值所算出之特徵量的差,作為雙方影像的差異。 In step S106, the difference detecting unit 13 calculates the "difference between the registered image after the conversion and the inspection image" indicated by the calculated conversion parameter. In the above example, the difference detecting unit 13 calculates a difference between the registered image and the inspection image that is deformed using the calculated deformation matrix H. Specifically, the difference detecting unit 13 may calculate “the difference between the registered image and the pixel value of the inspection image deformed by using the calculated deformation matrix H in the same coordinate”. The difference detecting unit 13 can also calculate the difference between the feature amounts calculated from the pixel values of the two images as the difference between the two images.

差異檢測部13,將檢測出之差異輸出予輸出部14,作為表示檢測出之缺陷的資訊。差異檢測部13,例如將指定檢查影像或是登記影像所包含、經算出差異之各座標的資訊,與表示該各座標中之差異的值輸出即可。座標可為變換前檢查座標中的座標,亦可為登記影像中的座標。差異檢測部13,亦可指定算出之差異超過既定閾值S的座標,輸出指定之座標。差異檢測部13,除該指定之座標外,亦可輸出該座標中之差異。此等情形下,閾值S由例如系統之設計者或檢查人員預先設定即可。 The difference detecting unit 13 outputs the detected difference to the output unit 14 as information indicating the detected defect. The difference detecting unit 13 may output, for example, the information of each coordinate included in the designated image or the registered image and the difference calculated, and a value indicating the difference between the coordinates. The coordinates can be coordinates in the check mark before the change, or can be the coordinates in the registered image. The difference detecting unit 13 may specify a coordinate in which the calculated difference exceeds the predetermined threshold S, and output the designated coordinate. The difference detecting unit 13 may output a difference in the coordinates in addition to the designated coordinates. In such a case, the threshold S may be preset by, for example, the designer of the system or an inspector.

於步驟S107,輸出部14將表示自差異檢測部13接收之差異的資訊輸出予輸出裝置3。 In step S107, the output unit 14 outputs information indicating the difference received from the difference detecting unit 13 to the output device 3.

輸出部14,例如產生:各畫素的畫素值表示該畫素座標中的差異之差分影像。又,輸出部14將產生之差分影像顯示於輸出裝置3即可。輸出部14亦可例如,對應檢測出之差異大小而變更檢查影像的各畫素之顏色或濃淡值。又,輸出部14亦可將經變更之檢查影像顯示於輸出裝置3。或是,輸出部14亦可變更:檢查影像之差異超過閾值S之區域所包含的畫素顏色 或濃淡值。又,輸出部14亦可將經變更之檢查影像顯示於輸出裝置3。輸出部14亦可變更:檢查影像之差異超過閾值S之區域的連結區域之例如外接矩形所包含的畫素顏色或濃淡值。又,輸出部14亦可將經變更之檢查影像顯示於輸出裝置3。輸出部14亦可不對檢查影像而對登記影像變更顏色或濃淡值。又,輸出部14亦可將經變更之登記影像顯示於輸出裝置3。輸出部14亦可以文字顯示差異。輸出部14亦可對檢查影像及登記影像其中一方或雙方施加如前述,變更顏色或濃淡值等,可指定差異存在之部分的變更。又,輸出部14亦可將變更後之檢查影像及登記影像排列顯示於輸出裝置3。輸出部14顯示於輸出裝置3之差異形式不限於以上。 The output unit 14 generates, for example, a pixel value of each pixel indicating a difference image of the difference in the pixel coordinates. Further, the output unit 14 may display the generated difference image on the output device 3. The output unit 14 may change the color or the gradation value of each pixel of the inspection image, for example, according to the difference in the detected difference. Further, the output unit 14 may display the changed inspection image on the output device 3. Alternatively, the output unit 14 may be modified to check the pixel color included in the region where the difference in the image exceeds the threshold S. Or shade value. Further, the output unit 14 may display the changed inspection image on the output device 3. The output unit 14 may be modified to check a pixel color or a gradation value included in, for example, a circumscribed rectangle of a connection region of a region where the difference in the image exceeds the threshold S. Further, the output unit 14 may display the changed inspection image on the output device 3. The output unit 14 may change the color or the gradation value of the registered image without checking the image. Further, the output unit 14 may display the changed registered image on the output device 3. The output unit 14 can also display differences in characters. The output unit 14 can also change the color or the gradation value or the like by applying one or both of the inspection image and the registration image as described above, and can specify the change of the portion where the difference exists. Further, the output unit 14 may display and display the changed inspection image and registered image on the output device 3. The difference form in which the output unit 14 is displayed on the output device 3 is not limited to the above.

如前述,輸出裝置3係例如顯示器或印表機般,電腦系統中一般的輸出裝置。 As described above, the output device 3 is a general output device in a computer system such as a display or a printer.

圖9係顯示登記影像與變形後之檢查影像作為缺陷檢測出之差異圖。 Fig. 9 is a view showing a difference between the registered image and the deformed inspection image as a defect detection.

本實施形態中,有下列效果:當檢查對象物之種類、或取得檢查用影像之相機與檢查對象物之間的配置經常被改變時,可減輕檢查用調整之負擔,縮短包含檢查用調整之時間的檢查時間。 In the present embodiment, when the type of the inspection object or the arrangement between the camera for acquiring the inspection image and the inspection object is often changed, the burden of adjustment for inspection can be reduced, and the adjustment for inspection can be shortened. Time to check the time.

其理由在於對準部12對檢查影像或是登記影像進行檢查影像上的檢查對象4、檢查影像上的檢查對象4之大小、方向與射影形變變得相同之變換。又,差異檢測部13檢測變換後之檢查影像與登記影像的差異。因此,登記影像取得時與檢查影像取得時,檢查對象4與攝影裝置2之位置關係雖宜近,但不須相同。藉此,攝影裝置2與檢查對象4之配置不須嚴密調整。且攝影裝置2與檢查對象4之配置即使變化,亦不須校正。 The reason for this is that the alignment unit 12 performs the inspection of the inspection target image 4 on the inspection image or the registration image, and the change in the size, direction, and projective deformation of the inspection object 4 on the inspection image. Further, the difference detecting unit 13 detects the difference between the converted inspection image and the registered image. Therefore, when the registered image is acquired and the inspection image is acquired, the positional relationship between the inspection object 4 and the imaging device 2 is preferably close, but it is not necessary to be the same. Thereby, the arrangement of the photographing device 2 and the inspection object 4 does not need to be closely adjusted. Further, even if the arrangement of the photographing device 2 and the inspection object 4 is changed, it is not necessary to perform correction.

且對準部12使用自檢查對象4之影像抽出之特徵點的座標,算出上述變換之參數。因此,於檢查對象4不須用以對準之標記。且不須用以校正之特別工具。檢查對象4之種類即使變更,亦不須檢查用調整。 The alignment unit 12 calculates the parameters of the above-described conversion using the coordinates of the feature points extracted from the image of the inspection object 4. Therefore, the inspection object 4 does not need to be used for the alignment mark. There is no special tool to be used for correction. Even if the type of the inspection object 4 is changed, it is not necessary to check the adjustment.

且本實施形態之檢查系統100亦可使用於多半以目視檢查,少量多種類之檢查。因此,藉由以檢查系統100進行檢查,亦可抑制少量多種類檢查時進行之目視檢查中有可能發生之失靈導致看漏,或每一檢查者檢查基準不同所導致的品質差異。 Moreover, the inspection system 100 of the present embodiment can also be used for most of the visual inspection, and a small number of types of inspections. Therefore, by performing the inspection by the inspection system 100, it is possible to suppress the occurrence of a malfunction in the visual inspection performed at the time of a small number of types of inspections, or the quality difference caused by the difference in the inspection basis of each examiner.

其次,參照圖式詳細說明關於本發明第2實施形態。 Next, a second embodiment of the present invention will be described in detail with reference to the drawings.

本實施形態之檢查系統100之構成與圖1之第1實施形態檢查系統100之構成相同。 The configuration of the inspection system 100 of the present embodiment is the same as the configuration of the inspection system 100 of the first embodiment of Fig. 1 .

本實施形態之登記影像記憶部11記憶複數種類檢查對象4之登記影像。 The registered image storage unit 11 of the present embodiment stores the registered image of the plurality of types of inspection objects 4.

對準部12對於登記影像記憶部11記憶之所有登記影像,進行與攝影裝置2取得之檢查影像之對準。 The alignment unit 12 performs alignment with the inspection image acquired by the imaging device 2 for all registered images stored in the registration image storage unit 11.

差異檢測部13對於登記影像記憶部11記憶之所有登記影像,於對準後檢測登記影像與檢查影像之差異。差異檢測部13選擇最小的差異,以選擇之差異為相對於檢查影像之差異。 The difference detecting unit 13 detects the difference between the registered image and the detected image after the alignment for all the registered images stored in the registered image storage unit 11. The difference detecting section 13 selects the smallest difference to select the difference as a difference with respect to the inspection image.

本實施形態之檢查系統100各構成元素在其他點上,與第1實施形態之賦予同一符號之構成元素相同,故省略說明。 The constituent elements of the inspection system 100 of the present embodiment are the same as those of the first embodiment, and the description thereof is omitted.

其次,參照圖式詳細說明關於本實施形態之檢查裝置1之動作。 Next, the operation of the inspection apparatus 1 of the present embodiment will be described in detail with reference to the drawings.

圖10係顯示本實施形態之檢查裝置1由檢查影像檢測檢查對象4之缺陷之動作流程圖。 Fig. 10 is a flow chart showing the operation of the inspection apparatus 1 of the present embodiment for detecting defects of the inspection object 4 by inspection images.

首先,輸入部10取得檢查影像(步驟S103)。 First, the input unit 10 acquires an inspection image (step S103).

對準部12在登記影像記憶部11記憶之登記影像中,存在未檢測出與取得的檢查影像之間的差異之登記影像時(步驟S201,Yes),自此等登記影像選擇一張登記影像(步驟S202)。 When the registered image stored in the registered image storage unit 11 has a registered image in which the difference between the acquired inspection image and the acquired inspection image is not detected (Yes in step S201), the alignment unit 12 selects one registered image from the registered image. (Step S202).

對準部12對選擇之登記影像,與第1實施形態之對準部12相同,檢測差異(步驟S104、步驟S105、步驟S106)。 The alignment unit 12 detects the difference between the selected registered video and the alignment unit 12 of the first embodiment (step S104, step S105, and step S106).

對登記影像記憶部11記憶之所有登記影像,檢測登記影像與取得之檢查影像之差異結束時(步驟S201,No),差異檢測部13選擇最小的差異(步驟S203)。 When all the registered images stored in the registered image storage unit 11 are detected and the difference between the registered image and the acquired inspection image is completed (step S201, No), the difference detecting unit 13 selects the smallest difference (step S203).

差異檢測部13選擇最小的差異,相當於差異檢測部13將選擇之差異所導出的登記影像加以選擇,作為取得之檢查影像所對應的登記影像。 The difference detecting unit 13 selects the smallest difference, and corresponds to the difference detecting unit 13 selecting the registered image derived from the selected difference as the registered image corresponding to the acquired inspection image.

輸出部14將選擇之差異朝顯示裝置3輸出(步驟S107)。 The output unit 14 outputs the selected difference to the display device 3 (step S107).

登記影像與檢查影像之差異大小之算出方法可為:算出影像間差異大小之評估值的已知任意方法。差異檢測部13,例如將前述變換後,相對於登記影像與檢查影像的各畫素,位於相互對應的座標之登記影像畫素與檢查影像畫素的畫素值差之絕對值之和加以算出即可。差異檢測部13以算出之和為差異大小即可。差異檢測部13亦可以前述變換後、登記影像與檢查影像之畫素值的差超過前述閾值S,位於相互對應的座標之登記影像畫素與檢查影像畫素組之數量為差異大小。 The calculation method of the difference between the registered image and the inspection image may be any known method for calculating the evaluation value of the difference between the images. The difference detecting unit 13 calculates, for example, the sum of the absolute values of the pixel values of the registered image pixels and the test image pixels of the coordinates corresponding to the registered image and the image of the inspection image after the conversion. Just fine. The difference detecting unit 13 may have a difference in the calculated sum. The difference detecting unit 13 may be configured such that the difference between the pixel values of the registered image and the inspection image exceeds the threshold value S after the conversion, and the number of the registered image pixels and the inspection image pixel group located at the coordinates corresponding to each other is different.

本實施形態中,除與第1實施形態相同之效果外,更有可更減輕檢查負擔之效果。且本實施形態中,有下列效果:即使不同種類之檢查對象4以隨機順序混雜,亦可不進行用來辨識種類對各檢查對象4之標記,或伴隨著檢查對象4種類變更之調整而進行檢查。 In the present embodiment, in addition to the effects similar to those of the first embodiment, the effect of reducing the inspection load can be further reduced. Further, in the present embodiment, there is an effect that even if different types of inspection objects 4 are mixed in a random order, it is possible to perform inspection without identifying the type of the inspection object 4 or the adjustment of the inspection object type change. .

其理由在於差異檢測部13依由登記影像記憶部11儲存之各登記影像 與檢查影像之差異選擇最小的差異。自與檢查影像之檢查對象4不同種類之檢查對象4之登記影像所導出的差異通常較自與檢查影像之檢查對象4相同種類之檢查對象4之登記影像所導出的差異大。因此,與檢查影像之檢查對象4相同種類之檢查對象4之登記影像若由登記影像記憶部11儲存,差異檢測部13選擇之上述最小的差異即係自與檢查影像之檢查對象4相同種類之檢查對象4之登記影像所導出的差異。因此,檢查時,不須指定登記影像。且檢查對象4之種類改變時,不須進行檢查用調整。 The reason is that the difference detecting unit 13 depends on each registered image stored in the registered image storage unit 11. Choose the smallest difference from the difference in the image. The difference derived from the registered image of the inspection object 4 of a different type from the inspection target 4 of the inspection image is generally larger than the difference derived from the registered image of the inspection object 4 of the same type as the inspection target 4 of the inspection image. Therefore, if the registered image of the inspection object 4 of the same type as the inspection target 4 of the inspection image is stored by the registration image storage unit 11, the minimum difference selected by the difference detection unit 13 is the same as the inspection target 4 of the inspection image. Check the difference derived from the registered image of the object 4. Therefore, it is not necessary to specify a registered image when checking. When the type of the inspection object 4 is changed, it is not necessary to perform inspection adjustment.

其次,參照圖式詳細說明關於本發明第3實施形態。 Next, a third embodiment of the present invention will be described in detail with reference to the drawings.

本實施形態之檢查系統100之構成與圖1第1實施形態之檢查系統100之構成相同。 The configuration of the inspection system 100 of the present embodiment is the same as the configuration of the inspection system 100 of the first embodiment of Fig. 1.

惟差異檢測部13不算出影像變換後登記影像與檢查影像畫素值之差異,而自此等影像畫素值算出特徵量。又,差異檢測部13將此特徵量之差作為登記影像與檢查影像之差異輸出予輸出部14。 However, the difference detecting unit 13 does not calculate the difference between the registered image and the detected image pixel value after the image conversion, and calculates the feature amount from the image pixel values. Further, the difference detecting unit 13 outputs the difference between the feature amounts as the difference between the registered image and the inspection image to the output unit 14.

其次,參照圖式詳細說明關於本實施形態之檢查裝置1之動作。 Next, the operation of the inspection apparatus 1 of the present embodiment will be described in detail with reference to the drawings.

本實施形態之檢查對象4係平面狀表面上1種類以上既定圖案之圖形。作為如此之圖形,例如有文字。如此之圖形亦可為圓、多角形、線段之組合等文字以外之圖形。 The inspection object 4 of the present embodiment is a pattern of one or more types of predetermined patterns on a planar surface. As such a figure, for example, there is a text. Such a graphic may also be a graphic other than a circle, a polygon, a combination of line segments, and the like.

圖3係顯示本實施形態之檢查裝置1根據檢查影像檢測檢查對象4之缺陷之動作流程圖。 Fig. 3 is a flow chart showing the operation of the inspection apparatus 1 of the present embodiment for detecting defects of the inspection object 4 based on the inspection image.

本實施形態之檢查裝置1步驟S103至步驟S105之動作與第1實施形態檢查裝置1相同符號步驟之動作相同,故省略說明。 Since the operations of steps S103 to S105 of the inspection apparatus 1 of the present embodiment are the same as those of the inspection apparatus 1 of the first embodiment, the description thereof is omitted.

於步驟S106,差異檢測部13自影像變換後登記影像與檢查影像雙方抽 出表示圖形之特徵量。差異檢測部13亦指定表示該圖形位置之座標。表示圖形之特徵量係例如表示圖形形狀之向量。如前述,圖形係例如文字。差異檢測部13例如以檢測出之圖形之重心之座標為圖形位置之座標即可。差異檢測部13例如亦可以檢測出之圖形外接矩形重心之座標,或預先決定之任一頂點之座標為圖形位置座標。 In step S106, the difference detecting unit 13 extracts both the registered image and the inspected image from the image conversion. The feature quantity indicating the figure is displayed. The difference detecting unit 13 also specifies a coordinate indicating the position of the figure. The feature quantity representing the figure is, for example, a vector representing the shape of the figure. As mentioned above, the graphics are for example text. The difference detecting unit 13 may be, for example, a coordinate of the center of gravity of the detected pattern as a coordinate of the graphic position. For example, the difference detecting unit 13 may detect the coordinates of the center of gravity of the rectangle circumscribing the rectangle, or the coordinates of any of the vertices determined in advance as the coordinate of the pattern position.

表示登記影像上圖形之特徵量,或該特徵量經抽出之位置座標亦可預先由登記影像記憶部11儲存。此時,差異檢測部13將表示登記影像上圖形之特徵量與該圖形檢測出之位置座標自登記影像記憶部11讀取即可。 The feature amount indicating the pattern on the registered image, or the position coordinate at which the feature amount is extracted may be stored in advance by the registered image storage unit 11. At this time, the difference detecting unit 13 may read the feature amount indicating the pattern on the registered image and the position coordinate detected by the pattern from the registered image storage unit 11.

其次,差異檢測部13將自登記影像與檢查影像檢測到的圖形中,具有登記影像與檢查影像重疊時,與自另一個影像檢測到的圖形重疊之區域之圖形加以抽出。差異檢測部13對於各有相互重疊區域,自登記影像檢測到的圖形與由檢查影像檢測到的圖形之組合,算出相對於一方圖形區域之面積相互重疊之區域面積之比例。圖形區域亦可為圖形之外接矩形。差異檢測部13使相互重複之面積比例最大,自登記影像抽出之圖形,與由檢查影像抽出之圖形相關聯。 Next, the difference detecting unit 13 extracts a pattern of a region overlapping the pattern detected from the other image when the registered image and the inspection image overlap each other in the pattern detected from the registered image and the inspection image. The difference detecting unit 13 calculates the ratio of the area of the area overlapping the area of one of the pattern areas with respect to the combination of the pattern detected by the registered image and the pattern detected by the inspection image. The graphic area can also be a rectangle outside the graphic. The difference detecting unit 13 maximizes the ratio of the areas that overlap each other, and the pattern extracted from the registered image is associated with the pattern extracted from the inspection image.

又,差異檢測部13將相互相關聯之兩個圖形特徵量之差,與此等圖形經抽出之位置之座標差加以算出。特徵量若係向量,差異檢測部13將兩個特徵量之間預先定義之距離作為特徵量差算出即可。差異檢測部13例如將以兩個圖形經抽出之位置座標表示之2點間之距離作為座標差算出即可。差異檢測部13作為相關聯之圖形不存在之圖形之特徵量差與位置座標間之距離,設定例如大於後述各閾值之既定值即可。 Further, the difference detecting unit 13 calculates the difference between the two pattern feature amounts associated with each other and the coordinate difference between the positions at which the patterns are extracted. If the feature amount is a vector, the difference detecting unit 13 may calculate the distance defined in advance between the two feature amounts as the feature amount difference. The difference detecting unit 13 may calculate, for example, the distance between two points indicated by the position coordinates extracted by the two figures as the coordinate difference. The difference detecting unit 13 may set, for example, a distance between the feature amount difference of the pattern in which the associated figure does not exist and the position coordinate, and set a predetermined value larger than a threshold value to be described later.

差異檢測部13對於各圖形,比較相互相關聯之兩個圖形特徵量之距離,與相對於特徵量距離之閾值S2。且差異檢測部13對於各圖形,比較相互相關聯之兩個圖形檢測出之位置座標間之距離,與相對於座標間距離之閾值S3。差異檢測部13將特徵量距離,與兩個圖形檢測出之位置座標間之距離至少一方超過各閾值之圖形作為缺陷檢測。 The difference detecting unit 13 compares the distances of the two graphic feature amounts associated with each other with respect to the respective patterns, and the threshold value S2 with respect to the feature amount distance. Further, the difference detecting unit 13 compares the distance between the position coordinates detected by the two patterns associated with each other with respect to the respective patterns, and the threshold value S3 with respect to the distance between the coordinates. The difference detecting unit 13 detects, as a defect, a pattern in which at least one of the distance between the feature amount distance and the position coordinates detected by the two patterns exceeds each threshold value.

差異檢測部13例如將表示作為缺陷檢測到的圖形區域之資訊朝輸出部14發送即可。差異檢測部13亦可更將超過閾值之前述任一距離朝輸出部14發送。 The difference detecting unit 13 may transmit information indicating a pattern area detected as a defect to the output unit 14, for example. The difference detecting unit 13 may further transmit any of the above-described distances exceeding the threshold to the output unit 14.

輸出部14與第1實施形態相同,以可指定檢測到缺陷之處之形,顯示缺陷之檢測結果。 Similarly to the first embodiment, the output unit 14 can display the detection result of the defect by specifying the shape at which the defect is detected.

又,本實施形態之檢測裝置1亦可與第2實施形態之檢測裝置1相同,對於登記影像記憶部11記憶之所有登記影像,檢測登記影像與檢查影像之差異。又,本實施形態之檢測裝置1亦可在檢測出之最小的差異超過閾值時,將該差異作為缺陷輸出。 Further, similarly to the detection device 1 of the second embodiment, the detection device 1 of the present embodiment can detect the difference between the registered image and the inspection image for all the registered images stored in the registered image storage unit 11. Further, the detecting device 1 of the present embodiment may output the difference as a defect when the smallest difference detected exceeds the threshold.

本實施形態中,有與第1實施形態相同之效果。 This embodiment has the same effects as those of the first embodiment.

其次,參照圖式詳細說明關於本發明第4實施形態。 Next, a fourth embodiment of the present invention will be described in detail with reference to the drawings.

圖11係顯示本實施形態之檢查裝置1之構成圖。 Fig. 11 is a view showing the configuration of the inspection apparatus 1 of the present embodiment.

本實施形態之檢查裝置1包含:登記影像記憶機構11,記憶著:複數之形狀為平面之檢查對象中所拍攝的無缺陷之該檢查對象的影像、即登記影像;與自該登記影像抽出之符合既定條件之點、即特徵點;對準機構12,進行對準,該對準包含:從與拍攝該登記影像的拍攝方向不同之方向拍攝該檢查對象的影像、即檢查影像,抽出複數該特徵點;算出表示一射影變換之變換參數,該射影變換根據該檢查影像之複數該特徵點及該登記影像之複數該特徵點,對於像包含於該檢查影像及該登記影像雙方之該檢查對象上的複數點,使該檢查影像及該登記影像其中一個影像上該點之像的座標,與該另一個影像上該點之像的座標一致;及以該變換參數對該一個影像進行該射影變換;及 差異檢測機構13,檢測該對準後該檢查影像與該登記影像之差異。 The inspection apparatus 1 of the present embodiment includes a registered image storage unit 11 that stores a plurality of images of the inspection target image that are not defective in the inspection target in a plane, that is, a registered image; and the extracted image from the registered image a point that meets a predetermined condition, that is, a feature point; the alignment mechanism 12 performs alignment, and the alignment includes: capturing an image of the inspection object from a direction different from a photographing direction in which the registered image is captured, that is, inspecting the image, and extracting the plurality of a feature point; calculating a transformation parameter indicating a projective transformation, wherein the projection transformation is based on the plurality of feature points of the inspection image and the plurality of feature points of the registered image, and the inspection object is included in both the inspection image and the registration image a plurality of points on the image of the inspection image and the image of the image on the image of the registration image, and a coordinate of the image of the image on the other image; and the projection of the image by the transformation parameter Transformation; and The difference detecting unit 13 detects the difference between the inspection image and the registered image after the alignment.

圖11係顯示本實施形態之檢查裝置1之構成圖。 Fig. 11 is a view showing the configuration of the inspection apparatus 1 of the present embodiment.

其次,參照圖式詳細說明關於第1實施形態之具體構成例。 Next, a specific configuration example of the first embodiment will be described in detail with reference to the drawings.

本構成例之構成與圖1第1實施形態之構成相同。 The configuration of this configuration example is the same as that of the first embodiment of Fig. 1.

圖12係顯示本構成例之攝影裝置2與檢查對象4之配置圖。 Fig. 12 is a view showing the arrangement of the photographing device 2 and the inspection object 4 of the present configuration example.

參照圖12即知,本構成例之攝影裝置2拍攝由檢查台40載置,平面狀之檢查對象4。 Referring to Fig. 12, the imaging device 2 of the present configuration example images the planar inspection object 4 placed on the inspection table 40.

圖12之x方向及y方向皆係與檢查台40表面及檢查對象4平行之方向。z方向係檢查台40之表面及檢查對象4之法線方向。檢查對象4與於攝影裝置2內影像投影之影像面之距離為d。相對於檢查台40表面及檢查對象4之法線方向攝影裝置2光軸之偏角以θ與γ表示。只要檢查對象4包含於攝影裝置2景深內,由攝影裝置2拍攝之影像內檢查對象4之像整體呈合焦狀態,距離d、偏角θ與γ可為任何值。 The x direction and the y direction of Fig. 12 are the directions parallel to the surface of the inspection table 40 and the inspection object 4. The z direction is the surface of the inspection table 40 and the normal direction of the inspection object 4. The distance between the inspection object 4 and the image plane projected by the image in the photographing device 2 is d. The off-angle of the optical axis of the photographing device 2 with respect to the surface of the inspection table 40 and the normal direction of the inspection object 4 is represented by θ and γ. As long as the inspection object 4 is included in the depth of field of the photographing device 2, the image of the inspection object 4 in the image captured by the photographing device 2 is in a focused state as a whole, and the distance d, the off angles θ, and γ may be any values.

檢查裝置1連接攝影裝置2。檢查裝置1與攝影裝置2藉由USB(Universal Serial Bus)或IEEE1394(The Institute of Eelctrical and Electoronics Engineers)等通用介面連接即可。檢查裝置1亦可使用搭載影像擷取板之電腦構成。此時,檢查裝置1與攝影裝置2藉由可發送影像信號之發送線連接即可。又,檢查裝置1亦可藉由此影像擷取板,將由攝影裝置2發送之影像信號作為經數位化之影像取得。 The inspection device 1 is connected to the photographing device 2. The inspection device 1 and the photographing device 2 may be connected by a general-purpose interface such as USB (Universal Serial Bus) or IEEE 1394 (The Institute of Eelctrical and Electoronics Engineers). The inspection device 1 can also be constructed using a computer equipped with an image capture plate. At this time, the inspection device 1 and the photographing device 2 may be connected by a transmission line that can transmit a video signal. Further, the inspection device 1 can also obtain the image signal transmitted from the photographing device 2 as a digitized image by the image capture panel.

其次,說明關於檢查鍵盤時之效果。 Next, explain the effect when checking the keyboard.

作為鍵盤檢查方法之一,已知利用遮罩之方法。遮罩可使用於以濃淡 圖案構成之檢查對象之檢查。遮罩係檢查對象之圖案濃淡反轉之圖案之薄片。藉由將遮罩重疊於檢查對象進行使用遮罩之檢查對象之檢查。遮罩對應檢查對象顏色黑的部分之部分透明。如此之遮罩以乙烯基薄片等製作。於無缺陷之檢查對象重疊遮罩時,在遮罩上不出現白色部分。若於檢查對象原來黑色區域有白色缺陷,於該檢查對象重疊遮罩時,在遮罩上會出現白色部分。檢查人將因於檢查對象重疊遮罩而出現之白色部分作為缺陷檢測。 As one of the keyboard inspection methods, a method of using a mask is known. Mask can be used to shade Inspection of the inspection object of the pattern. The mask is a sheet of a pattern in which the pattern of the object is indented and inverted. The inspection of the inspection object using the mask is performed by superimposing the mask on the inspection object. The portion of the mask corresponding to the black color of the inspection object is transparent. Such a mask is made of a vinyl sheet or the like. When the non-defective inspection object overlaps the mask, no white portion appears on the mask. If there is a white defect in the original black area of the inspection object, when the inspection object overlaps the mask, a white portion appears on the mask. The inspector will detect the white portion appearing due to the overlap of the inspection object as a defect.

例如,用來檢查背景色為白色,文字色為黑色之鍵盤之遮罩係背景色為黑色,文字部分透明之薄片。 For example, the mask used to check the background color is white and the text color is black. The background color is black, and the text is partially transparent.

圖13係顯示以遮罩檢測缺陷之檢查結果一例圖。圖13中顯示作為檢查對象之鍵盤圖案、遮罩與重疊遮罩於鍵盤之檢查結果。 Fig. 13 is a view showing an example of inspection results of detecting defects by a mask. FIG. 13 shows the result of inspection of the keyboard pattern, the mask, and the overlay mask as the inspection object on the keyboard.

圖13鍵盤中,有於應印刷W之處印刷V之缺陷。因於此鍵盤重疊遮罩,在誤將W印刷為V之部分呈白色出現於白色W重疊黑色V之圖形。檢查人將出現白色圖形之處作為缺陷檢測。 In the keyboard of Fig. 13, there is a defect in printing V where the printing should be performed. Because of this keyboard overlap mask, the portion in which W is printed as V is white in a pattern in which white W overlaps black V. The inspector will display the white figure as a defect detection.

然而,重疊遮罩時存在於由遮罩遮蔽的部分之缺陷有時以遮罩檢測會檢測不出缺陷。 However, defects existing in the portion covered by the mask when the mask is overlapped may sometimes detect defects without mask detection.

圖14係顯示以遮罩檢測缺陷之檢查結果一例圖。圖14所示之鍵盤中,有於應印刷C處印刷O之缺陷。圖14所示之例之情形下,即使於鍵盤重疊遮罩,於缺陷存在處亦不出現白色圖形。因此,檢查人無法檢測缺陷。誤於鍵盤印刷F處印刷E時,以遮罩檢查亦無法檢測出缺陷。 Fig. 14 is a view showing an example of an inspection result of detecting a defect by a mask. In the keyboard shown in Fig. 14, there is a defect in printing O at the printing C. In the case of the example shown in Fig. 14, even if the keyboard overlaps the mask, no white pattern appears in the presence of the defect. Therefore, the examiner cannot detect the defect. When printing E by mistake in the keyboard printing F, the defect cannot be detected by the mask inspection.

本發明各實施形態之檢查裝置1檢測比較對象影像之差異。因此,本發明各實施形態之檢查裝置1可檢測以遮罩檢查時因被遮罩遮蔽而檢測不出之前述缺陷。 The inspection apparatus 1 according to each embodiment of the present invention detects a difference in the comparison target image. Therefore, the inspection apparatus 1 according to each embodiment of the present invention can detect the aforementioned defect that cannot be detected by the mask mask during the mask inspection.

檢查裝置1可分別藉由電腦及控制該電腦之程式、專用硬體,或電腦及控制該電腦之程式與專用硬體之組合實現。 The inspection device 1 can be realized by a computer and a program for controlling the computer, a dedicated hardware, or a combination of a computer and a program for controlling the computer and a dedicated hardware.

圖15係顯示為實現檢查裝置1而使用之電腦1000之構成一例圖。參照圖15即知,電腦1000包含處理器1001、記憶體1002、記憶裝置1003與I/O(Input/Output)介面1004。且電腦1000可對記錄媒體1005存取。記憶體1002與記憶裝置1003係例如RAM(Random Access Memory)、硬碟等記錄裝置。記錄媒體1005係例如RAM、硬碟等記憶裝置、ROM(Read Only Memory)、可攜式記錄媒體。記憶裝置1003亦可為記錄媒體1005。處理器1001可對記憶體1002與記憶裝置1003讀取與寫入資料或程式。處理器1001可經由I/O介面1004接收例如由攝影裝置2拍攝檢查對象之影像資料。處理器1001可對記錄媒體1005存取。記錄媒體1005中,儲存使電腦1000作為檢查裝置1動作之程式。 FIG. 15 is a view showing an example of the configuration of the computer 1000 used to implement the inspection apparatus 1. Referring to FIG. 15, the computer 1000 includes a processor 1001, a memory 1002, a memory device 1003, and an I/O (Input/Output) interface 1004. And the computer 1000 can access the recording medium 1005. The memory 1002 and the memory device 1003 are recording devices such as a RAM (Random Access Memory) and a hard disk. The recording medium 1005 is a memory device such as a RAM or a hard disk, a ROM (Read Only Memory), or a portable recording medium. The memory device 1003 may also be the recording medium 1005. The processor 1001 can read and write data or programs to the memory 1002 and the memory device 1003. The processor 1001 can receive, for example, the image data of the inspection object by the photographing device 2 via the I/O interface 1004. The processor 1001 can access the recording medium 1005. In the recording medium 1005, a program for causing the computer 1000 to operate as the inspection device 1 is stored.

處理器1001將由記錄媒體1005儲存,使電腦1000作為檢查裝置1動作之程式裝載於記憶體1002。又,因處理器1001實行裝載於記憶體1002之程式,電腦1000作為檢查裝置1動作。 The processor 1001 stores the program stored in the recording medium 1005 and causes the computer 1000 to operate as the inspection device 1 in the memory 1002. Further, since the processor 1001 executes the program loaded in the memory 1002, the computer 1000 operates as the inspection device 1.

輸入部10、對準部12、差異檢測部13、輸出部14可藉由例如自記憶程式之記錄媒體1005讀取至記憶體1002,用來實現各部功能之專用程式,與實行該程式之處理器1001實現。且登記影像記憶部11可藉由電腦1000包含之記憶體1002或例如作為硬碟裝置之記憶裝置1003實現。或是,輸入部10、登記影像記憶部11、對準部12、差異檢測部13、輸出部14的一部分或全部亦可藉由實現各部功能之專用電路實現。 The input unit 10, the aligning unit 12, the difference detecting unit 13, and the output unit 14 can be read to the memory 1002 by, for example, the recording medium 1005 from the memory program, and a dedicated program for realizing each function can be executed. The device 1001 is implemented. The registered image storage unit 11 can be realized by the memory 1002 included in the computer 1000 or the memory device 1003 as a hard disk device. Alternatively, part or all of the input unit 10, the registered image storage unit 11, the alignment unit 12, the difference detecting unit 13, and the output unit 14 may be realized by a dedicated circuit that realizes the functions of the respective units.

以上,雖已參照實施形態說明本發明,但本發明不由上述實施形態限定。熟悉該技藝者可於本發明範圍內對本發明之構成或詳細內容進行可理解之各種變更。 The present invention has been described above with reference to the embodiments, but the present invention is not limited by the embodiments described above. Various modifications can be made without departing from the scope of the invention.

本申請案主張以於2012年9月18日申請之日本申請案特願 2012-204834為基礎之優先權,將其所有揭示導入於此。 This application claims a special request for a Japanese application filed on September 18, 2012. The priority based on 2012-204834 is hereby incorporated by reference.

【產業上利用性】 [Industrial use]

依本發明,可適用於檢查印刷有文字或圖形等之平面。本發明亦可適用於鍵盤等快捷鍵之配置檢查等。 According to the present invention, it is applicable to inspection of a plane on which characters, figures, and the like are printed. The invention can also be applied to configuration check of shortcut keys such as a keyboard.

1‧‧‧檢查裝置 1‧‧‧Checking device

2‧‧‧攝影裝置 2‧‧‧Photographing device

3‧‧‧輸出裝置 3‧‧‧Output device

4‧‧‧檢查對象 4‧‧‧Check objects

10‧‧‧輸入部 10‧‧‧ Input Department

11‧‧‧登記影像記憶部 11‧‧‧Registered Image Memory Department

12‧‧‧對準部 12‧‧‧Alignment Department

13‧‧‧差異檢測部 13‧‧‧Differential Detection Department

14‧‧‧輸出部 14‧‧‧Output Department

100‧‧‧檢查系統 100‧‧‧Check system

Claims (10)

一種檢查裝置,包含:登記影像記憶機構,記憶著:複數之形狀為平面之檢查對象中所拍攝的無缺陷之該檢查對象的影像、即登記影像;與自該登記影像抽出之符合既定條件之點、即特徵點;對準機構,進行對準,該對準包含:從與拍攝該登記影像的拍攝方向不同之方向拍攝該檢查對象的影像、即檢查影像,抽出複數該特徵點;算出表示一射影變換之變換參數,該射影變換根據該檢查影像之複數該特徵點及該登記影像之複數該特徵點,對於像包含於該檢查影像及該登記影像雙方之該檢查對象上的複數點,使該檢查影像及該登記影像其中一個影像上該點之像的座標,與該另一個影像上該點之像的座標一致;及以該變換參數對該一個影像進行該射影變換;及差異檢測機構,檢測該對準後該檢查影像與該登記影像之差異。 An inspection device comprising: a registered image memory mechanism, remembering: an image of the inspection object that is not defective in a plurality of shapes in a planar inspection object, that is, a registered image; and a predetermined condition that is extracted from the registered image a point, that is, a feature point; the alignment mechanism performs alignment, the image includes: capturing an image of the inspection object from a direction different from a shooting direction in which the registered image is captured, that is, checking the image, extracting the plurality of feature points; and calculating the representation a projective transformation conversion parameter, the projective transformation is based on the plurality of feature points of the inspection image and the plurality of feature points of the registration image, and for a plurality of points on the inspection object included in both the inspection image and the registration image, And making a coordinate of the image of the inspection image and the image of the registration image coincide with a coordinate of the image of the point on the other image; and performing the projective transformation on the image by using the transformation parameter; and detecting the difference The mechanism detects the difference between the inspection image and the registered image after the alignment. 如申請專利範圍第1項之檢查裝置,其中該登記影像記憶機構記憶包含1種類以上該檢查對象之該登記影像之複數該登記影像,與該登記影像之各複數該特徵點組,該對準機構對於由該登記影像記憶機構儲存之各複數該登記影像,對準該登記影像與該檢查影像,該差異檢測機構對於該對準後各該登記影像與該檢查影像之組合,檢測該差異,將檢測之各該差異中,表示該差異大小之值最小之該差異,作為對於該檢查影像之該差異而檢測出。 The inspection device of claim 1, wherein the registered image memory device stores a plurality of the registered images of the registered image including the one or more types of the inspection object, and the plurality of feature point groups of the registered image, the alignment The mechanism detects the registration image and the inspection image for each of the plurality of registered images stored by the registered image storage means, and the difference detecting means detects the difference between the aligned image and the inspection image after the alignment, Among the differences detected, the difference indicating the smallest value of the difference is detected as the difference with respect to the inspection image. 如申請專利範圍第1或2項之檢查裝置,其中該差異檢測機構由該檢查影像至少一部分區域,與對應該區域之該登記影像區域,分別算出特徵量,將算出之特徵量的差作為該差異而檢測出。 The inspection apparatus according to claim 1 or 2, wherein the difference detecting means calculates a feature amount from at least a part of the inspection image and the registered image area of the corresponding area, and calculates a difference between the calculated feature amounts as the The difference was detected. 如申請專利範圍第1項之檢查裝置,其中該登記影像記憶機構記憶自該登記影像抽出之至少既定個數之該特徵 點的座標,該對準機構自該檢查影像抽出至少既定個數之該特徵點,對對應自該檢查影像及該登記影像其中一個影像所檢測出之至少既定個數之複數特徵點,自另一個影像抽出之該特徵點進行檢測,依相互相對應之自該檢查影像抽出之該特徵點與自該登記影像抽出之該特徵點之複數組合,算出該變換參數。 The inspection device of claim 1, wherein the registered image memory device memorizes at least a predetermined number of features extracted from the registered image a coordinate of the point, the alignment mechanism extracts at least a predetermined number of the feature points from the inspection image, and a plurality of feature points corresponding to at least a predetermined number detected from the inspection image and one of the registration images, The feature point extracted by one image is detected, and the transformation parameter is calculated according to a complex combination of the feature point extracted from the inspection image and the feature point extracted from the registration image. 如申請專利範圍第4項之檢查裝置,其中該對準機構使用對於該複數特徵點的座標中,減輕偏離值對該變換參數造成的影響之該特徵點的座標之穩健估計(robust estimation),算出該變換參數。 The inspection apparatus of claim 4, wherein the alignment mechanism uses a robust estimate of coordinates of the feature point that mitigates the influence of the deviation value on the transformation parameter in the coordinates of the complex feature point, Calculate the transformation parameters. 如申請專利範圍第1項之檢查裝置,其中該對準機構產生以既定閾值使該檢查影像二值化之二值影像,對於該二值影像其中一方或雙方之畫素值,抽出作為具有該畫素值之畫素連續之區域的連結區域,將該連結區域之重心點作為該特徵點而抽出。 The inspection apparatus of claim 1, wherein the alignment mechanism generates a binary image in which the inspection image is binarized with a predetermined threshold, and the pixel value of one or both of the binary images is extracted as having The connected region of the continuous region of the pixel value is extracted as the feature point. 一種檢查系統,包含:拍攝該檢查影像之攝影裝置;及如申請專利範圍第1項之檢查裝置與自該檢查裝置接收並顯示該差異之顯示裝置。 An inspection system comprising: a photographing device for photographing the inspection image; and an inspection device according to claim 1 of the patent application and a display device for receiving and displaying the difference from the inspection device. 一種檢查方法,將複數之形狀為平面之檢查對象中所拍攝的無缺陷之該檢查對象的影像、即登記影像;與自該登記影像抽出之符合既定條件之點、即特徵點,記憶於登記影像記憶機構;進行對準,該對準包含:從與拍攝該登記影像的拍攝方向不同之方向拍攝該檢查對象的影像、即檢查影像,抽出複數該特徵點;算出表示一射影變換之變換參數,該射影變換根據該檢查影像之複數 該特徵點及該登記影像之複數該特徵點,對於像包含於該檢查影像及該登記影像雙方之該檢查對象上的複數點,使該檢查影像及該登記影像其中一個影像上該點之像的座標,與該另一個影像上該點之像的座標一致;及以該變換參數對該一個影像進行該射影變換;及檢測該對準後該檢查影像與該登記影像之差異。 An inspection method for recording an image of the inspection object that is not defective in the inspection object of a plurality of planes, that is, a registered image; and a feature point extracted from the registration image that meets a predetermined condition, that is, a feature point, is stored in the registration The image memory mechanism performs alignment: the image is captured from a direction different from the direction in which the registered image is captured, that is, the image is inspected, and the plurality of feature points are extracted; and a transformation parameter indicating a projective transformation is calculated. , the projective transformation is based on the plural of the inspection image The feature point and the plurality of feature points of the registered image are such that the image of the check image and the image of the registered image is imaged at a plurality of points on the inspection object included in the inspection image and the registration image a coordinate that coincides with a coordinate of the image of the point on the other image; and performs the projective transformation on the image by the transformation parameter; and detects a difference between the inspection image and the registration image after the alignment. 一種電腦可讀取記錄媒體,記錄有檢查程式,該檢查程式使電腦實現以下機構:登記影像記憶機構,記憶著:複數之形狀為平面之檢查對象中所拍攝的無缺陷之該檢查對象的影像、即登記影像;與自該登記影像抽出之符合既定條件之點、即特徵點;對準機構,進行對準,該對準包含:從與拍攝該登記影像的拍攝方向不同之方向拍攝該檢查對象的影像、即檢查影像,抽出複數該特徵點;算出表示一射影變換之變換參數,該射影變換根據該檢查影像之複數該特徵點及該登記影像之複數該特徵點,對於像包含於該檢查影像及該登記影像雙方之該檢查對象上的複數點,使該檢查影像及該登記影像其中一個影像上該點之像的座標,與該另一個影像上該點之像的座標一致;及以該變換參數對該一個影像進行該射影變換;及差異檢測機構,檢測該對準後該檢查影像與該登記影像之差異。 A computer-readable recording medium recording an inspection program for causing a computer to implement an image recording memory mechanism that memorizes: an image of the inspection object that is not defective in a plurality of inspection objects in a planar shape Registering an image; and aligning with a point extracted from the registered image that meets a predetermined condition, that is, a feature point; the alignment includes: taking the inspection from a direction different from a shooting direction in which the registered image is taken An image of the object, that is, an inspection image, extracting the plurality of feature points; and calculating a transformation parameter indicating a projective transformation, wherein the projection transformation is based on the plurality of feature points of the inspection image and the plurality of feature points of the registration image, and the image is included in the image Checking a plurality of points on the inspection object of the image and the registered image such that the coordinates of the image of the point on the inspection image and the one of the registration images are consistent with the coordinates of the image of the point on the other image; and Performing the projective transformation on the one image by using the transformation parameter; and detecting the shadow after the alignment The difference of the registered image. 如申請專利範圍第9項之電腦可讀取記錄媒體,其中該檢查程式使電腦實現以下機構:該登記影像記憶機構,記憶包含1種類以上該檢查對象之該登記影像之複數該登記影像,與該登記影像之各複數該特徵點組;該對準機構,對於由該登記影像記憶機構儲存之各複數該登記影像,對準該登記影像與該檢查影像;及該差異檢測機構,對於該對準後各該登記影像與該檢查影像之組合,檢測該差異,將檢測之各該差異中,表示該差異大小之值最小之該差異,作為對於該檢查影像之該差異而檢測出。 The computer-readable recording medium of claim 9, wherein the inspection program causes the computer to: the registered image memory mechanism memorizes the plurality of registered images of the registered image including the type of the inspection object; a plurality of the feature point groups of the registration image; the alignment mechanism aligning the registration image with the inspection image for each of the plurality of registered images stored by the registration image storage mechanism; and the difference detecting mechanism for the pair The difference between the registered image and the inspection image is detected, and the difference is detected. The difference indicating the smallest value of the difference is detected as the difference to the inspection image.
TW102131561A 2012-09-18 2013-09-02 Check the device, check the method and check the program TWI500925B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012204834 2012-09-18

Publications (2)

Publication Number Publication Date
TW201415010A true TW201415010A (en) 2014-04-16
TWI500925B TWI500925B (en) 2015-09-21

Family

ID=50340850

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102131561A TWI500925B (en) 2012-09-18 2013-09-02 Check the device, check the method and check the program

Country Status (2)

Country Link
TW (1) TWI500925B (en)
WO (1) WO2014045508A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI627588B (en) * 2015-04-23 2018-06-21 日商思可林集團股份有限公司 Inspection device and substrate processing apparatus
TWI628430B (en) * 2017-01-12 2018-07-01 南亞科技股份有限公司 Wafer-recognizing method and apparatus
TWI702493B (en) * 2019-09-09 2020-08-21 英業達股份有限公司 Testing method and system of socket
TWI822126B (en) * 2021-07-14 2023-11-11 日商日立全球先端科技股份有限公司 Sample observation device, sample observation method and computer system

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106645209B (en) * 2016-12-29 2020-06-02 百富计算机技术(深圳)有限公司 Detection method and system for key silk-screen printing
JP7077807B2 (en) * 2018-06-12 2022-05-31 オムロン株式会社 Image inspection system and its control method
CN109738450B (en) * 2019-01-09 2021-06-29 合肥联宝信息技术有限公司 Method and device for detecting notebook keyboard
JP7354790B2 (en) * 2019-11-25 2023-10-03 オムロン株式会社 Image inspection device
TWI810623B (en) * 2021-08-04 2023-08-01 中國信託商業銀行股份有限公司 Document proofreading method and device, and computer-readable recording medium
CN116309573B (en) * 2023-05-19 2023-07-25 成都工业学院 Defect detection method for printed characters of milk packaging box

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1114324A (en) * 1997-06-27 1999-01-22 Hitachi Ltd Pattern defect inspection method and device therefor
JPH11183393A (en) * 1997-10-13 1999-07-09 Mitsubishi Electric Corp Pattern flaw inspecting device and pattern flaw inspecting method
JP4121605B2 (en) * 1998-03-10 2008-07-23 大日本印刷株式会社 Captured image composite distortion detector
JP2000082141A (en) * 1998-09-07 2000-03-21 Dainippon Printing Co Ltd Picked up image geometric distortion detection device
JP2000105199A (en) * 1998-09-29 2000-04-11 Minolta Co Ltd Printing inspection method of cylindrical container
JP5028014B2 (en) * 2006-02-08 2012-09-19 株式会社日立ハイテクノロジーズ Pattern inspection method and apparatus
JP5207820B2 (en) * 2008-05-13 2013-06-12 株式会社Pfu Drawing information management apparatus and verification inspection method
JP5441372B2 (en) * 2008-07-28 2014-03-12 株式会社ブリヂストン Appearance inspection device and appearance inspection method of inspection object
JP2010286256A (en) * 2009-06-09 2010-12-24 Jfe Techno Research Corp Method of inspecting printed matter
WO2012081587A1 (en) * 2010-12-14 2012-06-21 株式会社ニコン Inspection method, inspection device, exposure management method, exposure system, and semiconductor device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI627588B (en) * 2015-04-23 2018-06-21 日商思可林集團股份有限公司 Inspection device and substrate processing apparatus
US10043694B2 (en) 2015-04-23 2018-08-07 SCREEN Holdings Co., Ltd. Inspection device and substrate processing apparatus
US10546766B2 (en) 2015-04-23 2020-01-28 SCREEN Holdings Co., Ltd. Inspection device and substrate processing apparatus
TWI628430B (en) * 2017-01-12 2018-07-01 南亞科技股份有限公司 Wafer-recognizing method and apparatus
US20180197284A1 (en) * 2017-01-12 2018-07-12 Nanya Technology Corporation Method of recognizing wafer
US10147178B2 (en) * 2017-01-12 2018-12-04 Nanya Technology Corporation Method of recognizing wafer
TWI702493B (en) * 2019-09-09 2020-08-21 英業達股份有限公司 Testing method and system of socket
TWI822126B (en) * 2021-07-14 2023-11-11 日商日立全球先端科技股份有限公司 Sample observation device, sample observation method and computer system

Also Published As

Publication number Publication date
TWI500925B (en) 2015-09-21
WO2014045508A1 (en) 2014-03-27

Similar Documents

Publication Publication Date Title
TWI500925B (en) Check the device, check the method and check the program
CN106856003B (en) The expansion bearing calibration of shaft-like workpiece side surface defects detection image
TWI419081B (en) Method and system for providing augmented reality based on marker tracing, and computer program product thereof
JP5713159B2 (en) Three-dimensional position / orientation measurement apparatus, method and program using stereo images
JP5699788B2 (en) Screen area detection method and system
US8315425B2 (en) Method for comparison of 3D computer model and as-built situation of an industrial plant
US20150262346A1 (en) Image processing apparatus, image processing method, and image processing program
JP4001162B2 (en) Image processing method, image processing program and storage medium therefor, and image processing apparatus
CA2507174A1 (en) Method of registering and aligning multiple images
JP2005072888A (en) Image projection method and image projection device
JP5015721B2 (en) Defect inspection apparatus, defect inspection program, graphic drawing apparatus, and graphic drawing system
JPWO2006135040A1 (en) Image processing apparatus and image processing method for performing three-dimensional measurement
JP2017032548A (en) Using 3d vision for automated industrial inspection
US20130058526A1 (en) Device for automated detection of feature for calibration and method thereof
JP2015194477A (en) Information processing device, information processing method, and program
JP5388921B2 (en) Three-dimensional distance measuring apparatus and method
JP2011198330A (en) Method and program for collation in three-dimensional registration
WO2014156429A1 (en) Visual collation assistance device and method for controlling same
JP5274173B2 (en) Vehicle inspection device
JP2011155412A (en) Projection system and distortion correction method in the same
Wang et al. Structured-light three-dimensional scanning for process monitoring and quality control in precast concrete production.
CN115375608A (en) Detection method and device, detection equipment and storage medium
KR100808536B1 (en) Method for calibration using by pattern image
JP6018802B2 (en) Dimension measuring device and computer program
TW201234235A (en) Method and system for calculating calibration information for an optical touch apparatus