Novel Framework for Optical Film Defect Detection and Classification
직접 관련 필름·전자재료 · (13) 프리즘 필름 (11) 배리어 필름(15) 디스플레이 패널재료
기본 정보
- 저자
- DOI
- 10.1109/access.2020.2982250
- 저널
- IEEE Access
- 발행년도
- 2020
- 발행기관
- Institute of Electrical and Electronics Engineers
- 피인용수
- 27
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1109/access.2020.2982250
- 토픽
- Surface Roughness and Optical Measurements
- OpenAlex ID
- W3012223151
평가 내용
- 관련도
- 직접 관련
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- (11) 배리어 필름, (15) 디스플레이 패널재료
- R&D 측면
- 물성·성능 평가
- 확신도
- 0.95
- 근거 용어
- optical film, defect detection, classification, LCD, machine vision
- 판단 근거
- 이 논문은 LCD용 광학 필름(반사 시트, 확산 시트, LGP 등)의 제조 공정 중 발생하는 결함(점, 스크래치, 이물질, 얼룩)을 머신 비전 기술로 검출하고 분류하는 시스템을 다루고 있습니다.
- R&D 활용 포인트
- 코오롱인더스트리의 프리즘 필름, 배리어 필름 등 광학 필름 제조 공정 내 자동 검사 시스템(AOI) 고도화 및 품질 관리 효율화에 직접 활용 가능합니다.
- 평가 입력
- 본문 64,435자 중 30,032자 발췌
초록
본문 64,435자
본문 펼치기
섹션 본문 64문단 · 42,155자
(제목 없음)
1Currently, liquid crystal displays (LCDs) are the most popular type of flat panel display and are used in most applications. An LCD contains many critical optical film components that are produced in highly automated and precisely monitored facilities throughout the complex manufacturing process. However, defect detection and classification through visual inspection is very difficult during the manufacturing process. To overcome this problem, a novel framework based on machine vision known as the optical film defect detection and classification system is presented for use in the real-time inspection. First, an image acquisition system equipped with a high-resolution camera and custom-made lighting field was designed to obtain a high-quality optical film image. Second, the defects on an optical film were detected using localized cross-projection based on proposed adaptive energy analysis. Finally, the defect images were classified into four types by using the developed classification algorith-point, scratch, foreign material, and stain. The quality of the products yielded after defect detection and classification of the optical film was compared with the standard product quality of the manufacturer. Experiments were conducted using samples collected from the largest manufacturer in Taiwan to validate the performance of the proposed framework. The accurate defect detection rate is 99.6%, the classification accuracy rate is 100%, and the total operation time is short whichonly 6.129s are required on average to perform the inspection for an optical film sample. The results demonstrate that the proposed method is sound and useful for optical film inspection in industries.INDEX TERMSOptical film, automatic optical inspection, color space, adaptive energy analysis, cross-projection, Kirsch operator, bit-plane slicing, support vector machine.MENG-HSIANG SHIH received the B.S. degree in information and management from Nanhua University, Taiwan, in 2001. He is currently pursuing the Ph.D. degree with the National Kaohsiung University of Science and Technology, Taiwan. He is very good at using computer skills to find solutions, especially the applications in the IT industry. On the other hand, he is a professional manager in school, and his main tasks including the project management and planning proposal, implementing industry-academia collaboration objects, offering solutions for teachers and business cooperation, and provide teachers research and development results to promote knowledge economic development. His research interests include digital imageprocessing, automatic optical inspection systems, algorithms, and information technology.
I. INTRODUCTION
2Currently, liquid crystal displays (LCDs) are the most popular flat panel displays that have replaced traditional cathode ray tube displays in most applications and become the mainstream electronic display. An LCD is a device that utilizes the electro-optical characteristics of a liquid crystal to convert an electrical stimulus into a visual signal. Due to the complicated manufacturing process and expensive equipment, the LCD manufacturing industry is highly competitive. An LCD contains many critical optical film components, such as a reflector sheet, light guide plate (LGP), diffuser sheet, prism sheet, bottom polarizer, a bottom glass substrate (backplane), and thin-film transistor. Each component inside an LCD has a crucial role in ensuring LCD quality. Therefore, highly automated and precisely monitored facilities are used throughout the complex manufacturing process.
3The associate editor coordinating the review of this manuscript and approving it for publication was Donato Impedovo .
4Visual defect inspection serves a pivotal role in the LCD manufacturing process. However, the optical film industry currently lacks an efficient defect inspection system, and detection and classification are conducted and recorded manually. Therefore, defect images are identified by experienced engineers or operators. However, this visual inspection method includes the following drawbacks: high time consumption, subjective and hence variable defect detection, and human fatigue that leads to misrecognition. In contrast to human inspection, machine-vision-based techniques have advantages such as high efficiency, low cost, and objectivity and are widely applied for industrial defect inspection. The automatic optical inspection system (AOI) is a key machinevision-based technique in industry 4.0 that is used for manufacturing and testing products to ensure that high-quality products are obtained from the production line and the items are manufactured correctly without fault. AOI is an essential tool that employs optics to capture images of an object that is being tested using an integrated test strategy and ensures that costs are kept as low as possible by detecting faults early in the production line. AOI has been increasingly used for automatic defect detection in several industrial fields for the quality control of products, such as printed circuit boards [1]- [3], plastic products [4], steel products [5], [6], glass products [7], [8], solar cells [9], [10], textiles and garments [11]. Besides, AOI has also been used for counting blister cards within drug packages [12] and checking the surface of the lithium-ion battery electrode [13].
5Various methods have been developed for defect inspection of LCDs in the past decade based on machine vision. Based on the monotonical relation of 3D sizes and grayscale value of microdefects, Deng et al. [14] used the support vector regression (SVR) algorithm to develop a vision-based 3D shape measurement system for detecting and measuring the transparent micro defects on the polarizing film. Kuo et al. [15] used Fourier transform to detect and enhance defects on polarizing films, which are the key component in LCDs. Then, they extracted various features, such as maximum gray level, eccentricity, contrast, and homogeneity of the gray level co-occurrence matrix, from the defect images and input them in the radial basis function neural network and backpropagation neural network (BPNN) for classification. To improve the inspection quality of polymeric polarizers in thin-film transistor LCD (TFT-LCD) panels, Lai et al. [16] used an LCD monitor as a structured light source to display the binary stripe pattern of a polymeric polarizer before capturing its images. Then, they used the robust principal component analysis algorithm for processing and characterizing the defect images. Gan and Zhao [17] proposed a modified local binary fitting model to initialize contour and competent features for the extraction of defect boundaries. Tsai et al. [18] proposed an automatic quantization of Mura panel defects in terms of the crossing points of the interference pattern to detect gap defects before injecting liquid crystals into the cells of a TFT-LCD panel. For pretesting gap defects on a TFT-LCD panel, Li et al. [19] proposed an optical interference pattern-sensing method to detect the defects and then use the neural network method to identify the types of defects. To detect Mura defects on an LCD, Wang et al. [20] used the first four singular values of the images captured to divide the defect images into the following two categories-coarse and fine. Then, they adopted two-dimensional (2D) discrete wavelet coefficients combined with region growing to extract defect regions. Li and Tsai [21] proposed a Hough transform method for all individual row and column gray-level profiles to identify Mura defects in LCD panels, which can be presented in the 2D inspection image. Chen et al. [22] proposed a neural network with different learning methods such as backpropagation (BP), radial basis function (RBF), learning vector quantization 1 (LVQ1), and learning vector quantization 2 (LVQ2) for defect recognition. Bi et al. [23] first eliminated global textured backgrounds and then used the Chan-Vese model for segmenting Mura defects for TFT-LCD panels. Chen and Chou [24] used discrete wavelet transform and discrete cosine transform to detect blob Mura defects on TFT-LCD panels. Lee and Yoo [25] first used modified regression diagnostics and Niblackthresholding to segment the candidate Mura defect regions from a TFT-LCD panel image and then quantified the Mura defect level for each candidate region based on human eye sensitivity. In spite of many kinds of researches proposed for detecting defects on the LCD screen or the polarizing film, which are the key component of LCD panels, most methods are only focused on defect detection.
6In this study, we propose a high-precision automated optical film defect detection and classification system (OFDDCS), which is based on machine vision for use in real-time detection and classification. Our proposed system is applicable to different components of the optical film, such as reflector sheet, diffuser sheet, and LGP. The overall flowchart of OFDDCS is shown in Fig. 1. First, we designed an image acquisition system equipped with a high-resolution camera and custom-made lighting field to obtain high-quality optical film images. Second, the defects on the optical film were detected by adopting localized cross-projection based on the VOLUME 8, 2020 proposed adaptive energy analysis method. Finally, the defect images were classified into the following four types of defects by the proposed classification algorithm-point, scratch, foreign material, and stain. The quality of the products obtained after defect detection and classification of the optical film was compared with the standard product quality of the manufacturer. Optical films provided by a company in Taiwan were used for experiments to demonstrate that the proposed method is sound and useful for optical film inspection in industries. Our proposed method not only reduces the number of human inspectors, but also increases the yield rate, and reduces material loss.
7The remainder of this paper is organized as follows. Section II describes the image acquisition system. The proposed defect detection method is presented in Section III. Section IV describes the classification algorithm. Section V discusses the experimental results. Finally, the conclusions of this study are presented in Section VI.
II. IMAGE ACQUISITION SYSTEM
8This section introduces the system architecture of the optical film inspection apparatus first and then presents particular considerations regarding the illumination scheme. Moreover, the image properties and the challenges of defect detection are discussed.
A. OVERVIEW OF LCD PANEL
9An LCD is a device that utilizes the electro-optical characteristics of a liquid crystal to convert an electrical stimulus into a visual signal. The signals help to bring your imagination and ideas to life by displaying them on a screen. In general, an LCD includes some panels that are arranged from top to bottom in the following order: top chassis, top polarizer, glass substrate, color filter, common electrode, liquid crystal, TFT, glass substrate, bottom polarizer, prism sheet, diffuser sheet, LGP, reflector sheet, and bottom chassis. As shown in Fig.2, we investigated the following three panels and conducted experiments on them in this study: reflector sheet, diffuser sheet, and LGP.
10The reflector sheet provides LCD backlight recycling and is often known as a dual brightness enhancement film (DBEF). DBEFs increase on-axis luminance, and thus, more light is available for transmission through the LCD. Typically, one brightness enhancement film (BEF) can increase the brightness level by 40%-60%. Two BEFs are used in some applications for enhancing brightness transmittance. The diffuser sheet is designed to evenly distribute light across the screen to make a solid, evenly lit square and reduce LED hotspots. The LGP is an acrylic panel that is typically fabricated using pure poly (methyl methacrylate) resin, which is extremely transparent and highly weather resistant. This plate is an etched plastic sheet that contains a pattern of bumps that reflect light in a particular direction. An LGP converts a line-shaped light source into a uniform plane-shaped light source. A matrix of lines is etched on the bottom of the LPG panel to direct the light out from the front of the panel, which is known as V cutting. The light that enters the light guide layer from the sides will exit through the front of the layer.
B. IMAGE ACQUISITION SYSTEM
11This subsection introduces the system architecture of the optical film inspection apparatus first and presents particular considerations regarding the illumination scheme. Then, the image properties and the challenges of defect detection are discussed.
12The lighting setup plays a major role in ensuring the quality of the images acquired using an image acquisition device. This quality is related to the success or failure of the inspection task. When positive light is incident on an object surface, some of the light gets reflected based on the refractive indices of the material on the objects surface, angle of incidence, and medium of the incident light (e.g., air). Conversely, the superfluous light that passes through the object is not only reflected on the front surface but also on the back surface. The light may be reflected back and forth several times, thus capturing images with variable qualities. Therefore, resolving the issue of how to design a suitable image acquisition system for each type of object is crucial in the AOI system. This subsection introduces the components of the proposed image acquisition system, such as the light source setting, camera parameter setting, and image capture design.
13To normalize illumination variation and increase the contrast difference between defects and the background, lighting systems, such as background lighting, parallel lighting, and infrared lighting, were used in this study. Before selecting a suitable light source, it is necessary to prioritize the influence of the light source and the type of optical film. Because optical films that are provided by the manufacturer have variable imaging functions, an image set is presented to conduct the image acquisition task.
14First, we designed a light source for the reflector sheet. The reflector sheet reflects the light that leaks from the bottom surface of the LGP back into the plate to increase the light usage rate. Thus, front lighting is used for this sheet. However, the main functions of the LGP and diffuser sheet are to provide a uniform surface light source. Thus, background lighting is used. In addition to the light source setting, the distances among light, the camera with lens, and test samples were examined to design an image acquisition system. Fig. 3 displays the proposed optical film image acquisition system. Fig. 3(a) shows the front lighting system used for the reflector sheet and Fig. 3(b) displays the background lighting system used for the LGP and diffuser sheet. In general, defects of the optical films are small. Thus, it is very difficult to detect them with human eyes. Therefore, image acquisition is a critical step in the defect inspection system. Moreover, we designed an image acquisition system to capture high-resolution images to make defects clearer. Three image examples captured using the proposed system are shown in Fig. 4. This figure displays the optical film images that were examined in this study. The images measure 2, 330 × 1.750 pixels with a 24-bit BMP format.
15These images were not only tested for obtaining a high defect detection rate but also reduced in size to decrease the operation time and ensure synchronization with the factory's production line.
III. OPTICAL FILM DEFECT DETECTION
16This section introduces the optical film defect detection algorithm. We detected the defect contours by following the defect shape to extract the correct position of the defect in the image. First, the optical film RGB image is converted to YCbCr color space to extract the Y color channel with only 8 bits to reduce the processing time. Next, a smoothing filter was used to smooth the image and enhance the desired local edge and then convert to binary image based on automated Otsu's method [26] to extract the object of interest from the background. After that, localized adaptive energy analysis was used to enhance the defect contour, and then, partial cross-projection was used to cut out the defect image. Finally, the defect is compared to the standard product quality of the manufacturer to determine whether the manufacturer's specification is met. Fig. 5 shows the overall of our defect detection algorithm.
17Traditional contour detection is based on edge detection approaches [27], such as Sobel or Canny operator. In such detection approaches, edges are usually extracted by adopting a specific template or using a smooth function. The Sobel edge detector is used for detecting vertical and horizontal edges in an image. However, this detector has a major drawback insofar as it is very sensitive to noise. Moreover, the size of the kernel filter and its coefficients are fixed and cannot be adapted to a given image. Therefore, an adaptive edge detection algorithm is necessary to provide a robust solution that can be adapted to the varying noise levels in the image and to help distinguish between valid image content and visual artifacts introduced by noise. The Canny edge detector is an optimal edge detector that has high performance: high detection accuracy, high localization accuracy, and a unique answer to a true edge. The Canny edge detection algorithm performs better than the Sobel detector and gradient-based operators under almost all scenarios. However, the performance of the Cannyalgorithm primarily depends on adjustable parameters, VOLUME 8, 2020 such as the standard deviation of the Gaussian filter and the threshold value. Recently, an increasing number of edge detection operators have been developed for specific types of edges [28], [29]. Unfortunately, these approaches usually require parameter tuning to adjust sensitivity throughout the image based on the contrast and differences. In this study, the proposed localized energy-based edge detector not only can detect edge pixels in all directions equally well but also has no parameter tuning requirement, has low sensitivity to noise, and has high isotropy.
18Contour detection is a technique used for detecting meaningful discontinuities in the gray level and is often used in subsequent image analysis for feature extraction and object recognition. Color is an effective and robust visual cue for distinguishing between objects. Recently, there has been growing interest in color segmentation, which is useful in preliminary processing for many vision-based tasks such as object recognition, visual tracking, and vision-based robotics. However, color variation is encountered in color segmentation due to uneven illumination and the view perspective of a camera. In particular, changing illumination conditions and complex environments containing surfaces or objects with similar colors are major problems that limit the application of color segmentation to visual inspection tasks. The former changes the color characteristics, whereas the latter increases the number of false-positive pixels. The YCbCr color space is often used in digital image processing to take advantage of the lower resolution capability of the human visual system for color with respect to luminosity. In the YCbCr color space, Y is the luma component and Cb and Cr are the blue-difference and red-difference chroma components, respectively. Because defects on an optical film are more sensitive to illumination, we used the luma component Y of the YCbCr color space as a gray level for conducting contour detection. This component is not only more useful for defect detection but also can considerably reduce the processing time. We processed a Y channel image of the YCbCr color space with only 8 bits instead of processing an optical film color image of 24bits, thus reducing the operation time of the proposed system.
19Without loss of generality, f is assumed to be an optical film color image with a resolution of
20Prior to the contour extraction of an object, a smoothing filter was used to smooth the image and enhance the desired local edge. The local standard average µ Y and energy f E defined by the mask with 3 × 3 pixels are expressed in the following equations:
21where η is equal to 9 and is a normalizing constant, µ Y is the average value of the pixels in the mask, and f Y (x, y) is the luma component of an input image in the YCbCr color space. A binary image obtained based on an automatic threshold proposed by Otsu [26] was adopted to extract the object of interest from the background. The Otsu algorithm used to obtain the automatic binary threshold τ Otsu is as follows:
22where υ is the current histogram level value from 0 to 255, ω 1 (υ) is the cumulative probability from 0 to υ − 1, ω 2 (υ) is the cumulative probability of υ to 255, µ 1 (υ) is the cumulative expected average of 0 to υ − 1, µ 2 (υ) is the cumulative expected average of t to 255, and p(i) is the probability of distribution in the image. The binary image based on an automatic threshold value τ Otsu , denoted as f B , is selected from the energy f E as follows:
23where pixel values labeled 255 are objects of interest, and pixel values labeled 0 are undesired ones. Variable types of defects are observed in optical films in the production line. Some defects are minute, and there is a low contrast difference between the defects and background. Thus, the localized energy analysis was adopted to enhance the contrast of the defects in the optical film. The localized energy image f E of a binary image f B is calculated as follows:
24where η is the number of pixels, µ M is the average value of the pixels in the circular mask M , d is an odd number that is greater than or equal to 3 and expressed as the diameter of the circular mask, and r = d 2 is the radius of the circular mask. The circular mask with a diameter of 5 pixels is presented as follows:
25To fix the exact location of the defect in an optical film, this study adopted the cross-projection method to determine the detection range. The cross-projection method includes two projection mirrors that are used interchangeably to detect marginal points on the contour of the optical film in the image. For a localized energy image f E , the first projection is known as the forward projection and employs a mask that is denoted as M 1 and that spans from the top left to the bottom right of the image to obtain the maximum value coordinate in the projection. The second projection is known as reverse projection and employs a mask denoted as M 2 that spans from the bottom right point back to the first left point of the image to obtain the minimum value coordinate in the projection. The mask M 1 is defined in Eq. (13), and the mask M 2 is defined in Eq. (14).
26Based on the cross-projection results, the defects are automatically extracted to record their numbers, sizes, coordinates, and classification. The manufacturer's specification is then used to determine whether the manufacturer's specification is met. Fig. 6 displays the proposed defect detection method. Fig. 6(a) presents the original optical film used by the proposed acquisition image system. Fig. 6(b) shows the Y color channel of the original image in the YCbCr color space and Fig. 6(c) displays the localized energy image of the image presented in Fig. 6(b). Fig. 6(d) illustrates the results of our localized cross-projection method and Fig. 6(e) shows the defect detection result. The results indicate that the defects are detected accurately.
IV. OPTIC FILM DEFECT CLASSIFICATION
27After the defects are extracted using the proposed algorithm, they are classified based on the manufacturer's specifications. As shown in Fig. 7, we can manually classify the defects into the following four types based on our defect detection results-point, scratches, foreign material, and stain. The defects have different sizes, and there is a low contrast difference between the defects and background. Moreover, a tiny defect present in an optical film image may only differ slightly from the surrounding region. All these properties make the inspection extremely difficult. This section proposes an effective method for classifying the defects in the optical film with a high accuracy rate.
28First, the defect images are classified into two categories-dark and bright by analyzing the variation of the VOLUME 8, 2020 horizontal line passing through the center of the defect image. Next, the defect region is extracted and the background is removed by using the Kirsch operator [30] and energy analysis. At last, the dark category is classified into foreign material and stain defects, whereas the bright category is classified into point and scratch defects. The flowchart of the proposed algorithm is presented in Fig. 8. The detailed algorithm is described in the sub-sections as follows.
A. CLASSIFICATION FOR DARK AND BRIGHT DEFECT IMAGES
29Based on our observations, point and scratch defect regions have the characteristic of photosensitivity. Following on lighting effect, these regions have high reflections. This causes a high contrast difference between defects and background. The point and scratch defect images look brighter than the background. By contrast, foreign material and stain defects do not reflect light. Thus, there is a low contrast difference between defect and background. The foreign material and stain defects look darker against the background. Therefore, an algorithm is designed to separate the dark defects from the bright ones.
30First, let a horizontal line pass through the center of the defect, as shown in Figs. 9(a) and 10(a). Then, the gray level of the defects crossing this line is computed and is denotedas L Gray [n], where n is the width of the defect image. As shown in Figs. 9(b) and 10(b), we calculated the maximum value coordinate L max x max ,y max , which is denoted with a red circle in Figs. 9(b) and 10(b), based on the variation in L Gray [n]. Moreover, the minimum value coordinate, L min x min ,y min , that is represented by blue circles in Figs
31where y=y n−1 −y 0 and x=x n−1 −x 0 . Next, the classification of dark or bright defect based on the Euclidean distance of the maximum and minimum points to the classifier boundary line is listed as follows: classified into two categories: 1) dark defects that include the foreign material and stain defects and 2) bright defects that include the point and scratch defects.
B. ENHANCEMENT OFDEFECT CONTOUR AND BACKGROUND REMOVALOF DEFECT IMAGES
32To classify the defect images into the foreign material, stain, point, and scratch defect categories, we have to remove the background of a defect image that contains noise because the noise has a negative effect on the recognition rate of the classification system. Moreover, we used the color defect image, which contains more information compared with the gray defect image, for classification. This subsection presents the method that includes three steps for detecting the edge of a defect in the defect image as follows.
33The optical film color image f is first converted to the YCbCr color space by using Eq. (1) to obtain the luma component f Y . Then, the Kirsch operator is used to detect edges in the image f Y . The Kirsch operator is a nonlinear edge detector that can detect the maximum edge strength in a few predetermined directions. The Kirsch operator rotates a single kernel mask in 45 • increments through eight compass directions: north (N), northwest (NW), west (W), southwest (SW), south (S), southeast (SE), east (E), and northeast (NE).
34The edge magnitude f K of the Kirsch operator is calculated as the maximum magnitude across all directions: (19) where z enumerates the eight compass directions N, NW, W, SW, S, SE, E, and NE, respectively, as follows:
35The results of the edge detector are displayed in Fig. 11(b). However, the defect contour is still unclear. In the second step, the adaptive energy analysis that is discussed in Section IV is used to enhance the contour of the defect. The energy image is presented in Fig. 11(c). The defect region is presented in white, and the background is presented in black. In the third step, based on the contour of the defect that is detected in the second step, the color defect region in the image is extracted, as shown in Fig. 11(d). Then, the background is replaced by black. These images are subsequently used for classification.
C. CLASSIFY DARK DEFECTS INTO FOREIGN MATERIAL AND STAIN DEFECTS
36In the previous section, the background information was removed and assigned to zero. For classification, we focus only on the color region, as shown in Fig. 11(d), that represents the defect region.
37Based on the usefulness of the CIELAB color space [31], which describes the most complete color model visible to human eyes, the color defect image is first converted from the RGB color space to the CIELAB color space. The CIELAB color space is derived from the prior master CIE 1931 XYZ color space, which predicts the spectral power distributions that will be perceived as the same color but is not perceptually uniform. To convert the image from the RGB color space to the CIE 1931 XYZ color space, the following equation is employed: Moreover, the parameters of the CIELAB color space are calculated as follows:
38where
39Here, f L * represents the lightness from black (0) to white (100), f a * represents the lightness from green (−) to red (+), and f b * represents the lightness from blue (−) to yellow (+). The CIELAB color space was designed so that the amount of numerical change in these values corresponds to roughly the same amount of visually perceived change. Here, X n , Y n , and Z n are the CIE XYZ tristimulus values of the reference white point (the subscript n suggests ''normalized'').
40To classify dark defect images into foreign material and stain defects, the Euclidean distance between the defect region and background, denoted as E * ab , is first calculated. Then, the just noticeable difference (JND) proposed by Weber [32] is adopted for classification. JND represents the minimum amount by which the stimulus intensity should be changed to produce a noticeable variation in the sensory experience. E * ab is calculated as follows:
41are the average values of the L * , a * , and b * components of the background in the CIELAB color space, respectively.
42Next, most of the stain defects are classified based on the classification rules as follows:
43where E dirt is the Euclidean distance between the defect region and the background of the stain defect that is precalculated by manual detection. Moreover, JND is set to 2.3 in this case. Unfortunately, the classification rule that is based on the JND concept can only classify most of the stain defects from the image of the dark defect. However, some stain images exist in the foreign material defect group. The reason for this inaccuracy is that light transmission and reflection are different for the reflector sheet, diffuser sheet, and LGP, as shown in Fig. 12(a). In this case, a support vector machine (SVM) [33] can solve the problem in a fast and easy manner.
44First, the defect image must be adaptively compensated before the defect structure analysis is conducted to compensate for the lighting of all defect images. In this case, we used the adaptive singular value decomposition (ASVD) [34] method for illumination compensation of color defect images. The singular value decomposition expression for each color channel of the color image can be written as follows:
45where U A and V A are orthogonal matrices with singular vectors, and = [D A , O] contains sorted singular values (SVs) on its main diagonal. Moreover, D A = diag(λ A1 , λ A2 , . . . , λ Ak ), where λ Ai represents SVs, i = 1, . . ., k in non-increasing order, O is a k × k zero matrix, and k is the rank of f A . To reduce the influence of light variance on the defect image, the SV matrix is multiplied by the weighted compensation coefficient ρ A to address the low contrast problem that is caused by varying light.
46where G(µ, σ ) is the Gaussian template with a mean µ of 128 and standard deviation σ of √ 32. The results of the ASVD method are denoted by f CA , as shown in Fig. 12(b). The defect images are observed to have the same illumination.
47Next, bit-plane slicing [35] is used to extract the most significant bit (MSB) of f CA , which is denoted as f BP and shown in Fig. 13. The purpose of using this method is not only to extract the high-frequency signal but also to eliminate the noise interference of the background. Then, the projection color space (PCS) method [34] was used to integrate the three RGB color channels of the MSB image to reduce the withinclass variance and simultaneously expand the between-class difference. The PCS P of f BP can be computed as follows:
48where f BP,R , f BP,G , and f BP,B are the RGB color channels obtained after using adaptive lighting compensation [34]. Moreover, ''·'' is the symbol for the inner product calculation and represents the element-wise multiplication of the three matrices. Finally, the first two singular values of P are used to form the feature vector for SVM. In this study, the RBF kernel exp −γ x i −x j 2 was used in SVM, and the parameter γ is set to 20 with an experimental setting for SVM. The classification rule for SVM is set as follows:
49The distribution of the stain and foreign material defects by the first and second eigenvalues by using an SVM is shown in Fig. 14. As can be seen, our method can efficiently separate stain from foreign material defects.
D. CLASSIFICATION OF BRIGHT DEFECTS INTO POINT AND SCRATCH DEFECTS
50As discussed in Section IV.C, the color space and SVM can be used to further classify the dark defects into foreign VOLUME 8, 2020 material and stain defect categories. However, this method is not effective for classifying the bright defect images into the point and scratch defect categories. This section presents a method that classifies defect images based on the shape. First, the defect region is separated from the background of the defect image f that has a size of m× n by using the Kirsch operator, and the edge of the defect is detected. Then, the adaptive energy analysis is used to enhance the defect contour, as discussed in Section IV.B. Here, the white color (grayscale value: 255) is set for the points within the defect region, and black color (grayscale value: 0) is set for the background, as presented in Fig. 15(b). The image in this step is denoted as f B . Then, the image f B image is divided into four equal parts along two axes through the center of the defect image and perpendicular to the edges, as shown in Fig. 15(c).
51The classification of scratch and point defects is conducted by calculating and comparing the ratio among the average grayscale values of the four equal parts as follows:
52where q A is represents the average grayscale values of f B and q i , i= 1, 2, 3, 4, is the average percentage of the i th quadrant that is referred to as q A . Based on our observation, the defect region of point defects is usually distributed across all four parts of the defect image, whereas the scratch defect is usually present in only one or two quadrants of the image. Moreover, A and B set with q i , where i = 1, 2, 3, 4, that are defined as follows:
53where µ A is the average value of all elements in set A, and n (A) is the element number of A. The classification of point and scratch defects is conducted as follows:
V. EXPERIMENTAL RESULT AND DISCUSSION
54In this section, the defect detection and classification algorithms are tested on four types of optical films with a total of 120 samples provided by a manufacturer in Taiwan. The following are the specifications of the sheets used: reflector sheet size: 354 × 197mm 2 with a total of 22 samples, LGP size: 354 × 197mm 2 with a total of 19 samples, diffuser sheet size: 177× 110mm 2 with a total of 24 samples, and diffuser sheet size: 157 × 92 mm 2 with a total of 21 samples.
A. IMAGE ACQUISITION PARAMETERS
55The acquisition equipment system is displayed in Fig. 3.
56The proposed system was implemented in Microsoft Visual Studio C# 2010. The experiments were conducted on a PC equipped with an Intel Core i7-4790 CPU@3.60GHz, RAM DDR3 8GB, with a Windows 10 operating system. The system employed a camera (avA2300-30kc, Basler, Germany) with a camera-link interface and a KAI-4050 charge-coupled device sensor to provide 31 frames per second at a resolution of 4 MP. The sensor has a size of 12.8 × 9.6 mm 2 , resolution (H×V) of 2330 × 1750 pixels, and pixel size (H×V) of 5.5 × 5.5 µm 2 . The camera adapted a 60-mm microlens that had an aperture of 2.8 (Nikon, Japan). This lens is an excellent normal and short telephoto lens and an exceptional close-up lens, which focuses on life-size. Thus, an object with a diameter of an inch can occupy an entire frame. The light source used was PHILIPS Ambiance Globe 17W E27 Cool daylight. The distances between the camera, light source, and optical films are listed in Table 1.
B. OPTICAL FILM DEFECT DETECTION RESULT
57To inspect whether the optical film satisfies the requirement of the manufacturer, the region of interest on an optical film was located and extracted first. To reduce the processing time, the color image was transformed into the YCbCr color space to obtain the Y channel image for contour extraction. Based on the localized energy analysis of the Y channel image, the defects were extracted one by one by using cross-projection in both the horizontal and vertical directions, as discussed in Section III. The size and number of the defects were then calculated to check whether the manufacturer's specification requirement is satisfied. Then, the object undergoes the classification process to decide whether it can achieve the quality standards or not. The detailed algorithm is discussed in Section IV, and the results of the defect images detected using our proposed method are presented in Fig. 16.
58In our experiments, we achieved a defect detection rate of 100% for the reflector sheets and LGP and achieved a rate of 98.7% for the diffuser sheets. The reason for the lower detection rate for diffuser sheets is that there are five low-quality sheets. The defect on one sheet cannot be detected with the human eye and can only be detected through tactile sense. The average time for manual defect detection is 14.624 s/piece, which is much longer than the average time required by the proposed system (6.129s/piece). The defect detection rate, Pass/No pass decision time, and the total operation time are presented in Table 2 to demonstrate the effectiveness of our method.
C. OPTICAL FILM DEFECT CLASSIFICATION RESULT
59After detection, the defect images undergo the process to classify the image into four categories-point, scratch, foreign material, and stain. The proposed algorithm classifies the defect image into two categories-dark and bright. The dark category includes foreign material and stain defects, whereas the bright category includes point and scratch defects. First, the defects are classified into dark and bright categories by analyzing whether the horizontal line passes through the center of the defect, as shown in Fig. 17. Before classification, the defect region is extracted, and the background in the defect image is removed using the Kirsch operator and energy analysis, as shown in Fig. 18.
60For the dark category, most of the stain defects are obtained by computing and comparing the Euclidean distance between the defect region and the background of the defect images in the CIELAB color space. The remaining defect images are enhanced using the ASVD method. Then, the MSB images are extracted for SVM classification. The ASVD images and MSB images of dark defects are shown in Fig. 19.
61For the bright defect images, the defect region sare extracted, and the background in the defect image is removed by using the Kirsch operator and adaptive energy analysis, as shown in Fig. 20. Then, the defect image is divided into four equal parts. Finally, the ratio between the average grayscale values of the four equal parts is calculated to classify the bright defect images into scratch and point defects. Our classification method has a classification accuracy rate of 100%.
62To show the effectiveness of our proposed method, we did more experiments by using the supervised machine learning technique for defect classification. Support Vector Machines (SVM) is a supervised learning technique that is used to develop predictive models for classification. Recently, SVM has been widely used in defects classification [36]- [38]. In our problem, we classified the defects into four categories by using the LIBSVM library [39] which supports multi-class SVM classification. We used the histogram of oriented gradients (HOG) descriptors [40] as a feature vector for SVM and the radial basis function kernel exp(−γ ||x i − x j || 2 ), where γ is a parameter that sets the ''spread'' of the kernel, x i and x j are represented as feature vectors in input space. However, we only got a 94% true classification rate. This is caused by using different sizes of defects, illumination, types of optical films. Besides, the classification using SVM also depends heavily on the scale, parameter γ , and function kernel for each database.
63The results reveal that the proposed system can detect and classify defects in optical films with high efficiency even when the size of a defect is very small and cannot be seen clearly by human eyes. Moreover, the operation time is short; thus, the proposed framework can fully meet the manufacturer's requirements.
VI. CONCLUSION
64We proposed an effective OFDDCS in this study that has three sections. The first section includes an optical structure for image acquisition that can remove environmental lighting interference and then highlight defects. The second section includes an efficient algorithm based on adaptive energy analysis with cross-projection for detecting the defects on the optical film. Finally, an efficient classification algorithm has been proposed to classify the defects into four types-point, scratch, foreign material, and stain defects. The experiments were conducted on 120 optical film samples provided by a manufacturer in Taiwan. The results revealed that the proposed system can provide a 99.6% defect detection rate and a 100% classification accuracy rate. Moreover, only 6.129s are required on average to perform the inspection for an optical film sample.
참고문헌 40건
- Automatic Detection of Region-Mura Defect in TFT-LCD IEICE Transactions on Information and Systems · Institute of Electronics, Information and Communication Engineers · 2004
- A cost-effective and automatic surface defect inspection system for hot-rolled flat steel Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2015 10.1016/j.rcim.2015.09.008
- TFT-LCD Mura Defect Detection Using Wavelet and Cosine Transforms Journal of Advanced Mechanical Design Systems and Manufacturing · Japan Society Mechanical Engineers · 2008 10.1299/jamdsm.2.441
- Detection of Gap Mura in TFT LCDs by the Interference Pattern and Image Sensing Method IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2013 10.1109/tim.2013.2270049
- Inline inspection of textured plastics surfaces Optical Engineering · SPIE · 2011 10.1117/1.3544588
- Neuro-fuzzy synergism to the intelligent system for edge detection and enhancement Pattern Recognition · Elsevier BV · 2003 10.1016/s0031-3203(03)00083-9
- Computer determination of the constituent structure of biological images Computers and Biomedical Research · Elsevier BV · 1971 10.1016/0010-4809(71)90034-6
- Singular value decomposition combined with wavelet transform for LCD defect detection Electronics Letters · Institution of Engineering and Technology · 2012 10.1049/el.2011.3746
- An Effective Defect Inspection Method for LCD Using Active Contour Model IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2013 10.1109/tim.2013.2258242
- Micro crack detection of multi‐crystalline silicon solar wafer using machine vision techniques Sensor Review · Emerald Publishing Limited · 2011 10.1108/02602281111110013
- Defect detection in multi-crystal solar cells using clustering with uniformity measures Advanced Engineering Informatics · Elsevier BV · 2015 10.1016/j.aei.2015.01.014
- Pretest Gap Mura on TFT LCDs Using the Optical Interference Pattern Sensing Method and Neural Network Classification IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2012 10.1109/tie.2012.2207658
- Edge detection improvement by ant colony optimization Pattern Recognition Letters · Elsevier BV · 2007 10.1016/j.patrec.2007.10.021
- Face Recognition Based on Projected Color Space With Lighting Compensation IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2011 10.1109/lsp.2011.2163798
- A Neural-Network Approach for Defect Recognition in TFT-LCD Photolithography Process IEEE Transactions on Electronics Packaging Manufacturing · Institute of Electrical and Electronics Engineers · 2009 10.1109/tepm.2008.926117
- Computer-Vision-Based Fabric Defect Detection: A Survey IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2008 10.1109/tie.1930.896476
- Application of bit-plane decomposition steganography to JPEG2000 encoded images IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2002 10.1109/lsp.2002.806056
- TurboPixels: Fast Superpixels Using Geometric Flows IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2009 10.1109/tpami.2009.96
- Support-Vector Networks Machine Learning · Springer Science+Business Media · 1995 10.1023/a:1022627411411
- A New Mura Defect Inspection Way for TFT-LCD Using Level Set Method IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2009 10.1109/lsp.2009.2014113
- A Threshold Selection Method from Gray-Level Histograms IEEE Transactions on Systems Man and Cybernetics · Institute of Electrical and Electronics Engineers · 1979 10.1109/tsmc.1979.4310076
- LIBSVM ACM Transactions on Intelligent Systems and Technology · Association for Computing Machinery · 2011 10.1145/1961189.1961199
- Histograms of Oriented Gradients for Human Detection 2005 10.1109/cvpr.2005.177
- Defect Inspection in Low-Contrast LCD Images Using Hough Transform-Based Nonstationary Line Detection IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2009 10.1109/tii.2009.2034844
- Aesthetic defect characterization of a polymeric polarizer via structured light illumination Polymer Testing · Elsevier BV · 2016 10.1016/j.polymertesting.2016.05.011
- A Machine Vision Based Automatic Optical Inspection System for Measuring Drilling Quality of Printed Circuit Boards IEEE Access · Institute of Electrical and Electronics Engineers · 2016 10.1109/access.2016.2631658
- Vision-based surface defect inspection for thick steel plates Optical Engineering · SPIE · 2017 10.1117/1.oe.56.5.053108
- Integrating image processing and classification technology into automated polarizing film defect inspection Optics and Lasers in Engineering · Elsevier BV · 2017 10.1016/j.optlaseng.2017.09.017
- CNN‐based reference comparison method for classifying bare PCB defects The Journal of Engineering · Institution of Engineering and Technology · 2018 10.1049/joe.2018.8271
- Real‐time comprehensive glass container inspection system based on deep learning framework Electronics Letters · Institution of Engineering and Technology · 2018 10.1049/el.2018.6934
- Automated Visual Inspection of Glass Bottle Bottom With Saliency Detection and Template Matching IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2019 10.1109/tim.2018.2886977
- Insulation Defect Diagnostic Method for OIP Bushing Based on Multiclass LS-SVM and Cuckoo Search IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2019 10.1109/tim.2019.2895482
- A Machine Learning-Based Approach for Counting Blister Cards Within Drug Packages IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2924445
- Surface Quality Assurance Method for Lithium-Ion Battery Electrode Using Concentration Compensation and Partiality Decision Rules IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2019 10.1109/tim.2019.2929670
- Vison-Based 3D Shape Measurement System for Transparent Microdefect Characterization IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2931194
- Fault Diagnosis of Analog Circuits Based on IH-PSO Optimized Support Vector Machine IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2943071
- Detection and Classification of Defects Using ECT and Multi-Level SVM Model IEEE Sensors Journal · IEEE Sensors Council · 2019 10.1109/jsen.2019.2951302
- Various Techniques for PCB Defect Detection 2016
- Digital Image Processing Texts in computer science · Springer International Publishing · 2008 10.1007/978-1-84628-968-2
- Support-vector networks Machine Learning · Springer Science+Business Media · 1995 10.1007/bf00994018