摘要: | 本研究致力於發展一套LCD彩色濾光片的自動瑕疵分類系統,藉由此系統來輔助人工做瑕疵分類。透過瑕疵的分類可以分析製程中那一階段有缺失,以維護生產線無瑕運作的目的。 我們的研究是在彩色濾光片製程中分類七種常見的瑕疵,這些瑕疵包含漏光色剝落、纖維異物、膜面線刮、金屬異物、透明異物、黑色異物、及光阻異物。我們同時取得瑕疵區塊的反射光及透射光彩色影像。瑕疵影像大小固定為640?480像素,並且不考慮取像光源不均的問題。對於同一個瑕疵,我們分別對反射光及透射光影像做瑕疵擷取,再結合這二種影像的擷取結果以分類瑕疵。反射光影像的擷取包含三個步驟:首先,我們將影像轉為灰階影像,再利用Otsu 自動取得門檻值將影像二值化。接著將二值化影像做水平投影,並去除水平累積量超過 400 像素的水平線,再利用形態學的閉合 (closing) 與連通物件標籤法 (connected component labeling algorithm) 保留瑕疵。在透射光影像中,我們判斷每個像素的顏色,並將顏色區分為紅、綠、藍、白、黑、與其它顏色,再分別對紅、綠、藍的像素做水平及垂直投影,藉此定位出透射光影像中的每個色點 (cell)。最後再將不屬於該色點顏色的像素標記出來,以便得到最完整的瑕疵。 擷取出完整的瑕疵後,我們分別對反射光及透射光影像中的瑕疵利用四種特徵分類瑕疵。四種由反射光影像取得的特徵依序是灰階變異數、緊實性 (compactness)、瑕疵區塊的長短軸比、及瑕疵面積佔其圈選的矩形面積 (bounding box) 比。四種由透射光影像取得的特徵依序是透明率、不透明率、混色率、及透白光率。 在分類步驟中,首先,我們利用透白光率來分辨漏光色剝落。再利用緊實性、瑕疵的長短軸比、及瑕疵面積佔其圈選的矩形面積比,將瑕疵區分為條狀及塊狀瑕疵。對於條狀瑕疵,我們利用灰階變異數來辨別纖維異物與膜面線刮。對於塊狀瑕疵,我們利用灰階變異數來區分塊狀瑕疵的紋理為鬆散型紋理瑕疵與緊實型紋理瑕疵。接著分別對這二種紋理的瑕疵,我們利用透明率、不透明率、及混色率將鬆散型紋理瑕疵分成出金屬異物與透明異物;將緊實型紋理的瑕疵分成光阻異物及黑色異物。 由上述做法及特徵對於檢測的七種瑕疵盡可能的保留完整的外形,對每種瑕疵的平均判定正確率可達80%。其中容易產生誤判的情況如膜面線刮因瑕疵擷取不完整,使得計算瑕疵特徵錯誤,而將該瑕疵誤判為漏光色剝落。另一種常見的誤判情形是光阻異物與黑色異物的誤判。由於光阻異物與黑色異物的外顯極為相似,因此不易區分。 In liquid crystal display (LCD) penal manufacturing, certain repairable panel defects can be found through defect classifying. However, most inspection equipments cannot classify defect, and the defects are classified by human presently. In order to promote the yield rate, it is important for automatic defect classification on production line. Real-time automatic defect classification also maintains production procedure through analyzing the defect. The flaw of production procedure can be found as soon as possible. In this study, we focus on defects with the same field of view (FOV) of reflex-lighted and back-lighted image which size is 640480 pixels. The propose method consists of three stages. First, we use an automatic thresholding method, morphology, and connected component labeling algorithm to extract the defect from the reflex-lighted image, and we mark pixels which color is different to the cells in the back-lighted image. Then, we combine the results from reflex-lighted and back-lighted image detection. Second, we categorize the defect with shape into two categories: bar and massy defects. We use principal axis ratio, compactness, and bounded defect area to describe the shapes. For bar defects, we use gray-level variance of the defect to recognize fiber matter and dot scratch. For massy defects, defects are classified into incoherent and compact texture with gray- level variance of the defect. For incoherent defects, we recognize metal and transparent matters with opacity ratio. For compact defects, we use the same features of incoherent defect classification to recognize black and resist matters. At last, we utilize the features and propose a dichotomy classification procedure to classify the defect types, and the average accuracy of defect recognition is more than 80%. |