TW201621856A - A method for measuring display module gap width - Google Patents

A method for measuring display module gap width Download PDF

Info

Publication number
TW201621856A
TW201621856A TW103143128A TW103143128A TW201621856A TW 201621856 A TW201621856 A TW 201621856A TW 103143128 A TW103143128 A TW 103143128A TW 103143128 A TW103143128 A TW 103143128A TW 201621856 A TW201621856 A TW 201621856A
Authority
TW
Taiwan
Prior art keywords
image
boundary
line segment
gap
display module
Prior art date
Application number
TW103143128A
Other languages
Chinese (zh)
Other versions
TWI540550B (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 TW103143128A priority Critical patent/TWI540550B/en
Publication of TW201621856A publication Critical patent/TW201621856A/en
Application granted granted Critical
Publication of TWI540550B publication Critical patent/TWI540550B/en

Links

Landscapes

  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

A method for measuring display module gap width is provided. The method includes capturing a sample image of the display module, wherein the sample image is divided to a frame region, an inner region, and a gap region. The frame region corresponds to a frame part of the display module, and the inner region corresponds to a display part of the display module, and the gap region corresponds to the gap between the frame part and the display part. Then the method determines a first segment and a second segment of the sample image. Then the method computes the distance between the first segment and the second segment. According to the automatically computed distance, the installation flaw of the display module can be detected and applying the method results in the enhancement of production efficiency and the reduction of human resource costs.

Description

檢測顯示模組間隙寬度的方法 Method for detecting display gap width of a module

本發明係關於一種檢測顯示模組間隙寬度的方法,特別關於一種可以利用影像辨識技術偵測出顯示模組內各區域邊界,並根據區域邊界對應線段計算出顯示模組間隙寬度的方法。 The invention relates to a method for detecting the gap width of a display module, in particular to a method for detecting the boundary of each region in the display module by using image recognition technology, and calculating the gap width of the display module according to the corresponding line segment of the region boundary.

由於現代科技日新月異,各式各樣的生產技術也隨之不斷提升,製造代工為求擺脫過去勞力密集的方式,而漸漸走向全自動化的生產流程,以求提升製造效率與擺脫對人力的依賴,降低生產成本。 Due to the rapid development of modern technology, various production technologies have also been continuously improved. In order to get rid of the labor-intensive methods in the past, the manufacturing industry has gradually moved toward a fully automated production process in order to improve manufacturing efficiency and get rid of the dependence on manpower. ,reduce manufacturing cost.

由於在目前的顯示模組生產的過程中,產線上需要量測顯示模組的顯示部(例如顯示模組中央的顯示區域)與其邊框部(例如顯示模組邊緣的框架)之間間隙的寬度。一般來說,於量測所述間隙時,往往使用數位光學顯微鏡,以人工目視判斷間隙寬度,而產生量測時間過長以及量測精準度不足的問題。 In the current production process of the display module, the line needs to measure the width of the gap between the display portion of the display module (for example, the display area in the center of the display module) and the frame portion thereof (for example, the frame at the edge of the display module). . In general, when measuring the gap, a digital optical microscope is often used to manually judge the gap width, which causes a problem that the measurement time is too long and the measurement accuracy is insufficient.

有鑑於上述的問題,本發明提出一種檢測顯示模組間隙寬度的方法,能夠利用影像辨識的技術自動化地方式量測間隙,減少人為疏失,避免因為量測經驗不同而導致測試時間有差 異,並且進一步縮短量測時間,提升量測精準度。 In view of the above problems, the present invention provides a method for detecting the gap width of a display module, which can automatically measure the gap by using image recognition technology, thereby reducing human error and avoiding poor test time due to different measurement experience. Different, and further shorten the measurement time, improve measurement accuracy.

本發明提供一種檢測顯示模組間隙寬度的方法,首先自第一方向拍攝顯示模組,以產生待測影像,待測影像係區分有邊框區域、內部區域以及間隙區域,邊框區域對應顯示模組的邊框部,內部區域對應顯示模組的顯示部,間隙區域對應邊框部與顯示部之間的間隙。接著於待測影像中決定第一線段與第二線段,第一線段為邊框區域與間隙區域的部分邊界,第二線段為間隙區域與內部區域的部分邊界。接著計算第一線段與第二線段之間的距離。 The invention provides a method for detecting a gap width of a display module. Firstly, a display module is captured from a first direction to generate an image to be tested. The image to be tested is divided into a frame area, an inner area and a gap area, and the frame area corresponding to the display module The frame portion corresponds to a display portion of the display module, and the gap region corresponds to a gap between the frame portion and the display portion. Then, the first line segment and the second line segment are determined in the image to be tested, the first line segment is a partial boundary of the frame region and the gap region, and the second line segment is a partial boundary between the gap region and the inner region. The distance between the first line segment and the second line segment is then calculated.

於本發明一實施例中,其中於待測影像中決定第一線段與第二線段的步驟中,首先將待測影像二值化並執行影像閉合,得到二值化影像。接著根據二值化影像偵測第一邊界與第二邊界,第一邊界為邊框區域與間隙區域的邊界,第二邊界為間隙區域與內部區域的邊界。接著分別自第一邊界與第二邊界中,決定第一線段與第二線段。此外,第一線段與第二線段之間的距離係第一線段與第二線段的像素間距,再透過轉換過程得到實際物理距離。 In an embodiment of the invention, in the step of determining the first line segment and the second line segment in the image to be tested, first, the image to be tested is binarized and the image is closed to obtain a binarized image. Then, the first boundary and the second boundary are detected according to the binarized image, the first boundary is a boundary between the frame region and the gap region, and the second boundary is a boundary between the gap region and the inner region. Then, the first line segment and the second line segment are determined from the first boundary and the second boundary, respectively. In addition, the distance between the first line segment and the second line segment is the pixel distance between the first line segment and the second line segment, and the actual physical distance is obtained through the conversion process.

綜上所述,本發明之檢測顯示模組間隙寬度的方法,運用攝影機拍攝出待測影像,以影像辨識的技術偵測出待測影像內的邊框部與間隙的邊界以及間隙與顯示部的邊界,並找出對應邊界的直線線段,根據找出的直線線段計算出間隙的距離。藉由本自動化方法計算出的距離,可降低人力量測的時間和減低 錯誤率,進一步提升生產效率和降低人力成本。 In summary, the method for detecting the gap width of the display module of the present invention uses the camera to capture the image to be tested, and uses the image recognition technology to detect the boundary between the frame portion and the gap and the gap and the display portion in the image to be tested. Boundary, and find the straight line segment corresponding to the boundary, and calculate the distance of the gap based on the straight line segment found. By calculating the distance calculated by this automated method, the time and reduction of human strength measurement can be reduced. The error rate further increases production efficiency and reduces labor costs.

以上之關於本發明內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。 The above description of the present invention and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention.

S101-S105‧‧‧步驟 S101-S105‧‧‧Steps

1‧‧‧治具 1‧‧‧ fixture

11、12、13、14‧‧‧攝影模組 11, 12, 13, 14‧‧‧ photography modules

2‧‧‧顯示模組 2‧‧‧Display module

21、22、23、24‧‧‧顯示模組的四角 21, 22, 23, 24‧‧‧ display modules

31、32、33‧‧‧區域 31, 32, 33‧‧‧ areas

41a、41b、42a、42b‧‧‧線段 Lines 41a, 41b, 42a, 42b‧‧

S501-S505‧‧‧步驟 S501-S505‧‧‧Steps

第1圖係依據本發明一實施例之檢測顯示模組間隙寬度的方法的流程圖。 1 is a flow chart of a method of detecting a gap width of a display module in accordance with an embodiment of the present invention.

第2圖係依據本發明一實施例之治具與顯示模組之示意圖。 2 is a schematic view of a jig and a display module according to an embodiment of the present invention.

第3圖係依據本發明一實施例之待測影像示意圖。 Figure 3 is a schematic diagram of an image to be tested according to an embodiment of the present invention.

第4圖係依據本發明一實施例之待測影像另一示意圖。 Figure 4 is another schematic view of an image to be tested according to an embodiment of the present invention.

第5圖係依據本發明一實施例之於待測影像中決定第一線段與第二線段的步驟的流程圖。 Figure 5 is a flow chart showing the steps of determining a first line segment and a second line segment in an image to be tested according to an embodiment of the invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。 The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參照第1圖,第1圖係依據本發明一實施例之檢測顯示模組間隙寬度的方法的流程圖。如第1圖所示,於步驟S101 中,首先自第一方向拍攝顯示模組,以產生待測影像,待測影像係區分有邊框區域、內部區域以及間隙區域。邊框區域對應顯示模組的邊框部(例如顯示模組邊緣的框架),內部區域對應顯示模組的顯示部(例如顯示模組中央的顯示區域),間隙區域對應邊框部與顯示部之間的間隙。此外,請參照第2圖,係依據本發明一實施例之治具與顯示模組之示意圖。如第2圖所示,治具1具有四個攝影模組11、12、13以及14,可自第一方向拍攝顯示模組2的四角21、22、23以及24,當顯示模組2放置於治具1上,顯示模組2將覆蓋治具1,因此治具1上的四個攝影模組11至14一一對應顯示模組2四角21至24,以拍攝待測影像。 Please refer to FIG. 1. FIG. 1 is a flow chart of a method for detecting a gap width of a display module according to an embodiment of the present invention. As shown in Fig. 1, in step S101 First, the display module is firstly photographed from the first direction to generate an image to be tested, and the image to be tested is divided into a border area, an inner area, and a gap area. The frame area corresponds to the frame part of the display module (for example, the frame of the display module edge), and the inner area corresponds to the display part of the display module (for example, the display area in the center of the display module), and the gap area corresponds to the frame part and the display part. gap. In addition, please refer to FIG. 2, which is a schematic diagram of a fixture and a display module according to an embodiment of the invention. As shown in FIG. 2, the fixture 1 has four camera modules 11, 12, 13, and 14, which can capture the four corners 21, 22, 23, and 24 of the display module 2 from the first direction, when the display module 2 is placed. On the jig 1, the display module 2 will cover the jig 1 , so the four camera modules 11 to 14 on the jig 1 correspond to the four corners 21 to 24 of the display module 2 to capture the image to be tested.

待測影像請參照第3圖,第3圖係依據本發明一實施例之待測影像示意圖。如第3圖所示,待測影像可以是灰階影像,不同的區域會有不同的灰階度,而不同灰階度的區域間具有影像色差。其中最外圍像素顏色最深的部分為邊框區域31,實際上代表顯示模組2的邊框部。中間顏色較淺的部分為間隙區域32,實際上代表顯示模組2邊框部與顯示部的間隙。內部顏色最淺的部分為內部區域33,實際上代表安裝在顯示模組2內的顯示部。 For the image to be tested, please refer to FIG. 3, which is a schematic diagram of an image to be tested according to an embodiment of the present invention. As shown in FIG. 3, the image to be tested may be a grayscale image, and different regions may have different grayscales, and images with different grayscales have image color differences. The portion with the darkest color of the outermost pixel is the frame area 31, which actually represents the frame portion of the display module 2. The portion with a lighter intermediate color is the gap region 32, which actually represents the gap between the frame portion of the display module 2 and the display portion. The lightest portion of the inner color is the inner region 33, which actually represents the display portion mounted in the display module 2.

接著於步驟S103中,於待測影像中決定第一線段與第二線段。舉例來說,請參照第4圖,第4圖係依據本發明一實施例的待測影像另一示意圖,如第4圖所示,在本步驟中,可根據影像色差,利用影像辨識演算法找出橫向第一線段41a與縱 向第一線段41b,以及橫向第二線段42a與縱向第二線段42b,影像辨識演算法詳述於後。如此一來便可將待測影像明確區分出各區域的邊界,其中橫向第一線段41a與縱向第一線段41b代表邊框區域與間隙區域的邊界,橫向第二線段42a與縱向第二線段42b則代表間隙區域與內部區域的邊界。 Next, in step S103, the first line segment and the second line segment are determined in the image to be tested. For example, please refer to FIG. 4 , which is another schematic diagram of an image to be tested according to an embodiment of the present invention. As shown in FIG. 4 , in this step, an image recognition algorithm may be utilized according to image color difference. Find the horizontal first line segment 41a and vertical To the first line segment 41b, and the lateral second line segment 42a and the longitudinal second line segment 42b, the image recognition algorithm is detailed later. In this way, the image to be tested can be clearly distinguished from the boundary of each region, wherein the horizontal first line segment 41a and the longitudinal first line segment 41b represent the boundary of the frame region and the gap region, and the horizontal second line segment 42a and the longitudinal second line segment 42b represents the boundary between the gap region and the inner region.

接著於步驟S105中,計算第一線段與第二線段之間的距離。在本步驟中,因橫向的第一線段41a與橫向的第二線段42a一一對應,縱向的第一線段41b與縱向的第二線段42b一一對應,所以可依據兩相對應的兩條線段計算兩條線段的距離,前述距離可以是待測影像中兩線段間像素的差距,再經過轉換公式得到實際物理上的距離。舉例來說,實際上像素間的距離和物理上的距離可以有某一比例關係,好比一個像素對應某一特定厘米,因此可透過比例關係換算出對應的物理距離,然本發明並不以此限定計算距離的方法。 Next, in step S105, the distance between the first line segment and the second line segment is calculated. In this step, since the horizontal first line segment 41a and the lateral second line segment 42a are in one-to-one correspondence, the longitudinal first line segment 41b and the longitudinal second line segment 42b are in one-to-one correspondence, so that two corresponding two The line segment calculates the distance between the two line segments, and the foregoing distance may be the difference between the pixels of the two line segments in the image to be tested, and then the actual physical distance is obtained through the conversion formula. For example, in fact, the distance between pixels and the physical distance may have a certain proportional relationship, such that one pixel corresponds to a certain centimeter, so the corresponding physical distance can be converted through the proportional relationship, but the present invention does not Define the method of calculating the distance.

在前述第1圖的步驟S105中,於待測影像中決定第一線段與第二線段的演算法請參照第5圖,第5圖係依據本發明一實施例之於待測影像中決定第一線段與第二線段的步驟的流程圖,如第5圖所示,於步驟S501中,首先將待測影像二值化並執行影像閉合,得到二值化影像。在此步驟中所運用的是大津演算法(Otsu’s method)和影像閉合(Closing)方法。 In step S105 of the foregoing FIG. 1 , the algorithm for determining the first line segment and the second line segment in the image to be tested is referred to FIG. 5 , and FIG. 5 is determined in the image to be tested according to an embodiment of the present invention. A flowchart of the steps of the first line segment and the second line segment is as shown in FIG. 5. In step S501, the image to be tested is first binarized and the image is closed to obtain a binarized image. The Otsu’s method and the Closing method are used in this step.

大津演算法是透過找出某特定閾值,依據影像的像素灰階度,將圖像分成前景物件和背景物件兩部分,進一步將影 像二值化。透過大津演算法演算法,可以先將待測影像的前景與背景區分出來,以提供後續處理。舉例來說,在執行完前述演算法後,影像中的前景物件像素可以以黑色表示,背景物件像素可以以白色表示,進一步得到二值化的影像。本發明的前景背景分類方法並不限定為此演算法。 The Otsu algorithm is to find out a certain threshold and divide the image into two parts, the foreground object and the background object, according to the pixel gray scale of the image. Like binarization. Through the Otsu algorithm algorithm, the foreground and background of the image to be tested can be distinguished first to provide subsequent processing. For example, after performing the foregoing algorithm, the foreground object pixels in the image may be represented in black, and the background object pixels may be represented in white to further obtain a binarized image. The foreground background classification method of the present invention is not limited to this algorithm.

接著,在得到前述演算法處理過的二值化影像後,再利用影像閉合方法將影像中的前景物件閉合。在影像處理過程中需採取此步驟的原因在於,一般影像在經過前景後景區分後,其區分出的各個前景物件邊緣並不一定是一個封閉曲線,有可能因為前景背景分類錯誤出現凹陷、破洞或斷裂,而導致前景物件不完整。因此,二值化影像可進一步再利用影像閉合方法解決上述問題。影像閉合方法的步驟即先將影像作膨脹(Dilation),再做侵蝕(Erosion),即可達到將影像前景物件閉合的功效。本發明之影像閉合方法並不限定為此演算法。 Then, after obtaining the binarized image processed by the algorithm described above, the foreground object in the image is closed by using the image closing method. The reason for taking this step in the image processing process is that after the foreground image is distinguished by the foreground scene, the edge of each foreground object that is distinguished by the foreground image is not necessarily a closed curve, and there may be a depression or break due to the misclassification of the foreground background. A hole or break that causes the foreground object to be incomplete. Therefore, the binarized image can be further reused by the image closure method to solve the above problem. The step of the image closure method is to first dilate the image and then erode (Erosion) to achieve the effect of closing the foreground object of the image. The image closure method of the present invention is not limited to this algorithm.

接著於步驟S503中,根據二值化影像偵測第一邊界與第二邊界,第一邊界為邊框區域與間隙區域的邊界,第二邊界為間隙區域與內部區域的邊界。在此步驟中偵測影像邊界的方法係使用坎尼邊緣偵測(Canny edge detection)。坎尼邊緣偵測主要是利用高斯濾波器降低影像雜訊後,尋找影像中的亮度梯度,再運用閾值分類每個像素是否是屬於邊緣點,而得到物件邊緣的二值化影像。本發明之邊緣偵測方法並不限定為此演算法。 Next, in step S503, the first boundary and the second boundary are detected according to the binarized image, the first boundary is a boundary between the frame region and the gap region, and the second boundary is a boundary between the gap region and the inner region. The method of detecting image boundaries in this step uses Canny edge detection. Canni edge detection mainly uses Gaussian filter to reduce image noise, find the brightness gradient in the image, and then use threshold to classify whether each pixel belongs to the edge point, and obtain the binarized image of the edge of the object. The edge detection method of the present invention is not limited to this algorithm.

接著於步驟S505中,分別自第一邊界與第二邊界 中,決定第一線段與第二線段。在本步驟中所使用的是霍式轉換(Hough transform)演算法。霍式轉換是影像處理中識別幾何形狀的一種方法,在圖像處理中有著廣泛應用,且不受圖形旋轉的影響,易於進行幾何圖形的快速變換。在影像處理過程中需採取此步驟的原因在於,前述得到的第一邊界與第二邊界在實際上可能是鋸齒狀的像素邊界,而並非一條理想的直線線段,因此需要經由霍式轉換進一步得到第一邊界與第二邊界相對應直線的第一線段與第二線段。本發明之線段決定方法並不限定為此演算法。 Next in step S505, respectively from the first boundary and the second boundary In the middle line, the first line segment and the second line segment are determined. The Hough transform algorithm is used in this step. Huo-style conversion is a method for recognizing geometric shapes in image processing. It is widely used in image processing and is not affected by the rotation of graphics. It is easy to change the geometry quickly. The reason for taking this step in the image processing process is that the first boundary and the second boundary obtained in the foregoing may actually be jagged pixel boundaries, rather than an ideal straight line segment, and therefore need to be further obtained by the Huo-style conversion. The first boundary and the second boundary correspond to the first line segment and the second line segment of the straight line. The line segment determining method of the present invention is not limited to this algorithm.

於一實施例中,根據步驟S505所得到的第一線段以及第二線段,再進一步計算二線段之間的距離,舉例來說,距離計算方式可以是計算兩條線段的像素間距,再透過轉換過程得到實際物理距離。本發明之距離計算方法並不限定為此。 In an embodiment, according to the first line segment and the second line segment obtained in step S505, the distance between the two line segments is further calculated. For example, the distance calculation method may be to calculate the pixel pitch of the two line segments, and then pass through The conversion process gets the actual physical distance. The distance calculation method of the present invention is not limited to this.

前述計算出的距離可交由人工判斷或程式自動化的檢測,來決定當下檢測的顯示模組是否符合組裝流程的品質標準,比如說事先設定閾值,若檢測出的間隙距離低於閾值,則代表此顯示模組的間隙符合標準,屬於良品。若檢測出的間隙距離高於閾值,則代表此顯示模組的間隙不符合標準,屬於不良品。 The calculated distance can be determined by manual judgment or program automation to determine whether the currently detected display module meets the quality standard of the assembly process, for example, setting a threshold in advance, and if the detected gap distance is lower than the threshold, it represents The gap of this display module conforms to the standard and is a good product. If the detected gap distance is higher than the threshold, the gap representing the display module does not meet the standard and belongs to a defective product.

綜上所述,本發明之檢測顯示模組間隙寬度的方法,運用攝影機拍攝出待測影像,以影像辨識的技術偵測出待測影像內的邊框部與間隙的邊界以及間隙與顯示部的邊界,並找出對應邊界的直線線段,根據找出的直線線段計算出間隙的距離。藉由本自動化方法計算出的距離,可降低人力量測的時間和減低 錯誤率,進一步提升生產效率和降低人力成本。 In summary, the method for detecting the gap width of the display module of the present invention uses the camera to capture the image to be tested, and uses the image recognition technology to detect the boundary between the frame portion and the gap and the gap and the display portion in the image to be tested. Boundary, and find the straight line segment corresponding to the boundary, and calculate the distance of the gap based on the straight line segment found. By calculating the distance calculated by this automated method, the time and reduction of human strength measurement can be reduced. The error rate further increases production efficiency and reduces labor costs.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。 Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

S101-S105‧‧‧步驟 S101-S105‧‧‧Steps

Claims (7)

一種檢測顯示模組間隙寬度的方法,包含:自一第一方向拍攝一顯示模組,以產生一待測影像,該待測影像係區分有一邊框區域、一內部區域以及一間隙區域,該邊框區域對應該顯示模組的一邊框部,該內部區域對應該顯示模組的一顯示部,該間隙區域對應該邊框部與該顯示部之間的間隙;於該待測影像中決定一第一線段與一第二線段,該第一線段為該邊框區域與該間隙區域的部分邊界,該第二線段為該間隙區域與該內部區域的部分邊界;以及計算該第一線段與該第二線段之間的距離。 A method for detecting a gap width of a display module includes: capturing a display module from a first direction to generate a to-be-tested image, wherein the image to be tested is divided into a frame area, an inner area, and a gap area, the frame The area corresponds to a frame portion of the module, the inner area corresponding to a display portion of the display module, the gap area corresponding to the gap between the frame portion and the display portion; determining a first in the image to be tested a line segment and a second line segment, the first line segment is a partial boundary of the frame region and the gap region, the second line segment is a partial boundary between the gap region and the inner region; and calculating the first line segment and the The distance between the second line segments. 如請求項1所述的檢測顯示模組間隙寬度的方法,其中於待該測影像中決定該第一線段與該第二線段的步驟中,更包含:將該待測影像二值化並執行影像閉合,得到一二值化影像;根據該二值化影像偵測一第一邊界與一第二邊界,該第一邊界為該邊框區域與該間隙區域的邊界,該第二邊界為該間隙區域與該內部區域的邊界;以及分別自該第一邊界與該第二邊界中,決定該第一線段與該第二線段。 The method for detecting a gap width of a module according to claim 1, wherein the step of determining the first line segment and the second line segment in the image to be measured further comprises: binarizing the image to be tested and Performing image closure to obtain a binarized image; detecting a first boundary and a second boundary according to the binarized image, the first boundary is a boundary between the frame region and the gap region, and the second boundary is the a boundary between the gap region and the inner region; and determining the first line segment and the second line segment from the first boundary and the second boundary, respectively. 如請求項2所述的檢測顯示模組間隙寬度的方法,其中影像二值化係指根據像素值將該待測影像的各像素分類為至少一 前景物件與至少一背景物件,其中該前景物件係指影像中的前景,該背景物件係指影像中的背景,分別以黑色和白色二像素值表示。 The method for detecting a gap width of a module according to claim 2, wherein the image binarization refers to classifying each pixel of the image to be tested into at least one according to a pixel value. A foreground object and at least one background object, wherein the foreground object refers to a foreground in the image, and the background object refers to a background in the image, represented by black and white two pixel values, respectively. 如請求項2所述的檢測顯示模組間隙寬度的方法,其中將該待測影像二值化並執行影像閉合的步驟中,影像二值化的方法係使用大津演算法(Otsu's method),且影像閉合係使用影像閉合(Closing)方法。 The method for detecting a gap width of a module according to claim 2, wherein in the step of binarizing the image to be tested and performing image closure, the image binarization method uses an Otsu's method, and Image closure is performed using the Image Closing method. 如請求項2所述的檢測顯示模組間隙寬度的方法,其中根據該二值化影像偵測該第一邊界與該第二邊界的步驟中,偵測該第一邊界與該第二邊界係使用坎尼邊界偵測(Canny edge detection)。 The method for detecting a gap width of a module according to claim 2, wherein the detecting the first boundary and the second boundary in the step of detecting the first boundary and the second boundary according to the binarized image Use Canny edge detection. 如請求項2所述的檢測顯示模組間隙寬度的方法,其中分別自該第一邊界與該第二邊界中,決定該第一線段與該第二線段的步驟中,決定該第一線段與該第二線段的方法係使用霍式轉換(Hough transform)。 The method for detecting a gap width of a module according to claim 2, wherein in the step of determining the first line segment and the second line segment from the first boundary and the second boundary, determining the first line The method of the segment and the second segment uses a Hough transform. 如請求項1所述的檢測顯示模組間隙寬度的方法,其中該第一線段與該第二線段之間的距離係該第一線段與該第二線段的像素間距,再透過一轉換過程得到一實際物理距離。 The method for detecting a gap width of a display module according to claim 1, wherein a distance between the first line segment and the second line segment is a pixel pitch of the first line segment and the second line segment, and then a conversion is performed. The process gets an actual physical distance.
TW103143128A 2014-12-10 2014-12-10 A method for measuring display module gap width TWI540550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103143128A TWI540550B (en) 2014-12-10 2014-12-10 A method for measuring display module gap width

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103143128A TWI540550B (en) 2014-12-10 2014-12-10 A method for measuring display module gap width

Publications (2)

Publication Number Publication Date
TW201621856A true TW201621856A (en) 2016-06-16
TWI540550B TWI540550B (en) 2016-07-01

Family

ID=56755551

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103143128A TWI540550B (en) 2014-12-10 2014-12-10 A method for measuring display module gap width

Country Status (1)

Country Link
TW (1) TWI540550B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113611650A (en) * 2021-03-19 2021-11-05 联芯集成电路制造(厦门)有限公司 Method for aligning wafer pattern
CN114719762A (en) * 2022-06-08 2022-07-08 煤炭科学技术研究院有限公司 Method and device for detecting plane junction surface gap of explosion-proof equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113611650A (en) * 2021-03-19 2021-11-05 联芯集成电路制造(厦门)有限公司 Method for aligning wafer pattern
US11692946B2 (en) 2021-03-19 2023-07-04 United Semiconductor (Xiamen) Co., Ltd. Method for aligning to a pattern on a wafer
CN113611650B (en) * 2021-03-19 2024-02-27 联芯集成电路制造(厦门)有限公司 Method for aligning wafer pattern
CN114719762A (en) * 2022-06-08 2022-07-08 煤炭科学技术研究院有限公司 Method and device for detecting plane junction surface gap of explosion-proof equipment

Also Published As

Publication number Publication date
TWI540550B (en) 2016-07-01

Similar Documents

Publication Publication Date Title
CN108460757B (en) Mobile phone TFT-LCD screen Mura defect online automatic detection method
CN109507192B (en) Magnetic core surface defect detection method based on machine vision
WO2021168733A1 (en) Defect detection method and apparatus for defect image, and computer-readable storage medium
CN105158258A (en) Computer vision-based bamboo strip surface defect detection method
CN107490582B (en) Assembly line workpiece detection system
CN104574418A (en) Pressure vessel weld defect identification method and device based on neural network
JP2012002531A (en) Crack detection method
NZ711997A (en) Weld seam defect detection method
Samarawickrama et al. Matlab based automated surface defect detection system for ceremic tiles using image processing
CN114881915A (en) Symmetry-based mobile phone glass cover plate window area defect detection method
CN117095004B (en) Excavator walking frame main body welding deformation detection method based on computer vision
KR102043316B1 (en) Apparatus for weld bead recognition of 2d image-based and soot removal method using the same
CN114719749A (en) Metal surface crack detection and real size measurement method and system based on machine vision
CN114972397A (en) Infrared image defect contour detection method for wind power blade composite material
JP2014020926A (en) Surface defect inspection device and surface defect inspection method
CN115908415A (en) Defect detection method, device and equipment based on edge and storage medium
TWI540550B (en) A method for measuring display module gap width
CN117333467B (en) Image processing-based glass bottle body flaw identification and detection method and system
Hashmi et al. Computer-vision based visual inspection and crack detection of railroad tracks
Lin et al. A new prediction method for edge detection based on human visual feature
Liu et al. An automatic defects detection scheme for lithium-ion battery electrode surface
CN111815575B (en) Bearing steel ball part detection method based on machine vision
CN117351017A (en) Visual defect detection method for photovoltaic steel structure component
US9311710B1 (en) Method for measuring width of gap of display module
US11880969B2 (en) Belt examination system and computer-readable non-transitory recording medium having stored belt examination program

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees