원시데이터 수집 시스템
선정목록으로

A Practical Low-Cost Machine Vision Sensor System for Defect Classification on Air Bearing Surfaces

간접 관련 산업용 섬유 · (17) 스펀본드 부직포 (11) 배리어 필름(12) 증착 필름(15) 디스플레이 패널재료

기본 정보

저자
  1. Pichate Kunakornvong — College of Data Storage Innovation Technology, King Mongkut's Institute of Technology Ladkrabang, 1 Chalongkrung RD, Bangkok, Thailand
  2. Pitikhate Sooraksa — Department of Computer Engineering, Faculty of Engineering, King Mongkut's Institute of Technology Ladkrabang, 1 Chalongkrung RD, Bangkok, Thailand
DOI
10.18494/sam.2017.1484
저널
Sensors and Materials
발행년도
2017
발행기관
MYU K.K.
피인용수
9
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.18494/sam.2017.1484
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W2744275823

평가 내용

관련도
간접 관련
사업분야
산업용 섬유 · (17) 스펀본드 부직포
부 분야
(11) 배리어 필름, (12) 증착 필름, (15) 디스플레이 패널재료
R&D 측면
분석·모델링
확신도
0.70
근거 용어
machine vision sensor, defect classification, image segmentation, texture analysis, industrial assembly line
판단 근거
본 논문은 HDD의 에어 베어링 표면(ABS) 결함을 검출하기 위한 머신 비전 시스템 연구이나, 사용된 이미지 처리 및 결함 분류 알고리즘(GLCM, Segmentation 등)은 코오롱인더스트리의 필름, 부직포, 디스플레이 소재의 표면 결함 검사 공정에 응용될 수 있습니다.
R&D 활용 포인트
필름(배리어, 증착) 및 산업용 부직포 제조 공정에서 발생하는 미세 스크래치, 오염, 이물질 등을 실시간으로 검출하는 자동화 검사 시스템의 알고리즘 고도화에 활용 가능합니다.
평가 입력
본문 45,034자 중 30,032자 발췌

초록

In this paper, we present a newly adapted machine vision method and a practical low-cost machine vision sensor for defect classification of the air bearing surfaces (ABSs) of a hard disk drive, which controls the flying height of the recording heads moving above a disk in operation.A defective ABS can cause poor reading and writing performance; hence, it is necessary to verify its integrity before assembling it into the final product.The proposed sensor system was designed and implemented to detect defects by an effective combination of image segmentation and block matrix techniques as well as classifying them using an expert system under dark-and bright-field conditions.Our system processes subregions of interest and sub-blocks in parallel so that they can take advantage of multiple processor cores.From the trial runs, the small fractional error and low average processing time suggested that our proposed system is effective and can be used in an industrial assembly line.

본문 45,034자

본문 펼치기
_Sensors and Materials_, Vol. 29, No. 6 (2017) 629–644 629 MYU Tokyo S & M 1356 # A Practical Low-Cost Machine Vision Sensor System for Defect Classification on Air Bearing Surfaces Pichate Kunakornvong <sup>*</sup> and Pitikhate Sooraksa <sup>1</sup> College of Data Storage Innovation Technology, King Mongkut’s Institute of Technology Ladkrabang, 1 Chalongkrung RD, Bangkok, Thailand 1Department of Computer Engineering, Faculty of Engineering, King Mongkut’s Institute of Technology Ladkrabang, 1 Chalongkrung RD, Bangkok, Thailand (Received November 14, 2016; accepted February 3, 2017) _Keywords:_ air bearing surface, head gimbal assembly, defect detection, machine vision, region of interest In this paper, we present a newly adapted machine vision method and a practical low-cost machine vision sensor for defect classification of the air bearing surfaces (ABSs) of a hard disk drive, which controls the flying height of the recording heads moving above a disk in operation. A defective ABS can cause poor reading and writing performance; hence, it is necessary to verify its integrity before assembling it into the final product. The proposed sensor system was designed and implemented to detect defects by an effective combination of image segmentation and block matrix techniques as well as classifying them using an expert system under dark- and bright-field conditions. Our system processes subregions of interest and sub-blocks in parallel so that they can take advantage of multiple processor cores. From the trial runs, the small fractional error and low average processing time suggested that our proposed system is effective and can be used in an industrial assembly line. 1. Introduction In a hard disk drive (HDD), the air bearing surface (ABS) is a small but important part of a slider, which is a part of a head gimbal assembly (HGA) that holds recording heads. The location of the ABS on an HGA is illustrated in Fig. 1. The ABS controls the flying height of the slider above a magnetic disk. For a very high density HDD, the recording head on a slider flies extremely close to the magnetic disk with a clearance of only a small fraction of a microinch. <sup>(1)</sup> Figure 2 shows a schematic of a flying slider over a spinning disk. In its flight, the ABS is lifted by the passive pressure provided by disk platter rotation. The design of a slider has to take into account its weight, flying velocity, and actuator arm skew in order to achieve a uniform flying height. The quality of an HDD is as good as the quality of its ABS; hence, an effective defect detection process is necessary. The types of defects of an ABS focused on in this paper are stains, contaminating particles, and metal scratches. An effective defect detection method is detection by image processing, but a major problem with an image processing system is the inconsistent quality of acquired images in terms of intensity, contrast, and resolution. ~~*~~ <u>Corresponding author: e-mail: p.kunakornvong@gmail.com</u> http://dx.doi.org/10.18494/SAM.2017.1484 ISSN 0914-4935 © MYU K.K. 630 _Sensors and Materials_, Vol. 29, No. 6 (2017) Fig. 1. (Color online) Air bearing surface on an HGA compared with the size of a one Thai baht coin. Fig. 2. (Color online) Schematic for recording head flying. Currently, offline nanocontamination detection is carried out by automatic force microscopy (AFM) or scanning electron microscopy (SEM). AFM was first introduced in 1996 by Bining _et al_ . <sup>(2)</sup> There are two types of AFM: contact mode and noncontact mode. AFM is not suitable for the inline monitoring of defects because it requires highly skilled human operators to work around the clock as well as lengthy operation time and high operating costs. SEM is usually employed to inspect very small machine parts. The advantages of SEM are high magnification, high resolution, and large depth of field (DOF). The device can achieve a resolution of better than 1 nm. However, its major disadvantage is that it destroys the surface of the scanned object. Thus, SEM is also not suitable for automated inline detection. Other techniques for detecting particulate contamination are based on light scattering, which relies on established laser detector and optics technologies. Most techniques are used for particle counting, as reported in Ref. 3. As for the development of particle counters, Blesener <sup>(3)</sup> invented a nonimaging laser particle counter, and Bhushan and Chandra <sup>(4)</sup> proposed a laser particle counter (LPC) and a sampling technique for detecting the size of contaminating particles on a rigid disk drive. Koshevar _et al_ . <sup>(5)</sup> proposed a new nanocontamination monitoring device. None of these light scattering techniques, however, can determine the type of material of the contaminating particles. As for inline detection of other types of ABS defects such as stains, scratches, cracks, or chips, the conventional method is detection by a human operator observing ABSs through a high-magnification microscope. The two major disadvantages of using a human operator are unpredictable human error and slow detection speed. A good detection method that has been widely used for the inline monitoring of numerous products and processes is a machine vision sensor. Even though machine vision sensor systems have long been utilized in HDD factories for purposes such as QR code checking and mainboard integrity checking, they have not been used for ABS defect detection. At the time of the development of our proposed system, we considered that using a machine vision sensor to detect ABS defects would eliminate human error and increase the number of units processed per hour. Various defect detection algorithms have been proposed. They can be categorized into four main groups: statistical, structural, spectral and filtering, and model-based algorithms. Examples of applications of these algorithms are shown in Table 1. In this work, a simple yet practical _Sensors and Materials_, Vol. 29, No. 6 (2017) 631 Table 1 <u>Machine vision algorithms for industrial defect detection.</u> <u>Approach</u> <u>Processing algorithm</u> <u>Industrial defect detection</u> <u>Gray-level statistic (histogram)</u> <u>Textile,</u> <sup>~~(6)~~</sup> <u>Texture</u> <sup>~~(7)~~</sup> Co-occurrence matrix Textile <sup>(8)</sup> Statistical algorithm Principle component analysis Wood <sup>(9)</sup> Mean shift Solar wafer <sup>(10)</sup> Synthetic aperture radar (SAR) Weibull <u>image</u> <sup>(11)</sup> <u>image</u> <sup>(11)</sup> <u>PZT,</u> <sup>~~(12)~~</sup> <u>Ceramic</u> <sup>~~(13)~~</sup> <u>,</u> Edge detection Structural algorithm <u>Flash thermography (FT)</u> <sup>(14)</sup> <u>Morphological operation</u> <u>Textile,</u> <sup>~~(15–17)~~</sup> <u>Ceramic</u> <sup>~~(18)~~</sup> <u>Fourier transform</u> <u>IC Wafer,</u> <sup>~~(19)~~</sup> <u>Textile,</u> <sup>~~(20)~~</sup> <u>Metal</u> <sup>~~(21)~~</sup> Spectral and filtering algorithm Model-based algorithm Independent component analysis Textile, <sup>(31)</sup> LCD <sup>(32)</sup> Generic algorithm Metallic surface <sup>(30)</sup> Support vector machine Metallic surface <sup>(21)</sup> Gabor wavelet Texture <sup>(22)</sup> Gabor filter Textile <sup>(23,24)</sup> Wavelet transform Textile <sup>(25–27)</sup> <u>Discrete cosine transform</u> <u>Textile</u> <sup>(28)</sup> <u>Neural network</u> <u>Textile</u> <sup>~~(29)~~</sup> <u>Texem model</u> <u>Marble</u> <sup>(33)</sup> approach for constructing a low-cost machine vision sensor for detecting three types of ABS defects was designed and implemented. This paper is organized as follows. In Sect. 2, we explain the design of the imaging system. The hybrid defect detection algorithm for our sensor system is discussed in Sect. 3. In Sect. 4, we report the tested detection and classification performances of the sensor. In Sect. 5, we provide conclusions. 2. Imaging System In this section, the system used for capturing images during inspection is introduced. Because the defects are usually very small, the captured image must collect all of details of the ABS while minimizing noise. A high-resolution industrial CCD camera was used for capturing high-quality images. Our camera selection criteria were a minimum resolution threshold and a maximum lens focal length threshold. The minimum resolution threshold was based on the size of the smallest defect that we wanted to detect. This threshold was calculated using Eq. (1): (1) # _pixel_ = 2 × <sup>_<u>d</u>_</sup> Re <sup>_<u>FOV</u>_</sup> _s_ <sup>,</sup> where # _pixel_ is the minimum resolution, and _dFOV_ is the width or height of the field of view (FOV). The area of the ABS was around 1 × 0.8 mm <sup>2</sup> and we aimed to detect a defect as small as 1 μm, so according to Eq. (1), the minimum pixel dimension of the camera should be at least 1600 × 2000 632 _Sensors and Materials_, Vol. 29, No. 6 (2017) pixels. This specification was met by a commercially available 5 MP CCD camera, which was capable of capturing images at a dimension of 2048 × 2594 pixels. On the basis of the designed distance from the lens to the ABS, the focal length of the lens was calculated using Eq. (2): _f_ = <sup>_<u>dsensor</u>_</sup> <sup><u>×</u></sup> <sup>_<u>WD</u>_</sup> _dFOV_ + _dsensor_ , (2) where _f_ is the focal length of the lens, _dsensor_ is the width of the CCD, which was chosen as 5.70 × 4.28 mm <sup>2</sup>, and _WD_ is the distance from the lens to the ABS, which was initially designed to be 50 mm. With these values, the lens focal length threshold was calculated to be 42.537 mm. This specification was also met by the same camera, which had a lens of 50 mm focal length. To be able to obtain low-distortion images, we selected a macro lens. The required magnification of the macro lens was calculated using Eq. (3): _Mag_ = <sup>_<u>dsensor</u>_</sup> _dFOV_ , (3) where _Mag_ is the maximum magnification. For our design parameters, the required magnification should not be greater than 5.7×. Thus, we selected a 4× magnification macro lens that produced only −0.073489% distortion. With a 5-mm extension ring, the magnification was increased to 4.3×. Finally, the illumination for the imaging system was selected. Because the ABS is very small, a wide-length spot light was selected. Two illumination techniques were used, as the bright and the dark field were used to collected images from the ABS for the defect classification. The closed chamber was designed to solve the problem of disturbances by external light. With the selected imaging system as a CCD camera, lens, and light source, the hardware for our low-cost machine vision sensor system was constructed, a photo of which is shown in Fig. 3. The system was inexpensive compared with an AFM or an SEM. This selected hardware proved to be satisfactory because the acquired images were acceptably clear: two sample images are shown in Sect. 4. Fig. 3. (Color online) Inexpensive machine vision sensor system. _Sensors and Materials_, Vol. 29, No. 6 (2017) 633 3. Defect Detection and Classification In this section, we begin by describing the steps in the defect detection procedure in Sects. 3.1–3.5. In the last subsection, Sect. 3.6, we describe the types of defects in our classification scheme and the classification algorithm. 3.1 Extraction of region of interest (ROI) First, an ABS image was captured by the CCD camera. Then, the captured image was extracted in order to find the ROIs. A well-known extraction method is the Chan–Vese algorithm, which finds a geometric active contour via a level set method. We tried to apply the level set method with our system, but it was not satisfactory owing to not only its low speed and high CPU load for the high-resolution image used in this work but also to the imperfect extraction. The fast level set method, proposed by Y. Li _et al._ <sup>(34)</sup> and H. Lu and colleagues, <sup>(35,36)</sup> improved the performance of the level set method and increased the speed of the algorithm. We tried to use this algorithm with our system, but choosing and tuning parameters to satisfy our case were not easy to implement in due time. However, it will be interesting to simplify and integrate the method for further investigation in the future work. Hence, we devised techniques that worked, its function was inspired from the “wand” tool in Photoshop software, and we found it to be satisfactory for our defect detection scheme. The implemented technique was very easy with low complexity. This technique generated the extraction mask by the Euclidean distance function between the reference value and each pixel. Let us briefly review the Chan–Vese algorithm. This algorithm employs a geometric segmentation approach to minimizing the fitting energy of the input image and the level set function that defines the segmentation. The variational calculus method was used to evolve the level set function. The Chan–Vese model was defined according to the fitting energy function, shown in Eq. (4): �� _F_ (ϕ) = µ |∇ _H_ (ϕ)| _dx_ + ν - _p_ Ω _H_ (ϕ) _dx_ + λ1 Ω | _I_ - _c_ 1| <sup>2</sup> _H_ (ϕ) _dx_ +λ2 �Ω Ω (4) | _I_ - _c_ 2| <sup>2</sup> (1 − _H_ (ϕ)) _dx_, where _F_ ( _φ_ ) is the fitting energy function; _μ_, _v_, _λ_ 1, _λ_ 2, and _p_ are the user-selected fitting parameters for a particular class of images; _H_ is the Heaviside function; _I_ is the input image; Ω is the domain of the input image. The terms _c_ 1 and _c_ 2 are the average pixel values of the foreground and background, _μ_ and _v_ are the weights of the total length of the edge contour (boundary) and the total area of the region obtained from segmentation (if the region has a smooth boundary, the weight _μ_ will be large), and _λ_ 1 and _λ_ 2 are the weights of the distance terms and are proportional to the variances of the foreground and background of the image, respectively. The terms Ω λ1 | _I_ - _c_ 2| <sup>2</sup> (1 − _H_ (ϕ)) _dx_ were used to represent the uniformity of the Ω | _I_ - _c_ 1| <sup>2</sup> _H_ (ϕ) _dx_ and λ2 region in terms of pixel intensity. Minimizing the sum of these two terms made the foreground and background of the segmentation region as uniform as possible. 634 _Sensors and Materials_, Vol. 29, No. 6 (2017) We attempted to use this method to extract ROIs. However, after trial runs, it was found to be not suitable for processing our ABS images because it used too much computation time and too many resources. Hence, we developed a simpler algorithm, the procedure of which is described below. Our algorithm for ROI extraction: Input: (i) _I_ ( _x, y, z_ ): the intensity of a pixel at coordinate ( _x, y_ ) on a color plane _z_ in the color image of _M_ × _N_ pixels, where _z_ takes a value of 1, 2, or 3, representing red, green, or blue, respectively; and (ii) _x', y', w, h_ : _x'_ and _y'_ are the coordinates of the upper left hand corner of the user’s selected reference area and _w_ and _h_ are its width and height. Step 1: Determine the reference intensity values ( _R_ ( _z_ )) and tolerance ( _T_ ) value: the reference intensity is an intensity value that is used in the process of screening a pixel in or out of the extracted ROI—a pixel with an intensity value not farther away from the reference intensity than the tolerance value is included in the ROI. It is determined as the statistical mode of all intensity values in each color plane of the reference area. Tolerance value is determined as the average value of the three standard deviations of all intensity values in each of the three color planes of the reference area. Step 2: Create a binary mask _B_ ( _x, y_ ) for ROI extraction using the following steps: Step 2a: Calculate the Euclidean distance _d_ ( _x, y_ ) between _I_ ( _x, y, z_ ) and _R_ ( _z_ ), Step 2b: Generate a binary mask _B_ ( _x, y_ ) according to the following criteria: _d_ <sup>2</sup> ( _x_, _y_ ) ≤ _T_, _B_ ( _x_, _y_ ) = 1, _d_ <sup>2</sup> ( _x_, _y_ ) _> T_, _B_ ( _x_, _y_ ) = 0. Step 3: Obtain the ROI by masking the image with _B_ ( _x, y_ ). 3.2 Fuzzy dynamic histogram equalization In the scheme of image contrast enhancement, the histogram equalization is a well-known technique. Contrast enhancement for images in turbid water <sup>(37)</sup> is a contrast enhancement method, which is presented the method for correcting the illumination lost by propagation of an underwater image, whereas this work focused on light reflecting, scattering, and light distribution. Then, the fuzzy dynamic histogram equalization <sup>(38)</sup> was used to enhance the ABS image and minimize the pixel fluctuation without removing defects and noise. This technique consists of the following four steps. 3.2.1 Creation of a fuzzy histogram A fuzzy histogram is smoother than a crisp histogram and was much more suitable for our application. It is a sequence of real numbers: _h_ ( _i_ ), _i_ ∈ {0, 1, ..., _L_ −1} where _h_ ( _i_ ) is the occurrence frequency of gray level _i_ . Assuming a gray level _I_ ( _x, y_ ) at the coordinate _I_ ( _x, y_ ) and a fuzzy number _Ĩ_ ( _x, y_ ), the fuzzy histogram was computed using Eq. (5): _h_ ( _i_ ) ← _h_ ( _i_ ) + _x_ _y_ <sup>µ</sup> <sup>_I_</sup> <sup>˜(</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>)</sup> <sup>_i_</sup> <sup>,</sup> <sup>_k_</sup> <sup>∈</sup> <sup>[</sup> <sup>_a_</sup> <sup>,</sup> <sup>_b_</sup> <sup>],</sup> (5) _Sensors and Materials_, Vol. 29, No. 6 (2017) 635 where µ _I_ ˜( _x_, _y_ ) _i_ is a triangular fuzzy membership function defined as µ _I_ ˜( _x_, _y_ ) _i_ = max and [ _a_, _b_ ] is the support of the membership function. 3.2.2 Partitioning of the histogram 0.1 − <sup><u>|</u></sup> <sup>_<u>I</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>,</u></sup> <sup>_<u>y</u>_</sup> 4 <sup><u>) −</u></sup> <sup>_<u>i</u>_</sup> <sup><u>|</u></sup> The histogram obtained was partitioned into multiple subhistograms that were individually equalized in the next step. Partitioning was carried out by finding the first- and second-order derivatives of the fuzzy histogram using Eqs. (6) and (7), respectively: _h_ ˙ ( _i_ ) = <sup>_<u>dh</u>_</sup> <sup><u>(</u></sup> <sup>_<u>i</u>_</sup> <sup><u>)</u></sup> _di_ =∆ _<u>h</u>_ <sup><u>(</u></sup> _<u>i</u>_ <u>+ 1</u> <sup><u>)</u></sup> <u>−</u> _<u>h</u>_ <sup><u>(</u></sup> _<u>i</u>_ <u>−</u> <u>1</u> <sup><u>)</u></sup>, (6) 2 _h_ ¨ ( _i_ ) = <sup>_<u>d</u>_</sup> <sup>2</sup> <sup>_<u>h</u>_</sup> <sup><u>(</u></sup> <sup>_<u>i</u>_</sup> <sup><u>)</u></sup> _di_ <sup>2</sup> =∆ _h_ ( _i_ + 1) − 2 _h_ ( _i_ ) + _h_ ( _i_ - 1), (7) where _h_ <sup>˙</sup> ( _i_ ) and _h_ <sup>¨</sup> ( _i_ ) are the first- and second-order derivatives of the fuzzy histogram _h_ ( _i_ ), respectively, corresponding to the _i_ th intensity level. Then, the partition points were the intensities ( _m_ 0, _m_ 1, ..., _mn_ +1) of all of the local maximum frequencies, which were calculated using Eq. (8), _i_ max = _i_ ∀ . (8) - _h_ ˙ ( _i_ + 1) × ˙ _h_ ( _i_ - 1) < 0, _h_ ¨ ( _i_ ) < 0� In the range [ _Ĩ_ min, _Ĩ_ max] of the original fuzzy histogram, the subhistograms [ _Ĩ_ min, _m_ 1], [ _m_ 1+1, _m_ 2], ..., [ _mn_ +1, _Ĩ_ max] were partitioned with these points. 3.2.3 Dynamic histogram equalization of the subhistogram from the previous stage The new intensity level can be expressed in the form _y_ ( _j_ ) = _mi_ −1 + ( _mi_ - _mi_ −1) _j_ _k_ =� _mi_ −1 _<u>h</u>_ <u>(</u> _<u>k</u>_ <u>)</u> _Mi_ <sup>,</sup> (9) where _y_ ( _j_ ) is the new intensity level corresponding to the _j_ th intensity level on the input image, _mi_ is the _i_ th local maxima in the original fuzzy histogram and _i_ = [1, 2, ..., _n_ +1], _h_ ( _k_ ) is the histogram _k_ = _mi_ −1 <sup>_h_</sup> <sup>(</sup> <sup>_k_</sup> <sup>) is the total number of</sup> pixels contained in the _i_ th partition of the fuzzy histogram. value at the _k_ th intensity on the fuzzy histogram, and _Mi_ = <sup>�</sup> <sup>_mi_</sup> _k_ = _mi_ −1 <sup>_h_</sup> <sup>(</sup> <sup>_k_</sup> <sup>) is the total number of</sup> pixels contained in the _i_ th partition of the fuzzy histogram. value at the _k_ th intensity on the fuzzy histogram, and _Mi_ = <sup>�</sup> <sup>_mi_</sup> 3.2.4 Normalization of the equalized histogram We then normalized histogram equalization as _g_ ( _x_, _y_ ) = <sup><u>µ</u></sup> <sup>_<u>i</u>_</sup> µ _o_ _f_ ( _x_, _y_ ), (10) where _μi_ and _μo_ are the mean brightness values of the input image and the equalized image ( _f_ ( _x_, _y_ )), respectively, obtained from the previous stage. 636 _Sensors and Materials_, Vol. 29, No. 6 (2017) 3.3 Generation of a block matrix The block matrix proposed in Ref. 39 was generated in the form of a two-dimensional array from the tilling process. The tilling process divided the _M_ × _N_ image into _m_ × _n_ image blocks of size _p_ × _q_ . Each member in the _m_ × _n_ image block represented an average intensity of each subblock, calculated using Eqs. (11) and (12). _q_ ( _j_ +1)−1 _l_ = _q j_ _Y_ ( _i_, _j_ ) = _p_ ( _i_ +1)−1 _k_ = _pi_ _I_ ( _k_, _l_ ), (11) _B_ ( _i_, _j_ ) =  1 _i f_ 0 ≤ _Y_ ( _i_, _j_ ) < _X_ <sup>¯</sup> - 10 2 _i f_ _X_ ¯ − 10 ≤ _Y_ ( _i_, _j_ ) < _X_ ¯ + 10 3 _i f_ _X_ ¯ + 10 ≤ _Y_ ( _i_, _j_ ), , (12) where _Y_ ( _i, j_ ) is a tile image generated with a block of size _p_ × _q_, _B_ ( _i, j_ ) is the _m_ × _n_ block matrix represented by two-bit quantization values between levels 1 (01) and 3 (00), and _X_ <sup>¯</sup> is the mean intensity of the equalized image from the previous stage. By using Eqs. (11) and (12), the input image was resized by the tilling process and the block matrix corresponding to the tilling version was obtained. Note that the tilling process has an outstanding advantage for noise removal because the average intensity of the block is employed to represent the value of the block. 3.4 Extraction of defect features The block matrix _B_ from the previous step can be represented as a function that assigns a quantization level to each block in the domain of the image: _I_ : _Lr_ × _Lc_ → _Q_ . The terms _Lr_ = {0, 1, ..., _Nr_ −1} and _Lc_ = {0, 1, ..., _Nc_ −1}are the spatial domains of row and column dimensions, and _Q_ = {1, 2, 3} is the domain of quantization levels. To extract defect features, we used a texture analysis technique called the gray-level cooccurrence matrix (GLCM). <sup>(40)</sup> It is based on repeated intensities of pixels in the image and can be defined using Eqs. (13) and (14) _P_ ( _i_, _j_ ; _d_, 0 <sup>◦</sup> ) = # _P_ ( _i_, _j_ ; _d_, 45 <sup>◦</sup> ) = # _P_ ( _i_, _j_ ; _d_, 90 <sup>◦</sup> ) = # _P_ ( _i_, _j_ ; _d_, 135 <sup>◦</sup> ) = # - _r_ (( <sup>′</sup> _r_ −, _cr_ ), (= _r_ 0′,, _c_ | _c_ ′)) <sup>′</sup> - ∈ _c_ (| _L_ = _r_ × _d_, _L Ic_ ( _r_ ), × _c_ ) ( = _Lr i_ ×, _I L_ ( _rc_ <sup>′</sup> ), _c_ <sup>′</sup> ) = _j_  (( _r_, _c_ ), ( _r_ <sup>′</sup>, _c_ <sup>′</sup> )) ∈ ( _Lr_ × _Lc_ ) × ( _Lr_ × _Lc_ ) ( _r_ <sup>′</sup> - _r_ = _d_, _c_ <sup>′</sup> - _c_ = − _d_ ) or ( _r_ <sup>′</sup> - _r_ = _d_, _c_ <sup>′</sup> - _c_ = − _d_ ) _I_ ( _r_, _c_ ) = _i_, _I_ ( _r_ <sup>′</sup>, _c_ <sup>′</sup> ) = _j_  , (( _r_, _c_ ), ( _r_ <sup>′</sup>, _c_ <sup>′</sup> )) ∈ ( _Lr_ × _Lc_ ) × ( _Lr_ × _Lc_ ) ( _r_ <sup>′</sup> - _r_ = _d_, _c_ <sup>′</sup> - _c_ = _d_ ) _or_ ( _r_ <sup>′</sup> - _r_ = − _d_, _c_ <sup>′</sup> - _c_ = − _d_ ) _I_ ( _r_, _c_ ) = _i_, _I_ ( _r_ <sup>′</sup>, _c_ <sup>′</sup> ) = _j_ (13) - |(( _r_ <sup>′</sup> _r_,− _c_ ) _r_,| ( = _r_ ′ _d_, _c_,′ _c_ )) <sup>′</sup> ∈− _c_ ( _L_ = _r_ × 0, _L Ic_ ( _r_ ), × _c_ ) ( = _Lr i_ ×, _I L_ ( _rc_ <sup>′</sup> ), _c_ <sup>′</sup> ) = _j_ , , , where the distance matrix can be explicitly defined as _Sensors and Materials_, Vol. 29, No. 6 (2017) 637 (14) Next, the correlation feature used to identify the defected ABS or nondefected ABS was _d_ <sup>�</sup> ( _r_, _c_ ), ( _r_ <sup>′</sup>, _c_ <sup>′</sup> ) <sup>�</sup> = max <sup>�</sup> | _r_ - _r_ <sup>′</sup> |, | _c_ - _c_ <sup>′</sup> | <sup>�</sup> . calculated using Eq. (15): _Ng_ _j_ =1 _Corr_ = _Ng_ _i_ =1 <u>(</u> _<u>i</u>_ <u>−</u> µ _<u>i</u>_ <u>)(</u> _<u>j</u>_ <u>−</u> µ _<u>j</u>_ <u>) ·</u> _<u>C</u>_ <u>(</u> _<u>i</u>_ . _<u>j</u>_ <u>)</u> σ _i_ σ _j_ , (15) where the index _μi_ is defined as _Corr_ µ _i_ = <sup>�</sup> _i_ <sup>_M_</sup> = as σ _i_ = <sup>�</sup> _i_ <sup>_M_</sup> =1 <sup>(</sup> <sup>_i_</sup> <sup>−</sup> <sup>µ</sup> <sup>_i_</sup> <sup>)2 �</sup> <sup>_N_</sup> _j_ =1 <sup>_C_</sup> <sup>(</sup> <sup>_i_</sup> <sup>_N_</sup> _j_ =1 <sup>_C_</sup> <sup>(</sup> <sup>_i_</sup> <sup>.</sup> <sup>_j_</sup> <sup>),</sup> <sup>_μj_</sup> <sup>is defined as</sup> <sup>µ</sup> <sup>_j_</sup> <sup>= �</sup> <sup>_N_</sup> _j_ <sup>_σj_</sup> <sup>is defined as</sup> <sup>σ</sup> <sup>_j_</sup> <sup>= �</sup> <sup>_N_</sup> _j_ =1 <sup>(</sup> <sup>_j_</sup> <sup>−</sup> _i_ = <sup>= �</sup> <sup>_N_</sup> _j_ =1 <sup>_j_</sup> <sup>�</sup> <sup>_M_</sup> <sup>_N_</sup> _j_ =1 <sup>(</sup> <sup>_j_</sup> <sup>−</sup> <sup>µ</sup> <sup>_j_</sup> <sup>)2 �</sup> <sup>_M_</sup> where the index _μi_ as σ _i_ = <sup>�</sup> _i_ <sup>_M_</sup> = is defined as _Corr_ µ _i_ _i_ <sup>_M_</sup> =1 <sup>(</sup> <sup>_i_</sup> <sup>−</sup> <sup>µ</sup> <sup>_i_</sup> <sup>)2 �</sup> <sup>_N_</sup> _j_ = <sup>�</sup> _i_ <sup>_M_</sup> =1 <sup>_i_</sup> <sup>�</sup> <sup>_N_</sup> _j_ =1 <sup>_C_</sup> <sup>(</sup> <sup>_i_</sup> <sup>.</sup> <sup>_j_</sup> <sup>),</sup> <sup>_μj_</sup> <sup>is defined as</sup> <sup>µ</sup> <sup>_j_</sup> <sup>_N_</sup> _j_ =1 <sup>_C_</sup> <sup>(</sup> <sup>_i_</sup> <sup>.</sup> <sup>_j_</sup> <sup>), and</sup> <sup>_σj_</sup> <sup>is defined as</sup> <sup>σ</sup> <sup>_j_</sup> <sup>= �</sup> <sup>_N_</sup> _j_ _i_ <sup>_M_</sup> =1 <sup>_i_</sup> <sup>�</sup> <sup>_N_</sup> _j_ = <sup>(</sup> <sup>_i_</sup> <sup>.</sup> <sup>_j_</sup> <sup>)</sup> _i_ = <sup>_N_</sup> _j_ =1 <sup>_j_</sup> <sup>�</sup> <sup>_M_</sup> <sup>µ</sup> <sup>_j_</sup> <sup>)2 �</sup> _i_ =1 <sup>_C_</sup> <sup>(</sup> <sup>_i_</sup> <sup>.</sup> <sup>_j_</sup> <sup>),</sup> <sup>_σi_</sup> <sup>is defined</sup> _i_ =1 <sup>_C_</sup> <sup>(</sup> <sup>_i_</sup> <sup>.</sup> <sup>_j_</sup> <sup>). Note that</sup> where the index _μi_ is defined as _Corr_ measures the linear dependence of the elements in the matrix between the specified µ _i_ = <sup>�</sup> _i_ <sup>_M_</sup> =1 <sup>_i_</sup> <sup>�</sup> <sup>_N_</sup> _j_ =1 <sup>_C_</sup> <sup>(</sup> <sup>_i_</sup> <sup>.</sup> <sup>_j_</sup> <sup>),</sup> <sup>_μj_</sup> <sup>is defined as</sup> <sup>µ</sup> <sup>_j_</sup> <sup>= �</sup> <sup>_N_</sup> _j_ =1 <sup>_j_</sup> <sup>�</sup> <sup>_M_</sup> _i_ =1 <sup>(</sup> <sup>_i_</sup> <sup>−</sup> <sup>µ</sup> <sup>_i_</sup> <sup>)2 �</sup> <sup>_N_</sup> _j_ =1 <sup>(</sup> <sup>_j_</sup> <sup>−</sup> <sup>µ</sup> <sup>_j_</sup> <sup>)2 �</sup> <sup>_M_</sup> as elements relative to each other.σ _i_ = <sup>�</sup> <sup>_M_</sup> _j_ =1 <sup>_C_</sup> <sup>(</sup> <sup>_i_</sup> <sup>.</sup> <sup>_j_</sup> <sup>), and</sup> <sup>_σj_</sup> <sup>is defined as</sup> <sup>σ</sup> <sup>_j_</sup> <sup>= �</sup> <sup>_N_</sup> 3.5 Detection of defect Defects on the ROIs were detected on the basis of the characteristics of the block matrix, which was generated from the previous step. As mentioned previously, the algorithm began with an image that was partitioned into _N_ sub-ROI regions and then the procedure was repeated in Sects. 3.1, 3.2, 3.3, and 3.4. The search for the defects in each sub-ROI ran in parallel architecture and was synchronized. In order to identify the defects inside the ROIs, we used Euclidean distance and the selection threshold using the method of the minimum summation of two types of errors, namely, false acceptance ( _e_ 1) and false rejection ( _e_ 2), from the threshold set. The threshold is defined as _η_ = min( _e_ 1 + _e_ 2). (16) The defective and nondefective ABS were classified by means of the training data set as _Nondefect_ ∥ _f_ ∥≥ η, (17) _Defect_ ∥ _f_ ∥ < η, where || || is the Euclidean distance, and _f_ is the feature parameter obtained from the co-occurrence matrix of the block matrix. 3.6 Classification of defect In this work, three types of defects—stains, contaminating particles, and metal scratches— were identified. Each defect type had strong physical illumination characteristics, as shown in Table 2; the expert system was designed for classification based on the reflection characteristics. A flow chart of the expert system is shown in Fig. 4. 638 _Sensors and Materials_, Vol. 29, No. 6 (2017) Table 2 <u>Physical illumination characteristics of the defect on the ABS.</u> <u>Illumination techniques</u> Defect Type <u>Bright field</u> <u>Dark field</u> <u>Stain</u> <u>Rainbow</u> <u>Not shown</u> Particle Unshiny Brighter at the edge of the defect <u>Metal scratch</u> <u>Shiny</u> <u>Shiny at the edge of the defect</u> Fig. 4. Designed expert system. 4. Results and Discussion In order to test the designed system, the ABS images were first captured from the designed machine vision system as shown in Fig. 5. The figure shows Quadrants #1 and #2 on the ABS images. The results of Sect. 3.1 are shown in Figs. 6 and 7. In Fig. 6, the results of the corresponding ROIs on the ABS using the level set method based on the Chan–Vese model <sup>(34–36)</sup> are presented. The specific values used herein for Eq. (4) were _λ_ 1 = _λ_ 2 = 1, _µ_ = 0.1 × 255 <sup>2</sup>, and _v_ = 0. As can be seen, the extracted ROIs were not perfectly removed from the background of the original image. Some unwanted background is shown as something protruding at the bottom right in Fig. 6(a) of the images appeared. Likewise, some unwanted background also appears at the bottom left of Fig. 6(b). The unwanted background indicates that the algorithm suggested in Refs. 34–36 may not suitable for this case. Otherwise, the values of the parameters need to be optimized. Perhaps numerical steps for the integral parts of Eq. (4) need to be fine-tuned until satisfactory results are finally achieved. It takes time to proceed with the fine tuning. In order to cope with this difficulty, _Sensors and Materials_, Vol. 29, No. 6 (2017) 639 (a) (b) (a) (b) Fig. 5. (Color online) Some parts of the ABS image captured from the designed system: (a) Quadrant #1 of the ABS and (b) Quadrant #2 of the ABS. Fig. 6. (Color online) Extraction of ROI using the level set method <sup>(34)</sup> in Sect. 3.1: (a) results on Quadrant #1 and (b) results on Quadrant #2. (a) (b) Fig. 7. (Color online) Extraction of ROI using the proposed method in Sect. 3.1: (a) results on Quadrant #1 and (b) results on Quadrant #2. the proposed algorithm presented in Sect. 3.1 was presented as an alternative method. Figure 7 shows the results obtained from using the proposed method. As one can see, the extracted ROIs are clearer and better than the ROIs from the level set method. Unwanted background was removed. In addition, the proposed method had a better processing time, as shown in Table 3. The processing time for using the Chan–Vese model was 6.15 s vs 1.62 s for the proposed method. The ROI was extracted from the image size of 1942 × 2590 pixels with the pre-defined reference area for the size of 40 × 40 pixels. Figures 8(a) and 8(c) show the results for Sect. 3.3 without processing through the fuzzy dynamic histogram equalization, as described in Sect. 3.2. There is still noise in those figures; however, Figs. 8(b) and 8(d) show that the fluctuations due to noise were removed by using the procedure in Sect. 3.2. The images in the subfigures are clearer than those obtained without using the procedure in Sect. 3.2. Note that the support membership function used in this procedure is a triangular one in the form [0, 1, 2, 3, 4, 5, 4, 3, 2, 1, 0]. Note also that, in Sect. 3.3, the tiled image was generated from the ROI image with the block size containing 30 × 30 pixels. Figure 9 shows the zoom version of Fig. 8(d), whereas Fig. 10 shows the corresponding numbering values of the block matrix (shown in the red box of Fig. 9) calculated from Eqs. (5) and (6). Numbers 2 and 3 in 640 _Sensors and Materials_, Vol. 29, No. 6 (2017) Table 3 <u>Processing time.</u> <u>Procedure</u> <u>Algorithm</u> <u>Average processing time (s)</u> <u>Chan–Vase</u> <sup>~~(34–36)~~</sup> <u>6.15</u> Extraction of ROI (Sect. 3.1) <u>Proposed</u> <u>1.62</u> <u>Histogram equalization (Sect. 3.2)</u> <u>Fuzzy DHE</u> <u>0.36</u> <u>Block matrix (Sect. 3.3)</u> <u>Block matrix</u> <u>0.51</u> <u>GLCM without block matrix</u> <u>9.58</u> Extraction of defect feature (Sect. 3.4) <u>GLCM with block matrix</u> <u>1.01</u> <u>Detection of defect (Sect. 3.5)</u> <u>Euclidean distance and threshold</u> <u>3 × 10</u> <sup>~~−6~~</sup> <u>Classification of defect (Sect. 3.6)</u> <u>Expert system</u> <u>7.000006</u> <u>Human expertise</u> <u>Visual inspection using human eyes</u> <u>5–15</u> (a) (b) (c) (d) Fig. 8. Results for Sect. 3.3: (a), (c) without Sect. 3.2 and (b), (d) with Sect. 3.2 (better images). Fig. 9. (Color online) Zooming results from Sect. 3.3 in Fig. 8(d). Fig. 10 indicate the defect areas. For Sect. 3.4, the GLCM features were calculated from the cooccurrence matrices with the distance _d_ = 1 with _θ_ = 0, 45, 90, and 135°. Figure 11 shows the plots of the defect detection using the Euclidean distance of the correlation features and the selected threshold presented in Sect. 3.5. These thresholds were calculated automatically and adaptively because the errors had been dynamically changed. The results from this procedure are presented in Tables 3 and 4. Table 4 shows the results for the three classified types obtained from defect detection, which were stains, contaminating particles, and metal scratches. Two types of error, false rejection and false acceptance, are shown in the table. False rejection means that the expert system identifies the perfect ABS as the defected ABS. On the other hand, false acceptance means that the expert _Sensors and Materials_, Vol. 29, No. 6 (2017) 641 Fig. 10. Sample values of the block matrix (red box in Fig. 9). (a) (b) (c) Fig. 11. (Color online) Euclidean distances and thresholds of defect detection with the correlation feature on the selected ROIs: (a) stains, (b) particles, and (c) metal scratches. 642 _Sensors and Materials_, Vol. 29, No. 6 (2017) Table 4 <u>Classification results.</u> <u>Error type</u> <u>Number of samples</u> <u>Error</u> <u>False rejection (stain)</u> <u>24</u> <u>2</u> False acceptance (stain) 7 0 False rejection (particle) 25 0 False acceptance (particle) 6 0 False rejection (metal scratch) 25 1 False acceptance (metal scratch) 6 1 <u>Group missing</u> <u>19</u> <u>3</u> system identifies the defected ABS as a perfect one. Over-rejection may not cause as much trouble as over-acceptance. This is because over-acceptance may accept the defective parts that will be delivered to customers. A defective sample found by a customer would cause the rejection of the whole lot of the product shipment, and the products would be returned to the factory, creating a bad reputation for the company. This is serious since it is necessary to completely prevent false acceptance errors. In Table 4, all of the results were acceptable, except for the case of the false acceptance for metal scratches. Hence, false acceptance in the case of metal scratches is a concern. More rule bases for the case of metal scratches need to be adjusted or added, which would be a challenging classification enhancement for future work. Nevertheless, for defect detection only (regardless of classification), the method works very well, as it can reject all defect types. In Table 3, the total run time for all procedures was around 7 s, which was in an acceptable operation range compared with using human operators (around 5–15 s). The computer used in this test was an Intel Core i7 CPU with 4 GB RAM. For speed performance comparison, if we used the proposed inspection without the procedure in Sect. 3.3, the run time was around 13 s, which was 2 times higher than that with the procedure in Sect. 3.3. This is why the procedure in Sect. 3.3 was introduced and included. As one can see, the advantage of the proposed method not only speeded up the process but also performed as well as human visualization. If the defect can be seen in an image, the detection result is still accurate, even though the lighting environment has changed. Note that one may conjecture about the robustness of the method over the lighting conditions. However, for a well-developed industrial line, the lighting conditions can be completely controllable. In our case, we set up the image acquisition procedure using an industrial camera inside the well-designed lighting chamber, and there was no need to check for other lighting conditions in this situation. 5. Conclusions A practical machine vision design and implementation have been illustrated in this paper. A simple yet effective method was proposed to identify the defects on the ABS of a HGA. The six simple procedures suggested in this paper were ROI extraction, fuzzy dynamic histogram equalization, block matrix generation, extraction of defect features, defection detection, and classification of the defects. The key idea for speeding up automatic inspection was to divide the area of investigation into each block matrix. In doing so, searching areas can be divided as desired by the designer. The concept of using sub-blocks and sub-ROI processing in parallel was revealed _Sensors and Materials_, Vol. 29, No. 6 (2017) 643 to be effective, as demonstrated by the results, because the concept markedly helps to reduce the size of the input matrix before feeding to the feature extraction procedure. As the size of the matrix is reduced, the run time for extracting the features of the blocks is also reduced. Finally, the expert system for classification was designed from the illumination characteristics on the ABS. The system was tested by using normal samples and samples containing three types of defects: microcontamination with stains, contaminating particles, and metal scratches. The results were seen to be satisfactory for defect detection and classification. However, for the classification, the rules bases for classification may need to be modified in the case of metal scratches owing to the existence of false acceptances in the test. In general, the results can be verified by the proposed expert system, indicating that they were good as these visualized by the human eye. However, this process is an automatic operation in the production line, which can replace human operators. The human operators can then perform more intelligent and healthier tasks. Further work needs to be carried out on the classification system in order to classify more types of defects in the manufacturing system. The searching algorithm itself can also be enhanced by using an intelligent search, such as chaotic path, pheromone tracking, or other combinations of heuristic and analytic approaches. These topics may be viewed as subregional searches inside the blocks for fine tuning and are still a challenge. Acknowledgments This research was supported by College of Data Storage Innovation (D*STAR) King Mongkut’s Institute of Technology Ladkrabang (KMITL) and National Electronics and Computer Technology Center (NECTEC) of National Science and Technology Development Agency (NSTDA) under grant No. HDD-01-53-03D. We especially thank Seagate Technology (Thailand). References 1 R. Wood: J. Magn. Magn. Mater. 321 (2006) 555. 2 G. Binnig, C. F. Quate, and Ch. Gerber: Phys. Rev. Lett. 56 (1986) 930. 3 J. L. Blesener: U.S. Patent No. 5 (1992). 4 B. Bhushan and S. Chandra: IEEE Trans. Magn. 35 (1999) 956. 5 S. Kochevar, T. Pietrykowski, and D. Rodier: Proc. SPIE 8492 Opt. Syst. Contam., Effects, Measurements, and Control 2012., eds. S. A. Straka, N. Carosso, and J. Egges (SPIE, San Diego, 2012) pp. 84920H–84920H. 6 S. Singh and M. Kaur: IOSR J. Eng. 2 (2012) 429. 7 D. Popescu, R. Dobrescu, and M. Nicolae: Int. J. Circuits Syst. Sig. Process 1 (2007) 79. 8 H. Zuo, Y. Wang, X. Yang, and X. Wang: Proc. 5th Int. Cong. Image and Signal Processing (CISP) 2012, ed. Q. Chen (IEEE, Chongqing, Sichuan, 2012) pp. 876–880. 9 L. Tomczak, V. Mosorov, D. Sankowski, and J. Nowakowski: Proc. 9th Int. Conf. CAD Systems in Microelectronics 2007, ed. M. Lobur (IEEE, Lviv-Polyana, 2007) pp. 454–456. 10 D. M. Tsai and J. Y. Luo: IEEE Trans. Ind. Inf. 7 (2011) 125. 11 I. B. Ayed, N. Hennane, and A. Mitiche: IEEE Trans. Image Process. 15 (2006) 3431. 12 W. Withayachumnankul, P. Kunakornvong, C. Asavathongkul, and P. Sooraksa: Int. J. Adv. Manuf. Technol. 64 (2013) 1. 13 G. M. Atiqur Rahaman and Md. M. Hossain: Int. J. Comput. Sci. Inf. Secur. (IJCSIS) 1 (2009) 22. 14 F. C. Sham, N. Chen, and L. Long: J. Insight-Winston the Northampton 50 (2008) 240. 15 K. L. Mak, P. Peng, and K. F. C. Yiu: Image Vision Comput. 27 (2009) 1585. 16 B. Mallik-Goswami and A. K. Datta: Text. Res. J. 70 (2000) 758. 17 K. Y. Song, J. Kittler, and M. Petrou: Image Vision Comput. 14 (1996) 667. 18 H. Elbehiery, A. Hefnawy, and M. Elewa: Int. J. Comput. Electr. Autom. Control Inf. Eng. 1 (2007) 1488. 19 H. Liu, W. Zhou, Q. Kuang, L. Cao, and B. Gao: IEEE Trans. Semicond. Manuf. 23 (2010) 141. 644 _Sensors and Materials_, Vol. 29, No. 6 (2017) 20 C. H. Chan and G. K. Pang: IEEE Trans. Ind. Appl. 36 (2000) 1267. 21 Z. Xue-wu, D. Yan-qiong, Lv. Yan-yun, S. Ai-ye, and L. Rui-yu: Expert Syst. Appl. 38 (2011) 5930. 22 V. Asha, N. U. Bhajantri, and P. Nagabhushan: Proc. 5th Int. Conf. Information Processing (ICIP) 2011., eds. K. R. Venugopal and L. M. Patnaik (Springer Berlin Heidelberg, Bangalore, 2011) pp. 548–553. 23 A. Bodnarova, M. Bennamoun, and S. Latham: Pattern Recognit. 35 (2002) 2973. 24 A. Kumar and G. K. Pang: IEEE Trans. Ind. Appl. 38 (2002) 425. 25 X. Yang, G. Pang, and N. Yung: IEE Proc. Vision, Image and Signal Processing 152 (2005) 715. 26 A. Fathi, A. H. Monadjemi, and F. Mahmoudi: Int. J. Soft Comput. Eng. (IJSCE) 2 (2012) 30. 27 M. Ghazvini, S. A. Monadjemi, N. Movahhedinia, and K. Jamshidi: World Acad. Sci. Eng. Technol. 3 (2009) 773. 28 M. A. Aziz, A. S. Haggag, and M. S. Sayed: Proc. Communications, Signal Processing, and their Applications (ICCSPA) 2013, ed. M. El-Tarhuni (IEEE, Sharjar, 2013) pp. 1–4. 29 S. Rimac-Drlje, A. Keller, and Z. Hocenski: Proc. IEEE Int. Symp. Industrial Electronics 2005, eds. N. Peric and K. Jezernik (IEEE, Dubrovnik, 2005) pp. 1255–1260. 30 Y. Frayman, H. Zheng, and S. Nahavandi: J. Adv. Comput. Intell. Intell. Inf. 10 (2006) 281. 31 O. G. Sezer, A. Ertüzün, and A. Erçil: Pattern Recogn. Image Anal. 14 (2004) 303. 32 D. M. Tsai, Y. H. Tseng, S. M. Chao, and C. H. Yen: Pattern Recognit. 39 (2006) 1679. 33 X. Xie and M. Mirmehdi: Pattern Recogn. Image Anal., eds. S. Singh, M. Singh, C. Apte, and P. Perner (Springer Berlin Heidelberg, UK, 2005) pp. 404–413. 34 Y. Li, H. Lu, L. Zhang, S. Yang, and S. Seiichi: Appl. Mech. Mater. 103 (2012) 705. 35 H. Lu, Y. Li, S. Nakashima, S. Yang, and S. Seiichi: Disaster Adv. 5 (2012) 796. 36 H. Lu, B. Li, J. Zhu, Y. Li, Y. Li, X. Xu, L. He, X. Li, J. Li, and S. Serikawa: Concurrency Comput.: Pract. Experience (2016). 37 H. Lu, Y. Li, L. F. Zhang, and S. Seiichi: J. Opt. Soc. America A, JOSA A. 32 (2015) 886. 38 D. Sheet, H. Garud, A. Suveer, M. Mahadevappa, and J. Chatterjee: IEEE Trans. Consum. Electron. 56 (2010) 2475. 39 Y. G. Yoon, S. L. Lee, C. W. Chung, and S. H. Kim: Comput. Ind. Eng. 55 (2008) 567. 40 R. M. Haralick: Proc. IEEE 67 (1979) 786. About the Authors Pichate Kunakornvong received his B.Eng. and M.Eng. degrees in Information Engineering from King Mongkut’s Institute of Technology Ladkrabang (KMITL), Thailand, in 2005 and 2009, respectively. Currently, he is a Ph.D. student at KMITL in the School of Data Storage Innovation. His research interests include image processing, computer vision, and pattern recognition. Pitikhate Sooraksa received his B.Ed. (Hons) and M.Sc. degrees in Physics from Srinakharinwirot University, Thailand, an M.S. degree from George Washington University (1992), and a Ph.D. degree from the University of Houston (1996), USA, both in Electrical Engineering. He is currently Associate Professor of Electrical Engineering in the Department of Computer Engineering, Faculty of Engineering, King Mongkut’s Institute of Technology Ladkrabang, Thailand. His research interests include ITmechatronics, the development of rapid prototypes in embedded systems, and computer-aided control.

섹션 본문 65문단 · 27,398자

(제목 없음)

1In this paper, we present a newly adapted machine vision method and a practical low-cost machine vision sensor for defect classification of the air bearing surfaces (ABSs) of a hard disk drive, which controls the flying height of the recording heads moving above a disk in operation.A defective ABS can cause poor reading and writing performance; hence, it is necessary to verify its integrity before assembling it into the final product.The proposed sensor system was designed and implemented to detect defects by an effective combination of image segmentation and block matrix techniques as well as classifying them using an expert system under dark-and bright-field conditions.Our system processes subregions of interest and sub-blocks in parallel so that they can take advantage of multiple processor cores.From the trial runs, the small fractional error and low average processing time suggested that our proposed system is effective and can be used in an industrial assembly line.

Introduction

2In a hard disk drive (HDD), the air bearing surface (ABS) is a small but important part of a slider, which is a part of a head gimbal assembly (HGA) that holds recording heads.The location of the ABS on an HGA is illustrated in Fig. 1.The ABS controls the flying height of the slider above a magnetic disk.For a very high density HDD, the recording head on a slider flies extremely close to the magnetic disk with a clearance of only a small fraction of a microinch. (1)Figure 2 shows a schematic of a flying slider over a spinning disk.In its flight, the ABS is lifted by the passive pressure provided by disk platter rotation.The design of a slider has to take into account its weight, flying velocity, and actuator arm skew in order to achieve a uniform flying height.The quality of an HDD is as good as the quality of its ABS; hence, an effective defect detection process is necessary.The types of defects of an ABS focused on in this paper are stains, contaminating particles, and metal scratches.An effective defect detection method is detection by image processing, but a major problem with an image processing system is the inconsistent quality of acquired images in terms of intensity, contrast, and resolution.

3Currently, offline nanocontamination detection is carried out by automatic force microscopy (AFM) or scanning electron microscopy (SEM).AFM was first introduced in 1996 by Bining et al. (2) There are two types of AFM: contact mode and noncontact mode.AFM is not suitable for the inline monitoring of defects because it requires highly skilled human operators to work around the clock as well as lengthy operation time and high operating costs.SEM is usually employed to inspect very small machine parts.The advantages of SEM are high magnification, high resolution, and large depth of field (DOF).The device can achieve a resolution of better than 1 nm.However, its major disadvantage is that it destroys the surface of the scanned object.Thus, SEM is also not suitable for automated inline detection.Other techniques for detecting particulate contamination are based on light scattering, which relies on established laser detector and optics technologies.Most techniques are used for particle counting, as reported in Ref. 3. As for the development of particle counters, Blesener (3) invented a nonimaging laser particle counter, and Bhushan and Chandra (4) proposed a laser particle counter (LPC) and a sampling technique for detecting the size of contaminating particles on a rigid disk drive.Koshevar et al. (5) proposed a new nanocontamination monitoring device.None of these light scattering techniques, however, can determine the type of material of the contaminating particles.As for inline detection of other types of ABS defects such as stains, scratches, cracks, or chips, the conventional method is detection by a human operator observing ABSs through a high-magnification microscope.The two major disadvantages of using a human operator are unpredictable human error and slow detection speed.

4A good detection method that has been widely used for the inline monitoring of numerous products and processes is a machine vision sensor.Even though machine vision sensor systems have long been utilized in HDD factories for purposes such as QR code checking and mainboard integrity checking, they have not been used for ABS defect detection.At the time of the development of our proposed system, we considered that using a machine vision sensor to detect ABS defects would eliminate human error and increase the number of units processed per hour.

5Various defect detection algorithms have been proposed.They can be categorized into four main groups: statistical, structural, spectral and filtering, and model-based algorithms.Examples of applications of these algorithms are shown in Table 1.In this work, a simple yet practical approach for constructing a low-cost machine vision sensor for detecting three types of ABS defects was designed and implemented.

6This paper is organized as follows.In Sect.2, we explain the design of the imaging system.The hybrid defect detection algorithm for our sensor system is discussed in Sect.3. In Sect.4, we report the tested detection and classification performances of the sensor.In Sect.5, we provide conclusions.

Imaging System

7In this section, the system used for capturing images during inspection is introduced.Because the defects are usually very small, the captured image must collect all of details of the ABS while minimizing noise.A high-resolution industrial CCD camera was used for capturing high-quality images.Our camera selection criteria were a minimum resolution threshold and a maximum lens focal length threshold.The minimum resolution threshold was based on the size of the smallest defect that we wanted to detect.This threshold was calculated using Eq.(1):

8where #pixel is the minimum resolution, and d FOV is the width or height of the field of view (FOV).The area of the ABS was around 1 × 0.8 mm 2 and we aimed to detect a defect as small as 1 μm, so according to Eq. ( 1), the minimum pixel dimension of the camera should be at least 1600 × 2000 Textile, (6) Texture (7) Co-occurrence matrix Textile (8) Principle component analysis Wood (9)

Mean shift

9Solar wafer (10) Weibull Synthetic aperture radar (SAR) image (11) Structural algorithm Edge detection PZT, (12) Ceramic (13) , Flash thermography (FT) (14) Morphological operation Textile, (15)(16)(17) Ceramic (18) Spectral and filtering algorithm Fourier transform IC Wafer, (19) Textile, (20) Metal (21) Gabor wavelet Texture (22) Gabor filter

10Textile (23,24) Wavelet transform Textile (25)(26)(27)

Discrete cosine transform

11Textile (28) Model-based algorithm Neural network Textile (29)

Generic algorithm

12Metallic surface (30) Support vector machine Metallic surface (21) Independent component analysis Textile, (31) LCD (32) Texem model Marble (33) pixels.This specification was met by a commercially available 5 MP CCD camera, which was capable of capturing images at a dimension of 2048 × 2594 pixels.On the basis of the designed distance from the lens to the ABS, the focal length of the lens was calculated using Eq. ( 2):

13where f is the focal length of the lens, d sensor is the width of the CCD, which was chosen as 5.70 × 4.28 mm 2 , and WD is the distance from the lens to the ABS, which was initially designed to be 50 mm.With these values, the lens focal length threshold was calculated to be 42.537mm.This specification was also met by the same camera, which had a lens of 50 mm focal length.To be able to obtain low-distortion images, we selected a macro lens.The required magnification of the macro lens was calculated using Eq. ( 3):

14where Mag is the maximum magnification.For our design parameters, the required magnification should not be greater than 5.7×.Thus, we selected a 4× magnification macro lens that produced only −0.073489% distortion.With a 5-mm extension ring, the magnification was increased to 4.3×.Finally, the illumination for the imaging system was selected.Because the ABS is very small, a wide-length spot light was selected.Two illumination techniques were used, as the bright and the dark field were used to collected images from the ABS for the defect classification.The closed chamber was designed to solve the problem of disturbances by external light.

15With the selected imaging system as a CCD camera, lens, and light source, the hardware for our low-cost machine vision sensor system was constructed, a photo of which is shown in Fig. 3.The system was inexpensive compared with an AFM or an SEM.This selected hardware proved to be satisfactory because the acquired images were acceptably clear: two sample images are shown in Sect. 4.

Defect Detection and Classification

16In this section, we begin by describing the steps in the defect detection procedure in Sects.3.1-3.5.In the last subsection, Sect.3.6, we describe the types of defects in our classification scheme and the classification algorithm.

Extraction of region of interest (ROI)

17First, an ABS image was captured by the CCD camera.Then, the captured image was extracted in order to find the ROIs.A well-known extraction method is the Chan-Vese algorithm, which finds a geometric active contour via a level set method.We tried to apply the level set method with our system, but it was not satisfactory owing to not only its low speed and high CPU load for the high-resolution image used in this work but also to the imperfect extraction.The fast level set method, proposed by Y. Li et al. (34) and H. Lu and colleagues, (35,36) improved the performance of the level set method and increased the speed of the algorithm.We tried to use this algorithm with our system, but choosing and tuning parameters to satisfy our case were not easy to implement in due time.However, it will be interesting to simplify and integrate the method for further investigation in the future work.Hence, we devised techniques that worked, its function was inspired from the "wand" tool in Photoshop software, and we found it to be satisfactory for our defect detection scheme.The implemented technique was very easy with low complexity.This technique generated the extraction mask by the Euclidean distance function between the reference value and each pixel.

18Let us briefly review the Chan-Vese algorithm.This algorithm employs a geometric segmentation approach to minimizing the fitting energy of the input image and the level set function that defines the segmentation.The variational calculus method was used to evolve the level set function.The Chan-Vese model was defined according to the fitting energy function, shown in Eq. (4):

19where F(φ) is the fitting energy function; μ, v, λ 1 , λ 2 , and p are the user-selected fitting parameters for a particular class of images; H is the Heaviside function; I is the input image; Ω is the domain of the input image.The terms c 1 and c 2 are the average pixel values of the foreground and background, μ and v are the weights of the total length of the edge contour (boundary) and the total area of the region obtained from segmentation (if the region has a smooth boundary, the weight μ will be large), and λ 1 and λ 2 are the weights of the distance terms and are proportional to the variances of the foreground and background of the image, respectively.The terms

20)dx were used to represent the uniformity of the region in terms of pixel intensity.Minimizing the sum of these two terms made the foreground and background of the segmentation region as uniform as possible.

21We attempted to use this method to extract ROIs.However, after trial runs, it was found to be not suitable for processing our ABS images because it used too much computation time and too many resources.Hence, we developed a simpler algorithm, the procedure of which is described below.

22Our algorithm for ROI extraction: Input: (i) I(x, y, z): the intensity of a pixel at coordinate (x, y) on a color plane z in the color image of M × N pixels, where z takes a value of 1, 2, or 3, representing red, green, or blue, respectively; and (ii) x', y', w, h: x' and y' are the coordinates of the upper left hand corner of the user's selected reference area and w and h are its width and height.

23Step 1: Determine the reference intensity values (R(z)) and tolerance (T) value:

24the reference intensity is an intensity value that is used in the process of screening a pixel in or out of the extracted ROI-a pixel with an intensity value not farther away from the reference intensity than the tolerance value is included in the ROI.It is determined as the statistical mode of all intensity values in each color plane of the reference area.Tolerance value is determined as the average value of the three standard deviations of all intensity values in each of the three color planes of the reference area.

25Step 2: Create a binary mask B(x, y) for ROI extraction using the following steps:

26Step 2a: Calculate the Euclidean distance d(x, y) between I(x, y, z) and R(z),

27Step 2b: Generate a binary mask B(x, y) according to the following criteria:

28Step 3: Obtain the ROI by masking the image with B(x, y).

Fuzzy dynamic histogram equalization

29In the scheme of image contrast enhancement, the histogram equalization is a well-known technique.Contrast enhancement for images in turbid water (37) is a contrast enhancement method, which is presented the method for correcting the illumination lost by propagation of an underwater image, whereas this work focused on light reflecting, scattering, and light distribution.Then, the fuzzy dynamic histogram equalization (38) was used to enhance the ABS image and minimize the pixel fluctuation without removing defects and noise.This technique consists of the following four steps.

Creation of a fuzzy histogram

30A fuzzy histogram is smoother than a crisp histogram and was much more suitable for our application.It is a sequence of real numbers: h(i), i ∈ {0, 1, ..., L−1} where h(i) is the occurrence frequency of gray level i.Assuming a gray level I(x, y) at the coordinate I(x, y) and a fuzzy number Ĩ(x, y), the fuzzy histogram was computed using Eq. ( 5):

31where µ Ĩ(x,y)i is a triangular fuzzy membership function defined as µ Ĩ(x,y)i = max 0.1 − |I(x, y) − i| 4 and [a, b] is the support of the membership function.

Partitioning of the histogram

32The histogram obtained was partitioned into multiple subhistograms that were individually equalized in the next step.Partitioning was carried out by finding the first-and second-order derivatives of the fuzzy histogram using Eqs.( 6) and ( 7), respectively:

33where ḣ (i) and ḧ (i) are the first-and second-order derivatives of the fuzzy histogram h(i), respectively, corresponding to the ith intensity level.Then, the partition points were the intensities (m 0 , m 1 , ..., m n+1 ) of all of the local maximum frequencies, which were calculated using Eq. ( 8),

34In the range [Ĩ min , Ĩ max ] of the original fuzzy histogram, the subhistograms [Ĩ min , m 1 ], [m 1 +1, m 2 ], ..., [m n +1, Ĩ max ] were partitioned with these points.

Dynamic histogram equalization of the subhistogram from the previous stage

35The new intensity level can be expressed in the form

36where y( j) is the new intensity level corresponding to the jth intensity level on the input image, m i is the ith local maxima in the original fuzzy histogram and i = [1, 2, ..., n+1], h(k) is the histogram value at the kth intensity on the fuzzy histogram, and M i = m i k=m i−1 h(k) is the total number of pixels contained in the ith partition of the fuzzy histogram.

Normalization of the equalized histogram

37We then normalized histogram equalization as

38where μ i and μ o are the mean brightness values of the input image and the equalized image ( f(x, y)), respectively, obtained from the previous stage.

Generation of a block matrix

39The block matrix proposed in Ref. 39 was generated in the form of a two-dimensional array from the tilling process.The tilling process divided the M × N image into m × n image blocks of size p × q.Each member in the m × n image block represented an average intensity of each subblock, calculated using Eqs.(11) and (12).

40where Y(i, j) is a tile image generated with a block of size p × q, B(i, j) is the m × n block matrix represented by two-bit quantization values between levels 1 (01) and 3 (00), and X is the mean intensity of the equalized image from the previous stage.By using Eqs.( 11) and ( 12) , the input image was resized by the tilling process and the block matrix corresponding to the tilling version was obtained.Note that the tilling process has an outstanding advantage for noise removal because the average intensity of the block is employed to represent the value of the block.

Extraction of defect features

41The block matrix B from the previous step can be represented as a function that assigns a quantization level to each block in the domain of the image: I: L r × L c → Q.The terms L r = {0, 1, ..., N r −1} and L c = {0, 1, ..., N c −1}are the spatial domains of row and column dimensions, and Q = {1, 2, 3} is the domain of quantization levels.

42To extract defect features, we used a texture analysis technique called the gray-level cooccurrence matrix (GLCM). (40)It is based on repeated intensities of pixels in the image and can be defined using Eqs.( 13) and ( 14)

43where the distance matrix can be explicitly defined as

44Next, the correlation feature used to identify the defected ABS or nondefected ABS was calculated using Eq. ( 15):

45where μ i is defined as

46, and σ j is defined as

47Note that the index Corr measures the linear dependence of the elements in the matrix between the specified elements relative to each other.

Detection of defect

48Defects on the ROIs were detected on the basis of the characteristics of the block matrix, which was generated from the previous step.As mentioned previously, the algorithm began with an image that was partitioned into N sub-ROI regions and then the procedure was repeated in Sects.3.1, 3.2, 3.3, and 3.4.The search for the defects in each sub-ROI ran in parallel architecture and was synchronized.

49In order to identify the defects inside the ROIs, we used Euclidean distance and the selection threshold using the method of the minimum summation of two types of errors, namely, false acceptance (e 1 ) and false rejection (e 2 ), from the threshold set.The threshold is defined as η = min(e 1 + e 2 ).( 16)

50The defective and nondefective ABS were classified by means of the training data set as

51where || || is the Euclidean distance, and f is the feature parameter obtained from the co-occurrence matrix of the block matrix.

Classification of defect

52In this work, three types of defects-stains, contaminating particles, and metal scratcheswere identified.Each defect type had strong physical illumination characteristics, as shown in Table 2; the expert system was designed for classification based on the reflection characteristics.A flow chart of the expert system is shown in Fig. 4.

Results and Discussion

53In order to test the designed system, the ABS images were first captured from the designed machine vision system as shown in Fig. 5.The figure shows Quadrants #1 and #2 on the ABS images.The results of Sect.3.1 are shown in Figs. 6 and 7.In Fig. 6, the results of the corresponding ROIs on the ABS using the level set method based on the Chan-Vese model (34)(35)(36) are presented.The specific values used herein for Eq. ( 4) were λ 1 = λ 2 = 1, µ = 0.1 × 255 2 , and v = 0.As can be seen, the extracted ROIs were not perfectly removed from the background of the original image.Some unwanted background is shown as something protruding at the bottom right in Fig. 6(a) of the images appeared.Likewise, some unwanted background also appears at the bottom left of Fig. 6(b).The unwanted background indicates that the algorithm suggested in Refs.34-36 may not suitable for this case.Otherwise, the values of the parameters need to be optimized.Perhaps numerical steps for the integral parts of Eq. ( 4) need to be fine-tuned until satisfactory results are finally achieved.It takes time to proceed with the fine tuning.In order to cope with this difficulty, Fig. 6. (Color online) Extraction of ROI using the level set method (34) in Sect. the proposed algorithm presented in Sect.3.1 was presented as an alternative method.Figure 7 shows the results obtained from using the proposed method.As one can see, the extracted ROIs are clearer and better than the ROIs from the level set method.Unwanted background was removed.In addition, the proposed method had a better processing time, as shown in Table 3.The processing time for using the Chan-Vese model was 6.15 s vs 1.62 s for the proposed method.The ROI was extracted from the image size of 1942 × 2590 pixels with the pre-defined reference area for the size of 40 × 40 pixels.Figures 8(a) and 8(c) show the results for Sect.3.3 without processing through the fuzzy dynamic histogram equalization, as described in Sect.3.2.There is still noise in those figures; however, Figs.8(b) and 8(d) show that the fluctuations due to noise were removed by using the procedure in Sect.3.2.The images in the subfigures are clearer than those obtained without using the procedure in Sect.3.2.Note that the support membership function used in this procedure is a triangular one in the form [0, 1, 2, 3, 4, 5, 4, 3, 2, 1, 0].Note also that, in Sect.3.3, the tiled image was generated from the ROI image with the block size containing 30 × 30 pixels.Figure 9 shows the zoom version of Fig. 8(d), whereas Fig. 10 shows the corresponding numbering values of the block matrix (shown in the red box of Fig. 9) calculated from Eqs. ( 5) and ( 6).Numbers 2 and 3 in Fig. 10 indicate the defect areas.For Sect. 3.4, the GLCM features were calculated from the cooccurrence matrices with the distance d = 1 with θ = 0, 45, 90, and 135°.Figure 11 shows the plots of the defect detection using the Euclidean distance of the correlation features and the selected threshold presented in Sect.3.5.These thresholds were calculated automatically and adaptively because the errors had been dynamically changed.The results from this procedure are presented in Tables 3 and 4.

54Table 4 shows the results for the three classified types obtained from defect detection, which were stains, contaminating particles, and metal scratches.Two types of error, false rejection and false acceptance, are shown in the table.False rejection means that the expert system identifies the perfect ABS as the defected ABS.On the other hand, false acceptance means that the expert 641 Fig. 10.Sample values of the block matrix (red box in Fig. 9).system identifies the defected ABS as a perfect one.Over-rejection may not cause as much trouble as over-acceptance.This is because over-acceptance may accept the defective parts that will be delivered to customers.A defective sample found by a customer would cause the rejection of the whole lot of the product shipment, and the products would be returned to the factory, creating a bad reputation for the company.This is serious since it is necessary to completely prevent false acceptance errors.In Table 4, all of the results were acceptable, except for the case of the false acceptance for metal scratches.Hence, false acceptance in the case of metal scratches is a concern.More rule bases for the case of metal scratches need to be adjusted or added, which would be a challenging classification enhancement for future work.Nevertheless, for defect detection only (regardless of classification), the method works very well, as it can reject all defect types.In Table 3, the total run time for all procedures was around 7 s, which was in an acceptable operation range compared with using human operators (around 5-15 s).The computer used in this test was an Intel Core i7 CPU with 4 GB RAM.For speed performance comparison, if we used the proposed inspection without the procedure in Sect.3.3, the run time was around 13 s, which was 2 times higher than that with the procedure in Sect.3.3.This is why the procedure in Sect.3.3 was introduced and included.As one can see, the advantage of the proposed method not only speeded up the process but also performed as well as human visualization.If the defect can be seen in an image, the detection result is still accurate, even though the lighting environment has changed.Note that one may conjecture about the robustness of the method over the lighting conditions.However, for a well-developed industrial line, the lighting conditions can be completely controllable.In our case, we set up the image acquisition procedure using an industrial camera inside the well-designed lighting chamber, and there was no need to check for other lighting conditions in this situation.

Conclusions

55A practical machine vision design and implementation have been illustrated in this paper.A simple yet effective method was proposed to identify the defects on the ABS of a HGA.The six simple procedures suggested in this paper were ROI extraction, fuzzy dynamic histogram equalization, block matrix generation, extraction of defect features, defection detection, and classification of the defects.The key idea for speeding up automatic inspection was to divide the area of investigation into each block matrix.In doing so, searching areas can be divided as desired by the designer.The concept of using sub-blocks and sub-ROI processing in parallel was revealed to be effective, as demonstrated by the results, because the concept markedly helps to reduce the size of the input matrix before feeding to the feature extraction procedure.As the size of the matrix is reduced, the run time for extracting the features of the blocks is also reduced.Finally, the expert system for classification was designed from the illumination characteristics on the ABS.The system was tested by using normal samples and samples containing three types of defects: microcontamination with stains, contaminating particles, and metal scratches.The results were seen to be satisfactory for defect detection and classification.However, for the classification, the rules bases for classification may need to be modified in the case of metal scratches owing to the existence of false acceptances in the test.In general, the results can be verified by the proposed expert system, indicating that they were good as these visualized by the human eye.However, this process is an automatic operation in the production line, which can replace human operators.The human operators can then perform more intelligent and healthier tasks.Further work needs to be carried out on the classification system in order to classify more types of defects in the manufacturing system.The searching algorithm itself can also be enhanced by using an intelligent search, such as chaotic path, pheromone tracking, or other combinations of heuristic and analytic approaches.These topics may be viewed as subregional searches inside the blocks for fine tuning and are still a challenge.

Fig. 1 .

56Fig. 1. (Color online) Air bearing surface on an HGA compared with the size of a one Thai baht coin.

Fig. 2 .

57Fig. 2. (Color online) Schematic for recording head flying.

Fig. 3 .

58Fig. 3. (Color online) Inexpensive machine vision sensor system.

Fig. 4 .

59Fig. 4. Designed expert system.

3 . 1 :

60Fig.6.(Color online) Extraction of ROI using the level set method(34) in Sect.3.1: (a) results on Quadrant #1 and (b) results on Quadrant #2.

Fig. 7 .

61Fig. 7. (Color online) Extraction of ROI using the proposed method in Sect.3.1: (a) results on Quadrant and (b) results on Quadrant #2.

Fig. 8 .

62Fig. 8. Results for Sect.3.3: (a), (c) without Sect.3.2 and (b), (d) with Sect.3.2 (better images).

Fig. 9 .

63Fig. 9. (Color online) Zooming results from Sect.3.3 in Fig. 8(d).

Fig. 11 .

64Fig. 11.(Color online) Euclidean distances and thresholds of defect detection with the correlation feature on the selected ROIs: (a) stains, (b) particles, and (c) metal scratches.

Table 1

65Machine vision algorithms for industrial defect detection.

참고문헌

참고문헌 정보가 없습니다.