TWI761651B - Optical inspection system and method with high information - Google Patents

Optical inspection system and method with high information Download PDF

Info

Publication number
TWI761651B
TWI761651B TW107147806A TW107147806A TWI761651B TW I761651 B TWI761651 B TW I761651B TW 107147806 A TW107147806 A TW 107147806A TW 107147806 A TW107147806 A TW 107147806A TW I761651 B TWI761651 B TW I761651B
Authority
TW
Taiwan
Prior art keywords
image
color
calibration
detection
light source
Prior art date
Application number
TW107147806A
Other languages
Chinese (zh)
Other versions
TW202026629A (en
Inventor
李彥志
游騰淵
王家銘
Original Assignee
聯策科技股份有限公司
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 聯策科技股份有限公司 filed Critical 聯策科技股份有限公司
Priority to TW107147806A priority Critical patent/TWI761651B/en
Publication of TW202026629A publication Critical patent/TW202026629A/en
Application granted granted Critical
Publication of TWI761651B publication Critical patent/TWI761651B/en

Links

Images

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

本發明提供一種具有高度資訊之光學檢測系統與方法,該方法包含:啟動不同顏色之光源裝置照射一平台所承載之一校正片,並從該校正片拍攝一校正影像;記錄該校正影像之顏色分佈;啟動不同顏色之光源裝置照射該平台所承載之一待檢測物,並從該待檢測物拍攝一檢測影像;計算該檢測影像之顏色分佈;比對該校正影像與該檢測影像之顏色分佈,若兩者之顏色分佈至少一部份不一致,則記錄該待檢測物具有高度資訊之瑕疵;以及轉換該檢測影像中與該校正影像之顏色分佈一致的部份為一預設顏色,並儲存該轉換的檢測影像用於後續複檢該待檢測物之瑕疵。 The present invention provides an optical detection system and method with height information. The method includes: activating light source devices of different colors to illuminate a calibration sheet carried on a platform, and shooting a calibration image from the calibration sheet; recording the color of the calibration image distribution; activate light source devices of different colors to illuminate an object to be detected carried by the platform, and shoot a detection image from the object to be detected; calculate the color distribution of the detected image; compare the color distribution of the corrected image and the detected image , if at least a part of the color distribution of the two is inconsistent, record the defect that the object to be inspected has height information; and convert the part of the inspection image that is consistent with the color distribution of the calibration image into a preset color, and store The converted inspection image is used for subsequent re-inspection of the object to be inspected for defects.

Description

具有高度資訊之光學檢測系統與方法 Optical inspection system and method with high information

本發明是關於一種光學檢測系統與方法,特別是,本發明是一種藉由不同顏色之光源裝置照射一待檢測物以獲得高度資訊之光學檢測系統與方法。 The present invention relates to an optical detection system and method, in particular, the present invention relates to an optical detection system and method for illuminating an object to be detected by light source devices of different colors to obtain height information.

請同時參考第一圖與第二圖,分別顯示習知光學檢測系統之系統架構圖與系統方塊圖。習知光學檢測系統包含:一影像拍攝系統以及一光源裝置,該影像拍攝系統從一平台2所承載的一待檢測物1上界定一拍攝光軸18,以拍攝一檢測影像,其中該待檢測物1以電路板為例,在其表面上可分布複數個零件或其佈線,該影像拍攝系統包括:一具有鏡頭12之相機11,該相機11定義該拍攝光軸18;以及一偏光鏡13,配置於該相機11的拍攝光軸18以濾掉雜散光源。該光源裝置照射該待檢測物1的檢測面,以讓待檢測物1的瑕疵與缺陷可以顯現於該檢測影像中。該光源裝置包含:一分光鏡14,配置於該相機1的拍攝光軸18;一正光源15,搭配該分光鏡14以提供該待檢測物1的正光源供相機11拍攝取像;以及,一左側光源17與一右側光源16,從旁提供待檢測物1的拍攝輔助光。習知光學檢測系統利用該檢測影像決定該待檢測物1為OK件(表示無瑕疵存在)或NG件(表示有瑕疵存在),以便於後續作業人員在瑕疵覆檢程序中,藉由白光照射NG件進行人眼辨識瑕疵的狀況。 Please refer to the first figure and the second figure at the same time, which show a system structure diagram and a system block diagram of a conventional optical detection system, respectively. The conventional optical inspection system includes: an image capturing system and a light source device. The image capturing system defines a capturing optical axis 18 from a to-be-detected object 1 carried by a platform 2 to capture a detection image, wherein the to-be-detected image is captured by the image capturing system. The object 1 takes a circuit board as an example, and a plurality of parts or their wirings can be distributed on the surface thereof. The image capturing system includes: a camera 11 with a lens 12, the camera 11 defines the shooting optical axis 18; and a polarizer 13 , which is arranged on the photographing optical axis 18 of the camera 11 to filter out stray light sources. The light source device illuminates the inspection surface of the object to be inspected 1, so that the flaws and defects of the object to be inspected 1 can appear in the inspection image. The light source device includes: a beam splitter 14, which is arranged on the photographing optical axis 18 of the camera 1; a positive light source 15, which is matched with the beam splitter 14 to provide the positive light source of the object to be detected 1 for the camera 11 to take pictures; and, A left light source 17 and a right light source 16 provide auxiliary light for photographing the object 1 to be inspected. The conventional optical inspection system uses the inspection image to determine whether the object to be inspected 1 is an OK part (indicating that there is no defect) or a NG part (indicating that there is a defect), so that the subsequent operators can illuminate the defect with white light in the defect review process. The condition of NG pieces for human eye recognition of defects.

在習知光學檢測系統中,待檢測物1上高度的差異是一般光學系統無法得到資訊,常常必須使用可量測高度差異的設備,去檢測得知高度的變化程度,也因此會增加習知光學檢測系統的成本。 In the conventional optical detection system, the height difference of the object to be detected 1 cannot be obtained by the general optical system, and equipment that can measure the height difference is often used to detect the degree of change in height, which increases the knowledge of the conventional optical system. Cost of optical inspection systems.

待檢測物1的高度檢測手段可搭配不同的光學系統去量測,一種常見的手段會以不同顏色的光源去打光在待檢測物1上,藉由檢測影像顯現不同的顏色反射,以產生高度差的資訊。但也因為如此,得到的檢測影像不是真實人眼看到的白光照射的反應,直接的非白光照射所得到的影像,雖然可以呈現高度的變化,但該影像卻不利於後續的人眼辨識輔以白光照射的瑕疵覆檢程序。 The height detection method of the object to be detected 1 can be measured with different optical systems. A common method is to illuminate the object to be detected 1 with light sources of different colors, and the detection images show different color reflections to generate height difference information. But also because of this, the obtained detection image is not the response of white light irradiation seen by real human eyes. Although the image obtained by direct non-white light irradiation can show a high degree of change, the image is not conducive to subsequent human eye recognition. Defect review procedure for white light exposure.

依先前技術,雖然可以得到待檢測物1的高度變化差異,但也因為光源裝置使用非白光的顏色,所以檢測影像整體的呈現與實際白光照射的結果會有差異。但光源裝置如果只是用白光,又看不出待檢測物1的高度差異變化,且單純用同色光源去照射高度有差異的料號,可能會看到料號有陰影的現象,但此現象是因為高度差異所造成,還是原本是黑色的髒污所影響,使先前技術無法辨識。因此,依先前技術的高度檢測,待檢測物1並非存在高度資訊即表示瑕疵,導致後續瑕疵覆檢程序可能因待檢測物1原有的零件或IC在檢測影像中產生高度資訊而重複檢查。 According to the prior art, although the height variation difference of the object to be detected 1 can be obtained, because the light source device uses non-white light color, the overall appearance of the detected image will be different from the actual white light irradiation result. However, if the light source device only uses white light, the height difference change of the object to be detected 1 cannot be seen, and the same color light source is used to illuminate the item numbers with different heights, and the phenomenon of shadows on the item numbers may be seen, but this phenomenon is Due to the difference in height, it is also caused by the original black dirt, which cannot be recognized by the prior art. Therefore, according to the height detection of the prior art, the absence of height information on the object to be inspected 1 indicates a defect, and the subsequent defect review process may repeat inspections due to the original parts or IC of the object to be inspected 1 generating height information in the inspection image.

有鑑於先前技術所存在的問題與應用上的需求,本發明的目的之一在於提供一種使用多角度多顏色的對稱光源獲得高度資訊之光學檢測系統與方法。 In view of the problems and application requirements of the prior art, one of the objectives of the present invention is to provide an optical detection system and method for obtaining height information by using a multi-angle multi-color symmetrical light source.

本發明的目的之一在於提供一種使用多角度多顏色的光 源,將檢測影像中無瑕疵的高度資訊轉換為一預設顏色之光學檢測系統與方法,以便於後續作業人員基於轉換的檢測影像,對NG件輔以光源進行瑕疵覆檢程序。 One of the objects of the present invention is to provide a multi-angle multi-color light The source is an optical inspection system and method that converts flawless height information in the inspection image into a preset color, so that subsequent operators can perform defect review procedures on NG parts supplemented by a light source based on the converted inspection image.

為實現本發明之上述目的之一,本發明提出一種具有高度資訊之光學檢測系統,包含:一平台,用以承載一待檢測物;一影像拍攝系統,在該待檢測物上界定一拍攝光軸,以拍攝一檢測影像;以及一光源裝置,包含複數個不同顏色的光源,該等不同顏色的光源照射該待檢測物;其中,該等不同顏色的光源至少分為兩群光源,分別配置於該拍攝光軸的兩側,藉由該群光源的配置,以賦予該檢測影像包含該待檢測物的高度資訊。 In order to achieve one of the above-mentioned objects of the present invention, the present invention provides an optical detection system with high-level information, comprising: a platform for carrying an object to be detected; an image capturing system for defining a photographing light on the object to be detected an axis to capture a detection image; and a light source device including a plurality of light sources of different colors, and the light sources of different colors illuminate the object to be detected; wherein, the light sources of different colors are at least divided into two groups of light sources, which are respectively arranged On both sides of the photographing optical axis, the detection image is provided with height information of the object to be detected by the configuration of the group of light sources.

其中,該平台用以承載一校正片,且該等不同顏色的光源照射該校正片,使該影像拍攝系統在該校正片上拍攝一校正影像,且該校正影像用以決定一校正參數。 Wherein, the platform is used to carry a calibration sheet, and the light sources of different colors illuminate the calibration sheet, so that the image capturing system shoots a calibration image on the calibration sheet, and the calibration image is used to determine a calibration parameter.

其中,該校正參數用以將該檢測影像中無瑕疵的高度資訊的區域之顏色校正為白色,且該檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的部份,以及白色。 Wherein, the calibration parameter is used for correcting the color of the region with flawless height information in the inspection image to white, and the color distribution of the inspection image includes the part inconsistent with the color distribution of the calibration image and white.

為實現本發明之上述目的之一,本發明提出一種具有高度資訊之光學檢測方法,包含:啟動不同顏色之光源裝置照射一平台所承載之一校正片,並從該校正片拍攝一校正影像;記錄該校正影像之顏色分佈;啟動不同顏色之光源裝置照射該平台所承載之一待檢測物,並從該待檢測物拍攝一檢測影像;計算該檢測影像之顏色分佈;比對該校正影像與該檢測影像之顏色分佈,若兩者之顏色分佈至少一部份不一致,則記錄該待檢 測物具有高度資訊之瑕疵;以及轉換該檢測影像中與該校正影像之顏色分佈一致的部份為一預設顏色,並儲存該轉換的檢測影像用於後續複檢該待檢測物之瑕疵。 In order to achieve one of the above objects of the present invention, the present invention provides an optical detection method with height information, comprising: activating light source devices of different colors to illuminate a calibration sheet carried on a platform, and shooting a calibration image from the calibration sheet; Record the color distribution of the corrected image; activate light source devices of different colors to illuminate an object to be inspected carried by the platform, and shoot a detected image from the object to be inspected; calculate the color distribution of the detected image; compare the corrected image with The color distribution of the detected image, if at least a part of the color distribution of the two is inconsistent, record the to-be-detected The test object has defects of height information; and the part of the inspection image that is consistent with the color distribution of the calibration image is converted into a preset color, and the converted inspection image is stored for subsequent re-inspection of the defects of the object to be inspected.

其中本發明更包括:設定至少一檢測區之參數;根據該檢測區之參數,比對該校正影像與該檢測影像之顏色分佈;根據該檢測區之參數,記錄該校正影像之一校正參數;以及,根據該檢測區之參數與該校正參數,轉換該檢測影像中與該校正影像之顏色分佈一致的部份為該預設顏色。 The present invention further comprises: setting parameters of at least one detection area; comparing the color distribution of the calibration image and the detection image according to the parameters of the detection area; recording a calibration parameter of the calibration image according to the parameters of the detection area; And, according to the parameter of the detection area and the calibration parameter, the part of the detection image that is consistent with the color distribution of the calibration image is converted into the preset color.

其中本發明更包括:設定一色差門檻值;以及若該校正影像與該檢測影像之顏色分佈的色差超過該色差門檻值,則判定兩者之顏色分佈至少一部份不一致。 The present invention further comprises: setting a color difference threshold; and if the color difference of the color distribution of the correction image and the detection image exceeds the color difference threshold, determining that the color distributions of the two are at least partially inconsistent.

其中,該校正影像之顏色分佈包含全平面資訊或零件之高度資訊,且該轉換的檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的部份,以及該預設顏色,而該預設顏色較佳為白色,以利於瑕疵覆檢程序輔以白光檢查待檢測物。 Wherein, the color distribution of the calibration image includes full plane information or height information of parts, and the color distribution of the converted inspection image includes the part inconsistent with the color distribution of the calibration image, and the preset color, and the preset color distribution The color is preferably white, so as to facilitate the defect review process and white light to inspect the object to be inspected.

根據本發明所實施的具有高度資訊之光學檢測系統與方法,在檢測影像得到高度差異的顏色分布後,將無瑕疵的高度資訊轉換為白光,而保留與校正影像不一致之顏色分佈,讓後續作業人員輔以白光進行瑕疵覆檢程序可便於確認高度資訊是否為瑕疵,且除瑕疵高度檢查外,同時檢查確認,如刮傷,偏位等缺陷。 According to the optical detection system and method with height information implemented in the present invention, after detecting the image to obtain the color distribution of the height difference, the flawless height information is converted into white light, and the color distribution inconsistent with the corrected image is retained for subsequent operations. Personnel supplemented by white light to carry out the defect review process can easily confirm whether the height information is a defect.

1‧‧‧待檢測物 1‧‧‧Object to be tested

2‧‧‧移動平台 2‧‧‧Mobile Platform

11‧‧‧相機 11‧‧‧Camera

12‧‧‧鏡頭 12‧‧‧Lens

13‧‧‧偏光鏡 13‧‧‧Polarizer

14‧‧‧分光鏡 14‧‧‧Beamsplitter

15‧‧‧正光源 15‧‧‧Positive light source

16‧‧‧右側光源 16‧‧‧Light source on the right

17‧‧‧左側光源 17‧‧‧Left light source

18‧‧‧拍攝光軸 18‧‧‧Shooting optical axis

21‧‧‧左側R光源 21‧‧‧R light source on the left

22‧‧‧右側R光源 22‧‧‧R light source on the right

31‧‧‧左側G光源 31‧‧‧Left G light source

32‧‧‧右側G光源 32‧‧‧Right G light source

41‧‧‧左側B光源 41‧‧‧Left B light source

42‧‧‧右側B光源 42‧‧‧B light source on the right

100‧‧‧檢測校正方法 100‧‧‧Detection and correction method

200‧‧‧光學檢測方法 200‧‧‧Optical detection methods

101~107‧‧‧步驟 101~107‧‧‧Steps

201~214‧‧‧步驟 201~214‧‧‧Steps

A、B、B’‧‧‧區域 A, B, B’‧‧‧ area

第一圖是習知光學檢測系統之系統架構圖。 The first figure is a system architecture diagram of a conventional optical detection system.

第二圖是習知光學檢測系統之系統方塊圖。 The second figure is a system block diagram of a conventional optical detection system.

第三A圖是本發明光學檢測系統第一實施例之系統架構圖。 Figure 3 A is a system architecture diagram of the first embodiment of the optical detection system of the present invention.

第三B圖是本發明光學檢測系統第二實施例之系統架構圖。 Figure 3 B is a system architecture diagram of the second embodiment of the optical detection system of the present invention.

第三C圖是本發明光學檢測系統第三實施例之系統架構圖。 The third diagram C is a system architecture diagram of the third embodiment of the optical detection system of the present invention.

第三D圖是本發明光學檢測系統第四實施例之系統架構圖。 Figure 3 D is a system architecture diagram of the fourth embodiment of the optical detection system of the present invention.

第四圖是本發明光學檢測系統之校正流程圖。 The fourth figure is the calibration flow chart of the optical detection system of the present invention.

第五圖是本發明光學檢測系統之檢測流程圖。 The fifth figure is the detection flow chart of the optical detection system of the present invention.

第六A圖是本發明系統使用多角度多顏色的對稱光源之校正影像示意圖。 FIG. 6A is a schematic diagram of a calibration image of the system of the present invention using a multi-angle and multi-color symmetrical light source.

第六B圖是本發明系統使用多角度多顏色的對稱光源之檢測影像示意圖。 FIG. 6B is a schematic diagram of a detection image of the system of the present invention using symmetrical light sources with multiple angles and colors.

第六C圖是本發明系統將檢測影像中無瑕疵的高度資訊轉換為白色之檢測影像示意圖。 The sixth figure C is a schematic diagram of the detection image in which the system of the present invention converts the flawless height information in the detection image into white.

首先請參考第三A圖,係顯示本發明光學檢測系統第一實施例之系統架構圖。在第一實施例中,本發明光學檢測系統包含一平台2;一影像拍攝系統以及一光源裝置,其中該平台2用以承載一待檢測物1或一校正片,而該校正片可視為無瑕疵狀況之待檢測物1。本發明影像拍攝系統包括:一具有鏡頭12之相機11,該相機11從該平台2所承載的待檢測物1上界定一拍攝光軸18,以拍攝一檢測影像;以及一偏光鏡13,配置於該相機11的拍攝光軸18以濾掉雜散光源。該光源裝置配置以照射該待檢測物1的檢測面,讓待檢測物1的瑕疵與缺陷可以顯現於該相機11所拍攝的檢測影像中。 First, please refer to FIG. 3 A, which shows a system structure diagram of the first embodiment of the optical detection system of the present invention. In the first embodiment, the optical detection system of the present invention includes a platform 2 ; an image capturing system and a light source device, wherein the platform 2 is used to carry an object to be detected 1 or a calibration sheet, and the calibration sheet can be regarded as without Object to be inspected for defective condition 1. The image capturing system of the present invention includes: a camera 11 with a lens 12, the camera 11 defines a capturing optical axis 18 from the object to be inspected 1 carried by the platform 2 to capture a detected image; and a polarizer 13, configured On the shooting optical axis 18 of the camera 11 to filter out stray light sources. The light source device is configured to illuminate the inspection surface of the object to be inspected 1 , so that flaws and defects of the object to be inspected 1 can appear in the inspection image captured by the camera 11 .

在此第一實施例中,本發明光源裝置,包含:左側群光源(左側R光源21、左側G光源31與左側B光源41);以及,右側群光源(右側R光源22、右側G光源32與右側B光源42),其中,R、G、B分別表示紅色、綠色與藍色。本發明光源裝置使用多角度多顏色的兩群對稱光源,係在影像拍攝系統之拍攝光軸18之兩側配置以相同數量的光源,但夾角位置與顏色可以不一樣。其中,在影像拍攝系統之拍攝光軸18之一側配置以左側R光源21、左側G光源31與左側B光源41等左側群光源,且各色左側光源21、31、41的照射角度分別與該拍攝光軸18或該待檢測物1的檢測面之間具有不同的夾角,例如各色光源的夾角彼此相差5度;並在影像拍攝系統之拍攝光軸18之另一側對稱配置以右側R光源22、右側G光源32與右側B光源42等右側群光源,且各色右側光源22、32、42的照射角度分別對稱於各色左側光源21、31、41的照射角度。 In this first embodiment, the light source device of the present invention includes: left group light sources (left R light source 21 , left G light source 31 and left B light source 41 ); and right group light sources (right R light source 22 , right G light source 32 ) and the right side B light source 42), wherein R, G, B represent red, green and blue, respectively. The light source device of the present invention uses two groups of symmetrical light sources with multiple angles and colors. The same number of light sources are arranged on both sides of the photographing optical axis 18 of the image photographing system, but the angle positions and colors may be different. Among them, a left group light source such as a left R light source 21, a left G light source 31 and a left B light source 41 is arranged on one side of the photographing optical axis 18 of the image photographing system, and the illumination angles of the left light sources 21, 31 and 41 of each color are respectively the same as those of the left light source. There are different angles between the photographing optical axis 18 or the detection surface of the object to be detected 1, for example, the angles of the light sources of each color differ from each other by 5 degrees; and the right R light source is symmetrically arranged on the other side of the photographing optical axis 18 of the image photographing system 22. Right group light sources such as the right G light source 32 and the right B light source 42, and the illumination angles of the right light sources 22, 32, and 42 of each color are symmetrical to the illumination angles of the left light sources 21, 31, and 41 of each color.

當本發明光學檢測系統啟動第一實施例所配置不同顏色之光源21、22、31、32、41、42共同照射平台2所承載之一校正片時,影像拍攝系統可從該校正片拍攝一校正影像,其中該校正片可視為無瑕疵狀況之待檢測物1。因此本發明光學檢測系統可從校正影像獲得無瑕疵狀況之顏色分佈,並加以儲存記錄。之後,當本發明光學檢測系統啟動第一實施例所配置不同顏色之光源21、22、31、32、41、42共同照射平台2所承載之一待檢測物1時,影像拍攝系統可從該待檢測物1拍攝一檢測影像。本發明光學檢測系統計算該檢測影像之顏色分佈,並比對該校正影像與該檢測影像之顏色分佈,若兩者之顏色分佈至少一部份不一致,則記錄該待檢測物1具有高度資訊之瑕疵,認定為NG件;若兩者之顏色分佈一致,則記錄該待檢測 物1無瑕疵狀況,認定為OK件。本發明光學檢測系統對NG件的檢測影像將無瑕疵的高度資訊轉換為白光,而保留與校正影像不一致之顏色分佈,讓後續作業人員根據轉換的檢測影像,輔以白光對NG件進行瑕疵覆檢程序可便於確認高度資訊是否為瑕疵狀況。 When the optical detection system of the present invention activates the light sources 21 , 22 , 31 , 32 , 41 , 42 of different colors configured in the first embodiment to jointly illuminate a calibration sheet carried by the platform 2 , the image capturing system can capture a calibration sheet from the calibration sheet. The calibration image, wherein the calibration sheet can be regarded as the object to be inspected 1 in a flawless state. Therefore, the optical inspection system of the present invention can obtain the color distribution of the flawless condition from the corrected image, and store and record it. Afterwards, when the optical detection system of the present invention activates the light sources 21, 22, 31, 32, 41, 42 of different colors configured in the first embodiment to jointly illuminate an object to be detected 1 carried by the platform 2, the image capture system can start from the The object to be detected 1 captures a detection image. The optical inspection system of the present invention calculates the color distribution of the inspection image, and compares the color distribution of the corrected image and the inspection image. If the color distributions of the two are at least partially inconsistent, record the height information of the object to be inspected 1. Defects are identified as NG pieces; if the color distribution of the two is the same, the pending inspection shall be recorded. Item 1 has no defects and is considered to be OK. The optical inspection system of the present invention converts the flawless height information into white light for the inspection image of the NG part, and retains the color distribution inconsistent with the corrected image, so that the subsequent operators can cover the defect of the NG part with white light according to the converted inspection image. The inspection procedure can easily confirm whether the height information is a defective condition.

請參考第三B圖,係顯示本發明光學檢測系統第二實施例之系統架構圖。在第二實施例中,本發明光學檢測系統的平台2與影像拍攝系統相同於第一實施例的平台2與影像拍攝系統,但光源裝置不同於第一實施例的光源裝置的對稱方式。在此第二實施例中,本發明光源裝置,包含:左側群光源(左側R光源21、左側G光源31與左側B光源41);以及,右側群光源(右側R光源22、右側G光源32與右側B光源42)。本發明光源裝置使用多角度多顏色的兩群對稱光源,係在影像拍攝系統之拍攝光軸18之兩側配置以相同數量的光源,但夾角位置與顏色可以不一樣。其中,在影像拍攝系統之拍攝光軸18之一側配置以左側R光源21、左側G光源31與左側B光源41等左側群光源,且各色左側光源21、31、41的照射角度分別與該拍攝光軸18或該待檢測物1的檢測面之間具有不同的夾角;並在影像拍攝系統之拍攝光軸18之另一側對稱配置以右側R光源22、右側G光源32與右側B光源42等右側群光源,但各色右側光源22、32、42的照射角度分別對稱於各色左側光源31、21、41的照射角度。換言之,第一實施例與第二實施例的左側R光源21與左側G光源31在位置上對調。 Please refer to FIG. 3 B, which shows a system structure diagram of the second embodiment of the optical detection system of the present invention. In the second embodiment, the platform 2 and the image capturing system of the optical detection system of the present invention are the same as the platform 2 and the image capturing system of the first embodiment, but the light source device is different from the symmetry mode of the light source device of the first embodiment. In the second embodiment, the light source device of the present invention includes: left group light sources (left R light source 21 , left G light source 31 and left B light source 41 ); and right group light sources (right R light source 22 , right G light source 32 ) with the right B light source 42). The light source device of the present invention uses two groups of symmetrical light sources with multiple angles and colors. The same number of light sources are arranged on both sides of the photographing optical axis 18 of the image photographing system, but the angle positions and colors may be different. Among them, a left group light source such as a left R light source 21, a left G light source 31 and a left B light source 41 is arranged on one side of the photographing optical axis 18 of the image photographing system, and the illumination angles of the left light sources 21, 31 and 41 of each color are respectively the same as those of the left light source. The shooting optical axis 18 or the detection surface of the object to be detected 1 has different included angles; and the right R light source 22, the right G light source 32 and the right B light source are symmetrically arranged on the other side of the shooting optical axis 18 of the image shooting system 42 and other right group light sources, but the irradiation angles of the right light sources 22, 32, and 42 of each color are symmetrical to the irradiation angles of the left light sources 31, 21, and 41 of each color. In other words, the positions of the left R light source 21 and the left G light source 31 of the first embodiment and the second embodiment are reversed.

在第二實施例中,本發明光學檢測系統啟動不同顏色之光源共同照射平台2所承載之一校正片或一待檢測物,以拍攝一校正影像或一檢測影像並藉以比對兩者之顏色分佈來決定該待檢測物是否為NG件的運作 方式,係相同於第一實施例所示的光學檢測系統。 In the second embodiment, the optical inspection system of the present invention activates light sources of different colors to jointly illuminate a calibration sheet or an object to be inspected carried on the platform 2 to capture a calibration image or a detection image and compare the colors of the two Distribution to determine whether the object to be detected is an NG piece of work The method is the same as that of the optical detection system shown in the first embodiment.

請參考第三C圖,係顯示本發明光學檢測系統第三實施例之系統架構圖。在第三實施例中,本發明光學檢測系統的平台2與影像拍攝系統相同於第一實施例的平台2與影像拍攝系統,但光源裝置不同於第一實施例的光源裝置的對稱方式。在此第三實施例中,本發明光源裝置,包含:左側群光源(左側R光源21與左側G光源31);以及,右側群光源(右側R光源22與右側G光源32)。本發明光源裝置使用多角度多顏色的兩群對稱光源,係在影像拍攝系統之拍攝光軸18之兩側配置以相同數量的光源,但夾角位置與顏色可以不一樣。其中,在影像拍攝系統之拍攝光軸18之一側配置以左側R光源21與左側G光源31等左側群光源,且各色左側光源21、31的照射角度分別與該拍攝光軸18或該待檢測物1的檢測面之間具有不同的夾角;並在影像拍攝系統之拍攝光軸18之另一側對稱配置以右側R光源22與右側G光源32等右側群光源,但各色右側光源22、32的照射角度分別對稱於各色左側光源21、31的照射角度。換言之,第三實施例與第一實施例的差異在於未使用左側B光源41與右側B光源42。 Please refer to FIG. 3 C, which shows a system structure diagram of the third embodiment of the optical detection system of the present invention. In the third embodiment, the platform 2 and the image capturing system of the optical detection system of the present invention are the same as the platform 2 and the image capturing system of the first embodiment, but the light source device is different from the symmetrical manner of the light source device of the first embodiment. In the third embodiment, the light source device of the present invention includes: left group light sources (left R light source 21 and left G light source 31 ); and right group light sources (right R light source 22 and right G light source 32 ). The light source device of the present invention uses two groups of symmetrical light sources with multiple angles and colors. The same number of light sources are arranged on both sides of the photographing optical axis 18 of the image photographing system, but the angle positions and colors may be different. Among them, a left group light source such as a left R light source 21 and a left G light source 31 is arranged on one side of the photographing optical axis 18 of the image photographing system, and the illumination angles of the left light sources 21 and 31 of each color are respectively the same as the photographing optical axis 18 or the waiting light source. There are different angles between the detection surfaces of the detection object 1; and the right group light sources such as the right R light source 22 and the right G light source 32 are symmetrically arranged on the other side of the photographing optical axis 18 of the image capturing system, but the right light sources 22, The irradiation angles of 32 are symmetrical to the irradiation angles of the left light sources 21 and 31 of the respective colors. In other words, the difference between the third embodiment and the first embodiment is that the left B light source 41 and the right B light source 42 are not used.

在第三實施例中,本發明光學檢測系統啟動不同顏色之光源共同照射平台2所承載之一校正片或一待檢測物,以拍攝一校正影像或一檢測影像並藉以比對兩者之顏色分佈來決定該待檢測物是否為NG件的運作方式,係相同於第一實施例所示的光學檢測系統。 In the third embodiment, the optical inspection system of the present invention activates light sources of different colors to jointly illuminate a calibration sheet or an object to be inspected carried on the platform 2 to capture a calibration image or a detection image and compare the colors of the two The operation method of determining whether the object to be detected is an NG piece by distribution is the same as that of the optical detection system shown in the first embodiment.

請參考第三D圖,係顯示本發明光學檢測系統第四實施例之系統架構圖。在第四實施例中,本發明光學檢測系統的平台2與影像拍攝系統相同於第一實施例的平台2與影像拍攝系統,但光源裝置不同於第一實施 例的光源裝置的對稱方式。在此第四實施例中,本發明光源裝置,包含:左側群光源(左側R光源21與左側G光源31);以及,右側群光源(右側G光源32與右側B光源42)。本發明光源裝置使用多角度多顏色的兩群對稱光源,係在影像拍攝系統之拍攝光軸18之兩側配置以相同數量的光源,但夾角位置與顏色可以不一樣。其中,在影像拍攝系統之拍攝光軸18之一側配置以左側R光源21與左側G光源31等左側群光源,且各色左側光源21、31的照射角度分別與該拍攝光軸18或該待檢測物1的檢測面之間具有不同的夾角;並在影像拍攝系統之拍攝光軸18之另一側對稱配置以右側G光源32與右側B光源42等右側群光源,但各色右側光源32、42的照射角度分別對稱於各色左側光源31、21的照射角度。換言之,第四實施例與第一實施例的差異在於未使用左側B光源41與右側R光源22,且拍攝光軸18之兩側配置不同顏色的光源組合。 Please refer to FIG. 3 D, which shows a system structure diagram of the fourth embodiment of the optical detection system of the present invention. In the fourth embodiment, the platform 2 and the image capturing system of the optical detection system of the present invention are the same as the platform 2 and the image capturing system of the first embodiment, but the light source device is different from the first embodiment Example of the symmetry of the light source device. In the fourth embodiment, the light source device of the present invention includes: left group light sources (left R light source 21 and left G light source 31 ); and right group light sources (right G light source 32 and right B light source 42 ). The light source device of the present invention uses two groups of symmetrical light sources with multiple angles and colors. The same number of light sources are arranged on both sides of the photographing optical axis 18 of the image photographing system, but the angle positions and colors may be different. Among them, a left group light source such as a left R light source 21 and a left G light source 31 is arranged on one side of the photographing optical axis 18 of the image photographing system, and the illumination angles of the left light sources 21 and 31 of each color are respectively the same as the photographing optical axis 18 or the waiting light source. The detection surfaces of the detection object 1 have different included angles; and the right group light sources such as the right G light source 32 and the right B light source 42 are symmetrically arranged on the other side of the photographing optical axis 18 of the image capturing system, but the right light sources 32, The irradiation angles of 42 are symmetrical to the irradiation angles of the left light sources 31 and 21 of the respective colors. In other words, the difference between the fourth embodiment and the first embodiment is that the left B light source 41 and the right R light source 22 are not used, and the light source combinations of different colors are arranged on both sides of the photographing optical axis 18 .

在第四實施例中,本發明光學檢測系統啟動不同顏色之光源共同照射平台2所承載之一校正片或一待檢測物,以拍攝一校正影像或一檢測影像並藉以比對兩者之顏色分佈來決定該待檢測物是否為NG件的運作方式,係相同於第一實施例所示的光學檢測系統。 In the fourth embodiment, the optical inspection system of the present invention activates light sources of different colors to jointly illuminate a calibration sheet or an object to be inspected carried on the platform 2 to capture a calibration image or a detection image and compare the colors of the two The operation method of determining whether the object to be detected is an NG piece by distribution is the same as that of the optical detection system shown in the first embodiment.

根據本發明的各種實施例,光源裝置不限於顏色排列與光源數量,重點是不同顏色依照不同角度去排列,本發明系統可獲得不同顏色對應到的瑕疵翹曲的角度高低。相較於第三與第四實施例,本發明第一與第二實施例的光學檢測系統使用較多數量的光源,因此第一與第二實施例所獲得的校正影像與檢測影像在高度資訊的精準度比第三與第四實施例所獲得的校正影像與檢測影像為高。相較於第一與第三實施例,本發明第二 與第四實施例的光學檢測系統在拍攝光軸18之兩側配置不同顏色的光源組合,因此第二與第四實施例所獲得的校正影像與檢測影像可以分辨到底是左邊高度有缺陷還是右側高度造成的缺陷,因為左右兩側的光源顏色不同,又可以多得到瑕疵翹曲位置的資訊,如第三D圖所示,左邊翹曲在檢測影像會反射出紅光,右邊翹曲在檢測影像會反射出藍光。 According to various embodiments of the present invention, the light source device is not limited to the arrangement of colors and the number of light sources. The key point is that different colors are arranged according to different angles. Compared with the third and fourth embodiments, the optical detection systems of the first and second embodiments of the present invention use a larger number of light sources, so the corrected images and the detected images obtained in the first and second embodiments have height information. The accuracy is higher than the calibration images and detection images obtained in the third and fourth embodiments. Compared with the first and third embodiments, the second embodiment of the present invention In combination with the optical inspection system of the fourth embodiment, light sources of different colors are arranged on both sides of the photographing optical axis 18, so the corrected images and inspection images obtained in the second and fourth embodiments can distinguish whether the left height is defective or the right Defects caused by height, because the colors of the light sources on the left and right sides are different, and more information about the warping position of the defect can be obtained. As shown in the third D picture, the warping on the left will reflect red light in the inspection image, and the warping on the right is in the inspection. The image reflects blue light.

請參考第四圖,顯示本發明光學檢測系統之校正流程圖。在本發明前述實施例中,對待檢測物1進行瑕疵檢測前,本發明光學檢測系統需先執行檢測校正方法100或校正流程,以獲得必要的校正參數。如第四圖所示本發明光學檢測系統之檢測校正方法100或校正流程包含以下步驟:步驟101:放置一校正片至平台2,其中該校正片可為一無瑕疵狀況之待檢測物,或一全平面(表示無高度資訊)之校正片。步驟102:啟動包含不同顏色之光源裝置照射該平台2所承載的校正片。步驟103:本發明影像拍攝系統掃描拍攝該平台2所承載之該校正片,若校正片的面積超過相機11的取像範圍,在本發明進一步的實施例中,該平台2為一移動平台,可在一往復方向上運動,俾使本發明影像拍攝系統掃描拍攝該校正片的全部面積。步驟104:執行完步驟103,本發明光學檢測系統可獲得一校正影像。步驟105:本發明光學檢測系統計算該校正影像的顏色分布。步驟106:本發明光學檢測系統轉換無瑕疵高度資訊之顏色為一預設顏色,較佳為白色,在不同實施例中,本發明轉換全平面的顏色為白色,或將正常的高度畫面顏色轉換成一般白光的自然色或是使用者需要的單色光;以及步驟107:本發明光學檢測系統記錄校正參數,該校正參數包含檢測位置座標、命名、規格與顏色分布參數等。 Please refer to FIG. 4 , which shows the calibration flow chart of the optical detection system of the present invention. In the aforementioned embodiments of the present invention, before performing flaw detection on the object 1 to be detected, the optical inspection system of the present invention needs to execute the detection and calibration method 100 or the calibration process to obtain necessary calibration parameters. As shown in FIG. 4 , the detection and calibration method 100 or calibration process of the optical inspection system of the present invention includes the following steps: Step 101 : Place a calibration sheet on the platform 2 , wherein the calibration sheet can be a flawless object to be inspected, or A full-plane (meaning no height information) calibration sheet. Step 102 : Activate light source devices including different colors to illuminate the calibration sheet carried on the platform 2 . Step 103: The image capturing system of the present invention scans and captures the calibration sheet carried by the platform 2. If the area of the calibration sheet exceeds the imaging range of the camera 11, in a further embodiment of the present invention, the platform 2 is a mobile platform, It can move in a reciprocating direction, so that the image capturing system of the present invention scans and captures the entire area of the calibration sheet. Step 104: After performing step 103, the optical detection system of the present invention can obtain a corrected image. Step 105: The optical detection system of the present invention calculates the color distribution of the corrected image. Step 106: The optical detection system of the present invention converts the color of the flawless height information into a preset color, preferably white. In different embodiments, the present invention converts the color of the full plane to white, or converts the color of the normal height image and step 107 : the optical detection system of the present invention records calibration parameters, the calibration parameters include detection position coordinates, names, specifications, and color distribution parameters.

在本發明不同實施例中,校正片的不同位置可能因不同材料受不同顏色光源的照射而呈現差異。因此,校正片即使是平面無高度資訊受不同顏色光源的照射所反射的顏色也未必一致,所以本發明除了記錄校正影像的顏色分布,並計算顏色分布與白色的色差參數,加以記錄。一般來說,本發明系統執行第四圖的校正流程,是為了設備出廠前作調整參數,以記錄校正參數。在本發明不同實施例中,若待檢測物的高低起伏比較均勻,則校正流程可使用全平面(表示無高度資訊)之校正片來記錄校正參數當參考,而在進行檢測流程時,起伏均勻的程度可藉由編輯檢測參數來定義,以調整顏色比對的靈敏度。若待檢測物的高低起伏有些特點無法用平坦校正片來表達,則可選用一片OK件的待檢測物當校正片來記錄校正參數當參考,以便於後續檢測流程經檢測參數編輯位置的框選後,再實際與待檢測物的檢測影像作比對。以下進一步說明本發明光學檢測系統之檢測流程。 In different embodiments of the present invention, different positions of the calibration sheet may be different because different materials are illuminated by light sources of different colors. Therefore, even if the calibration sheet is flat without height information, the colors reflected by different color light sources may not be the same. Therefore, the present invention not only records the color distribution of the calibration image, but also calculates and records the color difference parameters between the color distribution and white. Generally speaking, the system of the present invention executes the calibration process shown in Fig. 4 in order to adjust the parameters before the equipment leaves the factory, so as to record the calibration parameters. In different embodiments of the present invention, if the height fluctuation of the object to be detected is relatively uniform, the calibration process can use a full-plane (indicating no height information) calibration sheet to record the calibration parameters for reference, and during the detection process, the fluctuation is uniform The degree of color matching can be defined by editing the detection parameters to adjust the sensitivity of color matching. If the fluctuation of the object to be detected has some characteristics that cannot be expressed by the flat calibration sheet, a piece of the object to be detected of an OK piece can be used as the calibration sheet to record the calibration parameters as a reference, so that the subsequent detection process can be edited by the frame selection of the detection parameters. Then, it is actually compared with the detection image of the object to be detected. The detection process of the optical detection system of the present invention is further described below.

請參考第五圖,顯示本發明光學檢測系統之檢測流程圖。在本發明前述實施例中,本發明光學檢測系統之光學檢測方法200或檢測流程包含以下步驟:步驟201:放置一待檢測物1至平台2。步驟202:編輯檢測參數,編輯設定該待檢測物1欲進行瑕疵檢測之檢測區包含:位置座標、框選尺寸定義、命名與規格等參數。步驟203:啟動包含不同顏色之光源裝置照射該平台2所承載的待檢測物1,此步驟203與校正流程的步驟102使用相同的光源配置與組合。步驟204:本發明影像拍攝系統掃描拍攝該平台2所承載之該待檢測物1,若待檢測物的面積超過相機11的取像範圍,在本發明進一步的實施例中,該平台2為一移動平台,可在一往復方向上運動,俾使本 發明影像拍攝系統掃描拍攝該待檢測物的全部面積。步驟205:執行完步驟204,本發明光學檢測系統可獲得一檢測影像。 Please refer to FIG. 5, which shows the detection flow chart of the optical detection system of the present invention. In the aforementioned embodiments of the present invention, the optical detection method 200 or the detection process of the optical detection system of the present invention includes the following steps: Step 201 : placing an object to be detected 1 on the platform 2 . Step 202 : Edit the detection parameters, edit and set the detection area of the object to be tested 1 to be subjected to defect detection, including: position coordinates, frame selection size definition, naming and specifications and other parameters. Step 203 : Activate light source devices including different colors to illuminate the object to be detected 1 carried by the platform 2 . This step 203 and step 102 of the calibration process use the same light source configuration and combination. Step 204: The image capturing system of the present invention scans and captures the object to be inspected 1 carried by the platform 2. If the area of the object to be inspected exceeds the imaging range of the camera 11, in a further embodiment of the present invention, the platform 2 is a The mobile platform can move in a reciprocating direction, so that the The inventive image capturing system scans and captures the entire area of the object to be detected. Step 205: After step 204 is executed, the optical detection system of the present invention can obtain a detection image.

接著,步驟206:根據步驟202所設定檢測參數,本發明光學檢測系統計算每一檢測區的顏色分布。步驟207:本發明光學檢測系統比對校正影像與檢測影像對應檢測區的顏色是否一致,若所有對應檢測區的兩者顏色一致,則執行步驟208,若有任一對應檢測區的兩者顏色不一致,則執行步驟210。步驟208:當比對校正影像與檢測影像所有對應檢測區的顏色為一致時,本發明光學檢測系統判定該待檢測物為OK件,即該待檢測物無瑕疵狀況。步驟209:本發明光學檢測系統記錄該待檢測物為OK件,即完成待檢測物的OK件檢測流程。在本發明進一步的實施例,在第三A圖至第三D圖所示光源裝置下判定該待檢測物為OK件時,本發明光學檢測系統可進一步將該記錄OK件不具高度瑕疵的顏色轉換成一般白光的自然色或是使用者需要的單色光。 Next, step 206: According to the detection parameters set in step 202, the optical detection system of the present invention calculates the color distribution of each detection area. Step 207: The optical detection system of the present invention compares whether the colors of the corresponding detection areas of the corrected image and the detection image are consistent. If the two colors of all the corresponding detection areas are the same, step 208 is executed. If there are two colors of any corresponding detection area If not, step 210 is executed. Step 208 : when the colors of all the corresponding detection areas of the compared and corrected images are consistent with the inspection images, the optical inspection system of the present invention determines that the object to be inspected is an OK piece, that is, the object to be inspected is flawless. Step 209 : the optical detection system of the present invention records the object to be detected as an OK piece, that is, the OK piece detection process of the object to be detected is completed. In a further embodiment of the present invention, when it is determined that the object to be inspected is an OK piece under the light source device shown in Figures 3A to 3D, the optical detection system of the present invention can further record the color of the OK piece that does not have a high degree of flaws Convert to the natural color of general white light or the monochromatic light required by the user.

步驟210:當比對校正影像與檢測影像任一對應檢測區的顏色為不一致時,本發明光學檢測系統判定該待檢測物為NG件,即該待檢測物有瑕疵狀況。步驟211:本發明光學檢測系統根據比對顏色為不一致的檢測區,從該校正流程帶入該檢測區的校正參數。步驟212:根據步驟211帶入該檢測區的校正參數,本發明光學檢測系統校正該檢測影像在該檢測區的顏色分布,而轉換該檢測影像在檢測區內與該校正影像的顏色分佈一致的部份為一預設顏色,較佳為白色,並保留該檢測影像在檢測區內與該校正影像的顏色分佈不一致的部份,該不一致的部份表示該檢測影像在檢測區內存在與該校正影像不同的高度資訊。步驟213:儲存轉換的檢測影像, 該轉換的檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的部份,以及該預設顏色。步驟214:本發明光學檢測系統記錄該待檢測物為NG件,即完成待檢測物的NG件檢測流程。 Step 210 : When the color of any corresponding detection area of the compared and corrected image is inconsistent with the detection image, the optical detection system of the present invention determines that the object to be inspected is an NG piece, that is, the object to be inspected is defective. Step 211 : The optical detection system of the present invention brings in the correction parameters of the detection area from the calibration process according to the detection areas whose colors are inconsistent in comparison. Step 212: According to the calibration parameters brought into the detection area in step 211, the optical detection system of the present invention corrects the color distribution of the detection image in the detection area, and converts the detection image in the detection area to be consistent with the color distribution of the corrected image. The part is a preset color, preferably white, and retains the part of the detection image that is inconsistent with the color distribution of the calibration image in the detection area, and the inconsistent part indicates that the detection image exists in the detection area. Correct the height information for different images. Step 213: Save the converted inspection image, The color distribution of the converted detection image includes the part inconsistent with the color distribution of the corrected image, and the preset color. Step 214: The optical detection system of the present invention records that the object to be detected is an NG piece, that is, the NG piece detection process of the object to be detected is completed.

為了降低瑕疵檢測的資訊計算量,本發明檢測流程在步驟202編輯設定該待檢測物1欲進行瑕疵檢測之檢測區,使得步驟206、207只針對設定的檢測區計算顏色分布以及比對顏色,而避免後續比對校正影像與檢測影像的資訊計算量過於龐大,而影響本發明系統判斷瑕疵的時間。 In order to reduce the amount of information calculation for defect detection, the detection process of the present invention edits and sets the detection area for defect detection of the object to be inspected 1 in step 202, so that steps 206 and 207 only calculate the color distribution and compare colors for the set detection area, This avoids that the information calculation amount of the subsequent comparison and correction image and the detection image is too large, which affects the time for the system of the present invention to determine the defect.

在後續瑕疵覆檢程序中,由本發明光學檢測系統判定NG件之待檢測物被取出交由作業人員進行人眼辨識瑕疵的狀況。判定NG件之待檢測物輔以白光照射,再由作業人員檢視本發明步驟213所儲存的檢測影像,該檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的部份,以及白色,使作業人員易於在白光照射下覆檢待檢測物對應檢測影像的顏色分佈不一致的部份是否存在瑕疵。 In the subsequent defect re-inspection procedure, the optical inspection system of the present invention determines that the object to be inspected of the NG piece is taken out and handed over to the operator to identify the defect with the human eye. The object to be inspected in the NG piece is irradiated with white light, and then the operator checks the inspection image stored in step 213 of the present invention. It is easy for the operator to review whether there is a defect in the part of the object to be inspected corresponding to the inconsistent color distribution of the inspection image under the illumination of white light.

請參考第六A圖、第六B圖與第六C圖,分別顯示本發明系統使用多角度多顏色的對稱光源之校正影像示意圖、本發明系統使用多角度多顏色的對稱光源之檢測影像示意圖與本發明系統將檢測影像中無瑕疵的高度資訊轉換為白色之檢測影像示意圖。第六A圖所示校正影像是本發明方法步驟104使用多角度多顏色的對稱光源照射所呈無高度瑕疵資訊的影像。第六B圖所示檢測影像是本發明方法步驟206所計算一檢測區的顏色分布,其中包含使用多角度多顏色的對稱光源照射所呈現的高度資訊,如區域A所示。因此,在本發明方法步驟207的比對步驟中,該第六B圖所示的檢測區將因區域A的顏色與第六A圖所示校正影像的顏色不一致,而在步驟 210將待檢測物判定為NG件,經步驟211帶入校正參數後,在步驟212校正該檢測區的顏色分布,而轉換該檢測區內與該校正影像的顏色一致的區域B為一預設顏色,較佳為白色,並保留該檢測區內與該校正影像的顏色不一致的區域A。於步驟213儲存轉換的檢測影像,該轉換的檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的區域A,以及經轉換為白色的區域B’,如第六C圖所示。因此,在後續瑕疵覆檢程序中,由作業人員進行人眼辨識該檢測區的瑕疵狀況時,作業人員對待檢測物輔以白光照射該檢測區,並參考第六C圖所示轉換的檢測影像,可易於檢測該檢測區的區域A是否為瑕疵凹凸。 Please refer to Figure 6A, Figure 6B, and Figure 6C, respectively showing a schematic diagram of a calibration image of the system of the present invention using a symmetrical light source with multiple angles and colors, and a schematic diagram of a detection image of the system of the present invention using a symmetrical light source of multiple angles and colors. The system of the present invention converts the flawless height information in the inspection image into a schematic diagram of a white inspection image. The corrected image shown in FIG. 6A is an image without highly flawed information obtained by illuminating a symmetrical light source with multiple angles and multiple colors in step 104 of the method of the present invention. The detection image shown in Figure 6B is the color distribution of a detection area calculated in step 206 of the method of the present invention, which includes the height information displayed by the illumination of the symmetrical light source with multi-angle and multi-color, as shown in area A. Therefore, in the comparison step of step 207 of the method of the present invention, the detection area shown in the sixth picture B will be different in the step A because the color of the area A is inconsistent with the color of the corrected image shown in the sixth picture A. 210 Determine the object to be detected as an NG piece, and after the correction parameters are brought in in step 211, the color distribution of the detection area is corrected in step 212, and the area B in the detection area that is consistent with the color of the corrected image is converted into a preset The color is preferably white, and the area A in the detection area that is inconsistent with the color of the corrected image is reserved. In step 213, the converted detection image is stored, and the color distribution of the converted detection image includes an area A that is inconsistent with the color distribution of the corrected image, and an area B' converted to white, as shown in FIG. 6C. Therefore, in the follow-up defect review procedure, when the operator identifies the defect status of the inspection area with the human eye, the operator illuminates the inspection area with white light supplemented by the object to be inspected, and refers to the converted inspection image shown in Fig. 6C , it can be easily detected whether the area A of the detection area is a flawed concavity and convexity.

200‧‧‧光學檢測方法 200‧‧‧Optical detection methods

201~214‧‧‧步驟 201~214‧‧‧Steps

Claims (13)

一種具有高度資訊之光學檢測系統,包含:一平台,用以分別承載一待檢測物與一校正片;一影像拍攝系統,在該待檢測物上界定一拍攝光軸,根據至少一檢測區的設定以拍攝一檢測影像,且在該校正片上拍攝一校正影像;以及一光源裝置,包含複數個不同顏色的光源,該等不同顏色的光源照射該待檢測物與該校正片;其中,該等不同顏色的光源至少分為兩群光源,分別配置於該拍攝光軸的兩側,且該兩群光源包含在不同高度下分別配置不同色光源與同色光源,而在該拍攝光軸兩側以相同照射角度賦予該檢測影像與該校正影像包含對應該檢測區的高度資訊;其中,該校正影像用以決定一校正參數,該校正參數用以將該檢測影像中對應該檢測區無瑕疵的高度資訊的區域之顏色校正為白色或使用者需要的單色光。 An optical detection system with height information, comprising: a platform for carrying an object to be detected and a calibration film respectively; an image capturing system defining a shooting optical axis on the object to be detected, according to at least one detection area set to shoot a detection image and shoot a calibration image on the calibration sheet; and a light source device including a plurality of light sources of different colors, the light sources of different colors illuminate the object to be detected and the calibration sheet; wherein, the The light sources of different colors are at least divided into two groups of light sources, which are respectively arranged on both sides of the shooting optical axis, and the two groups of light sources include different color light sources and the same color light sources respectively arranged at different heights, and the two sides of the shooting optical axis are The same irradiation angle assigned to the inspection image and the calibration image includes height information corresponding to the inspection area; wherein the calibration image is used to determine a calibration parameter, and the calibration parameter is used to determine the flawless height of the inspection area in the inspection image The color of the information area is corrected to white or monochromatic light as required by the user. 如申請專利範圍第1項所載具有高度資訊之光學檢測系統,其中該檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的部份,以及白色或使用者需要的單色光。 The optical detection system with height information as set forth in item 1 of the claimed scope, wherein the color distribution of the detection image includes the part inconsistent with the color distribution of the corrected image, and white or monochromatic light required by the user. 一種具有高度資訊之光學檢測方法,包含:設定至少一檢測區之參數;啟動在不同高度下分別配置不同色光源裝置與同色光源裝置,而在一拍攝光軸兩側以相同角度照射一平台所承載之一校正片,並根據該檢測區之參數從該校正片拍攝一校正影像;記錄該校正影像對應該檢測區之顏色分佈; 啟動在不同高度下分別配置不同色光源裝置與同色光源裝置,而在該拍攝光軸兩側以相同角度照射該平台所承載之一待檢測物,並根據該檢測區之參數從該待檢測物拍攝一檢測影像;計算該檢測影像對應該檢測區之顏色分佈;比對該校正影像與該檢測影像對應該檢測區之顏色分佈,若兩者之顏色分佈至少一部份不一致,則記錄該待檢測物對應該檢測區具有高度資訊之瑕疵;以及轉換該檢測影像中與該校正影像對應該檢測區之顏色分佈一致的部份為一預設顏色,並儲存該轉換的檢測影像用於後續複檢該待檢測物之瑕疵。 An optical detection method with height information, comprising: setting parameters of at least one detection area; activating different-color light source devices and same-color light source devices at different heights, and illuminating a platform at the same angle on both sides of a photographing optical axis Carrying a calibration sheet, and shooting a calibration image from the calibration sheet according to the parameters of the detection area; recording the color distribution of the calibration image corresponding to the detection area; Activate to dispose light source devices of different colors and light source devices of the same color respectively at different heights, and illuminate an object to be detected carried by the platform at the same angle on both sides of the shooting optical axis, and according to the parameters of the detection area, from the object to be detected Shoot a test image; calculate the color distribution of the test image corresponding to the test area; compare the color distribution of the calibration image and the test image corresponding to the test area, if at least a part of the color distribution of the two is inconsistent, record the The detection object corresponds to a defect with height information in the detection area; and the part of the detection image that is consistent with the color distribution of the calibration image corresponding to the detection area is converted into a preset color, and the converted detection image is stored for subsequent repetitions. Check the defects of the object to be tested. 如申請專利範圍第3項所載具有高度資訊之光學檢測方法,其中該預設顏色為白色或使用者需要的單色光。 The optical detection method with height information as set forth in item 3 of the scope of the patent application, wherein the preset color is white or monochromatic light required by the user. 如申請專利範圍第3項所載具有高度資訊之光學檢測方法,更包括:根據該檢測區之參數,記錄該校正影像之一校正參數。 The optical detection method with height information as set forth in item 3 of the scope of the patent application further comprises: recording a calibration parameter of the calibration image according to the parameters of the detection area. 如申請專利範圍第5項所載具有高度資訊之光學檢測方法,更包括:根據該檢測區之參數與該校正參數,轉換該檢測影像中與該校正影像之顏色分佈一致的部份為該預設顏色。 The optical detection method with height information as set forth in item 5 of the scope of the application, further comprising: converting the part of the detection image that is consistent with the color distribution of the calibration image into the pre-detection area according to the parameters of the detection area and the calibration parameter Set color. 如申請專利範圍3項所載具有高度資訊之光學檢測方法,更包括:該不同顏色之光源裝置以不同角度照射該校正片或該待檢測物。 The optical detection method with height information as described in Item 3 of the scope of the patent application further comprises: the light source devices of different colors illuminate the calibration sheet or the object to be detected at different angles. 如申請專利範圍3項所載具有高度資訊之光學檢測方法,其中該校正影像之顏色分佈包含全平面資訊或零件之高度資訊。 The optical detection method with height information as set forth in Item 3 of the patent application scope, wherein the color distribution of the corrected image includes full plane information or height information of parts. 如申請專利範圍3項所載具有高度資訊之光學檢測方法,其中該轉換的檢測影像的顏色分佈包含與該校正影像之顏色分佈不一致的部份,以及該預設顏色。 The optical detection method with height information as set forth in claim 3, wherein the color distribution of the converted detection image includes the part inconsistent with the color distribution of the corrected image, and the preset color. 如申請專利範圍3項所載具有高度資訊之光學檢測方法,更包括:設定一色差門檻值。 The optical detection method with height information as set forth in Item 3 of the patent application scope further includes: setting a chromatic aberration threshold. 如申請專利範圍10項所載具有高度資訊之光學檢測方法,更包括:若該校正影像與該檢測影像之顏色分佈的色差超過該色差門檻值,則判定兩者之顏色分佈至少一部份不一致。 According to the optical detection method with height information set forth in Item 10 of the scope of application, further comprising: if the color difference between the color distribution of the corrected image and the detected image exceeds the color difference threshold, judging that the color distributions of the two are at least partially inconsistent . 如申請專利範圍3項所載具有高度資訊之光學檢測方法,更包括:比對該校正影像與該檢測影像之顏色分佈,若兩者之顏色分佈一致,則記錄該待檢測物為OK件。 The optical detection method with height information as set forth in Item 3 of the patent application scope further includes: comparing the color distribution of the calibration image and the detection image, and if the color distributions of the two are consistent, recording the object to be detected as an OK item. 如申請專利範圍12項所載具有高度資訊之光學檢測方法,更包括:將該記錄OK件不具高度瑕疵的顏色轉換成一般白光的自然色或是使用者需要的單色光。 The optical detection method with height information as described in item 12 of the patent application scope further includes: converting the color of the record OK piece without height defects into the natural color of ordinary white light or the monochromatic light required by the user.
TW107147806A 2018-12-28 2018-12-28 Optical inspection system and method with high information TWI761651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107147806A TWI761651B (en) 2018-12-28 2018-12-28 Optical inspection system and method with high information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107147806A TWI761651B (en) 2018-12-28 2018-12-28 Optical inspection system and method with high information

Publications (2)

Publication Number Publication Date
TW202026629A TW202026629A (en) 2020-07-16
TWI761651B true TWI761651B (en) 2022-04-21

Family

ID=73005198

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107147806A TWI761651B (en) 2018-12-28 2018-12-28 Optical inspection system and method with high information

Country Status (1)

Country Link
TW (1) TWI761651B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01282410A (en) * 1988-05-09 1989-11-14 Omron Tateisi Electron Co Curved surface nature inspection device
CN103792705A (en) * 2014-01-28 2014-05-14 北京京东方显示技术有限公司 Detecting method and detecting device for detecting substrate defects

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01282410A (en) * 1988-05-09 1989-11-14 Omron Tateisi Electron Co Curved surface nature inspection device
CN103792705A (en) * 2014-01-28 2014-05-14 北京京东方显示技术有限公司 Detecting method and detecting device for detecting substrate defects

Also Published As

Publication number Publication date
TW202026629A (en) 2020-07-16

Similar Documents

Publication Publication Date Title
JP6945245B2 (en) Visual inspection equipment
CN108445007B (en) Detection method and detection device based on image fusion
KR102178903B1 (en) Visual inspection device and illumination condition setting method of visual inspection device
JP5228490B2 (en) Defect inspection equipment that performs defect inspection by image analysis
KR101590831B1 (en) Method of inspecting foreign substance on a board
US20090046922A1 (en) Surface Inspecting Apparatus
JP2005127989A (en) Flaw detector and flaw detecting program
JP2022533848A (en) Systems and methods for determining if camera components are damaged
JP2007147442A (en) Method, device, and program for inspecting wood
TWI495867B (en) Application of repeated exposure to multiple exposure image blending detection method
US6760096B2 (en) Lens-evaluating method and lens-evaluating apparatus
TWI668439B (en) Method of measuring surface topography
TWI761651B (en) Optical inspection system and method with high information
KR101802812B1 (en) Inspecting apparatus for product appearance and inspection method for product appearance using the same
JP2009264876A (en) Inspection system of product quality, and its method
CN111380869B (en) Optical detection system and method with height information
JP2009264882A (en) Visual inspection device
JP7362324B2 (en) Inspection method, manufacturing method and inspection device for image display device
TWI493177B (en) Method of detecting defect on optical film with periodic structure and device thereof
JP2017198462A (en) Method for inspecting appearance
KR20110118820A (en) Polarization imaging
TWI749409B (en) Optical measuring method
KR100939600B1 (en) Product-quality inspection system and method thereof
TWI783370B (en) Method of color deviation and surface examination
TWM577944U (en) Optical defect detection system with brightness adjustment