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

3D Reconstruction of High Reflective Welding Surface Based on Binocular Structured Light Stereo Vision

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Baizhen Li — School of Computing and Engineering, University of Huddersfield, Huddersfield HD1 3DH, UK|||School of Mechanical Engineering, University of Jinan, Jinan 250022, China
  2. Zhijie Xu — School of Computing and Engineering, University of Huddersfield, Huddersfield HD1 3DH, UK
  3. Feng Gao — EPSRC Advanced Metrology Hub, University of Huddersfield, Huddersfield HD1 3DH, UK
  4. Yanlong Cao — College of Mechanical Engineering, Zhejiang University, Hangzhou 310027, China
  5. Quancheng Dong — School of Mechanical Engineering, University of Jinan, Jinan 250022, China
DOI
10.3390/machines10020159
저널
Machines
발행년도
2022
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
32
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/machines10020159
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4220834897

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The inspection of welding surface quality is an important task for welding work. With the development of product quality inspection technology, automated and machine vision-based inspection have been applied to more industrial application fields because of its non-contact, convenience, and high efficiency. However, challenging material and optical phenomena such as high reflective surface areas often present on welding seams tend to produce artifacts such as holes in the reconstructed model using current visual sensors, hence leading to insufficiency or even errors in the inspection result. This paper presents a 3D reconstruction technique for highly reflective welding surfaces based on binocular style structured light stereo vision. The method starts from capturing a fully lit image for identifying highly reflective regions on a welding surface using conventional computer vision models, including gray-scale, binarization, dilation, and erosion. Then, fringe projection profilometry is used to generate point clouds on the interested area. The mapping and alignment from 2D image to 3D point cloud is then established to highlight features that are vital for eliminating “holes”—large featureless areas—caused by high reflections such as the specular mirroring effect. A two-way slicing method is proposed to operate on the refined point cloud, following the concept of dimensionality reduction to project the sliced point cloud onto different image planes before a Smoothing Spline model is applied to fit the discrete point formed by projection. The 3D coordinate values of points in the “hole” region are estimated according to the fitted curves and appended to the original point cloud using iterative algorithms. Experiment results verify that the proposed method can accurately reconstruct a wide range of welding surfaces with significantly improved precision.

본문 26,997자

본문 펼치기
The inspection of welding surface quality is an important task for welding work. With the development of product quality inspection technology, automated and machine vision-based inspection have been applied to more industrial application fields because of its non-contact, convenience, and high efficiency. However, challenging material and optical phenomena such as high reflective surface areas often present on welding seams tend to produce artifacts such as holes in the reconstructed model using current visual sensors, hence leading to insufficiency or even errors in the inspection result. This paper presents a 3D reconstruction technique for highly reflective welding surfaces based on binocular style structured light stereo vision. The method starts from capturing a fully lit image for identifying highly reflective regions on a welding surface using conventional computer vision models, including gray-scale, binarization, dilation, and erosion. Then, fringe projection profilometry is used to generate point clouds on the interested area. The mapping and alignment from 2D image to 3D point cloud is then established to highlight features that are vital for eliminating "holes"-large featureless areas-caused by high reflections such as the specular mirroring effect. A two-way slicing method is proposed to operate on the refined point cloud, following the concept of dimensionality reduction to project the sliced point cloud onto different image planes before a Smoothing Spline model is applied to fit the discrete point formed by projection. The 3D coordinate values of points in the "hole" region are estimated according to the fitted curves and appended to the original point cloud using iterative algorithms. Experiment results verify that the proposed method can accurately reconstruct a wide range of welding surfaces with significantly improved precision. Citation: Li, B.; Xu, Z.; Gao, F.; Cao, Y.; Dong, Q. 3D Reconstruction of High Reflective Welding Surface Based on Binocular Structured Light Stereo Vision. Machines 2022, 10, 159. Introduction With the improvement and development of the modern industrial level, welding has become an important industrial processing technology, and welding quality inspection is an important method to ensure the quality of welding. However, a variety of welding defects may occur in the welding process, mainly due to welding workers' technical level, welding materials, processing environment, and other factors. Welding quality inspection affects not only the appearance of the product, but also the structure and strength of the product, and even causes potential safety hazards [1]. Introduction Challenging material and optical phenomena such as high reflective surface areas often present on welding seams tend to produce artifacts such as holes in the reconstructed model using current visual sensors, hence leading to insufficiency or even errors in the inspection result. This research aims at devising an innovative 3D reconstruction technique for high reflective welding surfaces based on binocular style structured light stereo vision. The method starts from extracting a fully lit image for identifying highly reflective regions on a welding surface using conventional computer vision models, including gray-scale, binarization, dilation, and erosion. Then, fringe projection profilometry is introduced to generate point clouds on the interested area. Literature Review There are many sensors that can be used for welding quality inspection, such as arc audible sound, magneto-optical sensors, radiographic [2], and vision sensors [3]. Literature Review The arc audible sound method is based on the sound characteristics emerging during the welding process to determine whether the defect is generated. Yusof et al. proposed a method to research the relationship between arc audible sound and weld defect information using wavelet transform [4]. This method can estimate the location of the defect, but its accuracy is not high compared with other inspection methods, and it cannot detect the defects of welds that have already been welded because it relies on sound signals collected during the welding process. Literature Review The magneto-optical imaging method is a method based on Faraday's magneto-optical rotation effect, which inspects the defective condition by detecting the magnetic leakage phenomenon of the weld under magnetic field excitation. Gao et al. compared magneto-optical images of different weld defects by alternating and rotating magnetic fields and found that the optimal excitation magnetic voltage and lift-off value of a rotating magnetic field are 120 V and 20 mm [5]. Although possessing the unique advantage of balanced speed and accuracy, the disadvantage of this method is the complexity of the equipment and its setup. Literature Review Radiographic inspection mainly detects defects inside parts by analyzing the attenuation changes of the recording film, which takes advantage of the photosensitive properties of X-rays. Zou et al. proposed an X-ray-based method to detect weld defects in spiral pipes [6]. Although this method has a good detection effect, it can cause harm to the human body due to the nature of X-rays. Literature Review In contrast, machine vision-based inspection is a method of detecting defects by calculating the surface topography information of welding seams from the image taken by the industrial camera. Because of the convenience and efficiency of visual inspection technology, it can replace manual detection in many fields, and its application is becoming wider [7,8]. The visual inspection can be used to detect various defects on welded surfaces, such as uneven surface and press marks, and can also detect parameters such as width and height of weld in real time [9,10]. Visual inspection can be divided into passive visual inspection and active visual inspection according to different image acquisition methods and feature extraction methods. Passive visual inspection is similar to manual inspection. The defects are detected by comparing the images of welds collected by the camera with the standard welds [11]. Active visual inspection is a method to obtain a series of 3D parameters by projecting coded patterns onto the measured object, such as binocular structured light stereo vision technology [12]. Literature Review The 3D reconstruction technology based on structured laser is a method to calculate the surface topography of the measured object according to the modulation of projected laser stripes on the surface. The performance of its reconstruction is affected by the method used to extract the laser stripes, because it is a challenge to accurately extract the center locations of the detected laser stripes. At the same time, in order to reconstruct the entire surface, it needs to add additional mechanical motion to ensure that the laser stripes cover the measured object, which is a disadvantage [13]. Literature Review The 3D reconstruction technology and defect inspection method based on binocular structured light are applied by many industrial enterprises because of its high efficiency, accuracy, and no damage to the detected parts [14]. However, binocular stereo vision technology is not ideal for object reconstruction with high reflection on the surface, because it is a method based on 2D images taken by the camera. Due to the phenomenon of overexposure in the high reflection region, as shown in Figure 1, the quality of images taken by the camera will be affected, which will cause the loss of point cloud data, forming holes, and reducing the accuracy of subsequent data analysis. According to the characteristics of the welding process, welding objects in many cases are metal parts of high surface reflection, and the shape of welding surface is mostly curved. Additionally, in some weld surfaces, there will often be some uneven bumps or pits, which aggravate the phenomenon of light reflection. All of these increase the difficulty of applications of visual methods in welding quality inspection [15]. Currently, there are some attempts for 3D reconstruction of highly reflective objects, namely, a few multiple exposure methods, polarization technology, separation of saturated pixels using RGB channels, and machine learning technology. For example, the multiple exposure method is a method to determine suitable projection patterns in different exposure times. Zhang et al. proposed a method to generate a new and suitable fringe pattern by selecting the best pixels from patterns with different exposure times. This method works well but takes a lot of time [16]. Polarization technology refers to the method of using polarizers to filter projected and captured images respectively, so as to obtain better images. However, this method increases the cost of the equipment [17]. The method of the separation of saturated pixels using RGB channels utilizes the different performance of pixels in color space to remove the highly reflective areas [18]. However, sensor noise poses a big challenge for this method. With the development of machine learning technology, the combination of machine learning and fringe projection technology provides a new solution for the 3D reconstruction of high reflective objects. Liu et al. used machine learning to train the exposure time of different surfaces and the number of saturated pixels to solve the problem of high reflection. Although this method achieved good results, the acquisition of training samples has always been a difficult problem for machine learning [19]. Literature Review This research investigates techniques and models to enable precision 3D reconstruction of complex welding surfaces based on an innovative binocular structured light stereo vision technique. The proposed technique focuses on the analysis and identification of high reflection regions on the welding surface and devising a fitting algorithm for filling the point cloud "holes"-featureless regions-caused by specular or mirroring reflections, hence significantly improving the accuracy of the reconstructed 3D models for manufacturing applications. Literature Review This paper is structured as follows: The theories and working principles of the proposed method are described in Section 3; experimental design and benchmarking have been presented in Section 4. Key knowledge contributions and envisaged future works have been highlighted in Section 5. 3D Reconstruction Based on Binocular Structured Light Stereo Vision Binocular structured light stereo vision technology is an important branch of machine vision. It is a method to obtain 3D geometric information of objects based on the relationship between disparity and depth, which needs to calculate the position deviation of the same point in different images obtained from different cameras. One advantage of this method is that the calibration of the projector is not necessary [20]. The measurement based on binocular structured light stereo vision is described in Figure 2 [21]. In industrial applications, fringe projection profilometry is often used for 3D shape measurement. It can improve the accuracy of 3D reconstruction by projecting structured light with different codes to the measured object to add feature points on the object surface. At present, the commonly used structured light coding methods are gray code, phase shift, and the multi-frequency heterodyne method. Identification of High a Reflective Region It is always a challenge for visual inspection to solve the phenomenon of high reflection on the surface of the measured object because it causes supersaturation of the image taken by the camera, resulting in the loss of effective data and reducing the inspection accuracy. For the binocular structured light stereo vision system proposed in this research, the contour of the welding surface is supposed relatively smooth and the occlusion situation non-existent. Hence, the data loss caused by high reflection is the main reason for the formation of point cloud holes. Therefore, the identification of a high reflective region is a prerequisite in order to improve the visual inspection accuracy of welding seams. Design the Coding of the Projection Pattern In order to identify the high reflection region of the object being measured accurately, a fully lit image that can completely illuminate the object is added before the projected coding pattern, as shown in Figure 3. Through the fully lit projection pattern, the camera can take all the high reflective regions of the measured object under the current visual angle, which provides a good foundation for further research. The effect of the first fully lit projection pattern is shown in Figure 4. Identification of a High Reflective Region on 2D Images The difficulty of identifying the high reflective region on 2D images is evident because the current image processing technology is very mature. Due to the different position and angle of the two cameras in the binocular stereo vision system, the high reflective region in the image taken by each camera has a certain deviation. In the process of 3D reconstruction, the high reflective phenomenon in the images will lead to the decoding failure of the corresponding region, causing the reconstruction failure of the region and the formation of point cloud holes. Therefore, according to the coding rules of projected patterns, the first images captured by the two cameras are taken as the analysis target, respectively (shown in Figure 5a,d), and the processing results will provide a data basis for subsequent point cloud data processing. In order to identify the high reflective region in the image, the process is as follows: Firstly, the image is converted to a gray-scale image. Secondly, an appropriate threshold is selected for binarization operation. Then, the noise points in the image are filtered by the dilation and erosion operation, which can make the high reflective region completely closed inside and facilitate the extraction of the region. Finally, the identified high reflective region is expanded by 20 to 30 pixels to the surrounding region as the final high reflective region (shown in Figure 5b,e), of which the aim is to make the region contain enough effective data to facilitate the subsequent hole completion of the point cloud. Establish the Mapping between 2D Image and 3D Point Cloud In this research, a key task was to rapidly determine the approximate location of holes in a point cloud using a 2D image to 3D point cloud data. There are two schemes for establishing the mapping between 2D images and 3D point clouds. The first scheme is to use the intrinsic and extrinsic parameters of the camera calculated during camera calibration to build the mapping as described in Equation (1). Establish the Mapping between 2D Image and 3D Point Cloud where R and T represent the extrinsic parameters of a camera, K denotes the intrinsic parameters, and zc is the depth of a camera. By using Equation (1), a 3D coordinate (Xw, Yw, Zw) in space can be converted to a 2D coordinate (u, v) on the image. The second scheme is to design a new point cloud data format in which the data not only record the 3D coordinates of a point but also record the coordinate value of the point in each image captured by each camera. The theoretical basis of this design is that the 3D coordinates of the point cloud are calculated using triangulation principles based on the coordinate values of the same target points taken in both cameras in the binocular stereo vision system. Therefore, the coordinate value of the point in the two images can be recorded while the coordinates of the point cloud are recorded. In this way, the mapping between the 2D images and the 3D point cloud can be easily determined through the way of query. The second scheme was adopted in the research. An example of an extracted point cloud is shown in Figure 5c. Two-Way Slicing The slicing method is used by researchers for its advantages of high efficiency and easy operation when analyzing point clouds with a large amount of data and complex shapes. Based on the mapping of the image to point cloud, this paper proposes a two-way slicing method (X and Y directions) to perform dimensionality reduction, fitting through estimation. Two-Way Slicing According to the coordinate value of the image of the high reflective region determined in Section 3.2.2, the point cloud data were cut and the point cloud information with holes generated due to high reflection was extracted. According to the corresponding 2D coordinate (X, Y) of this point cloud, slices were obtained along with the X and Y directions, respectively, with the width of 1 to 2-pixel values, as shown in Figure 6. Determine the Method of Curve Fitting The slice contains many discrete points in space. The best way to deal with these points is to project them onto a 2D image plane, which can reduce the difficulty of data processing by adopting the idea of dimensionality reduction. Determine the Method of Curve Fitting Since the slice thickness is only 1 to 2 pixels, the projected point cloud plane data can basically reflect the morphology of the slice. Curve fitting is generally used to analyze 2D discrete points after projection. At present, the popular curve fitting methods are Cubic Spline Interpolation, Nearest Neighbor Interpolation, Linear Interpolation, and Smoothing Spline method. In this research, essential steps of the aforementioned techniques were used to fit the discrete points. In order to find the most appropriate curve fitting method, the curves fitted by different methods were compared. The results are shown in Figure 7. Determine the Method of Curve Fitting The curve fitted by the Cubic Spline Interpolation method has great fluctuation and cannot reflect the real surface topography of the measured object. The reason is that the data mutation of discrete points appears, which is because the distance of some points becomes very close after dimensionality reduction. The curves fitted by the Nearest Neighbor Interpolation and Linear Interpolation are not smooth, which does not correspond to the characteristics of continuous and smooth on highly reflective surfaces. The curve fitted by the Smoothing Spline method has no abnormal fluctuation and is very smooth, which can reflect the real surface topography of the measured object. Thus, the Smoothing Spline method Was adopted as our curve fitting method. Slice Projection in the XY Plane and Calculate the Intersection of the Fitted Curves The two slices processed according to the two-way slicing method proposed in Section 3.3 were projected onto the XY plane, respectively, and then the Smoothing Spline method was used for curve fitting to obtain two intersecting curves. The intersection of the two curves was calculated, which can be used as the estimated X and Y of the coordinate of the missing data in the hole region of the point cloud. The results of the projection and the intersection were shown in Figure 8. The slice in the X direction was projected to the XZ plane, and the projection points were fitted to the curve through the Smooth Spline method. Using the X value of the intersection calculated in Section 3.4.2, we estimated the Z value of this point as Z1. Similarly, the slice in the Y direction was projected to the YZ plane, and Z2 was estimated using the intersection point. Combining the estimated values Z1 and Z2 of the two plane curves, we finally considered Z = (Z1 + Z2) as the final estimated value of this point. Slice Projection in the XY Plane and Calculate the Intersection of the Fitted Curves After the curve fitting of the two-way slice on the XY, XZ, and YZ plane, through the calculation of the coordinate value of the intersection point (X, Y) and the estimation of the Z value, the 3D coordinate value of the point at the intersection of the two directions slice was finally estimated as: (X, Y, Z). Slice Projection in the XY Plane and Calculate the Intersection of the Fitted Curves It should be noted that when extracting cloud data with holes, the region is expended by 20 to 30 pixels, and the aim is to obtain enough effective points to serve our fitting algorithm. In order to reduce the calculation amount of the program, only the value in the highly reflective region determined in the 2D image was calculated in estimating the point cloud coordinates. Point Cloud Complement In order to make the result of point cloud hole completion closer to the real situation, an iterative algorithm for point cloud completion was designed. The point cloud data estimated by the above method were added to the extracted point cloud. In estimating the next point cloud data, the previous added point cloud estimation value was used as a true value for calculation. Although this increases the complexity of the algorithm, the effect of complement is better. The point cloud after complement is shown in Figure 9. Through the above process, a point cloud without holes can be obtained. The overall process is shown in Figure 10. Setup of the Binocular Structured Light Stereo Vision System The experimental setup consisted of a projector with a resolution of 1024 × 176 and two industrial cameras with a resolution of 4608 × 3288 shown in Figure 11a. Firstly, the 3D reconstruction system based on the binocular stereo was calibrated, and the internal and external parameters of the two cameras were obtained to calculate the relative position and direction between them. Zhang's calibration method was used for system calibration, and projection patterns were encoded and decoded with gray codes. Measurement Pipeline of a Weld Surface In order to verify the effectiveness and robustness of the proposed method, a 3D reconstruction of the surface of a weld shown in Figure 11b was performed using the proposed method. In this section, the whole measurement pipeline will be described in detail, including the following steps. Measurement Pipeline of a Weld Surface Step 1: Data collection The coded structured light pattern is projected to the surface of the measured weld in sequence using a projector, and then two industrial cameras are used to take each pattern modulated by the surface of the measured weld. Measurement Pipeline of a Weld Surface Step 2: Identify the high reflective region According to the algorithm pipeline, the first image collected by the two cameras is extracted for analysis. Through image processing operations such as gray-scale, binarization, dilation, and erosion, the coordinate set of images in a highly reflective region is obtained. The xy coordinate range of the point cloud of the high reflective region is determined by expanding the high reflective region by 30 pixels in 2D images. Based on this coordinate range, the point cloud that needs to be complemented is extracted. Measurement Pipeline of a Weld Surface Step 3: Data estimation of point cloud in hole region. Firstly, the extracted point clouds with holes are sliced in X and Y directions. Secondly, the slices are projected to the XY plane, XZ plane, and YZ plane, respectively. Thirdly, the projected discrete points are fitted to the curve using the Smooth Spline method. Finally, calculate the intersection (X, Y) of the fitted curve on the XY plane and estimate the Z value. Measurement Pipeline of a Weld Surface Step 4: Complement the point cloud hole The coordinate value of the point estimated in Step 3 is added to the origin cloud data, and iterative operations are carried out until the estimation of all points is completed. Measurement Pipeline of a Weld Surface In order to accurately evaluate the effect of the proposed method, a coordinate measuring machine (CMM) was used to scan and measure the weld due to its high precision, and the point clouds with holes were automatically filled by Geomagic Studio, which is a very popular and effective software in the field of point cloud processing. Measurement Pipeline of a Weld Surface The 3D reconstruction of the weld with high reflectivity by the proposed method, the result of measurement by CMM, and the effect of the holes filling by Geomagic Studio are shown in Figure 12. Figure 12b shows the 3D reconstruction result of the welding surface with high reflectivity by traditional binocular structured light, which obviously has some holes. Figure 12c is the result of processing by the proposed method. It can be concluded that the proposed method has a good effect by comparing with the CMM measurement result shown in Figure 12e and the filling result by Geomagic Studio shown in Figure 12f. Measurement of Standard Sphere In order to prove that the proposed method can lead to good reconstruction results for objects with high reflective surfaces, a standard sphere with highly reflective surfaces shown in Figure 11c was reconstructed using this method. Since the surface of the standard sphere is reflective, there are holes in the point cloud generated by the traditional binocular structured light stereo vision method. By using the method proposed in this paper, the 3D reconstruction of the standard sphere has no holes. The point clouds generated by the traditional method and the method proposed in this paper were respectively fitted into spheres, and the results are shown in Figure 13. (d-f) the results measured by the proposed method. Conclusions and Future Work This research proposes a 3D reconstruction method based on a binocular structured light stereo vision for the weld surface with high reflection, which can effectively complement the point cloud holes caused by high reflection. This method designed a structured light coding form, which can effectively help the system to identify the high reflective region. The 2D coordinates of the high reflective area were determined by the operations of gray-scale, binarization, dilation, and erosion of the first images taken by the two cameras. According to the mapping from the 2D image to the 3D point cloud, the hole of the point cloud was determined. A two-way slicing method of point cloud based on 2D image pixels was designed. The point cloud of the hole was estimated by the Smoothing Spline method. Experimental results show that this method can accurately reconstruct the surface of the object with a high reflective phenomenon. The reconstructed surface topography is highly consistent with the object being measured and has good smoothness. Conclusions and Future Work The hole identification and two-way slicing methods proposed in this paper are based on 2D images; in other words, these methods are only suitable for the 3D reconstruction schemes that can acquire 2D images and are not suitable for the other 3D reconstruction schemes such as radar and TOF. In the future, further research can be conducted in point cloud slicing and curve fitting to reduce the dependence on 2D images and increase the universality of this method.

섹션 본문 38문단 · 25,599자

(제목 없음)

1The inspection of welding surface quality is an important task for welding work. With the development of product quality inspection technology, automated and machine vision-based inspection have been applied to more industrial application fields because of its non-contact, convenience, and high efficiency. However, challenging material and optical phenomena such as high reflective surface areas often present on welding seams tend to produce artifacts such as holes in the reconstructed model using current visual sensors, hence leading to insufficiency or even errors in the inspection result. This paper presents a 3D reconstruction technique for highly reflective welding surfaces based on binocular style structured light stereo vision. The method starts from capturing a fully lit image for identifying highly reflective regions on a welding surface using conventional computer vision models, including gray-scale, binarization, dilation, and erosion. Then, fringe projection profilometry is used to generate point clouds on the interested area. The mapping and alignment from 2D image to 3D point cloud is then established to highlight features that are vital for eliminating "holes"-large featureless areas-caused by high reflections such as the specular mirroring effect. A two-way slicing method is proposed to operate on the refined point cloud, following the concept of dimensionality reduction to project the sliced point cloud onto different image planes before a Smoothing Spline model is applied to fit the discrete point formed by projection. The 3D coordinate values of points in the "hole" region are estimated according to the fitted curves and appended to the original point cloud using iterative algorithms. Experiment results verify that the proposed method can accurately reconstruct a wide range of welding surfaces with significantly improved precision. Citation: Li, B.; Xu, Z.; Gao, F.; Cao, Y.; Dong, Q. 3D Reconstruction of High Reflective Welding Surface Based on Binocular Structured Light Stereo Vision. Machines 2022, 10, 159.

Introduction

2With the improvement and development of the modern industrial level, welding has become an important industrial processing technology, and welding quality inspection is an important method to ensure the quality of welding. However, a variety of welding defects may occur in the welding process, mainly due to welding workers' technical level, welding materials, processing environment, and other factors. Welding quality inspection affects not only the appearance of the product, but also the structure and strength of the product, and even causes potential safety hazards [1].

3Challenging material and optical phenomena such as high reflective surface areas often present on welding seams tend to produce artifacts such as holes in the reconstructed model using current visual sensors, hence leading to insufficiency or even errors in the inspection result. This research aims at devising an innovative 3D reconstruction technique for high reflective welding surfaces based on binocular style structured light stereo vision. The method starts from extracting a fully lit image for identifying highly reflective regions on a welding surface using conventional computer vision models, including gray-scale, binarization, dilation, and erosion. Then, fringe projection profilometry is introduced to generate point clouds on the interested area.

Literature Review

4There are many sensors that can be used for welding quality inspection, such as arc audible sound, magneto-optical sensors, radiographic [2], and vision sensors [3].

5The arc audible sound method is based on the sound characteristics emerging during the welding process to determine whether the defect is generated. Yusof et al. proposed a method to research the relationship between arc audible sound and weld defect information using wavelet transform [4]. This method can estimate the location of the defect, but its accuracy is not high compared with other inspection methods, and it cannot detect the defects of welds that have already been welded because it relies on sound signals collected during the welding process.

6The magneto-optical imaging method is a method based on Faraday's magneto-optical rotation effect, which inspects the defective condition by detecting the magnetic leakage phenomenon of the weld under magnetic field excitation. Gao et al. compared magneto-optical images of different weld defects by alternating and rotating magnetic fields and found that the optimal excitation magnetic voltage and lift-off value of a rotating magnetic field are 120 V and 20 mm [5]. Although possessing the unique advantage of balanced speed and accuracy, the disadvantage of this method is the complexity of the equipment and its setup.

7Radiographic inspection mainly detects defects inside parts by analyzing the attenuation changes of the recording film, which takes advantage of the photosensitive properties of X-rays. Zou et al. proposed an X-ray-based method to detect weld defects in spiral pipes [6]. Although this method has a good detection effect, it can cause harm to the human body due to the nature of X-rays.

8In contrast, machine vision-based inspection is a method of detecting defects by calculating the surface topography information of welding seams from the image taken by the industrial camera. Because of the convenience and efficiency of visual inspection technology, it can replace manual detection in many fields, and its application is becoming wider [7,8]. The visual inspection can be used to detect various defects on welded surfaces, such as uneven surface and press marks, and can also detect parameters such as width and height of weld in real time [9,10]. Visual inspection can be divided into passive visual inspection and active visual inspection according to different image acquisition methods and feature extraction methods. Passive visual inspection is similar to manual inspection. The defects are detected by comparing the images of welds collected by the camera with the standard welds [11]. Active visual inspection is a method to obtain a series of 3D parameters by projecting coded patterns onto the measured object, such as binocular structured light stereo vision technology [12].

9The 3D reconstruction technology based on structured laser is a method to calculate the surface topography of the measured object according to the modulation of projected laser stripes on the surface. The performance of its reconstruction is affected by the method used to extract the laser stripes, because it is a challenge to accurately extract the center locations of the detected laser stripes. At the same time, in order to reconstruct the entire surface, it needs to add additional mechanical motion to ensure that the laser stripes cover the measured object, which is a disadvantage [13].

10The 3D reconstruction technology and defect inspection method based on binocular structured light are applied by many industrial enterprises because of its high efficiency, accuracy, and no damage to the detected parts [14]. However, binocular stereo vision technology is not ideal for object reconstruction with high reflection on the surface, because it is a method based on 2D images taken by the camera. Due to the phenomenon of overexposure in the high reflection region, as shown in Figure 1, the quality of images taken by the camera will be affected, which will cause the loss of point cloud data, forming holes, and reducing the accuracy of subsequent data analysis. According to the characteristics of the welding process, welding objects in many cases are metal parts of high surface reflection, and the shape of welding surface is mostly curved. Additionally, in some weld surfaces, there will often be some uneven bumps or pits, which aggravate the phenomenon of light reflection. All of these increase the difficulty of applications of visual methods in welding quality inspection [15]. Currently, there are some attempts for 3D reconstruction of highly reflective objects, namely, a few multiple exposure methods, polarization technology, separation of saturated pixels using RGB channels, and machine learning technology. For example, the multiple exposure method is a method to determine suitable projection patterns in different exposure times. Zhang et al. proposed a method to generate a new and suitable fringe pattern by selecting the best pixels from patterns with different exposure times. This method works well but takes a lot of time [16]. Polarization technology refers to the method of using polarizers to filter projected and captured images respectively, so as to obtain better images. However, this method increases the cost of the equipment [17]. The method of the separation of saturated pixels using RGB channels utilizes the different performance of pixels in color space to remove the highly reflective areas [18]. However, sensor noise poses a big challenge for this method. With the development of machine learning technology, the combination of machine learning and fringe projection technology provides a new solution for the 3D reconstruction of high reflective objects. Liu et al. used machine learning to train the exposure time of different surfaces and the number of saturated pixels to solve the problem of high reflection. Although this method achieved good results, the acquisition of training samples has always been a difficult problem for machine learning [19].

11This research investigates techniques and models to enable precision 3D reconstruction of complex welding surfaces based on an innovative binocular structured light stereo vision technique. The proposed technique focuses on the analysis and identification of high reflection regions on the welding surface and devising a fitting algorithm for filling the point cloud "holes"-featureless regions-caused by specular or mirroring reflections, hence significantly improving the accuracy of the reconstructed 3D models for manufacturing applications.

12This paper is structured as follows: The theories and working principles of the proposed method are described in Section 3; experimental design and benchmarking have been presented in Section 4. Key knowledge contributions and envisaged future works have been highlighted in Section 5.

3D Reconstruction Based on Binocular Structured Light Stereo Vision

13Binocular structured light stereo vision technology is an important branch of machine vision. It is a method to obtain 3D geometric information of objects based on the relationship between disparity and depth, which needs to calculate the position deviation of the same point in different images obtained from different cameras. One advantage of this method is that the calibration of the projector is not necessary [20]. The measurement based on binocular structured light stereo vision is described in Figure 2 [21]. In industrial applications, fringe projection profilometry is often used for 3D shape measurement. It can improve the accuracy of 3D reconstruction by projecting structured light with different codes to the measured object to add feature points on the object surface. At present, the commonly used structured light coding methods are gray code, phase shift, and the multi-frequency heterodyne method.

Identification of High a Reflective Region

14It is always a challenge for visual inspection to solve the phenomenon of high reflection on the surface of the measured object because it causes supersaturation of the image taken by the camera, resulting in the loss of effective data and reducing the inspection accuracy. For the binocular structured light stereo vision system proposed in this research, the contour of the welding surface is supposed relatively smooth and the occlusion situation non-existent. Hence, the data loss caused by high reflection is the main reason for the formation of point cloud holes. Therefore, the identification of a high reflective region is a prerequisite in order to improve the visual inspection accuracy of welding seams.

Design the Coding of the Projection Pattern

15In order to identify the high reflection region of the object being measured accurately, a fully lit image that can completely illuminate the object is added before the projected coding pattern, as shown in Figure 3. Through the fully lit projection pattern, the camera can take all the high reflective regions of the measured object under the current visual angle, which provides a good foundation for further research. The effect of the first fully lit projection pattern is shown in Figure 4.

Identification of a High Reflective Region on 2D Images

16The difficulty of identifying the high reflective region on 2D images is evident because the current image processing technology is very mature. Due to the different position and angle of the two cameras in the binocular stereo vision system, the high reflective region in the image taken by each camera has a certain deviation. In the process of 3D reconstruction, the high reflective phenomenon in the images will lead to the decoding failure of the corresponding region, causing the reconstruction failure of the region and the formation of point cloud holes. Therefore, according to the coding rules of projected patterns, the first images captured by the two cameras are taken as the analysis target, respectively (shown in Figure 5a,d), and the processing results will provide a data basis for subsequent point cloud data processing. In order to identify the high reflective region in the image, the process is as follows: Firstly, the image is converted to a gray-scale image. Secondly, an appropriate threshold is selected for binarization operation. Then, the noise points in the image are filtered by the dilation and erosion operation, which can make the high reflective region completely closed inside and facilitate the extraction of the region. Finally, the identified high reflective region is expanded by 20 to 30 pixels to the surrounding region as the final high reflective region (shown in Figure 5b,e), of which the aim is to make the region contain enough effective data to facilitate the subsequent hole completion of the point cloud.

Establish the Mapping between 2D Image and 3D Point Cloud

17In this research, a key task was to rapidly determine the approximate location of holes in a point cloud using a 2D image to 3D point cloud data. There are two schemes for establishing the mapping between 2D images and 3D point clouds. The first scheme is to use the intrinsic and extrinsic parameters of the camera calculated during camera calibration to build the mapping as described in Equation (1).

18where R and T represent the extrinsic parameters of a camera, K denotes the intrinsic parameters, and zc is the depth of a camera. By using Equation (1), a 3D coordinate (Xw, Yw, Zw) in space can be converted to a 2D coordinate (u, v) on the image. The second scheme is to design a new point cloud data format in which the data not only record the 3D coordinates of a point but also record the coordinate value of the point in each image captured by each camera. The theoretical basis of this design is that the 3D coordinates of the point cloud are calculated using triangulation principles based on the coordinate values of the same target points taken in both cameras in the binocular stereo vision system. Therefore, the coordinate value of the point in the two images can be recorded while the coordinates of the point cloud are recorded. In this way, the mapping between the 2D images and the 3D point cloud can be easily determined through the way of query. The second scheme was adopted in the research. An example of an extracted point cloud is shown in Figure 5c.

Two-Way Slicing

19The slicing method is used by researchers for its advantages of high efficiency and easy operation when analyzing point clouds with a large amount of data and complex shapes. Based on the mapping of the image to point cloud, this paper proposes a two-way slicing method (X and Y directions) to perform dimensionality reduction, fitting through estimation.

20According to the coordinate value of the image of the high reflective region determined in Section 3.2.2, the point cloud data were cut and the point cloud information with holes generated due to high reflection was extracted. According to the corresponding 2D coordinate (X, Y) of this point cloud, slices were obtained along with the X and Y directions, respectively, with the width of 1 to 2-pixel values, as shown in Figure 6.

Determine the Method of Curve Fitting

21The slice contains many discrete points in space. The best way to deal with these points is to project them onto a 2D image plane, which can reduce the difficulty of data processing by adopting the idea of dimensionality reduction.

22Since the slice thickness is only 1 to 2 pixels, the projected point cloud plane data can basically reflect the morphology of the slice. Curve fitting is generally used to analyze 2D discrete points after projection. At present, the popular curve fitting methods are Cubic Spline Interpolation, Nearest Neighbor Interpolation, Linear Interpolation, and Smoothing Spline method. In this research, essential steps of the aforementioned techniques were used to fit the discrete points. In order to find the most appropriate curve fitting method, the curves fitted by different methods were compared. The results are shown in Figure 7.

23The curve fitted by the Cubic Spline Interpolation method has great fluctuation and cannot reflect the real surface topography of the measured object. The reason is that the data mutation of discrete points appears, which is because the distance of some points becomes very close after dimensionality reduction. The curves fitted by the Nearest Neighbor Interpolation and Linear Interpolation are not smooth, which does not correspond to the characteristics of continuous and smooth on highly reflective surfaces. The curve fitted by the Smoothing Spline method has no abnormal fluctuation and is very smooth, which can reflect the real surface topography of the measured object. Thus, the Smoothing Spline method Was adopted as our curve fitting method.

Slice Projection in the XY Plane and Calculate the Intersection of the Fitted Curves

24The two slices processed according to the two-way slicing method proposed in Section 3.3 were projected onto the XY plane, respectively, and then the Smoothing Spline method was used for curve fitting to obtain two intersecting curves. The intersection of the two curves was calculated, which can be used as the estimated X and Y of the coordinate of the missing data in the hole region of the point cloud. The results of the projection and the intersection were shown in Figure 8. The slice in the X direction was projected to the XZ plane, and the projection points were fitted to the curve through the Smooth Spline method. Using the X value of the intersection calculated in Section 3.4.2, we estimated the Z value of this point as Z1. Similarly, the slice in the Y direction was projected to the YZ plane, and Z2 was estimated using the intersection point. Combining the estimated values Z1 and Z2 of the two plane curves, we finally considered Z = (Z1 + Z2) as the final estimated value of this point.

25After the curve fitting of the two-way slice on the XY, XZ, and YZ plane, through the calculation of the coordinate value of the intersection point (X, Y) and the estimation of the Z value, the 3D coordinate value of the point at the intersection of the two directions slice was finally estimated as: (X, Y, Z).

26It should be noted that when extracting cloud data with holes, the region is expended by 20 to 30 pixels, and the aim is to obtain enough effective points to serve our fitting algorithm. In order to reduce the calculation amount of the program, only the value in the highly reflective region determined in the 2D image was calculated in estimating the point cloud coordinates.

Point Cloud Complement

27In order to make the result of point cloud hole completion closer to the real situation, an iterative algorithm for point cloud completion was designed. The point cloud data estimated by the above method were added to the extracted point cloud. In estimating the next point cloud data, the previous added point cloud estimation value was used as a true value for calculation. Although this increases the complexity of the algorithm, the effect of complement is better. The point cloud after complement is shown in Figure 9. Through the above process, a point cloud without holes can be obtained. The overall process is shown in Figure 10.

Setup of the Binocular Structured Light Stereo Vision System

28The experimental setup consisted of a projector with a resolution of 1024 × 176 and two industrial cameras with a resolution of 4608 × 3288 shown in Figure 11a. Firstly, the 3D reconstruction system based on the binocular stereo was calibrated, and the internal and external parameters of the two cameras were obtained to calculate the relative position and direction between them. Zhang's calibration method was used for system calibration, and projection patterns were encoded and decoded with gray codes.

Measurement Pipeline of a Weld Surface

29In order to verify the effectiveness and robustness of the proposed method, a 3D reconstruction of the surface of a weld shown in Figure 11b was performed using the proposed method. In this section, the whole measurement pipeline will be described in detail, including the following steps.

30Step 1: Data collection The coded structured light pattern is projected to the surface of the measured weld in sequence using a projector, and then two industrial cameras are used to take each pattern modulated by the surface of the measured weld.

31Step 2: Identify the high reflective region According to the algorithm pipeline, the first image collected by the two cameras is extracted for analysis. Through image processing operations such as gray-scale, binarization, dilation, and erosion, the coordinate set of images in a highly reflective region is obtained. The xy coordinate range of the point cloud of the high reflective region is determined by expanding the high reflective region by 30 pixels in 2D images. Based on this coordinate range, the point cloud that needs to be complemented is extracted.

32Step 3: Data estimation of point cloud in hole region. Firstly, the extracted point clouds with holes are sliced in X and Y directions. Secondly, the slices are projected to the XY plane, XZ plane, and YZ plane, respectively. Thirdly, the projected discrete points are fitted to the curve using the Smooth Spline method. Finally, calculate the intersection (X, Y) of the fitted curve on the XY plane and estimate the Z value.

33Step 4: Complement the point cloud hole The coordinate value of the point estimated in Step 3 is added to the origin cloud data, and iterative operations are carried out until the estimation of all points is completed.

34In order to accurately evaluate the effect of the proposed method, a coordinate measuring machine (CMM) was used to scan and measure the weld due to its high precision, and the point clouds with holes were automatically filled by Geomagic Studio, which is a very popular and effective software in the field of point cloud processing.

35The 3D reconstruction of the weld with high reflectivity by the proposed method, the result of measurement by CMM, and the effect of the holes filling by Geomagic Studio are shown in Figure 12. Figure 12b shows the 3D reconstruction result of the welding surface with high reflectivity by traditional binocular structured light, which obviously has some holes. Figure 12c is the result of processing by the proposed method. It can be concluded that the proposed method has a good effect by comparing with the CMM measurement result shown in Figure 12e and the filling result by Geomagic Studio shown in Figure 12f.

Measurement of Standard Sphere

36In order to prove that the proposed method can lead to good reconstruction results for objects with high reflective surfaces, a standard sphere with highly reflective surfaces shown in Figure 11c was reconstructed using this method. Since the surface of the standard sphere is reflective, there are holes in the point cloud generated by the traditional binocular structured light stereo vision method. By using the method proposed in this paper, the 3D reconstruction of the standard sphere has no holes. The point clouds generated by the traditional method and the method proposed in this paper were respectively fitted into spheres, and the results are shown in Figure 13. (d-f) the results measured by the proposed method.

Conclusions and Future Work

37This research proposes a 3D reconstruction method based on a binocular structured light stereo vision for the weld surface with high reflection, which can effectively complement the point cloud holes caused by high reflection. This method designed a structured light coding form, which can effectively help the system to identify the high reflective region. The 2D coordinates of the high reflective area were determined by the operations of gray-scale, binarization, dilation, and erosion of the first images taken by the two cameras. According to the mapping from the 2D image to the 3D point cloud, the hole of the point cloud was determined. A two-way slicing method of point cloud based on 2D image pixels was designed. The point cloud of the hole was estimated by the Smoothing Spline method. Experimental results show that this method can accurately reconstruct the surface of the object with a high reflective phenomenon. The reconstructed surface topography is highly consistent with the object being measured and has good smoothness.

38The hole identification and two-way slicing methods proposed in this paper are based on 2D images; in other words, these methods are only suitable for the 3D reconstruction schemes that can acquire 2D images and are not suitable for the other 3D reconstruction schemes such as radar and TOF. In the future, further research can be conducted in point cloud slicing and curve fitting to reduce the dependence on 2D images and increase the universality of this method.

참고문헌 21건

  1. Multi-polarization fringe projection imaging for high dynamic range objects Optics Express · Optica Publishing Group · 2014 10.1364/oe.22.010064
  2. Automatic weld defect detection method based on Kalman filtering for real-time radiographic inspection of spiral pipe NDT & E International · Elsevier BV · 2015 10.1016/j.ndteint.2015.01.002
  3. High dynamic range scanning technique Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2008 10.1117/12.791265
  4. Image Segmentation And Reflection Analysis Through Color Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 1988 10.1117/12.946980
  5. Fringe projection techniques: Whither we are? Optics and Lasers in Engineering · Elsevier BV · 2009 10.1016/j.optlaseng.2009.09.001
  6. Vision inspection system for the identification and classification of defects in MIG welding joints The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2011 10.1007/s00170-011-3770-z
  7. Measurement and Defect Detection of the Weld Bead Based on Online Vision Inspection IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2009 10.1109/tim.2009.2028222
  8. Temporal phase unwrapping algorithms for fringe projection profilometry: A comparative review Optics and Lasers in Engineering · Elsevier BV · 2016 10.1016/j.optlaseng.2016.04.022
  9. Vision based Identification and Classification of Weld Defects in Welding Environments: A Review Indian Journal of Science and Technology · Indian Society for Education and Environment · 2016 10.17485/ijst/2016/v9i20/82779
  10. Detection of defects on weld bead through the wavelet analysis of the acquired arc sound signal JOURNAL OF MECHANICAL ENGINEERING AND SCIENCES · Universiti Malaysia Pahang · 2016 10.15282/jmes.10.2.2016.8.0192
  11. Phase shifting algorithms for fringe projection profilometry: A review Optics and Lasers in Engineering · Elsevier BV · 2018 10.1016/j.optlaseng.2018.04.019
  12. A Novel 3-D Path Extraction Method for Arc Welding Robot Based on Stereo Structured Light Sensor IEEE Sensors Journal · IEEE Sensors Council · 2018 10.1109/jsen.2018.2877976
  13. Magneto-optical imaging characteristics of weld defects under alternating and rotating magnetic field excitation Optics & Laser Technology · Elsevier BV · 2018 10.1016/j.optlastec.2018.11.005
  14. High-speed 3D shape measurement using the optimized composite fringe patterns and stereo-assisted structured light system Optics Express · Optica Publishing Group · 2019 10.1364/oe.27.002411
  15. Unsupervised weld defect classification in radiographic images using multivariate generalized Gaussian mixture model with exact computation of mean and shape parameters Computers in Industry · Elsevier BV · 2019 10.1016/j.compind.2019.02.010
  16. Welding defects detection based on deep learning with multiple optical sensors during disk laser welding of thick plates Journal of Manufacturing Systems · Elsevier BV · 2019 10.1016/j.jmsy.2019.02.004
  17. An effective framework for 3D shape measurement of specular surface based on the dichromatic reflection model Optics Communications · Elsevier BV · 2020 10.1016/j.optcom.2020.126210
  18. Visual sensing technologies in robotic welding: Recent research developments and future interests Sensors and Actuators A Physical · Elsevier BV · 2021 10.1016/j.sna.2021.112551
  19. Laser-based structured light technique for 3D reconstruction using Extreme Laser stripes extraction method with global information extraction Optics & Laser Technology · Elsevier BV · 2021 10.1016/j.optlastec.2020.106897
  20. An automatic welding defect location algorithm based on deep learning NDT & E International · Elsevier BV · 2021 10.1016/j.ndteint.2021.102435
  21. High-dynamic-range 3D measurement for E-beam fusion additive manufacturing based on SVM intelligent fringe projection system Surface Topography Metrology and Properties · IOP Publishing · 2021 10.1088/2051-672x/ac0c62