201211526 六、發明說明: 【發明所屬之技術領域】 本發明與顯示面板的檢測設備有關,尤指一種使用西 洋棋盤格畫面來檢測顯示面板品質的自動檢測系統與方 法。 ’、 【先前技術】 諸如液晶面板、電子紙等顯示面板,已廣泛運用於各 種電子產品的顯示器,且基於高品質顯示器的要求,目前 已發展出許多面板品質檢測的方法。其中一種檢測方法是 使用西洋棋盤格畫面來進行檢測的,其經常使用於像電子 紙這類的軟性顯示面板。這種檢測方法是輸入一棋盤格畫 面信號給一被檢測面板,在正常狀況下,該被檢測面板應 當對顯示出一西洋棋盤格晝面,即畫面中的每一行或每一 列中的格子都是以黑白格子交錯的方式來呈現的,然而, 如果該被檢測面板所顯示出來的晝面非如前述,則視該被 檢測面板為一瑕疵面板。 為了量測該被檢測面板所顯示出來的畫面是否為專白 格子交錯的西洋棋盤格晝面,目前業界是使用一電子校色 器’例如eye one系列或Color Vision系列的螢幕校色器, 來進行量測,亦即,一檢測人員手持該電子校色器平貼於 該被檢測面板,並一格一格地移動,藉以量測取得該被檢 測面板所顯示之畫面的每一格子的明度值(Lightness)。該 電子校色器對該被檢測面板的量測結果會被傳至_電腦, 該電腦在接收到前述每一格子的明度值之後,會針對各個 201211526 格子的明度值作左右比對及上下比對’並根據比對結果來 決定該被檢測面板的良莠。 前述的明度值是指國際照明委員會(c〇mmissi〇n Internationale d’Eclairage,CIE)所提出的 CIE lAB 色彩模 型中的L*的值。該色彩模型定義了三個色軸a*、b*'及 L*,用以別表示顏色的紅綠程度、黃藍程度、與黑白程度。 其中,L* = l〇〇為最白,此時人眼所感知到的顏色最明亮, L*-0為最黑,此時人眼所感知到的顏色最暗。 無論如何,上述以人員手持電子校色器進行面板檢測 的方式’相當費時費力,亟需改善。 【發明内容】 本發明提供一種灰階-明度對照關係式的建立方法。該 灰階-明度對照關係式可運用於顯示面板的檢測或其它用 途。該建立方法包括:201211526 VI. Description of the Invention: [Technical Field] The present invention relates to a detection device for a display panel, and more particularly to an automatic detection system and method for detecting the quality of a display panel using a western checkerboard screen. [Previous Technology] Display panels such as liquid crystal panels and electronic paper have been widely used in displays for various electronic products, and many methods for panel quality detection have been developed based on the requirements of high-quality displays. One of the detection methods is to use a checkerboard screen for inspection, which is often used for soft display panels such as electronic paper. The detection method is to input a checkerboard screen signal to a detected panel. Under normal conditions, the detected panel should display a western checkerboard face, that is, a grid in each row or column of the screen. The black and white grid is interlaced. However, if the detected surface of the detected panel is not as described above, the detected panel is regarded as a panel. In order to measure whether the picture displayed by the detected panel is a white checkerboard with a white interlaced grid, the current industry uses an electronic color correction device such as the eye one series or the Color Vision series of color correction devices. Performing measurement, that is, a detecting person holding the electronic color correcting device flatly attached to the detected panel and moving one by one to measure the brightness of each grid of the image displayed by the detected panel Value (Lightness). The measurement result of the electronic color corrector to the detected panel is transmitted to the computer, and after receiving the brightness value of each of the foregoing grids, the computer compares the brightness values of the respective 201211526 grids to the left and right ratios and the upper and lower ratios. For 'and based on the comparison results to determine the goodness of the panel being tested. The aforementioned brightness value refers to the value of L* in the CIE lAB color model proposed by the International Commission on Illumination (c〇mmissi〇n Internationale d’Eclairage, CIE). The color model defines three color axes a*, b*', and L* to indicate the red, green, and blue levels of the color, and the black and white. Among them, L* = l〇〇 is the whitest. At this time, the color perceived by the human eye is the brightest, and L*-0 is the darkest. At this time, the color perceived by the human eye is the darkest. In any case, the above-mentioned method of carrying out panel inspection by a person holding an electronic color correction device is quite time consuming and laborious, and needs improvement. SUMMARY OF THE INVENTION The present invention provides a method for establishing a gray scale-lightness control relationship. The gray scale-lightness control relationship can be applied to the detection or other use of the display panel. The method of establishment includes:
使,-電子校色裝置量測一標準色卡中用於表示黑白 矛度的每白度色塊,藉以取得該些白度色塊的明度值。 使用-攝像裝置拍攝該標準色卡,藉以取得一色卡影像, 該色卡影像的内容包含該標準色卡中的每—白度色塊。使 用-電腦接收該色卡影像,並運算出該色卡影像中的每一 白度色塊的灰階值。利用依上述步驟所取得的每一白度色 塊的明度值與每一白度色塊的灰階值,產生該灰階_明度對 一白度色塊的灰 ’因此,該灰階- 由於前述每一白度色塊的明度值與每 階值都是取自同—標準色卡上的白度色塊 201211526 明度對照關係、式可正確地表示出任—灰階值與其對應的明 度值。 本發明還提供一種顯示面板檢測方法,其包括對一被 檢測面板輸人-棋餘錢,以使該被制面板對應顯示 -棋盤格t®。拍攝該才其盤格畫面以取得一棋盤格畫面影 像。计算出該棋盤格晝面影像中的每一格子的灰階值。根 據一灰階-明度對照關係式,計算出該棋盤格晝面影像的每 一格子的明度值。比對該棋盤格畫面影像的每一格子與其 相鄰格子的明度值。才艮據比對結果,i生表示該被檢測面 板良莠的訊息。 本發明更提供一種顯示面板自動檢測系統,其用以檢 測一被檢測面板,該被檢測面板已顯示一棋盤格畫面。該 系統包括一攝像裝置及一電腦裝置。該攝像裝置係用以拍 攝該棋盤格畫面,藉轉得-棋盤格畫面影像。該電腦裝 置係用以接收該攝像裝置傳送來的該棋盤格畫面影像,並 用以計算出該棋盤格畫面影像中的每一格子的灰階值、根 據一灰階·明度對照關係式,計算出該棋盤格畫面影像的每 一格子的明度值、比對該棋盤格晝面影像的每一格子與其 相鄰格子的明度值、及根據比對結果’產生表示該被檢測 面板良菏的訊息。 無論如何,本發明藉由事先建立的灰階-明度對照關係 式及影像處理技術,達到自動檢測出一顯示面板的良骞之 目的。相對於過去以人員手持電子校色器進行面板檢測的 方式本發明顯然具備省時省力及檢測速度較快等優點。 更多的發明内容及其作用,將揭露於隨後的說明。 201211526 【實施方式】 第一圖顯不本發明之顯示面板檢測系統的一個較佳實 施例。該系統包括一輸送裝置1、一攝像裝置2、及一電腦 裝置3。該輸送裝置1係用以輸送一被檢測面板4到該攝 像裝置2的拍攝範圍内。該被檢測面板4係指液晶面板、 電子紙、或其它種類的顯示面板。 本發明系統中的一信號產生器(圖中未示)係用以產 生一棋盤格信號給該被檢測面板4,以使該被檢測面板4 對應頁示如第_圖所示的__棋盤格畫面。在正常情況下’ 該棋盤格晝面應當呈現西洋棋盤格的形式,其包含由多個 格子,構成的陣列,且每一行中的格子是黑白交錯地排 歹J每列中的格子也是黑白交錯地排列。該信號產生器 是依據事先儲存在該電腦裝置3中的—預設值而產生的, «玄預叹值定義該棋盤格畫面每一行的格子的數量與每一列 的格子的數量。-人員可經由該電腦裝置3的操作而改變 該預設值。 該攝像裝置2係用以拍攝該被檢測面板4所顯示的棋 盤格晝面,藉以取得一棋盤格晝面影像。該系統中的一光 源21係用以提供充足的照明’以使該攝像裝置2能夠拍攝 到清楚的棋盤格畫面影像。該棋盤格畫面㈣的内容包含 該棋盤格晝面’從而具有多個格子。纟中,該攝像裝置2 較佳是選用線性掃瞄式照相機(Une —η ccd)。 °玄電腦裝置3係、連接該攝像裝置2,其不但可控制該 攝像裝置2及輸送裝置1的運作,還能接收該攝像裝置2 201211526 傳送來的該棋盤格畫面影像,並執行以下a〜d步驟: ㈣畫面影像中的每—格子的灰階值 術曰來達/ 刊用現㈣或自行開的影像處理技 ,b)根據-灰階.明度對照關係式,計算出該棋盤格晝面 衫像的母一格子的明度值(L_職,L*);該灰階_明度對 照關係式是事先建立於該電腦裝置3中,其建立方式容後 再逃’重點是只要任一格子的灰階值被計算出來,則透過 該灰階-明度對照關係式,就可推算出對應該任一格子的明 度值。 c)比對該棋盤格畫面影像的每一格子與其相鄰格子的 明度值。在正常狀況下’該被檢測面板4根據棋盤格信號 所對應產生的晝面應該是跟該棋盤格畫面一樣,都是呈現 黑白格子交錯的形式,也就說,若—格子是黑的,則其上、 下、左、右的格子都應該是白的,反之,若—格子是白的, 則其上、了、左、右的格子都應該是黑。其中任兩格子的 明度值的差值大於或等於〇.5 (此值可自訂)時,即以明度 值較大者為黑格子,較小者為白格子,即視其兩者為黑白。 因此,將-格子的明度值跟其相鄰格子的明度值作比對, 就可以判斷出該被檢測面板4根據棋盤格信號所對應產生 的晝面是否為棋盤格畫面。若否,即表示該被檢測面板4 係為一瑕疲面板。 d)最後’根據比對結果,產生表示該被檢測面板4良 筹的訊息。該訊息可以燈號方式呈現,或是以文字及,或 圖案顯示於該電腦裝置3的螢幕中。 201211526 從上述說明可知,本發明之鞀_ ."、員不面板檢測系統實際上 疋用以實行一種顯示面板檢測方法 上A吃 去’藉以達到檢測顯示面 板良莠之目的。該方法包括以下步驟. 建立一灰階-明度對照關係式(或對照表); 對該被檢測面板4輸入-棋盤格信號,以使該被檢測 面板對應顯示如第二圖所示的棋盤格書面. 拍攝該棋盤格畫面以取得一棋盤格晝面影像;The -electronic color correction device measures each whiteness patch used to represent the black and white glitch in a standard color card to obtain the brightness values of the whiteness patches. The standard color card is photographed by using a camera device to obtain a color card image, and the content of the color card image includes each white color patch in the standard color card. Use the computer to receive the color card image and calculate the grayscale value of each white color patch in the color card image. Using the brightness value of each whiteness patch obtained by the above steps and the grayscale value of each whiteness patch, the grayscale_lightness is generated for the gray of a whiteness patch. Therefore, the grayscale- The brightness value and each step value of each of the whiteness patches are taken from the brightness degree relationship of the whiteness color block 201211526 on the same-standard color card, and the formula can correctly represent the gray-scale value and the corresponding brightness value. The present invention also provides a display panel detecting method, comprising: inputting a chess money to a detected panel, so that the panel is correspondingly displayed - a checkerboard t®. Take the picture of the grid to get a checkerboard image. The grayscale value of each grid in the face image of the checkerboard is calculated. The brightness value of each grid of the face image of the checkerboard is calculated according to a gray-lightness contrast relationship. The brightness value of each grid of the checkerboard image and its adjacent grid. According to the comparison result, isheng indicates that the information of the detected panel is good. The present invention further provides a display panel automatic detection system for detecting a detected panel, the detected panel having a checkerboard screen displayed. The system includes a camera device and a computer device. The camera device is used to capture the screen of the checkerboard and borrow the image of the checkerboard screen. The computer device is configured to receive the image of the checkerboard image transmitted by the camera device, and calculate the grayscale value of each grid in the image of the checkerboard image, and calculate according to a grayscale and brightness contrast relationship. The brightness value of each grid of the checkerboard image is compared with the brightness value of each grid of the checkerboard image and the adjacent grid, and a message indicating the goodness of the detected panel is generated according to the comparison result. In any case, the present invention achieves the purpose of automatically detecting a display panel by using a gray scale-lightness control relationship and image processing technology established in advance. Compared with the manner in which the panel is detected by the person holding the electronic color correction device in the past, the present invention obviously has the advantages of saving time and labor and detecting speed. Further invention and its effects will be disclosed in the following description. 201211526 [Embodiment] The first figure shows a preferred embodiment of the display panel detecting system of the present invention. The system includes a transport device 1, a camera device 2, and a computer device 3. The conveying device 1 is for conveying a detected panel 4 to the shooting range of the image pickup device 2. The detected panel 4 refers to a liquid crystal panel, electronic paper, or other types of display panels. A signal generator (not shown) in the system of the present invention is used to generate a checkerboard signal to the detected panel 4, so that the detected panel 4 corresponds to the __ checkerboard as shown in the figure. Screen. Under normal circumstances, the checkerboard face should be in the form of a checkerboard, which consists of an array of multiple grids, and the grids in each row are black and white staggered. The grids in each column are also black and white. Arranged in order. The signal generator is generated based on a preset value stored in the computer device 3 in advance, and the «the sneak value defines the number of grids per row of the checkerboard screen and the number of grids in each column. - The person can change the preset value via the operation of the computer device 3. The camera device 2 is configured to capture a face of the checkerboard displayed by the detected panel 4, thereby obtaining a face image of the checkerboard. A light source 21 in the system is used to provide sufficient illumination 'to enable the camera 2 to capture a clear checkerboard image. The contents of the checkerboard screen (4) contain the checkerboard face and thus have a plurality of lattices. In the case, the camera device 2 preferably uses a linear scan camera (Une_η ccd). The computer device 3 is connected to the camera device 2, which not only controls the operation of the camera device 2 and the transport device 1, but also receives the image of the checkerboard screen transmitted by the camera device 201211526, and executes the following a~ Step d: (4) The grayscale value of each grid in the image of the screen is used to report/report the current (four) or self-opening image processing technique, and b) calculate the checkerboard according to the grayscale and brightness contrast relationship. The brightness value of the mother's grid of the shirt figure (L_ job, L*); the gray scale_lightness relationship is established in advance in the computer device 3, and the way of establishing it is to escape after the focus is as long as any The grayscale value of the grid is calculated, and the grayscale-lightness contrast relationship can be used to derive the brightness value corresponding to any grid. c) the brightness value of each of the lattices of the checkerboard image and its adjacent grid. Under normal conditions, the facet of the detected panel 4 corresponding to the checkerboard signal should be the same as the checkerboard picture, which is in the form of black and white grid interlaced, that is, if the grid is black, then The upper, lower, left and right grids should be white. Conversely, if the grid is white, the upper, left, and right grids should be black. If the difference between the brightness values of any two of the grids is greater than or equal to 〇.5 (this value can be customized), that is, the larger the brightness value is the black grid, and the smaller one is the white grid, that is, the two are black and white. . Therefore, by comparing the brightness value of the - lattice with the brightness value of the adjacent grid, it can be determined whether the detected surface of the detected panel 4 corresponding to the checkerboard signal is a checkerboard screen. If not, it means that the detected panel 4 is a fatigue panel. d) Finally, based on the comparison result, a message indicating that the detected panel 4 is well-promoted is generated. The message can be presented in the form of a light signal or displayed in the screen of the computer device 3 in text and or in a pattern. 201211526 From the above description, it can be seen that the 鼗_.", panelless detection system of the present invention is actually used to implement a display panel detection method to achieve the purpose of detecting the display panel. The method comprises the following steps: establishing a gray scale-lightness control relationship (or a comparison table); inputting a checkerboard signal to the detected panel 4, so that the detected panel correspondingly displays the checkerboard as shown in the second figure. Written. Shoot the checkerboard screen to obtain a checkerboard image;
計算出該棋盤格畫面影像中的每一格子的灰階值; 根據該灰階-明度對照關係式,計算出該棋盤格畫面影 像的每一格子的明度值; 比對該棋盤格晝面影像的每—格子與其相鄰格子的明 度值;及 根據比對結果,產生表示該被檢測面板良莠的訊息。 其中,該灰階-明度對照關係式的建立步驟如下: 先使用一電子校色裝置量測一標準色卡中用於表示黑 白程度的每一白度色塊,用以取得該些白度色塊的明度 值。該電子校色裝置較佳是選用eye one系列或c〇i〇r Vision系列的螢幕校色器。該標準色卡較佳是選用xrit A司的24色標準色卡(c〇l〇rChecker),此一標準色卡中有 一列用以表示黑白程度的白度色塊,這些白度色塊從最黑 到最白共計6個《所謂的白度係指一灰階顏色的黑白程度 (多黑或多白)而言。 接著’使用一攝像裝置拍攝該標準色卡,藉以取得一 201211526 色卡影像,該色卡影像的内容包含該標準色卡中的 度色塊。該攝像裝置較佳是選用線性掃晦式照相機。 ,然後,使用-電腦接收該色卡影像,並運算出該 影像令的每一白度色塊的灰階值。這可利用 開的影像處理技術來達成。 、5 订 最後,利用依上述步驟所取得的每一白度色塊的明卢 :與:-白度色塊的灰階值,產生該灰階,度對照關: 式。由於前述每一白度色塊的明度值與每一白度色塊的灰 階值都是取自同—標準色卡上的白度色塊,因此,該灰階_ 明度對照關係式可正確地表示出任一灰階值與其對應的明 度值。 依該灰p白-明度對照關係式所績出的曲線圖係如第三 圖所示,其中x轴為灰階值(平均灰階值),Υ軸為日聽 值(Llghtness,L*)。因此,當取得一顏色的灰階值之後就 能根據該灰階-明度對照關係式,找到與該顏色的灰階值相 對應的明度值。 從上述說明可知,藉由事先建立的灰階明度對照關係 式;r尤可以利用影像處理技術來自動檢測出一顯示面板的 良赛。相對於過去以人員手持電子校色器進行面板檢測的 方式’本發明之自動檢測系統與方法顯然具備省時省力及 檢測速度較快等優點。 201211526 【圖式簡單說明】 第一圖係顯示本發明之顯示面板自動檢測系統的一個較佳 實施例的架構。 第二圖係顯示一棋盤格畫面。 第三圖依本發明之灰階·明度對照關係式所繪出的曲線圖。 2攝像裝置 3電腦裝置Calculating a grayscale value of each grid in the image of the checkerboard screen; calculating a brightness value of each grid of the screen image of the checkerboard image according to the grayscale-lightness contrast relationship; comparing the image of the square of the checkerboard image Each of the grids and the brightness values of the adjacent grids; and based on the comparison results, a message indicating the goodness of the detected panel is generated. Wherein, the gray-lightness contrast relationship is established as follows: First, an electronic color correction device is used to measure each white color block in a standard color card for indicating the degree of black and white, to obtain the white color The brightness value of the block. The electronic color correction device preferably uses an eye one series or a c〇i〇r Vision series screen color correction device. Preferably, the standard color card is a 24-color standard color card (c〇l〇rChecker) of the xrit A division. The standard color card has a column of whiteness patches for representing black and white degrees. The blackest to the whitest total of six "the so-called whiteness refers to the black and white degree of a grayscale color (more black or more white). Then, the standard color card is photographed by using a camera device to obtain a 201211526 color card image, and the content of the color card image includes a color patch in the standard color card. Preferably, the camera device is a linear broom camera. Then, the computer is used to receive the color image, and the grayscale value of each white color block of the image is calculated. This can be achieved using open image processing techniques. 5, finally, using the gray scale value of each whiteness color block obtained by the above steps: and: - gray scale value of the whiteness color block, the gray scale is generated, and the degree is compared with: Since the brightness value of each of the whiteness patches and the grayscale value of each whiteness block are taken from the whiteness patches on the same-standard color card, the grayscale_brightness control relationship is correct. The ground indicates any grayscale value and its corresponding brightness value. The graphs shown by the gray-white-lightness contrast relationship are shown in the third figure, where the x-axis is the grayscale value (average grayscale value) and the x-axis is the daily listening value (Llghtness, L*). . Therefore, after obtaining the gray scale value of a color, the brightness value corresponding to the gray scale value of the color can be found according to the gray scale-lightness control relationship. It can be seen from the above description that the image processing technology can be used to automatically detect a good display of a display panel by using a gray scale brightness comparison relationship established in advance. Compared with the manner in which the panel is detected by the person holding the electronic color correction device in the past, the automatic detection system and method of the present invention obviously has the advantages of saving time and labor and detecting speed. 201211526 [Simplified Schematic] The first figure shows the architecture of a preferred embodiment of the automatic display panel detection system of the present invention. The second picture shows a checkerboard screen. The third graph is a graph drawn by the gray scale and lightness contrast relationship of the present invention. 2 camera device 3 computer device
【主要元件符號說明】 1輸送裝置 21光源 4被檢測面板[Description of main component symbols] 1 conveying device 21 light source 4 detected panel