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

An Intelligent Image Processing System for Real-Time Detection of Surface Flaws

간접 관련 산업용 섬유 · (17) 스펀본드 부직포 (3) 자동차 인테리어 소재(11) 배리어 필름

기본 정보

저자
  1. Chou Yu-Cheng — Institute of Undersea Technology, National Sun Yat-sen University
DOI
10.5875/ausmt.v6i1.1006
저널
International Journal of Automation and Smart Technology
발행년도
2016
발행기관
International Journal of Automation and Smart Technology
피인용수
0
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.5875/ausmt.v6i1.1006
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W2318528049

평가 내용

관련도
간접 관련
사업분야
산업용 섬유 · (17) 스펀본드 부직포
부 분야
(3) 자동차 인테리어 소재, (11) 배리어 필름
R&D 측면
분석·모델링
확신도
0.70
근거 용어
surface defect detection, optical inspection system, image processing system, non-destructive
판단 근거
논문은 대형 물체의 표면 결함을 실시간으로 검출하는 지능형 이미지 처리 시스템에 관한 연구입니다. 이는 코오롱인더스트리의 산업용 부직포, 자동차 인테리어 소재, 필름 제조 공정 중 품질 관리(QC)를 위한 비파괴 검사 기술로 응용 가능합니다.
R&D 활용 포인트
부직포, 인공피혁, 필름 등 연속 생산 공정에서 발생하는 표면 결함을 실시간으로 모니터링하고 검출하는 자동화 검사 시스템 구축에 활용할 수 있습니다.
평가 입력
초록 965자

초록

This paper presents an intelligent parallel image processing system, PVCS (Parallel Visual Computing System), to handle in-line surface defect detection for large objects. PVCS is a parallel expansion of a previously-reported non-destructive Compute Unified Device Architecture (CUDA)-enabled optical inspection system to accommodate large test objects. PVCS is heterogeneous both in terms of hardware and software. From the hardware perspective, PVCS consists of multiple CPUs and GPUs; from the software perspective, PVCS adopts the Message Passing Interface (MPI) and CUDA programming models. A parallel prototype system, consisting of three CPUs and two GPUs, is used to inspect a simulated object with an area eight times greater than that of the real object in our previous work. Given the same resolution requirements, the simulation results show that PVCS can obtain the correct number of defects within a large-size image at a satisfactory processing rate.

본문 17,103자

본문 펼치기
This paper presents an intelligent parallel image processing system, PVCS (Parallel Visual Computing System), to handle in-line surface defect detection for large objects. PVCS is a parallel expansion of a previously-reported nondestructive Compute Unified Device Architecture (CUDA)-enabled optical inspection system to accommodate large test objects. PVCS is heterogeneous both in terms of hardware and software. From the hardware perspective, PVCS consists of multiple CPUs and GPUs; from the software perspective, PVCS adopts the Message Passing Interface (MPI) and CUDA programming models. A parallel prototype system, consisting of three CPUs and two GPUs, is used to inspect a simulated object with an area eight times greater than that of the real object in our previous work. Given the same resolution requirements, the simulation results show that PVCS can obtain the correct number of defects within a largesize image at a satisfactory processing rate. Introduction The manufacturing industry has adopted machine vision technology as a non-destructive test protocol for the reliable inspection and localization of surface defects. Machine vision technology relies on image analysis to provide useful and effective functions, such as automated optical inspection, remote navigation, and dynamic visual recognition. Over the past decade, numerous machine vision techniques have been proposed for surface flaw inspection purposes. Some recently reported methods and systems are summarized as follows. A machine vision system with a line scan camera was designed to detect differences in texture and brightness between wellscarfed and poorly-scarfed steel slab surfaces (Ryu et al. 2014). A line scan color vision system was designed to detect printing flaws on the color surfaces of drinking glasses decorated in a silk-screen process (Busin et al. 2013). An image recognition based vision system was developed to identify damage to engineering ceramic grinding surfaces (Chen et al. 2013). A regularity measure was proposed as the only discrimination feature to detect ill-defined subtle defects on non-textured and homogeneously textured surfaces . A local annular contrast based image processing algorithm was proposed to find defects on steel bar surfaces . A dissimilarity measure based on the optical-flow technique was proposed to inspect defects on lightemitting diode (LED) wafer die surfaces ). A scanning system based on laser triangulation and machine vision technologies was established for surface defect inspection in continuous slab casting (Zhao et al. 2011). A multi-class support vector machine (SVM) based vision system was designed for defect inspection on strongly reflective metal surfaces (Zhang et al. 2011). An in-line inspection algorithm was proposed for textured plastic surfaces produced in a high-speed continuous process (Michaeli and Berdel 2011). A real-time defect detection system was designed for highly reflective curved surfaces of coated plastic components produced in the automotive industry (Rosati et al. 2009). Some machine vision techniques were proposed to inspect micro-crack defects in the solar wafer manufacturing process (Chiou et al. 2011). Introduction For screening products based on pre-defined criteria, the above techniques satisfactorily detect surface defects in different applications, but require a tradeoff between speed and resolution. Our previous work (Chang et al. 2014) presented a non-destructive optical inspection system that combines a Compute Unified Device Architecture (CUDA) (Lindholm et al. 2008)enabled workstation to achieve satisfactory extraction and labeling of micro-sized surface defects. However, that study did not address surface defect detection for larger objects. The present paper presents an intelligent parallel image processing system to achieve in-line, high-speed and high-resolution surface defect detection. Introduction The presented system is termed as PVCS (Parallel Visual Computing System). PVCS consists of independent machines that together form a master-slave computing model. Slave machines perform the same computations on different data in parallel; the master machine integrates all the results from the slave machines and, if desired, performs further analysis on the integrated result. An image to be processed by a slave machine during each time window typically contains hundreds of megapixels, and the time windows range from one to several seconds. PVCS represents the parallel expansion of our nondestructive CUDA-enabled optical inspection system, with the aim to handle in-line surface flaw detection for large objects. Introduction The rest of the paper is organized as follows. Section 2 describes the hardware and software architectures of PVCS. Section 3 illustrates the CUDA-based defect detection algorithms. Section 4 presents a defect detection test with a simulated object. Section 5 concludes the paper. System Architecture PVCS is heterogeneous both in terms of hardware and software. Hardware Architecture The hardware architecture in our previous work (Chang et al. 2014) has features a single CUDA workstation with a line scan camera. The PVCS hardware architecture of the PVCS is a parallel expansion of the previous one in our previous work. As shown in Fig. 1, the PVCS hardware architecture of the PVCS consists of independent machines that form a master-slave parallel computing model. The integration server is the master machine and each CUDA workstation is a slave machine. Each CUDA workstation performs the same computations and sends the result to the integration server, where for the integration and further analysis of the results will be conducted. All the machines are connected through a high-speed network. In addition, each CUDA platform has at least one CPU and one GPU. Two types of processing components, including CPU and GPU, are combined in the PVCS to achieve for parallel computation, thus the purposes. Thereby, the PVCS hardware is heterogeneous in hardware. Hardware Architecture In the PVCS, dDepending on the test object's length and width, and the requirements on the resolution and speed requirements, PCVS configures different numbers of CUDA workstations can be configured to perform the computations in parallel. In Fig. 1, each color block represents the image data saved in a line scan camera's onboard memory in each time window. After a time window elapses, the image data is sent from a line scan the camera's onboard memory to the main memory of a CUDA workstation's main memory. Thus, each color block represents the image data to be processed by a CUDA workstation in each time window before the new image data arrives. In Fig. 1, a 10-block image in one color stands for 1⁄5 of the entire object image under a specific resolution requirement. A single CUDA workstation ideally needs to spend requires 50 time windows to process the entire object image for an , if the object is carried by on a platform capable of moving in the X and Y directions. By uUsing five properly configured CUDA workstations, the entire object image can be processed in 10 time windows. MPI processes include master and slave processes. The MPI master process runs on the integration server, whereas the MPI slave processes run on the CUDA workstations. PVCS lets the MPI slave processes handle defect detection while the MPI master process deals with defect classification. Therefore, each MPI slave process launches a huge number of CUDA threads that carry out the defect detection procedures. As shown in Fig. 2, each MPI slave process will iteratively capture an image, launch CUDA threads to detect defects, store the processed image in a folder shared by all the MPI processes, and perform MPI process synchronization. Each CUDA thread, launched by a slave process, will binarize the image, label defects in the image, calculate the number of defects, and detect the defect edges. On the other hand, the MPI master process will iteratively perform MPI process synchronization, access the images stored in the shared folder, and classify the defects. The MPI process synchronization ensures that in each time window, the master process can use complete and correct images from the slave processes for defect classification. Hardware Architecture In addition, the integration server can also be expanded as a cluster computer, which consists of multiple off-the-shelf computers, to increase computational efficiency for defect classification. Under such conditions, another group of MPI slave processes can be configured to perform CPU-based defect classification in parallel. CUDA-Based Defect Detection Algorithms Defect detection includes pixel-wise operations. Thus, in PVCS, each CUDA thread performs binarization, labeling, and edge detection operations on each pixel. CUDA-Based Defect Detection Algorithms In a CUDA workstation, the MPI slave process needs to directly load the real-time image data into the memory accessible by the CPU, and then send the image data to the memory accessible by all the CUDA threads. In other words, for the CUDA threads to perform the pixel-wise operations, the image data needs to be transferred from the computer's main memory to the CUDA GPU's global memory. After the CUDA threads complete their operations, the processed image data must be transferred from the CUDA GPU's global memory back to the computer's main memory. Thus, these two data transfers between the CPU and GPU are mandatory. CUDA-Based Defect Detection Algorithms The binarization, labeling, and edge detection algorithms, which are carried out by the CUDA threads, are presented in the following sub-sections. Binarization The first step in defect detection is to binarize an image. As shown in Fig. 3, the binarization is straightforward and based on a predefined threshold. If a pixel value is larger than the threshold, the pixel value is set to 255. Otherwise, the pixel value is set to zero. Labeling Determining the number of defects requires labeling all the defects in an image. Labeling involves finding the starting and terminal points of each defect, and then eliminating the redundant starting and terminal points to derive the total number of defects. Labeling The defect starting point determination is illustrated in Fig. 4. For a pixel value equal to zero, the pixel value is not changed. For a pixel value larger than zero, if its left, upper-left, upper, and upper-right pixel values are all zeroes, the pixel value is set to 1; otherwise, the pixel value is set to 9. Pixels with a value of 1 are the defect starting points. Labeling The defect terminal point determination is illustrated in Fig. 5. For a pixel value equal to zero or 1, the pixel value is not changed. For a pixel value larger than zero and not equal to 1, if its right, bottom-right, bottom, and bottom-left pixel values are all zeroes, the pixel value is set to 2; otherwise, the pixel value is set to 9. Pixels with a value of 2 are the defect terminal points. Labeling The redundant defect starting point elimination is illustrated in Fig. 6. This operation targets pixels with a value of 1. For such a target pixel, if any pixel with a value of 1 exists to its left in the same row, the target pixel value is set to 9. Labeling The redundant defect terminal point elimination is illustrated in Fig. 7. This operation targets pixels with a value of 2. For such a target pixel, if any pixel with a value of 2 exists to its right in the same row, the target pixel value is set to 9. Edge Detection Edge detection obtains the defect contours, i.e., the defect's left, upper, right, and bottom edges. For edge detection, any nonzero pixel value due to the labeling operation will be changed back to 255, which is the value immediately following the binarization operation. Moreover, an array the same size as the test image is allocated and initialized with zeros in the GPU's global memory for edge detection. value is 255, its corresponding pixel value in the new array is set to 255; otherwise, its corresponding pixel value in the new array is not changed. Edge Detection The defect upper edge detection is shown in Fig. 9. This operation targets pixels with a value of 255. For such a target pixel, if its upper pixel value is zero, its corresponding pixel value in the new array is zero, and its bottom pixel value is 255, its corresponding pixel value in the new array is set to 255; otherwise, its corresponding pixel value in the new array is not changed. Edge Detection The defect right edge detection is shown in Fig. 10. This operation targets pixels with a value of 255. For such a target pixel, if its right pixel value is zero and left pixel value is 255, its corresponding pixel value in the new array is set to 255; otherwise, its corresponding pixel value in the new array is not changed. Edge Detection The defect bottom edge detection is shown in Fig. 11. This operation targets pixels with a value of 255. For such a target pixel, if its bottom pixel value is zero, its corresponding pixel value in the new array is zero, and its upper pixel value is 255, its corresponding pixel value in the new array is set to 255; otherwise, its corresponding pixel value in the new array is not changed. Simulated Test Results This section presents a proof-of-concept defect detection simulated test using a parallel prototype of PVCS. Hardware and Software Configurations As shown in Fig. 12, one integration server and two CUDA workstations are used in this experiment. In addition, an MPI master process (Process 0) runs on the integration server, and each of the two MPI slave processes (Process 1 and Process 2) runs on a CUDA workstation. In this experiment, the MPI master process does not perform any calculations and simply receives the number of defects from each MPI slave process. Each MPI slave process performs the binarization, labeling and edge detection through CUDA threads. Hardware and Software Configurations In our previous work, the resolution requirement is that each pixel represents an area of 3.5×3.5 μm^2. The camera is a 12288-pixel line scan camera with a 12 kHz acquisition rate and a 512 MB onboard memory. The largest mirror object, for which the whose image size is affordable can be accommodated by the camera's onboard memory, is 70 mm in length and 43 mm in width. Based on the camera's hardware specifications, the speed requirement is specified such that the surface inspection of the mirror object needs to must be completed within 2 seconds, equivalent to a processing rate of 122.88 mega pixels per second. Hardware and Software Configurations Under the same resolution requirement as that in our previous work, this defect detection test simulates a situation where in which an object, of measuring 280 mm in length and 86 mm in width, is examined using two CUDA workstations equipped with line scan cameras. Therefore, the object's entire image of the object has measures 80,000 pixels in length and 24,576 pixels in width. Under the same speed requirement (i.e. 122.88 mega pixels per second), the entire image has to be processed within 8 seconds using this hardware setup. Hardware and Software Configurations Due to the maximum global memory on the GPU, the entire image has to be divided into 32 test images. Each test image has 5,000 pixels in length and 12,288 pixels in width, and it represents an area of 1.75×4.3 cm^2, as shown in Fig. 12. A total of 16 test images are successively read and processed by each CUDA workstation. Table 1 shows the detection results from the first CUDA workstation. For each test image, the number of defects obtained (44) is correct and the total processing time is 2,726.88 milliseconds, which is 34.09% of the speed requirement (8,000 milliseconds), equivalent to a Conclusion This paper presents an intelligent parallel image processing system, Parallel Visual Computing System Results Image Image Results (PVCS), a parallel expansion of our previously described non-destructive CUDA enabled optical inspection system, to handle in-line surface defect detection for large objects. PVCS has an expandable heterogeneous hardware architecture consisting of multiple CPUs and GPUs. In addition, PVCS has a heterogeneous software architecture incorporating MPI and CUDA programming models. PVCS is validated through a defect detection simulated test using a PVCS prototype consisting of two CUDA workstations equipped with line scan cameras. The simulated test results show that, under the same resolution and speed requirements as those in our previous work, for a simulated object with an image size eight times the capacity of the line scan camera's onboard memory, PVCS can obtain the correct number of defects on the object. The processing times used by the two CUDA workstations are 34.09% and 38.56% of the speed requirement, equivalent to processing rates of 360.50 and 318.69 mega pixels per second, respectively. Therefore, PVCS shows good accuracy and computational speed for in-line surface defect detection of large objects.

섹션 본문 28문단 · 16,520자

(제목 없음)

1This paper presents an intelligent parallel image processing system, PVCS (Parallel Visual Computing System), to handle in-line surface defect detection for large objects. PVCS is a parallel expansion of a previously-reported nondestructive Compute Unified Device Architecture (CUDA)-enabled optical inspection system to accommodate large test objects. PVCS is heterogeneous both in terms of hardware and software. From the hardware perspective, PVCS consists of multiple CPUs and GPUs; from the software perspective, PVCS adopts the Message Passing Interface (MPI) and CUDA programming models. A parallel prototype system, consisting of three CPUs and two GPUs, is used to inspect a simulated object with an area eight times greater than that of the real object in our previous work. Given the same resolution requirements, the simulation results show that PVCS can obtain the correct number of defects within a largesize image at a satisfactory processing rate.

Introduction

2The manufacturing industry has adopted machine vision technology as a non-destructive test protocol for the reliable inspection and localization of surface defects. Machine vision technology relies on image analysis to provide useful and effective functions, such as automated optical inspection, remote navigation, and dynamic visual recognition. Over the past decade, numerous machine vision techniques have been proposed for surface flaw inspection purposes. Some recently reported methods and systems are summarized as follows. A machine vision system with a line scan camera was designed to detect differences in texture and brightness between wellscarfed and poorly-scarfed steel slab surfaces (Ryu et al. 2014). A line scan color vision system was designed to detect printing flaws on the color surfaces of drinking glasses decorated in a silk-screen process (Busin et al. 2013). An image recognition based vision system was developed to identify damage to engineering ceramic grinding surfaces (Chen et al. 2013). A regularity measure was proposed as the only discrimination feature to detect ill-defined subtle defects on non-textured and homogeneously textured surfaces . A local annular contrast based image processing algorithm was proposed to find defects on steel bar surfaces . A dissimilarity measure based on the optical-flow technique was proposed to inspect defects on lightemitting diode (LED) wafer die surfaces ). A scanning system based on laser triangulation and machine vision technologies was established for surface defect inspection in continuous slab casting (Zhao et al. 2011). A multi-class support vector machine (SVM) based vision system was designed for defect inspection on strongly reflective metal surfaces (Zhang et al. 2011). An in-line inspection algorithm was proposed for textured plastic surfaces produced in a high-speed continuous process (Michaeli and Berdel 2011). A real-time defect detection system was designed for highly reflective curved surfaces of coated plastic components produced in the automotive industry (Rosati et al. 2009). Some machine vision techniques were proposed to inspect micro-crack defects in the solar wafer manufacturing process (Chiou et al. 2011).

3For screening products based on pre-defined criteria, the above techniques satisfactorily detect surface defects in different applications, but require a tradeoff between speed and resolution. Our previous work (Chang et al. 2014) presented a non-destructive optical inspection system that combines a Compute Unified Device Architecture (CUDA) (Lindholm et al. 2008)enabled workstation to achieve satisfactory extraction and labeling of micro-sized surface defects. However, that study did not address surface defect detection for larger objects. The present paper presents an intelligent parallel image processing system to achieve in-line, high-speed and high-resolution surface defect detection.

4The presented system is termed as PVCS (Parallel Visual Computing System). PVCS consists of independent machines that together form a master-slave computing model. Slave machines perform the same computations on different data in parallel; the master machine integrates all the results from the slave machines and, if desired, performs further analysis on the integrated result. An image to be processed by a slave machine during each time window typically contains hundreds of megapixels, and the time windows range from one to several seconds. PVCS represents the parallel expansion of our nondestructive CUDA-enabled optical inspection system, with the aim to handle in-line surface flaw detection for large objects.

5The rest of the paper is organized as follows. Section 2 describes the hardware and software architectures of PVCS. Section 3 illustrates the CUDA-based defect detection algorithms. Section 4 presents a defect detection test with a simulated object. Section 5 concludes the paper.

System Architecture

6PVCS is heterogeneous both in terms of hardware and software.

Hardware Architecture

7The hardware architecture in our previous work (Chang et al. 2014) has features a single CUDA workstation with a line scan camera. The PVCS hardware architecture of the PVCS is a parallel expansion of the previous one in our previous work. As shown in Fig. 1, the PVCS hardware architecture of the PVCS consists of independent machines that form a master-slave parallel computing model. The integration server is the master machine and each CUDA workstation is a slave machine. Each CUDA workstation performs the same computations and sends the result to the integration server, where for the integration and further analysis of the results will be conducted. All the machines are connected through a high-speed network. In addition, each CUDA platform has at least one CPU and one GPU. Two types of processing components, including CPU and GPU, are combined in the PVCS to achieve for parallel computation, thus the purposes. Thereby, the PVCS hardware is heterogeneous in hardware.

8In the PVCS, dDepending on the test object's length and width, and the requirements on the resolution and speed requirements, PCVS configures different numbers of CUDA workstations can be configured to perform the computations in parallel. In Fig. 1, each color block represents the image data saved in a line scan camera's onboard memory in each time window. After a time window elapses, the image data is sent from a line scan the camera's onboard memory to the main memory of a CUDA workstation's main memory. Thus, each color block represents the image data to be processed by a CUDA workstation in each time window before the new image data arrives. In Fig. 1, a 10-block image in one color stands for 1⁄5 of the entire object image under a specific resolution requirement. A single CUDA workstation ideally needs to spend requires 50 time windows to process the entire object image for an , if the object is carried by on a platform capable of moving in the X and Y directions. By uUsing five properly configured CUDA workstations, the entire object image can be processed in 10 time windows. MPI processes include master and slave processes. The MPI master process runs on the integration server, whereas the MPI slave processes run on the CUDA workstations. PVCS lets the MPI slave processes handle defect detection while the MPI master process deals with defect classification. Therefore, each MPI slave process launches a huge number of CUDA threads that carry out the defect detection procedures. As shown in Fig. 2, each MPI slave process will iteratively capture an image, launch CUDA threads to detect defects, store the processed image in a folder shared by all the MPI processes, and perform MPI process synchronization. Each CUDA thread, launched by a slave process, will binarize the image, label defects in the image, calculate the number of defects, and detect the defect edges. On the other hand, the MPI master process will iteratively perform MPI process synchronization, access the images stored in the shared folder, and classify the defects. The MPI process synchronization ensures that in each time window, the master process can use complete and correct images from the slave processes for defect classification.

9In addition, the integration server can also be expanded as a cluster computer, which consists of multiple off-the-shelf computers, to increase computational efficiency for defect classification. Under such conditions, another group of MPI slave processes can be configured to perform CPU-based defect classification in parallel.

CUDA-Based Defect Detection Algorithms

10Defect detection includes pixel-wise operations. Thus, in PVCS, each CUDA thread performs binarization, labeling, and edge detection operations on each pixel.

11In a CUDA workstation, the MPI slave process needs to directly load the real-time image data into the memory accessible by the CPU, and then send the image data to the memory accessible by all the CUDA threads. In other words, for the CUDA threads to perform the pixel-wise operations, the image data needs to be transferred from the computer's main memory to the CUDA GPU's global memory. After the CUDA threads complete their operations, the processed image data must be transferred from the CUDA GPU's global memory back to the computer's main memory. Thus, these two data transfers between the CPU and GPU are mandatory.

12The binarization, labeling, and edge detection algorithms, which are carried out by the CUDA threads, are presented in the following sub-sections.

Binarization

13The first step in defect detection is to binarize an image. As shown in Fig. 3, the binarization is straightforward and based on a predefined threshold. If a pixel value is larger than the threshold, the pixel value is set to 255. Otherwise, the pixel value is set to zero.

Labeling

14Determining the number of defects requires labeling all the defects in an image. Labeling involves finding the starting and terminal points of each defect, and then eliminating the redundant starting and terminal points to derive the total number of defects.

15The defect starting point determination is illustrated in Fig. 4. For a pixel value equal to zero, the pixel value is not changed. For a pixel value larger than zero, if its left, upper-left, upper, and upper-right pixel values are all zeroes, the pixel value is set to 1; otherwise, the pixel value is set to 9. Pixels with a value of 1 are the defect starting points.

16The defect terminal point determination is illustrated in Fig. 5. For a pixel value equal to zero or 1, the pixel value is not changed. For a pixel value larger than zero and not equal to 1, if its right, bottom-right, bottom, and bottom-left pixel values are all zeroes, the pixel value is set to 2; otherwise, the pixel value is set to 9. Pixels with a value of 2 are the defect terminal points.

17The redundant defect starting point elimination is illustrated in Fig. 6. This operation targets pixels with a value of 1. For such a target pixel, if any pixel with a value of 1 exists to its left in the same row, the target pixel value is set to 9.

18The redundant defect terminal point elimination is illustrated in Fig. 7. This operation targets pixels with a value of 2. For such a target pixel, if any pixel with a value of 2 exists to its right in the same row, the target pixel value is set to 9.

Edge Detection

19Edge detection obtains the defect contours, i.e., the defect's left, upper, right, and bottom edges. For edge detection, any nonzero pixel value due to the labeling operation will be changed back to 255, which is the value immediately following the binarization operation. Moreover, an array the same size as the test image is allocated and initialized with zeros in the GPU's global memory for edge detection. value is 255, its corresponding pixel value in the new array is set to 255; otherwise, its corresponding pixel value in the new array is not changed.

20The defect upper edge detection is shown in Fig. 9. This operation targets pixels with a value of 255. For such a target pixel, if its upper pixel value is zero, its corresponding pixel value in the new array is zero, and its bottom pixel value is 255, its corresponding pixel value in the new array is set to 255; otherwise, its corresponding pixel value in the new array is not changed.

21The defect right edge detection is shown in Fig. 10. This operation targets pixels with a value of 255. For such a target pixel, if its right pixel value is zero and left pixel value is 255, its corresponding pixel value in the new array is set to 255; otherwise, its corresponding pixel value in the new array is not changed.

22The defect bottom edge detection is shown in Fig. 11. This operation targets pixels with a value of 255. For such a target pixel, if its bottom pixel value is zero, its corresponding pixel value in the new array is zero, and its upper pixel value is 255, its corresponding pixel value in the new array is set to 255; otherwise, its corresponding pixel value in the new array is not changed.

Simulated Test Results

23This section presents a proof-of-concept defect detection simulated test using a parallel prototype of PVCS.

Hardware and Software Configurations

24As shown in Fig. 12, one integration server and two CUDA workstations are used in this experiment. In addition, an MPI master process (Process 0) runs on the integration server, and each of the two MPI slave processes (Process 1 and Process 2) runs on a CUDA workstation. In this experiment, the MPI master process does not perform any calculations and simply receives the number of defects from each MPI slave process. Each MPI slave process performs the binarization, labeling and edge detection through CUDA threads.

25In our previous work, the resolution requirement is that each pixel represents an area of 3.5×3.5 μm^2. The camera is a 12288-pixel line scan camera with a 12 kHz acquisition rate and a 512 MB onboard memory. The largest mirror object, for which the whose image size is affordable can be accommodated by the camera's onboard memory, is 70 mm in length and 43 mm in width. Based on the camera's hardware specifications, the speed requirement is specified such that the surface inspection of the mirror object needs to must be completed within 2 seconds, equivalent to a processing rate of 122.88 mega pixels per second.

26Under the same resolution requirement as that in our previous work, this defect detection test simulates a situation where in which an object, of measuring 280 mm in length and 86 mm in width, is examined using two CUDA workstations equipped with line scan cameras. Therefore, the object's entire image of the object has measures 80,000 pixels in length and 24,576 pixels in width. Under the same speed requirement (i.e. 122.88 mega pixels per second), the entire image has to be processed within 8 seconds using this hardware setup.

27Due to the maximum global memory on the GPU, the entire image has to be divided into 32 test images. Each test image has 5,000 pixels in length and 12,288 pixels in width, and it represents an area of 1.75×4.3 cm^2, as shown in Fig. 12. A total of 16 test images are successively read and processed by each CUDA workstation. Table 1 shows the detection results from the first CUDA workstation. For each test image, the number of defects obtained (44) is correct and the total processing time is 2,726.88 milliseconds, which is 34.09% of the speed requirement (8,000 milliseconds), equivalent to a

Conclusion

28This paper presents an intelligent parallel image processing system, Parallel Visual Computing System Results Image Image Results (PVCS), a parallel expansion of our previously described non-destructive CUDA enabled optical inspection system, to handle in-line surface defect detection for large objects. PVCS has an expandable heterogeneous hardware architecture consisting of multiple CPUs and GPUs. In addition, PVCS has a heterogeneous software architecture incorporating MPI and CUDA programming models. PVCS is validated through a defect detection simulated test using a PVCS prototype consisting of two CUDA workstations equipped with line scan cameras. The simulated test results show that, under the same resolution and speed requirements as those in our previous work, for a simulated object with an image size eight times the capacity of the line scan camera's onboard memory, PVCS can obtain the correct number of defects on the object. The processing times used by the two CUDA workstations are 34.09% and 38.56% of the speed requirement, equivalent to processing rates of 360.50 and 318.69 mega pixels per second, respectively. Therefore, PVCS shows good accuracy and computational speed for in-line surface defect detection of large objects.

참고문헌 16건

  1. Using MPI: Portable parallel programming with the message-passing interface Computers & Mathematics with Applications · Elsevier BV · 1995 10.1016/0898-1221(95)90199-x
  2. Using MPI-2: Advanced features of the message-passing interface Computers & Mathematics with Applications · Elsevier BV · 2000 10.1016/s0898-1221(00)90209-8
  3. Inline inspection of textured plastics surfaces Optical Engineering · SPIE · 2011 10.1117/1.3544588
  4. Detection of Scarfing Faults on the Edges of Slabs ISIJ International · The Iron and Steel Institute of Japan · 2014 10.2355/isijinternational.54.112
  5. Contribution of a color space selection to a flaw detection vision system Journal of Electronic Imaging · SPIE · 2013 10.1117/1.jei.22.3.033016
  6. Surface defects inspection method in hot slab continuous casting process Ironmaking & Steelmaking Processes Products and Applications · Taylor & Francis · 2011 10.1179/1743281211y.0000000025
  7. A fast regularity measure for surface defect detection Machine Vision and Applications · Springer Science+Business Media · 2012 10.1007/s00138-011-0403-3
  8. A vision inspection system for the surface defects of strongly reflected metal based on multi-class SVM Expert Systems with Applications · Elsevier BV · 2010 10.1016/j.eswa.2010.11.030
  9. A Shift-Tolerant Dissimilarity Measure for Surface Defect Detection IEEE Transactions on Industrial Informatics · Institute of Electrical and Electronics Engineers · 2011 10.1109/tii.2011.2166797
  10. Real-time defect detection on highly reflective curved surfaces Optics and Lasers in Engineering · Elsevier BV · 2008 10.1016/j.optlaseng.2008.03.010
  11. Micro crack detection of multi‐crystalline silicon solar wafer using machine vision techniques Sensor Review · Emerald Publishing Limited · 2011 10.1108/02602281111110013
  12. A local annular contrast based real-time inspection algorithm for steel bar surface defects Applied Surface Science · Elsevier BV · 2012 10.1016/j.apsusc.2012.03.007
  13. A high-performance, portable implementation of the MPI message passing interface standard Parallel Computing · Elsevier BV · 1996 10.1016/0167-8191(96)00024-5
  14. Automated inspection of engineering ceramic grinding surface damage based on image recognition The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2012 10.1007/s00170-012-4338-2
  15. NVIDIA Tesla: A Unified Graphics and Computing Architecture IEEE Micro · Institute of Electrical and Electronics Engineers · 2008 10.1109/mm.2008.31
  16. Fast and High-Resolution Optical Inspection System forIn-Line Detection and Labeling of Surface Defects Cmc-computers Materials & Continua · Tech Science Press · 2014 10.3970/cmc.2014.042.125