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

A Measurement Method for Large Parts Combining with Feature Compression Extraction and Directed Edge-Point Criterion

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (3) 자동차 인테리어 소재(4) 카시트 모듈

기본 정보

저자
  1. Wei Liu — Key Laboratory for Precision and Non-Traditional Machining Technology of the Ministry of Education, Dalian University of Technology, No. 2 LingGong Road, Dalian 116024, China
  2. Yang Zhang — Key Laboratory for Precision and Non-Traditional Machining Technology of the Ministry of Education, Dalian University of Technology, No. 2 LingGong Road, Dalian 116024, China
  3. Fan Yang — Key Laboratory for Precision and Non-Traditional Machining Technology of the Ministry of Education, Dalian University of Technology, No. 2 LingGong Road, Dalian 116024, China
  4. Peng Gao — Key Laboratory for Precision and Non-Traditional Machining Technology of the Ministry of Education, Dalian University of Technology, No. 2 LingGong Road, Dalian 116024, China
  5. Zhiguang Lan — Key Laboratory for Precision and Non-Traditional Machining Technology of the Ministry of Education, Dalian University of Technology, No. 2 LingGong Road, Dalian 116024, China
  6. Zhenyuan Jia — Key Laboratory for Precision and Non-Traditional Machining Technology of the Ministry of Education, Dalian University of Technology, No. 2 LingGong Road, Dalian 116024, China
  7. Hang Gao — Key Laboratory for Precision and Non-Traditional Machining Technology of the Ministry of Education, Dalian University of Technology, No. 2 LingGong Road, Dalian 116024, China
DOI
10.3390/s17010040
저널
Sensors
발행년도
2016
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
5
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s17010040
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W2561604463

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(3) 자동차 인테리어 소재, (4) 카시트 모듈
R&D 측면
물성·성능 평가
확신도
0.70
근거 용어
aviation composite parts, 3D measurement, deformation, glass fiber composite, load
판단 근거
본 논문은 항공용 복합재(Composite) 부품의 형상 및 변형을 정밀 측정하는 비접촉식 3D 측정 기술을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱(23) 및 자동차 소재(3, 4) 분야에서 복합소재의 구조적 안정성 및 변형 성능을 평가하는 공정/분석 기법으로 응용 가능합니다.
R&D 활용 포인트
엔지니어링 플라스틱 및 자동차용 복합소재 부품의 하중 조건에 따른 변형량 및 기하학적 정밀도를 비접촉식으로 측정하고 분석하는 품질 관리 및 R&D 평가 시스템에 활용 가능합니다.
평가 입력
본문 73,217자 중 30,032자 발췌

초록

High-accuracy surface measurement of large aviation parts is a significant guarantee of aircraft assembly with high quality. The result of boundary measurement is a significant parameter for aviation-part measurement. This paper proposes a measurement method for accurately measuring the surface and boundary of aviation part with feature compression extraction and directed edge-point criterion. To improve the measurement accuracy of both the surface and boundary of large parts, extraction method of global boundary and feature analysis of local stripe are combined. The center feature of laser stripe is obtained with high accuracy and less calculation using a sub-pixel centroid extraction method based on compress processing. This method consists of a compressing process of images and judgment criterion of laser stripe centers. An edge-point extraction method based on directed arc-length criterion is proposed to obtain accurate boundary. Finally, a high-precision reconstruction of aerospace part is achieved. Experiments are performed both in a laboratory and an industrial field. The physical measurements validate that the mean distance deviation of the proposed method is 0.47 mm. The results of the field experimentation show the validity of the proposed method.

본문 73,217자

본문 펼치기
# _sensors_ _Article_ ## A Measurement Method for Large Parts Combining with Feature Compression Extraction and Directed Edge-Point Criterion Wei Liu *, Yang Zhang, Fan Yang, Peng Gao, Zhiguang Lan, Zhenyuan Jia and Hang Gao Key Laboratory for Precision and Non-Traditional Machining Technology of the Ministry of Education, Dalian University of Technology, No. 2 LingGong Road, Dalian 116024, China; yangyangcici@mail.dlut.edu.cn (Y.Z.); yangfandut@mail.dlut.edu.cn (F.Y.); gaopeng3412@mail.dlut.edu.cn (P.G.); lanzhg1009@mail.dlut.edu.cn (Z.L.); Jzyxy@dlut.edu.cn (Z.J.); gaohang@dlut.edu.cn (H.G.) * Correspondence: lw2007@dlut.edu.cn; Tel.: +86-411-8470-8159 Academic Editors: Teen-Hang Meen, Shoou-Jinn Chang, Stephen D. Prior and Artde Donald Kin-Tak Lam Received: 20 July 2016; Accepted: 13 December 2016; Published: 26 December 2016 Abstract: High-accuracy surface measurement of large aviation parts is a significant guarantee of aircraft assembly with high quality. The result of boundary measurement is a significant parameter for aviation-part measurement. This paper proposes a measurement method for accurately measuring the surface and boundary of aviation part with feature compression extraction and directed edge-point criterion. To improve the measurement accuracy of both the surface and boundary of large parts, extraction method of global boundary and feature analysis of local stripe are combined. The center feature of laser stripe is obtained with high accuracy and less calculation using a sub-pixel centroid extraction method based on compress processing. This method consists of a compressing process of images and judgment criterion of laser stripe centers. An edge-point extraction method based on directed arc-length criterion is proposed to obtain accurate boundary. Finally, a high-precision reconstruction of aerospace part is achieved. Experiments are performed both in a laboratory and an industrial field. The physical measurements validate that the mean distance deviation of the proposed method is 0.47 mm. The results of the field experimentation show the validity of the proposed method. Keywords: binocular vision system; feature extraction; active triangulation scanning measurement 1. Introduction High-accuracy three-dimensional (3D) measurement for the surfaces of large objects plays a crucial role in evaluating the safe performance of large aviation parts. The geometrical shape of measured parts directly affects assembly quality. High-accuracy 3D measurement becomes more challenging because of the significant increases of the sizes of major equipment parts. Taking composite skins of aircraft horizontal and vertical tails as examples, they need to be precisely measured to ensure the quality of assembly. Due to the fact that large aviation composite parts are mostly weakly rigid, the parts should be placed on an assembly tool to ensure the part shape. Thus, on-site measurement is required. Moreover, there is requirement for high surface quality of the aviation part, thus the surface of the part should not be pasted anything to prevent the deterioration of the surface quality. In addition, because the scale of aviation parts is always large, the parts should be measured by using a convenient measuring method within finite time in complex on-site environments. Therefore, research in high-accuracy and high-speed on-site measurement for such surfaces is significant for the manufacturing of large aviation parts. _Sensors_ 2017, _17_, 40; doi:10.3390/s17010040 [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2017, _17_, 40 2 of 19 Visual measurement has gradually become an active research area owing to its inherent advantages of non-contact, high accuracy and high speed. Thus, visual measurement is widely used in the measurement of aviation parts [1,2]. At present, three main visual measurement methods are utilized to measure aviation parts: photogrammetry with reflective marks [3–5]; profilometry with projected grating; and machine vision with laser stripes [6–9]. Photogrammetry with reflective marks is a measurement method of high accuracy and stability. However, to measure large parts using this method, numerous markers need to be affixed to the measured surfaces, which is labor-intensive and time-consuming. Furthermore, the sticky material on the marks is difficult to completely remove, which results in damage of the measured surfaces. Profilometry with projected grating uses fewer images than other methods, however its calculation is relatively complicated. In addition, the illumination intensity of the projected grating is low and the field depth is small, so the grating image cannot be obtained in environments under complex illumination. Machine vision with laser stripes is a scanning measurement method, in which the surfaces of parts are reconstructed through scanning laser stripes. With the lasers’ advantages of high brightness, parallelism, and stability, images with high-quality laser stripes can be obtained under complex illumination. Furthermore, relative motion between the objects and cameras is not required during using the active binocular measurement method, so this method is suitable for measuring large aviation parts. Since the centers of the scanning laser stripes are commonly defined as the feature information to reconstruct the surface, the laser stripe center extraction has become a research hotspot. At present, two kinds of extraction methods are used to achieve the stripe extraction: the fitting extraction method based on the Gaussian characteristics of laser stripe and the direct extraction method based on the geometrical characteristic of laser stripe. The fitting extraction method is proposed by Steger [10]. He presented an approach to extract curvilinear lines by using an asymmetric parabolic or Gaussian line model to fit the line profiles. Normally, the high-precision measurement results cannot be obtained without large amount of calculation. Lukas proposed that initial positions of stripe centers could be extracted roughly, and then the centers could be extracted precisely through Gauss fitting of the neighbor 5 pixels in the cross section directions. It had the characteristics of high extraction accuracy for linear stripes as well as a low extraction speed caused by Gauss fitting in each column (row) of the stripes [11]. For improving the measurement accuracy, Steger proposed the Hessian matrix method to get the normal directions of stripes in images. Thus, the extraction of sub-pixel centers is achieved. Then, several corrections and improvements were proposed to make the method more suitable for the computation of normal directions. Bazen [12] proposed the method based on principle component analysis (PCA) to estimate high resolution directional field of an image. Cai [13] utilized the PCA algorithm to obtain the normal directions of the laser stripe. Then the centers could be found in normal directions with second order Taylor series expansion of grayscale distribution function. Liu [14] detected the normal directions of the centerline based on the characteristics of the first derivative of the light stripe and then located the center points in sub-pixel level along the normal directions by using the pixel subdivision and the centroid of gray method. However, these extraction methods cost much time of computation, and the laser stripe in the image should keep the high quality of Gaussian characteristics. However, in the process of measurement for large aircraft parts, the brightness distribution of the laser stripe is not uniform. Moreover, due to the influences of complex environments, the image quality is relatively poor. Thus, the direct extraction methods based on the geometrical characteristic of laser stripe are mostly adopted by current commercial measurement equipment in the field of aircraft assembly, such as the centroid of gray method (COG), geometric center method and maximum value method. The most common method is the method of centroid of gray (COG) [15], which is proposed by Haug [16] and Usamentiaga [17]. This method could get a better extraction results and simultaneously meet the requirements of efficiency and robustness. However, this method is only sub-pixel in one dimension. The measurement accuracy of this method is poor, especially in the boundary of part. The boundary of part is represented by the edge points of laser stripes. Since the edge points of laser stripe have more noise than other part of laser strip, they have lower extraction _Sensors_ 2017, _17_, 40 3 of 19 accuracy than other points. With improving requirement of accuracy, the methods mentioned above cannot guarantee the stability, speed and accuracy of extraction for laser stripes in the sequence images. Moreover, for better analysis of aviation parts, the measurement results should contain more information, including the boundary information of the parts. However, the current commercial measurement equipment cannot be efficiently used in the measurement process of aviation composite part assembly. For solving the above problems, a non-contact measurement method, with high measurement accuracy and speed and containing boundary information, is proposed in this paper. This paper is organized as follows: Section 2 expounds on the measurement principle for large aviation parts. Section 3 describes in detail the extraction and reconstruction algorithms used in the proposed system. Section 4 discusses the laboratory and field experiments, which are conducted to verify the effectiveness of the proposed system. Section 5 concludes the method proposed in this paper. 2. Measurement Principle of the Method The 3D measuring system for large aviation parts utilizes active triangulation scanning measurement based on the binocular stereovision principle. The system consists of two high-speed and high-resolution CMOS cameras, a high-stability line-structured laser projector, and a high-performance image work station. In the process of measurement, a scanning laser stripe is projected on the surface of measured part. Sequential images of the laser stripe are captured by the two cameras. Then, the conversion relation between two-dimensional (2D) image coordinate and 3D space coordinate is established based on the camera calibration. Centers of the laser stripes extracted from the captured images can be reconstructed in the world coordinate system according to calibration results. Therefore, the surface of the measured object is reconstructed based on reconstructions of the scanning laser stripes. Since the laser stripe is the only characteristic information in the measurement process, its extraction accuracy directly determines the surface measurement accuracy of a large part [18]. However, the aviation part is both large and has a rough surface. Further, the illumination in industrial environments is complex. Consequently, capturing high-quality images of laser stripes is difficult, and even the Gaussian characteristic of the laser stripe on the cross section is virtually lost. In addition, because the background of the measurement field is complicated and changeable, the laser stripes projected onto the boundary of the object are not subject to any specific rules. As a result, high-accuracy extraction of the laser stripe on the boundary is difficult to achieve. To overcome this problem, the extraction method of edge points is proposed in this paper which is based on global boundary constraint and the analysis of local stripe feature. First, extraction is carried out based on compression processing to obtain the center of the laser stripes with high accuracy and less amount of calculation. Then, the global boundary of the part is extracted to build the global boundary constraint. Finally, based on the global boundary constraint, the edge points of the laser stripe center are determined. A block diagram of the proposed measuring method and laser stripe capture process is shown in Figure 1. The process of laser-stripe capture is shown in Figure 2. _Sensors_ 2017, _17_, 40 4 of 19 Figure 1. Block diagram of the proposed measuring method. Figure 2. Schematic diagram of laser stripe capture. 3. Extraction Method _3.1._ _Extraction of Laser Stripe Center_ 3.1.1. Sub-Pixel Centroid Extraction Based on Compress Processing In order to meet the aviation parts measurement requirements with high accuracy and speed in the industrial field, the laser stripe center should be extracted highly accurately in the least amount of time possible. Thus, an improved extraction method of laser stripe with high accuracy and less calculation is very important for the achievement of aviation parts’ measurement. Image compression technology can remove the interference information in the original image and retain the structural feature of the measured part [19]. Based on the compression processing technology, a sub-pixel centroid extraction method based on compress processing is proposed in this paper. The proposed method improves extraction accuracy in the industrial field and reduces the time taken to compute the normal direction. In the proposed method, the normal direction of the stripes _Sensors_ 2017, _17_, 40 5 of 19 is calculated using the low-resolution image compressed from the original image based on image compression technology to minimize the computation time. Combined with the stability of the normal direction and the presented judgment criterion of the normal center, the sub-pixel center of the laser stripe is extracted rapidly and precisely. The principle is illustrated in Figure 3. Figure 3. The image compression principle (the compression ratio, _λ_, in this Figure is 4). According to the compression ratio, _λ_, images (resolution _m × n_ ) captured by the binocular camera are compressed into low-resolution images. The _λ × λ_ pixels of the image are compressed to one pixel by computing the average value of the local grayscale. As the image resolution number is even, compression factor _λ_ is defined as an even number to simplify the calculation. _G_ is the grayscale matrix of the original image. _m_ and _n_ are the row and column value, respectively. After compressing the image with factor _λ_, the grayscale matrix of the compressed image can be computed as follows: _G_ <sup>_c_</sup> = _λ_ <sup><u>12</u></sup> <sup>(</sup> <sup>_M_</sup> <sup>_×_</sup> <sup>_G_</sup> <sup>_×_</sup> <sup>_N_</sup> <sup>)</sup> (1) where _G_ <sup>_c_</sup> is the grayscale matrix of the compressed image. For more clarity, letters with the superscript _c_ in this paper denote compressed image information. _M_ and _N_ are compression matrixes with scale _<u>m</u>_ _<u>mλ</u>_ <sup>_× m_</sup> <sup>and</sup> <sup>_n ×_</sup> _λ_ <sup>_<u>n</u>_</sup> _λ_ <sup>_<u>n</u>_</sup> <sup>, respectively.</sup> <sup>The mathematical expressions can be depicted as follows:</sup> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>1</u> _<u>· · ·</u>_ <u>1</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� ���� ���� ���� _λ_ _λ_ _λ_ _n−_ 3 _λ_ ... ... ... ... <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>1</u> _<u>· · ·</u>_ <u>1</u> ���� ���� ���� ���� _n−_ 3 _λ_ _λ_ _λ_ _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ _T_ <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>1</u> _<u>· · ·</u>_ <u>1</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� ���� ���� ���� _λ_ _λ_ _λ_ _m−_ 3 _λ_ ... ... ... ... <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>1</u> _<u>· · ·</u>_ <u>1</u> ���� ���� ���� ���� _m−_ 3 _λ_ _λ_ _λ_ _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ <u>1</u> _<u>· · ·</u>_ <u>1</u> ���� _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ <u>1</u> _<u>· · ·</u>_ <u>1</u> ���� _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ <u>1</u> _<u>· · ·</u>_ <u>1</u> ���� _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ <u>1</u> _<u>· · ·</u>_ <u>1</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� ���� ���� ���� _λ_ _λ_ _λ_ _m−_ 3 _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>1</u> _<u>· · ·</u>_ <u>1</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� ���� ���� ���� _λ_ _λ_ _λ_ _m−_ 3 _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ <u>1</u> _<u>· · ·</u>_ <u>1</u> ���� _λ_ <u>1</u> _<u>· · ·</u>_ <u>1</u> ���� _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ <u>1</u> _<u>· · ·</u>_ <u>1</u> ���� _λ_ <u>1</u> _<u>· · ·</u>_ <u>1</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� ���� ���� ���� _λ_ _λ_ _λ_ _n−_ 3 _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>1</u> _<u>· · ·</u>_ <u>1</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� ���� ���� ���� _λ_ _λ_ _λ_ _n−_ 3 _λ_   <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>1</u> _<u>· · ·</u>_ <u>1</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� ���� ���� ���� _λ_ _λ_ _λ_ _n−_ 3 _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>1</u> _<u>· · ·</u>_ <u>1</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� ���� ���� ���� _λ_ _λ_ _λ_ _n−_ 3 _λ_ (2) _M_ =   <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>1</u> _<u>· · ·</u>_ <u>1</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� ���� ���� ���� _λ_ _λ_ _λ_ _m−_ 3 _λ_ <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> <u>1</u> _<u>· · ·</u>_ <u>1</u> <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� ���� ���� ���� _λ_ _λ_ _λ_ _m−_ 3 _λ_ , _N_ = <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ <u>1</u> _<u>· · ·</u>_ <u>1</u> ���� _λ_   <u>0</u> _<u>· · ·</u>_ <u>0</u> ���� _λ_ <u>1</u> _<u>· · ·</u>_ <u>1</u> ���� _λ_   The compression image is shown in Figure 3. As the structural features of the laser stripes primarily remain after compressing the original image, the normal vector of the stripe can be computed using the compressed image to reduce the calculation time. First, the stripe centers of the low-resolution image are preliminarily extracted using the gray centroid method. The initial values of the centers are used to compute the normal vector of the laser stripe. Thus, the initial center values of the compressed _i_ image are set as _Ci_ <sup>_c_</sup> _i_ <sup>_c_</sup> <sup>=</sup> - _Vi_ <sup>_c_</sup> _i_ <sup>_c_</sup> _Ui_ <sup>_c_</sup> image are set as _Ci_ <sup>_c_</sup> <sup>=</sup> _Vi_ <sup>_c_</sup> _Ui_ <sup>_c_</sup> . _Vi_ <sup>_c_</sup> <sup>and</sup> <sup>_U_</sup> _i_ <sup>_c_</sup> <sup>are the values of the row and column,</sup> <sup>respectively.</sup> The normal vectors of the laser stripe are calculated by fitting the extracted initial center points. As the �. _Vi_ <sup>_c_</sup> _i_ <sup>_c_</sup> <sup>and</sup> <sup>_U_</sup> _i_ <sup>_c_</sup> _Sensors_ 2017, _17_, 40 6 of 19 curvature variation is small in a small region, the polynomial fitting method is used to fit the curve of initial centers. To calculate the normal vector of the stripe center on the _i_ th row, the center of the _i_ th row and centers of the _σ_ rows before and after the _i_ th row are selected. The number of selected points should be greater than four to ensure fitting accuracy. The set of selected points is as follows: _D_ <sup>_c_</sup> _i_ _w_ <sup>_c_</sup> <sup>_|i −_</sup> <sup>_σ ≤_</sup> <sup>_w ≤_</sup> <sup>_i_</sup> <sup>+</sup> <sup>_σ_</sup> <sup>,</sup> <sup>_w ∈_</sup> <sup>N</sup> <sup>_∗_</sup> <sup>,</sup> <sup>_σ ≥_</sup> <sup>3</sup> <sup>_}_</sup> (3) <sup>_c_</sup> _i_ <sup>=</sup> <sup>_{C_</sup> _w_ <sup>_c_</sup> where N <sup>_∗_</sup> is a set of positive integers. Based on the _i_ th-row set of selected points, the fitting equation of the curve of stripe centers can be established as follows: _Fi_ <sup>_c_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_v_</sup> <sup>) =</sup> <sup>_v −_</sup> _t_ ### ∑ _ω_ =0 _ai_, _ωu_ <sup>(</sup> <sup>_t−ω_</sup> <sup>)</sup> = 0 (4) where _ai_, _ω_ is the polynomial fitting coefficient and _v_, _u_ are the row and column variable, respectively. _t_ is the maximal optional polynomial order. Then, the normal vector _∇Fi_ satisfies the following equation: _∇Fi_ <sup>_c_</sup> _i_ <sup>_c_</sup> <sup>=</sup> <sup>_{F_</sup> _iu_ <sup>_c_</sup> _iu_ <sup>_c_</sup> <sup>,</sup> <sup>_F_</sup> _iv_ <sup>_c_</sup> _iv_ <sup>_c_</sup> <sup>_}_</sup> (5) where _F_ <sup>_c_</sup> _iu_ <sup>_c_</sup> <sup>and</sup> <sup>_F_</sup> _iv_ <sup>_c_</sup> where _Fiu_ <sup>_c_</sup> <sup>and</sup> <sup>_F_</sup> _iv_ <sup>_c_</sup> <sup>are partial derivatives of</sup> <sup>_F_</sup> _i_ <sup>_c_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_v_</sup> <sup>) to column</sup> <sup>_u_</sup> <sup>and row</sup> <sup>_v_</sup> <sup>, respectively.</sup> <sup>Therefore,</sup> _Fiu_ <sup>_c_</sup> <sup>and</sup> <sup>_F_</sup> _iv_ <sup>_c_</sup> <sup>can be expressed as follows:</sup> _iu_ <sup>_c_</sup> <sup>and</sup> <sup>_F_</sup> _iv_ <sup>_c_</sup> _iv_ <sup>_c_</sup> <sup>are partial derivatives of</sup> <sup>_F_</sup> _i_ <sup>_c_</sup> _iv_ <sup>_c_</sup> <sup>can be expressed as follows:</sup> _Fiu_ <sup>_c_</sup> <sup>= (</sup> <sup>_t −_</sup> <sup>_j_</sup> <sup>)</sup> _t−_ 1 ### ∑ _j_ =0 _ai_, _ωu_ <sup>(</sup> <sup>_t−j−_</sup> <sup>1)</sup>, _Fiv_ <sup>_c_</sup> <sup>= 1</sup> (6) Subsequently, using the hierarchical calculation method, the normal vectors obtained in the compressed image can be restored to the original image. According to the principle of compression, one row of pixels in the compressed image represents _λ_ rows in the original image. Thus, the normal vector at each row of laser stripe in the compressed image is defined as the one at the ( _λ_ + 1)/2 row of laser stripe in the original image: _∇Fi_ <sup>_c_</sup> <sup>=</sup> <sup>_∇F_</sup> _λ_ ( _i−_ 1)+( _λ_ +1)/2 (7) _∇Fλ_ ( _i−_ 1)+( _λ_ +1)/2 is the normal vector of the center in the row _λ_ ( _i −_ 1) + ( _λ_ + 1)/2 of the original image. According to the normal vector of the rows before and after the selected row in the compressed image, the normal vectors of the middle rows in the original image can be acquired via linear interpolation. The computation equation is as follows: _×_ <sup>_<u>h −</u>_</sup> <sup><u>1/2</u></sup>, _h_ = 1, 2, 3, . . ., _λ_ (8) <u>���</u> _λ_ /2 _<u>i</u>_ _∇Fj_ = _{∇Fju_, _∇Fjv}_ = _∇Fλ_ ( _i−_ 1)+ _λ_ /2+ _h_ = <sup>_∇Fc_</sup> <u>��</u> _∇Fic_ _<u>i</u>_ <u>+1</u> <u>��</u> + <sup>_∇Fc_</sup> <u>���</u> _∇Fic_ +1 therefore, stripe slope _kj_ of the stripe center on the _j_ th row of the original image can be calculated as follows: _kj_ = _∇Fjv_ / _∇Fju_ (9) The stripes slopes have two special limiting values: infinity and infinitely close to zero. When the slope is infinitely close to zero, specifically, �� _kj_ �� _≤_ _ε_ ( _ε_ = 10 _−_ 10), the normal vector of laser stripe is slope is infinitely close to zero, specifically, �� _kj_ �� _≤_ _ε_ ( _ε_ = 10 _−_ 10), the normal vector of laser stripe is approximately parallel to the column vector of the image. In this case, the grayscale values of the stripe are ascertained along with the column direction of the image. When the slope is close to infinity, namely �� _kj_ �� _≥_ _ξ_ ( _ξ_ = 1010), the normal direction is approximately parallel to the row vector of the namely �� _kj_ �� _≥_ _ξ_ ( _ξ_ = 1010), the normal direction is approximately parallel to the row vector of the image. In this case, the grayscale values of the stripe are ascertained along with the row direction of the image. With the exception of these two special situations, the grayscale values of the stripe are ascertained along with the normal direction. The two special situations are as shown in Figure 4. _Sensors_ 2017, _17_, 40 7 of 19 ( a ) ( b ) Figure 4. Different normal slope value situations: ( a ) parallel with column; and ( b ) parallel with row. After calculating the normal slopes, the centers of the laser stripes on the original image are extracted. First, the centers are preliminarily extracted. In the process of image acquisition, the quality of the images is affected by noise caused by various factors such as the quality of the sensor and ambient light. Therefore, a Gaussian filter is used to preprocess the image before stripe center extraction to remove some of the image noise. Then, the original image is binarized and the edge of the laser stripe is extracted [20]. The sequence of the points on the edge is denoted as _B_ . Next, the centroid of gray method is used to calculate the pixel coordinates of the stripe centers on the original image. To facilitate subsequent analysis and calculation, the pixel coordinates of the centers are rounded off. The rounded values are defined as the initial values of the stripe centers of the original image, denoted - as _Coj_ = _Voj_ _Uoj_ . Combined with the initial values of the stripe centers and their corresponding normal slopes, the grayscale information in the normal direction of the original image is determined, and the gray centroid along the normal direction of the stripe is obtained. Traditionally, the stripe center is acquired by using the algorithm of COG in normal direction at one row of the laser stripe. However, because the quality of the captured image is poor in an industrial setting, the extraction accuracy of the stripe center is easily affected by error points. Consequently, in this paper, interpolation and edge judgment are adopted to improve the judgment criterion of the normal pixels and to precisely calculate the gray centroid. The following procedure is utilized. The process of Gray centroid judgment is shown in Figure 5. as _Coj_ = _Voj_ _Uoj_ Figure 5. Gray centroid judgment criterion. _Sensors_ 2017, _17_, 40 8 of 19 Determine the Points on the Normal Direction of the Laser Stripes The normal line of the stripe intersects with both the row and column of the image. As selecting all these intersections would increase the computation burden, owing to the significant amounts of redundant data present, considering the characteristics of the laser image, the search is conducted along the intersections of the row or column, which results in more intersections without redundant data. The sequence of the stripe slopes _K_ = - _kj_ �� _j_ = 1, 2, 3, . . ., _m_ - is the set of normal slopes of the data. The sequence of the stripe slopes _K_ = - _kj_ �� _j_ = 1, 2, 3, . . ., _m_ - is the set of normal slopes of the initial center point in each row of the original image. Then, the numbers of �� _kj_ �� _<_ 1 and �� _kj_ �� _>_ 1 in the - _kj_ initial center point in each row of the original image. Then, the numbers of �� _kj_ �� _<_ 1 and �� _kj_ �� _>_ 1 in the sequence _K_ are calculated, denoted as _NK<_ 1 and _NK>_ 1 respectively. When _NK<_ 1 _>_ _NK>_ 1, the stripe has more normal vectors with a smaller angle in the column direction. The stripe is defined as a column stripe. The length of these laser stripes is distributed in the row and the width is distributed in the column. Therefore, the pixel points for these stripes are sought in the column. Conversely, when _NK<_ 1 _<_ _NK>_ 1, the stripes can be defined as row stripes, and so they are sought in the row. Select Pixel Points Let us take a column stripe as an example stripe that is sought by the column. The pixel-point selection method is as follows: the preliminary stripe centers of the original image _Coj_ = _Voj_ _Uoj_ are taken as the initial points. Then, _Uoj_ is rounded to infinity and zero, respectively, denoted as _Up_ <sup>0</sup> _j_ and _Um_ <sup>0</sup> _j_ <sup>.</sup> <sup>Next, the pixel points are sought along the normal direction where the slope of the normal</sup> line is _kj_ according to the manner in which the column increases and decreases. Then, the pixel points where the stripe normal intersects with the column vector of the original image can be determined. Therefore, the column vector in the increasing and decreasing direction can be obtained as _Up_ <sup>_s_</sup> _j_ <sup>and</sup> _Um_ <sup>_s_</sup> _j_ <sup>, respectively:</sup> _Up_ <sup>_s_</sup> _j_ <sup>+1</sup> <sup>_s_</sup> _j_ <sup>+ 1,</sup> <sup>_Ums_</sup> _j_ <sup>+1</sup> <sup>_s_</sup> _j_ <sup>_−_</sup> <sup>1,</sup> <sup>_s_</sup> <sup>= 0, 1, 2, 3 . . .</sup> (10) <sup>_s_</sup> _j_ <sup>+1</sup> = _Up_ <sup>_s_</sup> _j_ <sup>_s_</sup> _j_ <sup>+1</sup> = _Um_ <sup>_s_</sup> _j_ The row vector where the stripe normal intersects with the column vector is + _Voj_ (11) - _Um_ <sup>_s_</sup> _j_ <sup>_−_</sup> <sup>_Uoj_</sup> - _Um_ <sup>_s_</sup> _j_ - + _Voj_, _Vm_ <sup>_s_</sup> _j_ <sup>=</sup> <sup>_kj_</sup> - + _Voj_, _Vm_ <sup>_s_</sup> _j_ _Vp_ <sup>_s_</sup> _j_ <sup>=</sup> <sup>_kj_</sup> _Vp_ <sup>_s_</sup> _j_ - _Up_ <sup>_s_</sup> _j_ <sup>_−_</sup> <sup>_Uoj_</sup> - _Up_ <sup>_s_</sup> _j_ Then, the sets of selected points in the increasing and the decreasing direction are expressed as _Dp_ _j_ and _Dm_ _j_, respectively: - _Vm_ <sup>_s_</sup> _j_ ��� _Cpsj_ <sup>=</sup> - _Vp_ <sup>_s_</sup> _j_ _j_ <sup>_s_</sup> _j_ <sup>_≤_</sup> <sup>_n_</sup> <sup>,</sup> <sup>_s_</sup> <sup>= 0, 1, 2, 3 . . .</sup> _Dp_ _j_ = _Dm_ _j_ = - _Cp_ <sup>_s_</sup> _j_ _j_ ��� _Cmsj_ <sup>=</sup> <sup>_s_</sup> _j_ _Up_ <sup>_s_</sup> _j_ �, 0 _< Vp_ <sup>_s_</sup> _j_ <sup>_s_</sup> _j_ <sup>_≤_</sup> <sup>_m_</sup> <sup>, 0</sup> <sup>_< Ups_</sup> _j_ <sup>_s_</sup> _j_ <sup>_≤_</sup> <sup>_n_</sup> <sup>,</sup> <sup>_s_</sup> <sup>= 0, 1, 2, 3 . . .</sup> - _Cm_ <sup>_s_</sup> _j_ _j_ - (12) �, 0 _< Vm_ <sup>_s_</sup> _j_ <sup>_s_</sup> _j_ <sup>_≤_</sup> <sup>_m_</sup> <sup>, 0</sup> <sup>_< Ums_</sup> _j_ <sup>_s_</sup> _j_ _Um_ <sup>_s_</sup> _j_ where _Cp_ <sup>_s_</sup> _j_ <sup>_s_</sup> _j_ <sup>and</sup> <sup>_Cms_</sup> _j_ where _Cp_ <sup>_s_</sup> _j_ <sup>and</sup> <sup>_Cms_</sup> _j_ <sup>are, respectively, the selected pixel center in the increasing and the decreasing</sup> direction. Then, two critical points are obtained, which are the intersection points between the edge of laser stripe and the normal line of laser stripe. Since the edge of laser stripe is composed of discrete points, the extraction criterion of critical points is as follows. Firstly, extreme points of stripe edge at each row are recorded by using parameters _Uh_ <sup>max</sup> and _Uh_ <sup>min</sup> . They are the maximum and minimum column values of stripe edge at the _h_ th row of image, respectively. According to extreme points, the critical points are determined. To facilitate this method introduction, the calculation method of critical _h_ <sup>max</sup> and _Uh_ <sup>min</sup> in the increasing direction is taken as point that belongs to the sequence of selected points. - _Cp_ <sup>_s_</sup> _j_ _j_ <sup>0</sup> _j_ <sup>and</sup> <sup>_Vp_</sup> <sup>0</sup> _j_ an example. _Cp_ <sup>0</sup> _j_ - _Vp_ <sup>0</sup> _j_ <sup>0</sup> _j_ <sup>=</sup> <sup>0</sup> _j_ _Up_ <sup>0</sup> _j_ - is the initial point. Row vector _Vp_ <sup>0</sup> _j_ <sup>0</sup> _j_ <sup>is rounded to</sup> <sup>_Vp_</sup> <sup>0</sup> _j_ _j_ <sup>=</sup> _j_ _j_ _j_ <sup>is rounded to</sup> <sup>_Vp_</sup> <sup>0</sup> _j_ <sup>and</sup> <sup>_Vp_</sup> <sup>0</sup> _j_ is marked as _h_ for brevity. When _Uh_ <sup>min</sup> _≤_ _Up_ <sup>0</sup> _j_ <sup>_≤_</sup> <sup>_U_</sup> _h_ <sup>max</sup> is satisfied, the selected pixel point is the one on the laser stripe. Then, _Cp_ <sup>1</sup> _j_ <sup>is</sup> <sup>calculated</sup> <sup>based</sup> <sup>on</sup> <sup>Equations</sup> <sup>(11)</sup> <sup>and</sup> <sup>(12).</sup> <sup>Next,</sup> <sup>the</sup> <sup>edge</sup> _h_ <sup>min</sup> _≤_ _Up_ <sup>0</sup> _j_ <sup>0</sup> _j_ <sup>_≤_</sup> <sup>_U_</sup> _h_ <sup>max</sup> _h_ <sup>max</sup> is satisfied, the selected pixel point is the one on the laser stripe. Then, _Cp_ <sup>1</sup> _j_ condition of _Cp_ <sup>1</sup> _j_ <sup>is determined in the same manner as the initial point.</sup> <sup>The iterative calculation is</sup> terminated when _h_ = _Vpj_ <sup>_pm_</sup> <sup>+1</sup>, _j_ <sup>_pm_</sup> <sup>+1</sup>, _Upj_ <sup>_pm_</sup> <sup>+1</sup> _j_ <sup>_pm_</sup> <sup>+1</sup> _< Uh_ <sup>min</sup> _h_ <sup>min</sup> _orUpj_ <sup>_pm_</sup> <sup>+1</sup> _h_ <sup>max</sup> . The critical point in the increasing _j_ <sup>_pm_</sup> <sup>+1</sup> _> Uh_ <sup>max</sup> _Sensors_ 2017, _17_, 40 9 of 19 direction is denoted as _Cp_ <sup>_ep_</sup> _j_ <sup>.</sup> <sup>_ep_</sup> _j_ <sup>.</sup> <sup>The one in the decreasing direction</sup> <sup>_Cmem_</sup> _j_ direction is denoted as _Cp_ <sup>_ep_</sup> _j_ <sup>.</sup> <sup>The one in the decreasing direction</sup> <sup>_Cmem_</sup> _j_ is obtained in the same manner. The equation is - _Vm_ <sup>_s_</sup> _j_ _j_ <sup>_s_</sup> _j_ <sup>_≤_</sup> <sup>_n_</sup> <sup>,</sup> <sup>_s_</sup> <sup>= 0, 1, 2, 3 . . .</sup> <sup>_ep_</sup> - _Vp_ <sup>_s_</sup> _j_ <sup>_s_</sup> _j_ _Up_ <sup>_s_</sup> _j_ _Dp_ _j_ = _Dm_ _j_ = - _Cp_ <sup>_s_</sup> _j_ - _Cp_ <sup>_s_</sup> _j_ ��� _Cpsj_ <sup>=</sup> _j_ �, 0 _< Vp_ <sup>_s_</sup> _j_ <sup>_s_</sup> _j_ <sup>_≤_</sup> <sup>_m_</sup> <sup>, 0</sup> <sup>_< Ups_</sup> _j_ _j_ <sup>_s_</sup> _j_ <sup>_≤_</sup> <sup>_n_</sup> <sup>,</sup> <sup>_s_</sup> <sup>= 0, 1, 2, 3 . . .</sup> <sup>_em_</sup> - _Cm_ <sup>_s_</sup> _j_ - (13) �, 0 _< Vm_ <sup>_s_</sup> _j_ <sup>_s_</sup> _j_ <sup>_≤_</sup> <sup>_m_</sup> <sup>, 0</sup> <sup>_< Ums_</sup> _j_ ��� _Cmsj_ <sup>=</sup> <sup>_s_</sup> _j_ _Um_ <sup>_s_</sup> _j_ Finally, the set of selected pixel points in the _j_ th row is arranged as _j_ ��� _Cjs_ <sup>=</sup> - _Vj_ <sup>_s_</sup> _D_ _j_ = - _Cj_ <sup>_s_</sup> _j_ <sup>_s_</sup> _Uj_ <sup>_s_</sup> - , _s_ = 1, 2, 3, . . . : when _Uoj_ (the column vector of the initial center) is <sup>0</sup> _j̸_ <sup>=</sup> <sup>_Um_</sup> <sup>0</sup> _j_ non-integer, we can get _Up_ <sup>0</sup> _j̸_ _̸_ <sup>0</sup> _j_ <sup>.</sup> <sup>Thus,</sup> <sup>_D_</sup> <sup>_j_</sup> <sup>=</sup> <sup>_Dm_</sup> <sup>_j ∪_</sup> <sup>_Dp_</sup> _j_ <sup>is chosen as the set of pixel points; when</sup> _Uoj_ is an integer, _Up_ <sup>0</sup> _j_ <sup>0</sup> _j_ <sup>=</sup> <sup>_Um_</sup> <sup>0</sup> _j_ <sup>0</sup> _j_ <sup>is obtained.</sup> <sup>The set of selected pixel points without repeat points</sup> <sup>_Cp_</sup> <sup>0</sup> _j_ <sup>0</sup> _j_ <sup>is</sup> - _Cp_ <sup>0</sup> _j_ - _Cp_ <sup>0</sup> _j_ chosen. This is denoted as _D_ _j_ = _Dm_ _j ∪_ _Dp_ _j −_ Calculate the Grayscale of the Selected Point <sup>0</sup> �. Since the selected points are obtained via the sub-pixel algorithm, the grayscales of selected points should be calculated via interpolation. The row value _Vj_ <sup>_s_</sup> <sup>of selected pixel point</sup> <sup>_C_</sup> _j_ <sup>_s_</sup> <sup>is rounded towards</sup> plus infinity and zero, respectively, which are denoted as _Vj_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>) and</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_zero_</sup> <sup>).</sup> <sup>If</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>) =</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_zero_</sup> <sup>),</sup> _j_ <sup>_s_</sup> <sup>of selected pixel point</sup> <sup>_C_</sup> _j_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>) =</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>) and</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_zero_</sup> <sup>).</sup> <sup>If</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> plus infinity and zero, respectively, which are denoted as _Vj_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>) and</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_zero_</sup> <sup>).</sup> <sup>If</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>) =</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_zero_</sup> <sup>),</sup> the row vector _Vj_ <sup>_s_</sup> <sup>is an integer.</sup> <sup>Hence, the grayscale of this point is</sup> <sup>_I_</sup> _j_ <sup>_s_</sup> <sup>, that is, the grayscale of the</sup> selected pixel point is: _j_ <sup>_s_</sup> <sup>is an integer.</sup> <sup>Hence, the grayscale of this point is</sup> <sup>_I_</sup> _j_ <sup>_s_</sup> _Ij_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>=</sup> <sup>_Iv_</sup> <sup>,</sup> <sup>_u_</sup> <sup>,</sup> <sup>_v_</sup> <sup>=</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>),</sup> <sup>_u_</sup> <sup>=</sup> <sup>_U_</sup> _j_ <sup>_s_</sup> _j_ <sup>_s_</sup> (14) where _v_, _u_ represent the row and column values of the original image. _Iv_, _u_ is the grayscale in the _v_ th row and _u_ th column in the original image. If _Vj_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>)</sup> <sup>_̸_</sup> <sup>=</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_zero_</sup> <sup>), the interpolation method is used to</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>)</sup> <sup>_̸_</sup> <sup>=</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(</sup> row and _u_ th column in the original image. If _Vj_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>)</sup> <sup>_̸_</sup> <sup>=</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_zero_</sup> <sup>), the interpolation method is used to</sup> calculate the grayscale: _j_ <sup>_s_</sup> <sup>(</sup> <sup>_zero_</sup> <sup>)</sup> _Ij_ <sup>_s_</sup> _×_ _Ij_ <sup>_s_</sup> <sup>=</sup> - _Vj_ <sup>_s_</sup> <sup>_−_</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_zero_</sup> <sup>)</sup> - _×_ - _Iv′_, _u′_ _−_ _Iv_, _u_ - + _Iv_, _u_ _v_ = _Vj_ <sup>_s_</sup> <sup>(</sup> <sup>_zero_</sup> <sup>),</sup> <sup>_v′_</sup> <sup>=</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>),</sup> <sup>_u_</sup> <sup>=</sup> <sup>_u′_</sup> <sup>=</sup> <sup>_U_</sup> _j_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>=</sup> - _Vj_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_zero_</sup> <sup>),</sup> <sup>_v′_</sup> <sup>=</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>_−_</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>(</sup> <sup>_one_</sup> <sup>),</sup> <sup>_u_</sup> <sup>=</sup> <sup>_u′_</sup> <sup>=</sup> <sup>_U_</sup> _j_ <sup>_s_</sup> - _Iv′_, _u′_ _−_ _Iv_, _u_ (15) _j_ where _Iv′_, _u′_ and _Iv_, _u_ are the grayscales in ( _Vj_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>(one),</sup> <sup>_U_</sup> _j_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>)</sup> <sup>and</sup> <sup>(</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>(zero),</sup> <sup>_U_</sup> _j_ <sup>_s_</sup> where _Iv′_, _u′_ and _Iv_, _u_ are the grayscales in ( _Vj_ <sup>_s_</sup> <sup>(one),</sup> <sup>_U_</sup> _j_ <sup>_s_</sup> <sup>)</sup> <sup>and</sup> <sup>(</sup> <sup>_V_</sup> _j_ <sup>_s_</sup> <sup>(zero),</sup> <sup>_U_</sup> _j_ <sup>_s_</sup> <sup>)</sup> <sup>of</sup> <sup>the</sup> <sup>original</sup> <sup>image,</sup> respectively. There is an exceptional situation in which the row vector of the selected point is the extreme value of the image row; that is, _Vj_ <sup>_s_</sup> <sup>_<_</sup> <sup>1.</sup> <sup>In this case, the gray value</sup> <sup>_I_</sup> _j_ <sup>_s_</sup> <sup>is defined as the value</sup> where _Vj_ <sup>_s_</sup> <sup>= 1.</sup> _j_ <sup>_s_</sup> <sup>_<_</sup> <sup>1.</sup> <sup>In this case, the gray value</sup> <sup>_I_</sup> _j_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>= 1.</sup> Extract the Gray Centroid On the basis of the above calculation, the gray centroid in the normal direction of the initial point in the _j_ th row of the original image has been calculated. In addition, the corresponding grayscale _Ij_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>of the selected pixel points</sup> <sup>_C_</sup> _j_ <sup>_s_</sup> _Ij_ <sup>_s_</sup> <sup>of the selected pixel points</sup> <sup>_C_</sup> _j_ <sup>_s_</sup> <sup>have been obtained.</sup> <sup>Thus, the gray centroid</sup> <sup>_Cj_</sup> <sup>in the row can be</sup> extracted based on the results of the selected pixel points and corresponding grayscale. The equation is as follows: _j_ / - _η_ ### ∑ _s_ =1 _Ij_ <sup>_s_</sup> (16) _Cj_ = _η_ ### ∑ _s_ =1 - _Cj_ <sup>_s_</sup> _j_ <sup>_s_</sup> <sup>_I_</sup> _j_ <sup>_s_</sup> where _η_ is the number of the selected pixel points _Cj_ <sup>_s_</sup> <sup>.</sup> 3.1.2. Edge-Point Extraction Based on Directed Arc-Length Criterion In the manufacturing process, the boundary of the aerodynamic shape is usually used as the geodetic datum owing to the deformation of a large aviation space. Thus, accurate extraction of the boundary is critical to the detection of aviation parts. Because the measuring environments in the industrial field are complicated, much noise is generated in the process of image acquisition. Thus, the quality of the images captured in industrial environments is poor, especially in the boundary _Sensors_ 2017, _17_, 40 10 of 19 region. Conventionally, the noise is reduced using data analysis software. However, some information of boundary of the measured object is lost as a result of deleting the points with a certain distance from the measuring plane. In order to reconstruct the aerodynamic shape more accurately, the boundary of the parts should be precisely extracted to retain the geometric features of the parts more completely. Therefore, a method based on global boundary constraint and the analysis of local stripe feature is proposed in this paper to obtain more accurate information about the laser stripes on the edge of the parts. Carbon fiber composite material is widely used in the manufacture of aviation parts. Because the surface of the composite material is black, absorbance is high. When the light entering the camera is increased, the camera gets more of the light reflected from the background than the light reflected from the surface of the part. Thus, there is a substantial contrast between the part and background. Using this high contrast, a global boundary is first extracted in this study as constraints of the edges of the laser stripes. The global boundary image acquisition method is as follows. Before scanning the laser stripes, the exposure time of the camera is increased. With added light into the camera, a non-stripe image with a large contrast between the boundary of the part and the background is captured based on the surface characteristic of the carbon fiber. If the reflectance of the background is low, reflective tapes can be pasted on the border area of the parts’ back. Therefore, the boundary of the part has a high contrast with the background of the image. The boundary constraint of the laser stripe can be established by extracting the entire boundary of the part. The procedure is as follows: First, the region of the part is selected to establish the region of interest and reduce the quantum of calculation. Then, the image is processed using a median filter to denoise it. Following binarization of the image and deletion of the small/big area affected by noise, the global boundaries of the part are preliminarily extracted using an edge-detector algorithm. Finally, the boundaries of the parts are confirmed via the intersection seek method and marked as _B_ _g_ = _{Qα_ = ( _uα_, _vα_ ) _|α_ = 1, 2, 3, . . . _}_, where _Qα_ ( _u_, _v_ ) is the pixel coordinates of the extracted points of the boundary. Based on the constraint of the global boundary, a point on the local edge is determined from the extracted centers of scanning laser stripes. In this paper, an edge-point extraction method based on directed arc-length criterion is adopted to determine whether the laser stripe centers are within the global boundary. The principle of the arc-length method is to calculate the sum of the directed arc-lengths that the edge points projected onto a unit circle with the center of the judged point. The principle is shown in Figure 6. The graph enclosed by the boundary is closed and directed. A unit circle is constituted with the center of the judged point. The edge points are connected to the center in accordance with a certain sequence. The intersections of these connections and the unit circle are defined as projection points. In accordance with the sequence, the directed unit arc-lengths of the projection points are summed in a manner that the angle is less than or equal to 180 degrees. If the judged point is on or within the boundary, the sum of the directed arc length is 2 _π_, and the point is called an interior point; if it is outside of the global boundary, the sum is zero. Figure 6. Schematic diagram of the directed arc-length method: ( a ) point inside the boundary; and ( b ) point outside the boundary. _Sensors_ 2017, _17_, 40 11 of 19 Because of the large amount of laser stripe centers and boundary constraint, we improved the method to determine the point of the local edge based on the arc-length method. For convenient introduction, the column laser stripe is taken as an example. The extracted center of the laser stripe is arranged in an extraction order with the increasing of the column value of the image. Therefore, the points of the edge are distributed on the regions of the starting and ending, respectively. We judge the extracted light strip centers from the two ends of the center sequence. According to Equation (16), the center sequence of a laser stripe is defined as - _Cj_ �� _j_ = 1, 2, . . ., _η_ �. First, the initial point of the center the center sequence of a laser stripe is defined as - _Cj_ �� _j_ = 1, 2, . . ., _η_ �. First, the initial point of the center sequence is judged as to whether it is within the boundary, that is, when _j_ = 1, _Cj_ is judged whether it has met the requirements of the interior point. Because the boundary consists of thousands of points, the minimum bounding rectangle _REC_ min of the global boundary is taken as an initial boundary to simplify the calculation. The rectangle is described as follows: - _Cj_ _REC_ min = _{_ (min( _vα_ ), min( _uα_ )), (min( _vα_ ), max( _uα_ )), (max( _vα_ ), max( _uα_ )), (max( _vα_ ), min( _uα_ )) _}_ (17) Four vertexes are marked as _RE_ 1, _RE_ 2, _RE_ 3, _RE_ 4, respectively. The sum of the directed arc-length _⌢_ _⌢_ 3 _⌢_ _⌢_ _lRE_ is calculated as _lRE_ = ∑ _li_, _i_ +1 + _l_ 4,1. If the arc-length is zero, _Cj_ is not an interior point, and _Cj_ +1 is _⌢_ _lRE_ = 3 ∑ _i_ =1 _⌢_ _l_ 4,1. If the arc-length is zero, _Cj_ is not an interior point, and _Cj_ +1 is _⌢_ _li_, _i_ +1 + judged. If the arc-length is 2 _π_, the directed arc-length of points on the global boundary is summed: _⌢_ _lg_ = _η−_ 1 ### ∑ _i_ =1 _⌢_ _li_, _i_ +1+ _⌢_ _lη_,1 (18) _⌢_ if _lg_ does not meet the requirements of the interior point, the next point is sequentially judged. The calculation continues until the inner point appears. The inner point is considered as a boundary point _C_ _f_ of the laser stripe. Similarly, another edge point is judged from another end of the center sequence. Then, a series of laser stripe centers - _Cj_ �� _j_ = _f_, _f_ + 1, . . ., _l −_ 1, _l_ - is reserved as the center if sequence. Then, a series of laser stripe centers - _Cj_ �� _j_ = _f_, _f_ + 1, . . ., _l −_ 1, _l_ - is reserved as the center points within the boundary. Parameters _f_ and _l_ are the first number and last number, respectively. - _Cj_ _3.2._ _Feature Reconstruction_ 3.2.1. System Calibration High-accuracy vision measurement system calibration is the key and foundation to ensure the measurement accuracy of large parts. In this paper, the binocular system is calibrated using the two-dimensional target calibration method presented by Zhang [21]. In order to reduce the influence of the lens distortion on measurement accuracy, the correction coefficient for the radial distortion is introduced. Further, the pinhole model is modified to ensure high-accuracy calibration of the high-speed camera [7]. The corresponding equation is as follows: _Xw_ _Yw_ _Zw_ 1  (19)    _u_ ˆ <sup>2</sup> + _v_ ˆ <sup>2</sup> ( ˆ _u_ <sup>2</sup> + _v_ ˆ <sup>2</sup> ) <sup>2</sup> 1   = _Ml_   _u_ ˆ _v_ ˆ 1   _k_ 1 ˆ _u_ _k_ 2 ˆ _u_ 0 _k_ 1 ˆ _v_ _k_ 2 ˆ _v_ 0 0 0 1   + _Zc_   _Zc_   is the real image point caused by distortion, and _k_ 1, _k_ 2 are known as the first-and where, _u_ ˆ _v_ ˆ is the three-dimensional coordinates of second-order distortion coefficients. _Xw_ _Yw_ _Zw_ an image point in the world coordinate system; _Zc_ is a scale factor; _M_ <sup>_l_</sup> represents the camera parameters. Calibration of the binocular camera from two dimensions to three dimensions is achieved via LM optimization. _Sensors_ 2017, _17_, 40 12 of 19 3.2.2. Features Matching and Reconstruction The matching and reconstruction of corresponding feature points on the left and right images are essential to realizing high-accuracy 3D measurements. The illustration of the matching and reconstruction process is shown in Figure 7. Figure 7. Illustration of the matching and reconstruction process. Based on basic epipolar constraint, the corresponding points of laser stripe centers on the left image and right image are matched [22]. The parameters of matching are obtained by using the 8-point algorithm [23]. Then the matching points are reconstructed according to the basic principle of binocular vision reconstruction and the parameters of reconstruction are obtained based on the results of camera calibration [24]. The 3Dcoordinates of a point _Pi_ are reconstructed based on the following equation: _Xwm_ <sup>_l_</sup> _Xwm_ 11 <sup>_l_</sup> <sup>+</sup> <sup>_Ywm_</sup> 12 <sup>_l_</sup> <sup>+</sup> <sup>_Zwm_</sup> 13 <sup>_l_</sup> <sup>+</sup> <sup>_m_</sup> 14 <sup>_l_</sup> <sup>_−_</sup> <sup>_ul_</sup> <sup>_Xwm_</sup> 31 <sup>_l_</sup> <sup>_−_</sup> <sup>_ulYwm_</sup> 32 <sup>_l_</sup> <sup>_−_</sup> <sup>_ul_</sup> <sup>_Zwm_</sup> 33 <sup>_l_</sup> <sup>=</sup> <sup>_ulm_</sup> 34 <sup>_l_</sup> _Xwm_ 21 <sup>_l_</sup> <sup>+</sup> <sup>_Ywm_</sup> 22 <sup>_l_</sup> <sup>+</sup> <sup>_Zwm_</sup> 23 <sup>_l_</sup> <sup>+</sup> <sup>_m_</sup> 24 <sup>_l_</sup> <sup>_−_</sup> <sup>_vl_</sup> <sup>_Xwm_</sup> 31 <sup>_l_</sup> <sup>_−_</sup> <sup>_vlYwm_</sup> 32 <sup>_l_</sup> <sup>_−_</sup> <sup>_vl_</sup> <sup>_Zwm_</sup> 33 <sup>_l_</sup> <sup>=</sup> <sup>_vlm_</sup> 34 <sup>_l_</sup> _Xwm_ 21 <sup>_l_</sup> <sup>+</sup> <sup>_Ywm_</sup> 22 <sup>_l_</sup> <sup>+</sup> <sup>_Zwm_</sup> 23 <sup>_l_</sup> <sup>+</sup> <sup>_m_</sup> 24 <sup>_l_</sup> <sup>_−_</sup> <sup>_vl_</sup> <sup>_Xwm_</sup> 31 <sup>_l_</sup> <sup>_−_</sup> <sup>_vlYwm_</sup> 32 <sup>_l_</sup> <sup>_−_</sup> <sup>_vl_</sup> <sup>_Zwm_</sup> 33 <sup>_l_</sup> <sup>=</sup> <sup>_vlm_</sup> 34 <sup>_l_</sup> _Xwm_ 11 <sup>_r_</sup> <sup>+</sup> <sup>_Ywm_</sup> 12 <sup>_r_</sup> <sup>+</sup> <sup>_Zwm_</sup> 13 <sup>_r_</sup> <sup>+</sup> <sup>_m_</sup> 14 <sup>_r_</sup> <sup>_−_</sup> <sup>_urXwm_</sup> 31 <sup>_r_</sup> <sup>_−_</sup> <sup>_urYwm_</sup> 32 <sup>_r_</sup> <sup>_−_</sup> <sup>_urZwm_</sup> 33 <sup>_r_</sup> <sup>=</sup> <sup>_urm_</sup> 34 <sup>_r_</sup> _Xwm_ 11 <sup>_r_</sup> <sup>+</sup> <sup>_Ywm_</sup> 12 <sup>_r_</sup> <sup>+</sup> <sup>_Zwm_</sup> 13 <sup>_r_</sup> <sup>+</sup> <sup>_m_</sup> 14 <sup>_r_</sup> <sup>_−_</sup> <sup>_urXwm_</sup> 31 <sup>_r_</sup> <sup>_−_</sup> <sup>_urYwm_</sup> 32 <sup>_r_</sup> <sup>_−_</sup> <sup>_urZwm_</sup> 33 <sup>_r_</sup> <sup>=</sup> <sup>_urm_</sup> 34 <sup>_r_</sup> _Xwm_ 21 <sup>_r_</sup> <sup>+</sup> <sup>_Ywm_</sup> 22 <sup>_r_</sup> <sup>+</sup> <sup>_Zwm_</sup> 23 <sup>_r_</sup> <sup>+</sup> <sup>_m_</sup> 24 <sup>_r_</sup> <sup>_−_</sup> <sup>_vrXwm_</sup> 31 <sup>_r_</sup> <sup>_−_</sup> <sup>_vrYwm_</sup> 32 <sup>_r_</sup> <sup>_−_</sup> <sup>_vrZwm_</sup> 33 <sup>_r_</sup> <sup>=</sup> <sup>_vrm_</sup> 34 <sup>_r_</sup> (20) 21 <sup>_r_</sup> <sup>+</sup> <sup>_Ywm_</sup> 22 <sup>_r_</sup> <sup>+</sup> <sup>_Zwm_</sup> 23 <sup>_r_</sup> <sup>+</sup> <sup>_m_</sup> 24 <sup>_r_</sup> <sup>_−_</sup> <sup>_vrXwm_</sup> 31 <sup>_r_</sup> <sup>_−_</sup> <sup>_vrYwm_</sup> 32 <sup>_r_</sup> <sup>_−_</sup> <sup>_vrZwm_</sup> 33 <sup>_r_</sup> <sup>=</sup> <sup>_vrm_</sup> 34 <sup>_r_</sup> _ij_ <sup>_l_</sup> <sup>is the value on the</sup> <sup>_i_</sup> <sup>th row and</sup> <sup>_j_</sup> <sup>th column of matrix</sup> <sup>_M_</sup> <sup>_l_</sup> <sup>, and</sup> <sup>_M_</sup> <sup>_l_</sup> <sup>is the projection matrix of</sup> where _m_ <sup>_l_</sup> the left camera, which expresses the relationship between 2D and 3D on the left camera; _u_ <sup>_l_</sup>, _v_ <sup>_l_</sup> are image pixel coordinates of left camera image on the column and row, respectively; _m_ <sup>_r_</sup> _ij_ <sup>is the value of the right</sup> camera projection matrix _M_ <sup>_r_</sup> on the _i_ th row and _j_ th column; _u_ <sup>_r_</sup>, _v_ <sup>_r_</sup> are image pixel coordinates of the right camera; and the pixel points of the left and right image are the matching points. _Xw_, _Yw_, _Zw_ are the final 3D coordinates of the measured point. Based on above proposed method, the 3D surfaces of the measured parts are finally obtained by reconstructing image sequences of the laser stripes captured by the left and right cameras. 4. Experimental Analysis The experimental system utilized is shown in Figure 8. The binocular vision measurement system for large parts consisted of two high-resolution cameras (VC-12MC with resolution 4096 _×_ 3072 and 35 mm lenses, Vieworks, Gyeonggi-do, Korean), a laser line projector (Lasiris PowerLine with wavelength 445 nm _±_ 10 nm, Coherent, Salem, NH, USA), gantryholder (Manfrotto tripods MT055CXPRO3 with working height of 1.7 m), and an imaging workstation (Z840, Hewlett-Packard Development Company, Palo Alto, CA, USA). The camera had a field of view of 1270 mm _×_ 700 mm. The baseline of two cameras is 750 mm and the angel of camera is about 30 degree in the proposed system. The configuration of the system is based on the layout optimization algorithm [25]. The measured object was placed parallel to the ground, similar to the placement of aviation parts in the industrial field. _Sensors_ 2017, _17_, 40 13 of 19 Figure 8. The experimental system used for high-precision measurement. _4.1._ _Physical Experiments_ A standard flat part with size 600 mm _×_ 800 mm was measured to verify the 3D measurement accuracy of the proposed system. Before the experiments, the standard flat part was measured using a three-coordinate measuring machine (Zeiss Prismo Navigator) to obtain the measuring reference data. Subsequently, the standard flat part was measured using the proposed system. The following experimental procedure was employed. First, the global boundary of the measured parts was obtained from the captured images without laser stripes. The extracted boundaries in the images, captured using left and right cameras, are shown in Figures 9a and 10a. Next, the images of the scanning laser stripes were captured via binocular camera with a frame rate of 20 fps in a time of 4 s. Then, the centers of the laser stripes were extracted by using the extraction method proposed in this paper. In order to compare the measurement accuracy, the centers of the laser stripes were also extracted using common methods—COG method and geometric center method—which are widely used in industrial measurement. Finally, the mean distance deviation (MMD) of the flat surface was utilized to evaluate the measurement accuracy due to the flat characteristic of the standard part. An original image and four arbitrary captured images, out of a total of 80, are shown in Figure 9. Figure 9a shows the first images captured by the left camera with a longer exposure time and no laser stripe. Figure 9b–e shows the 10th, 30th, 50th and 70th images captured by the left camera, respectively. The corresponding images captured by right camera are shown in Figure 10a–e. The extracted centers of the laser stripes and global boundary based on the proposed method are also indicated in Figures 9 and 10. The red lines represent the extracted center, whereas the yellow curve signifies the global boundary. Figure 9. Images captured by the left camera: ( a ) the first image without laser stripe; ( b ) the 10th image; ( c ) the 30th image; ( d ) the 50th image; ( e ) the 70th image. _Sensors_ 2017, _17_, 40 14 of 19 Figure 10. Images captured by the right camera: Images captured by the right camera: ( a ) the first image without laser stripe; ( b ) the 10th image; ( c ) the 30th image; ( d ) the 50th image; ( e ) the 70th image. The scanning laser stripes without the global boundary constraint produced the reconstruction results shown in Figure 11. As shown in the Figure 11, some obvious error points exist on the boundary of object and false stripes present in the reconstruction results (marked with a red circle). The results validate that the proposed method with global boundary constraint can effectively improve the accuracy of reconstruction. The results of the 3D reconstruction based on the method of COG, the method of geometric center, and the feature compression extraction method (proposed in this paper) are given in Figure 12a–c. The local reconstruction details in the boundary are shown in Figure 13. As shown in Figure 12a, there appear many mistake points in the object boundary with the extraction of geometric center method. The boundary is not smooth and the reconstruction boundary points greatly fluctuate. Since the extraction of one-dimensional sub-pixel centers is achieved by the method of COG, the reconstruction errors in the object boundary obviously are reduced. However a portion of gross error points appear on the boundary of object, which is shown in Figures 12b and 13b. In contrast to these two methods, the boundary extracted by the improved center extraction method proposed in this paper is a flat line with fewer mistake points and the deviation of mistake points is smaller. Figure 11. Reconstruction results without global boundary constraint. ( a ) ( b ) ( c ) Figure 12. Reconstruction results with different extraction methods. ( a ) Geometric center method; ( b ) Centroid of Gray (COG); ( c ) feature compression extraction method. _Sensors_ 2017, _17_, 40 15 of 19 ( a ) ( b ) ( c ) Figure 13. Local reconstruction details on the boundary. ( a ) Geometric center method; ( b ) Centroid of Gray (COG); ( c ) feature compression extraction method. In order to intuitively compare the reconstruction precision of the three methods, an evaluation method called mean distance deviation (MDD) is proposed. Because the experiment standard part is a flat part, the ideal reconstruction result is a standard plane. However, actual reconstruction points deviate from the plan due to the inevitable reconstruction errors. Therefore, in this paper, mean distance deviation (MDD) of 3D reconstruction point cloud to the fitting plane is defined to evaluate the reconstruction accuracy. The equation of a plane can be fitted by the least square method - as _Ax_ + _By_ + _Cz_ + _D_ = 0, and the reconstructed points are presented as _pi_ = _xi_ _yi_ _zi_ . Thus, the MDD is calculated as follows: as _Ax_ + _By_ + _Cz_ + _D_ = 0, and the reconstructed points are presented as _pi_ = _xi_ _yi_ _zi_ - _M_ ### ∑ _i_ =1 _<u>|Axi</u>_ ~~<u>+</u>~~ _~~<u>Byi</u>~~_ ~~<u>+</u>~~ _~~<u>Czi</u>~~_ ~~<u>+</u>~~ _~~<u>D|</u>~~_ ( _A_ <sup>2</sup> + _B_ <sup>2</sup> + _C_ <sup>2</sup> ) <sup>1/2</sup> <u>�</u> / _M_, _i_ = 1, 2, 3, . . ., _M_ (21) where _M_ is the number of the reconstructed points. The results are given in Table 1. The MDD of 4556 points obtained by the three-coordinate measuring machine is 0.10 mm, which is defined as the real MDD. As shown in Table 1, the MDD of the (c) feature compression extraction method proposed in this paper is 0.47 mm. It is smaller than the MDD of the reconstruction results based on the other two methods. The max error is the maximum distance from the reconstructed points to the fitting plane. The maximum error based on the feature compression extraction method is the smallest. Table 1. MDD of Reconstruction. Geometric Center Method Gray Centroid Method Feature Compression Extraction Method MDD (mm) 0.60 0.53 0.47 Max Error (mm) 1.13 0.97 0.87 _4.2._ _Field Measurement Experiments_ The measurement accuracy of the system has been validated through the standard parts in laboratory, while the field measurement of actual parts is conducted to verify the feasibility of the method. In the study of aviation composite parts assembly, loads should be applied at different positions of the part surface. Then combining deformation of the parts with the characteristics of part material and structure, reasonable and effective loading magnitude and positions can be analyzed. Therefore, under different static stress, the shape measurement of the part is important for the analysis of the assembly performance of the composite parts. In order to verify the application feasibility of this method in field measurement, the shape features of a glass fiber composite part surface under different loads are measured by using this method. _Sensors_ 2017, _17_, 40 16 of 19 The size of the aviation part was approximately 700 mm _×_ 800 mm. The field experimental system is shown in Figure 14. When loads are applied onto the surface of an aviation composite part, its 3D shapes change. Based on the proposed system, the three-dimensional shapes of the aviation composite parts under loads of 0 N, 30 N and 50 N are reconstructed respectively. In the field measurement, in order to reduce the impact of the ambient illumination, the lens of the camera is equipped with optical filter. Images captured by the left and right cameras are shown in the Figure 15. The global boundary is obtained with a long exposure. The reconstruction results under different loads are given in Figure 16. The green, blue and red point-clouds are respectively reconstruction results of part under loads of 0 N, 30 N and 50 N, which are shown in Figure 16a–c. The reconstruction results with three loads are shown in Figure 16d. The reconstruction results show that the deformation of the part surface increases with the increasing loads. The measurement results conform to the basic deformation law. The variation of the measured part’s edge is shown in Figure 17. The green, blue and red curves are edges of part under loads of 0 N, 30 N and 50 N, respectively. As shown in Figure 17, when 30 N is applied on the one side of the part, a smaller displacement is produced on the middle position of the part’s edge. And when the stress is 50 N, it appears an obvious displacement at the middle position of the part’s edge. However, the two sides of the edge have a small displacement under different loads. The reconstructed point cloud and the edge of part can be used for the analysis of part characteristics with different assembly process parameters. Figure 14. Experimental field measurement setup. ( a ) ( b ) Figure 15. Images captured by the left and right cameras. ( a ) Global boundary obtained with a long exposure; ( b ) the images of laser stripes. _Sensors_ 2017, _17_, 40 17 of 19 Figure 16. The reconstruction results under different loads: ( a ) the load of 0 N; ( b ) the load of 30 N; ( c ) the load of 50 N; ( d ) the loads of 0 N, 30 N and 50 N. Figure 17. The variation of the measured part’s edge. 5. Conclusions In this paper, a large-part measurement method combining with feature compression extraction and directed edge-points criterion is proposed. The proposed method is mainly used to measure surfaces of large aviation parts including boundaries of parts in industrial environments. A sub-pixel centroid extraction method based on compress processing enables the 3D morphology of the measured parts to be accurately reconstructed. In addition, combined with an edge-point extraction based on directed arc-length criterion, the boundary of part is accurately obtained. The proposed sub-pixel centroid extraction method and directed edge-point criterion improve the extraction accuracy of the laser stripe center and realize the reconstruction of the part’s boundary. Compared with the conventional extraction method, the mean distance deviation of the proposed _Sensors_ 2017, _17_, 40 18 of 19 method is 0.47 mm, which is closest to the real mean distance deviation measured using a coordinate measuring machine. Meanwhile, based on the proposed method, the error points greatly reduced in the region of part’s boundary. Since the measurement of large aviation composite parts has a requirement of non-contact, on-site, less pasted targets and boundary feature in the research process of parts assembly, the proposed method is especially suitable for this measurement in the field. Real measurement experiments of the 3D shapes of aviation composite part under different loads is measured in the field environment validate the effectiveness of the proposed method. However, the measurement accuracy is hard to verify in the field environment due to the lack of suitable verification method of accuracy. Therefore, the analysis method of field measurement accuracy will become an important research direction in the future. Meanwhile, the hardware synchronization and integration of the measurement system will be further improved. Acknowledgments: This work was supported by the National Basic Research Program of China 973 Project (Grant No. 2014CB046504), the National Natural Science Foundation of China (Grant No. 51227004 and No. 51375075), the Liaoning Provincial Natural Science Foundation of China (Grant No. 2014028010), and the Science Fund for Creative Research Groups (No. 51321004). Author Contributions: Wei Liu and Yang Zhang developed an improved active triangulation scanning measuring method; Wei Liu proposed an improved measurement method for the surface of large aviation part; Yang Zhang was responsible for improving the measuring accuracy of both surface and boundary of large-size part; Zhenyuan Jia and Hang Gao were responsible for the recognition and matching of images; and Fan Yang, Peng Gao and Zhiguang Lan participated in the design of the experimental facilities and carried out field experimentation. All authors wrote the paper together. Conflicts of Interest: The authors declare no conflict of interest. References 1. Marsh, B.J. _Laser Tracker Assisted Aircraft Machining and Assembly_ ; SAE Technical Paper; SAE International: Warrendale, PA, USA, 2008. 2. Savio, E.; de Chiffre, L.; Schmitt, R. Metrology of freeform shaped parts. _CIRP Ann._ _Manuf._ _Technol._ 2007, _56_, 810–835. [[CrossRef]](http://dx.doi.org/10.1016/j.cirp.2007.10.008) 3. Chen, M.; Zheng, F.; Zhang, Y.Y. Virtual surface measurement of large deployable space antenna structure. _Adv._ _Mater._ _Res._ 2012, _25_, 479–481. [[CrossRef]](http://dx.doi.org/10.4028/www.scientific.net/AMR.479-481.2586) 4. Schwartz, C.; Sarlette, R.; Weinmann, M.; Rump, M.; Klein, R. Design and implementation of practical bidirectional texture function measurement devices focusing on the developments at the university of Bonn. _Sensors_ 2014, _14_, 7753–7819. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s140507753) 5. Jia, Z.; Ma, X.; Liu, W.; Lu, W.; Li, X.; Chen, L.; Wang, Z.; Cui, X. Pose Measurement method and experiments for high-speed rolling targets in a wind tunnel. _Sensors_ 2014, _14_, 23933–23953. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s141223933) 6. Iwata, K.; Sando, Y.; Satoh, K.; Moriwaki, K. Application of generalized grating imaging to pattern projection in three-dimensional profilometry. _Appl._ _Opt._ 2011, _50_, 5115–5121. [[CrossRef] [PubMed]](http://dx.doi.org/10.1364/AO.50.005115) 7. Brosed, F.J.; Aguilar, J.J.; Guillomía, D.; Santolaria, J. 3D geometrical inspection of complex geometry parts using a novel laser triangulation sensor and a robot. _Sensors_ 2011, _11_, 90–110. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s110100090) 8. Dang, Q.; Chee, Y.; Pham, D.; Suh, Y. A virtual blind cane using a line laser-based vision system and an inertial measurement unit. _Sensors_ 2016, _16_, 95. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s16010095) 9. Zhang, Z.; Gao, Z.; Liu, Y.; Jiang, F.; Yang, Y.; Ren, Y.; Yang, H.; Yang, K.; Zhang, X. Computer vision based method and system for online measurement of geometric parameters of train wheel sets. _Sensors_ 2012, _12_, 334–346. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s120100334) 10. Steger, C. An unbiased detector of curvilinear structures. _Pattern_ _Anal._ _Mach._ _Intell._ 1998, _20_, 113–125. [[CrossRef]](http://dx.doi.org/10.1109/34.659930) 11. Lukáš, J.; Fridrich, J.; Goljan, M. Detecting digital image forgeries using sensor pattern noise. _Int._ _Soc._ _Opt. Photonics_ 2006, _6072_, 60720Y-1–60720Y-11. 12. Bazen, A.M.; Gerez, S.H. Systematic methods for the computation of the directional fields and singular points of fingerprints. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2002, _24_, 905–918. [[CrossRef]](http://dx.doi.org/10.1109/TPAMI.2002.1017618) 13. Cai, H.; Feng, Z.; Huang, Z. Centerline extraction of structured light stripe based on principal component analysis. _Chin._ _J. Lasers_ 2015, _42_, 0308006. [[CrossRef]](http://dx.doi.org/10.3788/CJL201542.0308006) _Sensors_ 2017, _17_, 40 19 of 19 14. Wei, L.; Jia, Z.; Wang, F.; Ma, X.; Wang, W.; Jia, X.; Song, D. An improved online dimensional measurement method of large hot cylindrical forging. _Measurement_ 2012, _45_, 2041–2051. 15. High Speed 3D Sensors by Means of Laser Triangulation. Available online: [http://gb.daheng-image.com/](http://gb.daheng-image.com/cn/products/at/brochure/AT_3DCam_Brochure_CN.pdf) [cn/products/at/brochure/AT_3DCam_Brochure_CN.pdf (accessed on 19 December 2016).](http://gb.daheng-image.com/cn/products/at/brochure/AT_3DCam_Brochure_CN.pdf) 16. Usamentiaga, R.; Molleda, J.; García, D.F. Fast and robust laser stripe extraction for 3D reconstruction in industrial environments. _Mach._ _Vis._ _Appl._ 2012, _23_, 179–196. [[CrossRef]](http://dx.doi.org/10.1007/s00138-010-0288-6) 17. Haug, K.; Pritschow, G. Robust laser-stripe sensor for automated weld-seam-tracking in the shipbuilding industry. In Proceedings of the 24th Annual Conference of the IEEE Industrial Electronics Society, Aachen, Germany, 31 August–4 September 1998; Volume 2, pp. 1236–1241. 18. Qi, L.; Zhang, Y.; Zhang, X.; Wang, S.; Xie, F. Statistical behavior analysis and precision optimization for the laser stripe center detector based on Steger’s algorithm. _Opt._ _Express_ 2013, _21_, 13442–13449. [[CrossRef]](http://dx.doi.org/10.1364/OE.21.013442) [[PubMed]](http://www.ncbi.nlm.nih.gov/pubmed/23736597) 19. Heipke, C.; Steger, C.; Multhammer, R. A hierarchical approach to automatic road extraction from aerial imagery. _Integr._ _Photogramm._ _Tech._ _Scene Anal._ _Mach._ _Vis._ _II_ 1995, _2486_, 222–231. 20. Lin, C.H.; Hsiao, M.D.; Lai, K.J. A study on using image serving technology for high precision mechanical positioning. _Mech._ _Syst._ _Signal Process._ 2016, _81_, 493–514. [[CrossRef]](http://dx.doi.org/10.1016/j.ymssp.2016.03.017) 21. Zhang, A. Flexible new technique for camera calibration. _IEEE Trans._ _Pattern Anal._ _Mach._ _Intell._ 2000, _22_, 1330–1334. [[CrossRef]](http://dx.doi.org/10.1109/34.888718) 22. Szeliski, R. _Computer Vision:_ _Algorithms and Applications_ ; Springer: New York, NY, USA, 2010; pp. 306–307. 23. Hartley, R.I. In defence of the 8-point algorithm. In Proceedings of the International Conference on Computer Vision, Boston, MA, USA, 20–23 June 1995; Volume 6, pp. 1064–1070. 24. Ma, S.; Zhang, Z. _Computer Vision:_ _Computer Theory and Algorithms_ ; Science Press: Beijing, China, 1998. 25. Jia, Z.; Li, M.; Liu, W.; Liu, Y.; Shang, Z. Layout optimization of binocular stereo vision measuring system. _Sens._ _Transducers J._ 2013, _161_, 74–85. © 2016 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC-BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 72문단 · 60,285자

(제목 없음)

1High-accuracy surface measurement of large aviation parts is a significant guarantee of aircraft assembly with high quality. The result of boundary measurement is a significant parameter for aviation-part measurement. This paper proposes a measurement method for accurately measuring the surface and boundary of aviation part with feature compression extraction and directed edge-point criterion. To improve the measurement accuracy of both the surface and boundary of large parts, extraction method of global boundary and feature analysis of local stripe are combined. The center feature of laser stripe is obtained with high accuracy and less calculation using a sub-pixel centroid extraction method based on compress processing. This method consists of a compressing process of images and judgment criterion of laser stripe centers. An edge-point extraction method based on directed arc-length criterion is proposed to obtain accurate boundary. Finally, a high-precision reconstruction of aerospace part is achieved. Experiments are performed both in a laboratory and an industrial field. The physical measurements validate that the mean distance deviation of the proposed method is 0.47 mm. The results of the field experimentation show the validity of the proposed method.

Introduction

2High-accuracy three-dimensional (3D) measurement for the surfaces of large objects plays a crucial role in evaluating the safe performance of large aviation parts. The geometrical shape of measured parts directly affects assembly quality. High-accuracy 3D measurement becomes more challenging because of the significant increases of the sizes of major equipment parts. Taking composite skins of aircraft horizontal and vertical tails as examples, they need to be precisely measured to ensure the quality of assembly. Due to the fact that large aviation composite parts are mostly weakly rigid, the parts should be placed on an assembly tool to ensure the part shape. Thus, on-site measurement is required. Moreover, there is requirement for high surface quality of the aviation part, thus the surface of the part should not be pasted anything to prevent the deterioration of the surface quality. In addition, because the scale of aviation parts is always large, the parts should be measured by using a convenient measuring method within finite time in complex on-site environments. Therefore, research in high-accuracy and high-speed on-site measurement for such surfaces is significant for the manufacturing of large aviation parts. Visual measurement has gradually become an active research area owing to its inherent advantages of non-contact, high accuracy and high speed. Thus, visual measurement is widely used in the measurement of aviation parts [1,2]. At present, three main visual measurement methods are utilized to measure aviation parts: photogrammetry with reflective marks [3][4][5]; profilometry with projected grating; and machine vision with laser stripes [6][7][8][9]. Photogrammetry with reflective marks is a measurement method of high accuracy and stability. However, to measure large parts using this method, numerous markers need to be affixed to the measured surfaces, which is labor-intensive and time-consuming. Furthermore, the sticky material on the marks is difficult to completely remove, which results in damage of the measured surfaces. Profilometry with projected grating uses fewer images than other methods, however its calculation is relatively complicated. In addition, the illumination intensity of the projected grating is low and the field depth is small, so the grating image cannot be obtained in environments under complex illumination. Machine vision with laser stripes is a scanning measurement method, in which the surfaces of parts are reconstructed through scanning laser stripes. With the lasers' advantages of high brightness, parallelism, and stability, images with high-quality laser stripes can be obtained under complex illumination. Furthermore, relative motion between the objects and cameras is not required during using the active binocular measurement method, so this method is suitable for measuring large aviation parts.

3Since the centers of the scanning laser stripes are commonly defined as the feature information to reconstruct the surface, the laser stripe center extraction has become a research hotspot. At present, two kinds of extraction methods are used to achieve the stripe extraction: the fitting extraction method based on the Gaussian characteristics of laser stripe and the direct extraction method based on the geometrical characteristic of laser stripe. The fitting extraction method is proposed by Steger [10]. He presented an approach to extract curvilinear lines by using an asymmetric parabolic or Gaussian line model to fit the line profiles. Normally, the high-precision measurement results cannot be obtained without large amount of calculation. Lukas proposed that initial positions of stripe centers could be extracted roughly, and then the centers could be extracted precisely through Gauss fitting of the neighbor 5 pixels in the cross section directions. It had the characteristics of high extraction accuracy for linear stripes as well as a low extraction speed caused by Gauss fitting in each column (row) of the stripes [11]. For improving the measurement accuracy, Steger proposed the Hessian matrix method to get the normal directions of stripes in images. Thus, the extraction of sub-pixel centers is achieved. Then, several corrections and improvements were proposed to make the method more suitable for the computation of normal directions. Bazen [12] proposed the method based on principle component analysis (PCA) to estimate high resolution directional field of an image. Cai [13] utilized the PCA algorithm to obtain the normal directions of the laser stripe. Then the centers could be found in normal directions with second order Taylor series expansion of grayscale distribution function. Liu [14] detected the normal directions of the centerline based on the characteristics of the first derivative of the light stripe and then located the center points in sub-pixel level along the normal directions by using the pixel subdivision and the centroid of gray method. However, these extraction methods cost much time of computation, and the laser stripe in the image should keep the high quality of Gaussian characteristics. However, in the process of measurement for large aircraft parts, the brightness distribution of the laser stripe is not uniform. Moreover, due to the influences of complex environments, the image quality is relatively poor. Thus, the direct extraction methods based on the geometrical characteristic of laser stripe are mostly adopted by current commercial measurement equipment in the field of aircraft assembly, such as the centroid of gray method (COG), geometric center method and maximum value method. The most common method is the method of centroid of gray (COG) [15], which is proposed by Haug [16] and Usamentiaga [17]. This method could get a better extraction results and simultaneously meet the requirements of efficiency and robustness. However, this method is only sub-pixel in one dimension. The measurement accuracy of this method is poor, especially in the boundary of part. The boundary of part is represented by the edge points of laser stripes. Since the edge points of laser stripe have more noise than other part of laser strip, they have lower extraction accuracy than other points. With improving requirement of accuracy, the methods mentioned above cannot guarantee the stability, speed and accuracy of extraction for laser stripes in the sequence images. Moreover, for better analysis of aviation parts, the measurement results should contain more information, including the boundary information of the parts. However, the current commercial measurement equipment cannot be efficiently used in the measurement process of aviation composite part assembly. For solving the above problems, a non-contact measurement method, with high measurement accuracy and speed and containing boundary information, is proposed in this paper. This paper is organized as follows: Section 2 expounds on the measurement principle for large aviation parts. Section 3 describes in detail the extraction and reconstruction algorithms used in the proposed system. Section 4 discusses the laboratory and field experiments, which are conducted to verify the effectiveness of the proposed system. Section 5 concludes the method proposed in this paper.

Measurement Principle of the Method

4The 3D measuring system for large aviation parts utilizes active triangulation scanning measurement based on the binocular stereovision principle. The system consists of two high-speed and high-resolution CMOS cameras, a high-stability line-structured laser projector, and a high-performance image work station. In the process of measurement, a scanning laser stripe is projected on the surface of measured part. Sequential images of the laser stripe are captured by the two cameras. Then, the conversion relation between two-dimensional (2D) image coordinate and 3D space coordinate is established based on the camera calibration. Centers of the laser stripes extracted from the captured images can be reconstructed in the world coordinate system according to calibration results. Therefore, the surface of the measured object is reconstructed based on reconstructions of the scanning laser stripes.

5Since the laser stripe is the only characteristic information in the measurement process, its extraction accuracy directly determines the surface measurement accuracy of a large part [18]. However, the aviation part is both large and has a rough surface. Further, the illumination in industrial environments is complex. Consequently, capturing high-quality images of laser stripes is difficult, and even the Gaussian characteristic of the laser stripe on the cross section is virtually lost. In addition, because the background of the measurement field is complicated and changeable, the laser stripes projected onto the boundary of the object are not subject to any specific rules. As a result, high-accuracy extraction of the laser stripe on the boundary is difficult to achieve. To overcome this problem, the extraction method of edge points is proposed in this paper which is based on global boundary constraint and the analysis of local stripe feature. First, extraction is carried out based on compression processing to obtain the center of the laser stripes with high accuracy and less amount of calculation. Then, the global boundary of the part is extracted to build the global boundary constraint. Finally, based on the global boundary constraint, the edge points of the laser stripe center are determined. A block diagram of the proposed measuring method and laser stripe capture process is shown in Figure 1. The process of laser-stripe capture is shown in Figure 2.

Sub-Pixel Centroid Extraction Based on Compress Processing

6In order to meet the aviation parts measurement requirements with high accuracy and speed in the industrial field, the laser stripe center should be extracted highly accurately in the least amount of time possible. Thus, an improved extraction method of laser stripe with high accuracy and less calculation is very important for the achievement of aviation parts' measurement.

7Image compression technology can remove the interference information in the original image and retain the structural feature of the measured part [19]. Based on the compression processing technology, a sub-pixel centroid extraction method based on compress processing is proposed in this paper. The proposed method improves extraction accuracy in the industrial field and reduces the time taken to compute the normal direction. In the proposed method, the normal direction of

8In order to meet the aviation parts measurement requirements with high accuracy and speed in the industrial field, the laser stripe center should be extracted highly accurately in the least amount of time possible. Thus, an improved extraction method of laser stripe with high accuracy and less calculation is very important for the achievement of aviation parts' measurement.

9Image compression technology can remove the interference information in the original image and retain the structural feature of the measured part [19]. Based on the compression processing technology, a sub-pixel centroid extraction method based on compress processing is proposed in this paper. The proposed method improves extraction accuracy in the industrial field and reduces the time taken to compute the normal direction. In the proposed method, the normal direction of

10In order to meet the aviation parts measurement requirements with high accuracy and speed in the industrial field, the laser stripe center should be extracted highly accurately in the least amount of time possible. Thus, an improved extraction method of laser stripe with high accuracy and less calculation is very important for the achievement of aviation parts' measurement.

11Image compression technology can remove the interference information in the original image and retain the structural feature of the measured part [19]. Based on the compression processing technology, a sub-pixel centroid extraction method based on compress processing is proposed in this paper. The proposed method improves extraction accuracy in the industrial field and reduces the time taken to compute the normal direction. In the proposed method, the normal direction of the stripes is calculated using the low-resolution image compressed from the original image based on image compression technology to minimize the computation time. Combined with the stability of the normal direction and the presented judgment criterion of the normal center, the sub-pixel center of the laser stripe is extracted rapidly and precisely. The principle is illustrated in Figure 3. the stripes is calculated using the low-resolution image compressed from the original image based on image compression technology to minimize the computation time. Combined with the stability of the normal direction and the presented judgment criterion of the normal center, the sub-pixel center of the laser stripe is extracted rapidly and precisely. The principle is illustrated in Figure 3.

12The compression image is shown in Figure 3. As the structural features of the laser stripes primarily remain after compressing the original image, the normal vector of the stripe can be computed using the compressed image to reduce the calculation time. First, the stripe centers of the low-resolution image are preliminarily extracted using the gray centroid method. The initial values of the centers are used to compute the normal vector of the laser stripe. Thus, the initial center values of the compressed image are set as

13. c i V and c i U are the values of the row and column, respectively. The normal vectors of the laser stripe are calculated by fitting the extracted initial center points. As the curvature variation is small in a small region, the polynomial According to the compression ratio, λ, images (resolution m × n) captured by the binocular camera are compressed into low-resolution images. The λ × λ pixels of the image are compressed to one pixel by computing the average value of the local grayscale. As the image resolution number is even, compression factor λ is defined as an even number to simplify the calculation. G is the grayscale matrix of the original image. m and n are the row and column value, respectively. After compressing the image with factor λ, the grayscale matrix of the compressed image can be computed as follows:

14where G c is the grayscale matrix of the compressed image. For more clarity, letters with the superscript c in this paper denote compressed image information. M and N are compression matrixes with scale m λ × m and n × n λ , respectively. The mathematical expressions can be depicted as follows:

15The compression image is shown in Figure 3. As the structural features of the laser stripes primarily remain after compressing the original image, the normal vector of the stripe can be computed using the compressed image to reduce the calculation time. curvature variation is small in a small region, the polynomial fitting method is used to fit the curve of initial centers. To calculate the normal vector of the stripe center on the ith row, the center of the ith row and centers of the σ rows before and after the ith row are selected. The number of selected points should be greater than four to ensure fitting accuracy. The set of selected points is as follows:

16where N * is a set of positive integers. Based on the ith-row set of selected points, the fitting equation of the curve of stripe centers can be established as follows:

17where a i,ω is the polynomial fitting coefficient and v, u are the row and column variable, respectively. t is the maximal optional polynomial order. Then, the normal vector ∇F i satisfies the following equation:

18where F c iu and F c iv are partial derivatives of F c i (u, v) to column u and row v, respectively. Therefore, F c iu and F c iv can be expressed as follows:

19Subsequently, using the hierarchical calculation method, the normal vectors obtained in the compressed image can be restored to the original image. According to the principle of compression, one row of pixels in the compressed image represents λ rows in the original image. Thus, the normal vector at each row of laser stripe in the compressed image is defined as the one at the (λ + 1)/2 row of laser stripe in the original image:

20∇F λ(i−1)+(λ+1)/2 is the normal vector of the center in the row λ(i − 1) + (λ + 1)/2 of the original image. According to the normal vector of the rows before and after the selected row in the compressed image, the normal vectors of the middle rows in the original image can be acquired via linear interpolation. The computation equation is as follows:

21therefore, stripe slope k j of the stripe center on the jth row of the original image can be calculated as follows:

22The stripes slopes have two special limiting values: infinity and infinitely close to zero. When the slope is infinitely close to zero, specifically, k j ≤ ε(ε = 10 −10 ), the normal vector of laser stripe is approximately parallel to the column vector of the image. In this case, the grayscale values of the stripe are ascertained along with the column direction of the image. When the slope is close to infinity, namely k j ≥ ξ(ξ = 10 10 ), the normal direction is approximately parallel to the row vector of the image. In this case, the grayscale values of the stripe are ascertained along with the row direction of the image. With the exception of these two special situations, the grayscale values of the stripe are ascertained along with the normal direction. The two special situations are as shown in Figure 4. After calculating the normal slopes, the centers of the laser stripes on the original image are extracted. First, the centers are preliminarily extracted. In the process of image acquisition, the quality of the images is affected by noise caused by various factors such as the quality of the sensor and ambient light. Therefore, a Gaussian filter is used to preprocess the image before stripe center extraction to remove some of the image noise. Then, the original image is binarized and the edge of the laser stripe is extracted [20]. The sequence of the points on the edge is denoted as B . Next, the centroid of gray method is used to calculate the pixel coordinates of the stripe centers on the original image. To facilitate subsequent analysis and calculation, the pixel coordinates of the centers are rounded off. The rounded values are defined as the initial values of the stripe centers of the original image, denoted as

23. Combined with the initial values of the stripe centers and their corresponding normal slopes, the grayscale information in the normal direction of the original image is determined, and the gray centroid along the normal direction of the stripe is obtained. Traditionally, the stripe center is acquired by using the algorithm of COG in normal direction at one row of the laser stripe. However, because the quality of the captured image is poor in an industrial setting, the extraction accuracy of the stripe center is easily affected by error points. Consequently, in this paper, interpolation and edge judgment are adopted to improve the judgment criterion of the normal pixels and to precisely calculate the gray centroid. The following procedure is utilized. The process of Gray centroid judgment is shown in Figure 5. After calculating the normal slopes, the centers of the laser stripes on the original image are extracted. First, the centers are preliminarily extracted. In the process of image acquisition, the quality of the images is affected by noise caused by various factors such as the quality of the sensor and ambient light. Therefore, a Gaussian filter is used to preprocess the image before stripe center extraction to remove some of the image noise. Then, the original image is binarized and the edge of the laser stripe is extracted [20]. The sequence of the points on the edge is denoted as B. Next, the centroid of gray method is used to calculate the pixel coordinates of the stripe centers on the original image. To facilitate subsequent analysis and calculation, the pixel coordinates of the centers are rounded off.

24The rounded values are defined as the initial values of the stripe centers of the original image, denoted as Co j = Vo j Uo j . Combined with the initial values of the stripe centers and their corresponding normal slopes, the grayscale information in the normal direction of the original image is determined, and the gray centroid along the normal direction of the stripe is obtained. Traditionally, the stripe center is acquired by using the algorithm of COG in normal direction at one row of the laser stripe. However, because the quality of the captured image is poor in an industrial setting, the extraction accuracy of the stripe center is easily affected by error points. Consequently, in this paper, interpolation and edge judgment are adopted to improve the judgment criterion of the normal pixels and to precisely calculate the gray centroid. The following procedure is utilized. The process of Gray centroid judgment is shown in Figure 5. After calculating the normal slopes, the centers of the laser stripes on the original image are extracted. First, the centers are preliminarily extracted. In the process of image acquisition, the quality of the images is affected by noise caused by various factors such as the quality of the sensor and ambient light. Therefore, a Gaussian filter is used to preprocess the image before stripe center extraction to remove some of the image noise. Then, the original image is binarized and the edge of the laser stripe is extracted [20]. The sequence of the points on the edge is denoted as B . Next, the centroid of gray method is used to calculate the pixel coordinates of the stripe centers on the original image. To facilitate subsequent analysis and calculation, the pixel coordinates of the centers are rounded off. The rounded values are defined as the initial values of the stripe centers of the original image, denoted as

25. Combined with the initial values of the stripe centers and their corresponding normal slopes, the grayscale information in the normal direction of the original image is determined, and the gray centroid along the normal direction of the stripe is obtained. Traditionally, the stripe center is acquired by using the algorithm of COG in normal direction at one row of the laser stripe. However, because the quality of the captured image is poor in an industrial setting, the extraction accuracy of the stripe center is easily affected by error points. Consequently, in this paper, interpolation and edge judgment are adopted to improve the judgment criterion of the normal pixels and to precisely calculate the gray centroid. The following procedure is utilized. The process of Gray centroid judgment is shown in Figure 5. Determine the Points on the Normal Direction of the Laser Stripes

26The normal line of the stripe intersects with both the row and column of the image. As selecting all these intersections would increase the computation burden, owing to the significant amounts of redundant data present, considering the characteristics of the laser image, the search is conducted along the intersections of the row or column, which results in more intersections without redundant data. The sequence of the stripe slopes K = k j j = 1, 2, 3, . . . , m is the set of normal slopes of the initial center point in each row of the original image. Then, the numbers of k j < 1 and k j > 1 in the sequence K are calculated, denoted as N K<1 and N K>1 respectively. When N K<1 > N K>1 , the stripe has more normal vectors with a smaller angle in the column direction. The stripe is defined as a column stripe. The length of these laser stripes is distributed in the row and the width is distributed in the column. Therefore, the pixel points for these stripes are sought in the column. Conversely, when N K<1 < N K>1 , the stripes can be defined as row stripes, and so they are sought in the row.

Select Pixel Points

27Let us take a column stripe as an example stripe that is sought by the column. The pixel-point selection method is as follows: the preliminary stripe centers of the original image Co j = Vo j Uo j are taken as the initial points. Then, Uo j is rounded to infinity and zero, respectively, denoted as U p 0 j and Um 0 j . Next, the pixel points are sought along the normal direction where the slope of the normal line is k j according to the manner in which the column increases and decreases. Then, the pixel points where the stripe normal intersects with the column vector of the original image can be determined. Therefore, the column vector in the increasing and decreasing direction can be obtained as U p s j and Um s j , respectively:

28The row vector where the stripe normal intersects with the column vector is

29Then, the sets of selected points in the increasing and the decreasing direction are expressed as Dp j and Dm j , respectively: Dp j = Cp s j Cp s j = V p s j U p s j , 0 < V p s j ≤ m, 0 < U p s j ≤ n, s = 0, 1, 2, 3 . . . Dm j = Cm s j Cm s j = Vm s j Um s j , 0 < Vm s j ≤ m, 0 < Um s j ≤ n, s = 0, 1, 2, 3 . . .

30where Cp s j and Cm s j are, respectively, the selected pixel center in the increasing and the decreasing direction. Then, two critical points are obtained, which are the intersection points between the edge of laser stripe and the normal line of laser stripe. Since the edge of laser stripe is composed of discrete points, the extraction criterion of critical points is as follows. Firstly, extreme points of stripe edge at each row are recorded by using parameters U max h and U min h . They are the maximum and minimum column values of stripe edge at the hth row of image, respectively. According to extreme points, the critical points are determined. To facilitate this method introduction, the calculation method of critical point that belongs to the sequence of selected points. Cp s j in the increasing direction is taken as an example.

31Finally, the set of selected pixel points in the jth row is arranged as

32. . : when Uo j (the column vector of the initial center) is non-integer, we can get U p 0 j = Um 0 j . Thus, D j = Dm j ∪ Dp j is chosen as the set of pixel points; when Uo j is an integer, U p 0 j = Um 0 j is obtained. The set of selected pixel points without repeat points Cp 0 j is chosen. This is denoted as

33Calculate the Grayscale of the Selected Point

34Since the selected points are obtained via the sub-pixel algorithm, the grayscales of selected points should be calculated via interpolation. The row value V s j of selected pixel point C s j is rounded towards plus infinity and zero, respectively, which are denoted as V s j (one) and V s j (zero). If V s j (one) = V s j (zero), the row vector V s j is an integer. Hence, the grayscale of this point is I s j , that is, the grayscale of the selected pixel point is:

35where v, u represent the row and column values of the original image. I v,u is the grayscale in the vth row and uth column in the original image. If V s j (one) = V s j (zero), the interpolation method is used to calculate the grayscale:

36where I v ,u and I v,u are the grayscales in (V s j (one), U s j ) and (V s j (zero), U s j ) of the original image, respectively. There is an exceptional situation in which the row vector of the selected point is the extreme value of the image row; that is, V s j < 1. In this case, the gray value I s j is defined as the value where V s j = 1.

Extract the Gray Centroid

37On the basis of the above calculation, the gray centroid in the normal direction of the initial point in the jth row of the original image has been calculated. In addition, the corresponding grayscale I s j of the selected pixel points C s j have been obtained. Thus, the gray centroid C j in the row can be extracted based on the results of the selected pixel points and corresponding grayscale. The equation is as follows:

38where η is the number of the selected pixel points C s j .

Edge-Point Extraction Based on Directed Arc-Length Criterion

39In the manufacturing process, the boundary of the aerodynamic shape is usually used as the geodetic datum owing to the deformation of a large aviation space. Thus, accurate extraction of the boundary is critical to the detection of aviation parts. Because the measuring environments in the industrial field are complicated, much noise is generated in the process of image acquisition. Thus, the quality of the images captured in industrial environments is poor, especially in the boundary region. Conventionally, the noise is reduced using data analysis software. However, some information of boundary of the measured object is lost as a result of deleting the points with a certain distance from the measuring plane. In order to reconstruct the aerodynamic shape more accurately, the boundary of the parts should be precisely extracted to retain the geometric features of the parts more completely. Therefore, a method based on global boundary constraint and the analysis of local stripe feature is proposed in this paper to obtain more accurate information about the laser stripes on the edge of the parts.

40Carbon fiber composite material is widely used in the manufacture of aviation parts. Because the surface of the composite material is black, absorbance is high. When the light entering the camera is increased, the camera gets more of the light reflected from the background than the light reflected from the surface of the part. Thus, there is a substantial contrast between the part and background. Using this high contrast, a global boundary is first extracted in this study as constraints of the edges of the laser stripes.

41The global boundary image acquisition method is as follows. Before scanning the laser stripes, the exposure time of the camera is increased. With added light into the camera, a non-stripe image with a large contrast between the boundary of the part and the background is captured based on the surface characteristic of the carbon fiber. If the reflectance of the background is low, reflective tapes can be pasted on the border area of the parts' back. Therefore, the boundary of the part has a high contrast with the background of the image. The boundary constraint of the laser stripe can be established by extracting the entire boundary of the part. The procedure is as follows: First, the region of the part is selected to establish the region of interest and reduce the quantum of calculation. Then, the image is processed using a median filter to denoise it. Following binarization of the image and deletion of the small/big area affected by noise, the global boundaries of the part are preliminarily extracted using an edge-detector algorithm. Finally, the boundaries of the parts are confirmed via the intersection seek method and marked as

42is the pixel coordinates of the extracted points of the boundary.

43Based on the constraint of the global boundary, a point on the local edge is determined from the extracted centers of scanning laser stripes. In this paper, an edge-point extraction method based on directed arc-length criterion is adopted to determine whether the laser stripe centers are within the global boundary. The principle of the arc-length method is to calculate the sum of the directed arc-lengths that the edge points projected onto a unit circle with the center of the judged point. The principle is shown in Figure 6. The graph enclosed by the boundary is closed and directed. A unit circle is constituted with the center of the judged point. The edge points are connected to the center in accordance with a certain sequence. The intersections of these connections and the unit circle are defined as projection points. In accordance with the sequence, the directed unit arc-lengths of the projection points are summed in a manner that the angle is less than or equal to 180 degrees. If the judged point is on or within the boundary, the sum of the directed arc length is 2π, and the point is called an interior point; if it is outside of the global boundary, the sum is zero. industrial field are complicated, much noise is generated in the process of image acquisition. Thus, the quality of the images captured in industrial environments is poor, especially in the boundary region. Conventionally, the noise is reduced using data analysis software. However, some information of boundary of the measured object is lost as a result of deleting the points with a certain distance from the measuring plane. In order to reconstruct the aerodynamic shape more accurately, the boundary of the parts should be precisely extracted to retain the geometric features of the parts more completely. Therefore, a method based on global boundary constraint and the analysis of local stripe feature is proposed in this paper to obtain more accurate information about the laser stripes on the edge of the parts. Carbon fiber composite material is widely used in the manufacture of aviation parts. Because the surface of the composite material is black, absorbance is high. When the light entering the camera is increased, the camera gets more of the light reflected from the background than the light reflected from the surface of the part. Thus, there is a substantial contrast between the part and background. Using this high contrast, a global boundary is first extracted in this study as constraints of the edges of the laser stripes.

44The global boundary image acquisition method is as follows. Before scanning the laser stripes, the exposure time of the camera is increased. With added light into the camera, a non-stripe image with a large contrast between the boundary of the part and the background is captured based on the surface characteristic of the carbon fiber. If the reflectance of the background is low, reflective tapes can be pasted on the border area of the parts' back. Therefore, the boundary of the part has a high contrast with the background of the image. The boundary constraint of the laser stripe can be established by extracting the entire boundary of the part. The procedure is as follows: First, the region of the part is selected to establish the region of interest and reduce the quantum of calculation. Then, the image is processed using a median filter to denoise it. Following binarization of the image and deletion of the small/big area affected by noise, the global boundaries of the part are preliminarily extracted using an edge-detector algorithm. Finally, the boundaries of the parts are confirmed via the intersection seek method and marked as

45is the pixel coordinates of the extracted points of the boundary.

46Based on the constraint of the global boundary, a point on the local edge is determined from the extracted centers of scanning laser stripes. In this paper, an edge-point extraction method based on directed arc-length criterion is adopted to determine whether the laser stripe centers are within the global boundary. The principle of the arc-length method is to calculate the sum of the directed arc-lengths that the edge points projected onto a unit circle with the center of the judged point. The principle is shown in Figure 6. The graph enclosed by the boundary is closed and directed. A unit circle is constituted with the center of the judged point. The edge points are connected to the center in accordance with a certain sequence. The intersections of these connections and the unit circle are defined as projection points. In accordance with the sequence, the directed unit arc-lengths of the projection points are summed in a manner that the angle is less than or equal to 180 degrees. If the judged point is on or within the boundary, the sum of the directed arc length is 2 , and the point is called an interior point; if it is outside of the global boundary, the sum is zero. Because of the large amount of laser stripe centers and boundary constraint, we improved the method to determine the point of the local edge based on the arc-length method. For convenient introduction, the column laser stripe is taken as an example. The extracted center of the laser stripe is arranged in an extraction order with the increasing of the column value of the image. Therefore, the points of the edge are distributed on the regions of the starting and ending, respectively. We judge the extracted light strip centers from the two ends of the center sequence. According to Equation (16), the center sequence of a laser stripe is defined as C j j = 1, 2, . . . , η . First, the initial point of the center sequence is judged as to whether it is within the boundary, that is, when j = 1, C j is judged whether it has met the requirements of the interior point. Because the boundary consists of thousands of points, the minimum bounding rectangle REC min of the global boundary is taken as an initial boundary to simplify the calculation. The rectangle is described as follows:

47Four vertexes are marked as RE 1 , RE 2 , RE 3 , RE 4 , respectively. The sum of the directed arc-length

48If the arc-length is zero, C j is not an interior point, and C j+1 is judged. If the arc-length is 2π, the directed arc-length of points on the global boundary is summed:

49if l g does not meet the requirements of the interior point, the next point is sequentially judged. The calculation continues until the inner point appears. The inner point is considered as a boundary point C f of the laser stripe. Similarly, another edge point is judged from another end of the center sequence. Then, a series of laser stripe centers C j j = f , f + 1, . . . , l − 1, l is reserved as the center points within the boundary. Parameters f and l are the first number and last number, respectively.

System Calibration

50High-accuracy vision measurement system calibration is the key and foundation to ensure the measurement accuracy of large parts. In this paper, the binocular system is calibrated using the two-dimensional target calibration method presented by Zhang [21]. In order to reduce the influence of the lens distortion on measurement accuracy, the correction coefficient for the radial distortion is introduced. Further, the pinhole model is modified to ensure high-accuracy calibration of the high-speed camera [7]. The corresponding equation is as follows:

51where, ûv is the real image point caused by distortion, and k 1 , k 2 are known as the first-and second-order distortion coefficients. X w Y w Z w is the three-dimensional coordinates of an image point in the world coordinate system; Z c is a scale factor; M l represents the camera parameters. Calibration of the binocular camera from two dimensions to three dimensions is achieved via LM optimization.

Features Matching and Reconstruction

52The matching and reconstruction of corresponding feature points on the left and right images are essential to realizing high-accuracy 3D measurements. The illustration of the matching and reconstruction process is shown in Figure 7.

53The matching and reconstruction of corresponding feature points on the left and right images are essential to realizing high-accuracy 3D measurements. The illustration of the matching and reconstruction process is shown in Figure 7. Based on basic epipolar constraint, the corresponding points of laser stripe centers on the left image and right image are matched [22]. The parameters of matching are obtained by using the 8-point algorithm [23]. Then the matching points are reconstructed according to the basic principle of binocular vision reconstruction and the parameters of reconstruction are obtained based on the results of camera calibration [24]. The 3Dcoordinates of a point i P are reconstructed based on the following equation:

Experimental Analysis

54The experimental system utilized is shown in Figure 8. The binocular vision measurement system for large parts consisted of two high-resolution cameras (VC-12MC with resolution 4096 × 3072 and 35 mm lenses, Vieworks, Gyeonggi-do, Korean), a laser line projector (Lasiris PowerLine with wavelength 445 nm ± 10 nm, Coherent, Salem, NH, USA), gantryholder (Manfrotto tripods MT055CXPRO3 with working height of 1.7 m), and an imaging workstation (Z840, Hewlett-Packard Development Company, Palo Alto, CA, USA). The camera had a field of view of 1270 mm × 700 mm. The baseline of two cameras is 750 mm and the angel of camera is about 30 degree in the proposed system. The configuration of the system is based on the layout optimization algorithm [25]. The Based on basic epipolar constraint, the corresponding points of laser stripe centers on the left image and right image are matched [22]. The parameters of matching are obtained by using the 8-point algorithm [23]. Then the matching points are reconstructed according to the basic principle of binocular vision reconstruction and the parameters of reconstruction are obtained based on the results of camera calibration [24]. The 3Dcoordinates of a point P i are reconstructed based on the following equation: X w m l 11 + Y w m l 12 + Z w m l 13 + m l 14 − u l X w m l 31 − u l Y w m l 32 − u l Z w m l 33 = u l m l 34 X w m l 21 + Y w m l 22 + Z w m l 23 + m l 24 − v l X w m l 31 − v l Y w m l 32 − v l Z w m l 33 = v l m l 34 X w m r 11 + Y w m r 12 + Z w m r 13 + m r 14 − u r X w m r 31 − u r Y w m r 32 − u r Z w m r 33 = u r m r 34 X w m r 21 + Y w m r 22 + Z w m r 23 + m r 24 − v r X w m r 31 − v r Y w m r 32 − v r Z w m r 33 = v r m r 34 (20) where m l ij is the value on the ith row and jth column of matrix M l , and M l is the projection matrix of the left camera, which expresses the relationship between 2D and 3D on the left camera; u l , v l are image pixel coordinates of left camera image on the column and row, respectively; m r ij is the value of the right camera projection matrix M r on the ith row and jth column; u r , v r are image pixel coordinates of the right camera; and the pixel points of the left and right image are the matching points. X w , Y w , Z w are the final 3D coordinates of the measured point. Based on above proposed method, the 3D surfaces of the measured parts are finally obtained by reconstructing image sequences of the laser stripes captured by the left and right cameras.

55The experimental system utilized is shown in Figure 8. The binocular vision measurement system for large parts consisted of two high-resolution cameras (VC-12MC with resolution 4096 × 3072 and 35 mm lenses, Vieworks, Gyeonggi-do, Korean), a laser line projector (Lasiris PowerLine with wavelength 445 nm ± 10 nm, Coherent, Salem, NH, USA), gantryholder (Manfrotto tripods MT055CXPRO3 with working height of 1.7 m), and an imaging workstation (Z840, Hewlett-Packard Development Company, Palo Alto, CA, USA). The camera had a field of view of 1270 mm × 700 mm. The baseline of two cameras is 750 mm and the angel of camera is about 30 degree in the proposed system. The configuration of the system is based on the layout optimization algorithm [25]. The measured object was placed parallel to the ground, similar to the placement of aviation parts in the industrial field.

Physical Experiments

56A standard flat part with size 600 mm × 800 mm was measured to verify the 3D measurement accuracy of the proposed system. Before the experiments, the standard flat part was measured using a three-coordinate measuring machine (Zeiss Prismo Navigator) to obtain the measuring reference data. Subsequently, the standard flat part was measured using the proposed system. The following experimental procedure was employed. First, the global boundary of the measured parts was obtained from the captured images without laser stripes. The extracted boundaries in the images, captured using left and right cameras, are shown in Figures 9a and 10a. Next, the images of the scanning laser stripes were captured via binocular camera with a frame rate of 20 fps in a time of 4 s. Then, the centers of the laser stripes were extracted by using the extraction method proposed in this paper. In order to compare the measurement accuracy, the centers of the laser stripes were also extracted using common methods-COG method and geometric center method-which are widely used in industrial measurement. Finally, the mean distance deviation (MMD) of the flat surface was utilized to evaluate the measurement accuracy due to the flat characteristic of the standard part.

57An original image and four arbitrary captured images, out of a total of 80, are shown in Figure 9. Figure 9a shows the first images captured by the left camera with a longer exposure time and no laser stripe. Figure 9b-e shows the 10th, 30th, 50th and 70th images captured by the left camera, respectively. The corresponding images captured by right camera are shown in Figure 10a-e. The extracted centers of the laser stripes and global boundary based on the proposed method are also indicated in Figures 9 and 10. The red lines represent the extracted center, whereas the yellow curve signifies the global boundary.

58A standard flat part with size 600 mm × 800 mm was measured to verify the 3D measurement accuracy of the proposed system. Before the experiments, the standard flat part was measured using a three-coordinate measuring machine (Zeiss Prismo Navigator) to obtain the measuring reference data. Subsequently, the standard flat part was measured using the proposed system. The following experimental procedure was employed. First, the global boundary of the measured parts was obtained from the captured images without laser stripes. The extracted boundaries in the images, captured using left and right cameras, are shown in Figures 9a and 10a. Next, the images of the scanning laser stripes were captured via binocular camera with a frame rate of 20 fps in a time of 4 s. Then, the centers of the laser stripes were extracted by using the extraction method proposed in this paper. In order to compare the measurement accuracy, the centers of the laser stripes were also extracted using common methods-COG method and geometric center method-which are widely used in industrial measurement. Finally, the mean distance deviation (MMD) of the flat surface was utilized to evaluate the measurement accuracy due to the flat characteristic of the standard part.

59An original image and four arbitrary captured images, out of a total of 80, are shown in Figure 9. Figure 9a shows the first images captured by the left camera with a longer exposure time and no laser stripe. Figure 9b-e shows the 10th, 30th, 50th and 70th images captured by the left camera, respectively. The corresponding images captured by right camera are shown in Figure 10a The scanning laser stripes without the global boundary constraint produced the reconstruction results shown in Figure 11. As shown in the Figure 11, some obvious error points exist on the boundary of object and false stripes present in the reconstruction results (marked with a red circle). The results validate that the proposed method with global boundary constraint can effectively improve the accuracy of reconstruction. The results of the 3D reconstruction based on the method of COG, the method of geometric center, and the feature compression extraction method (proposed in this paper) are given in Figure 12a-c. The local reconstruction details in the boundary are shown in Figure 13. As shown in Figure 12a, there appear many mistake points in the object boundary with the extraction of geometric center method. The boundary is not smooth and the reconstruction boundary points greatly fluctuate. Since the extraction of one-dimensional sub-pixel centers is achieved by the method of COG, the reconstruction errors in the object boundary obviously are reduced. However a portion of gross error points appear on the boundary of object, which is shown in Figures 12b and 13b. In contrast to these two methods, the boundary extracted by the improved center extraction method proposed in this paper is a flat line with fewer mistake points and the deviation of mistake points is smaller. The scanning laser stripes without the global boundary constraint produced the reconstruction results shown in Figure 11. As shown in the Figure 11, some obvious error points exist on the boundary of object and false stripes present in the reconstruction results (marked with a red circle). The results validate that the proposed method with global boundary constraint can effectively improve the accuracy of reconstruction. The results of the 3D reconstruction based on the method of COG, the method of geometric center, and the feature compression extraction method (proposed in this paper) are given in Figure 12a-c. The local reconstruction details in the boundary are shown in Figure 13. As shown in Figure 12a, there appear many mistake points in the object boundary with the extraction of geometric center method. The boundary is not smooth and the reconstruction boundary points greatly fluctuate. Since the extraction of one-dimensional sub-pixel centers is achieved by the method of COG, the reconstruction errors in the object boundary obviously are reduced. However a portion of gross error points appear on the boundary of object, which is shown in Figures 12b and 13b. In contrast to these two methods, the boundary extracted by the improved center extraction method proposed in this paper is a flat line with fewer mistake points and the deviation of mistake points is smaller. The scanning laser stripes without the global boundary constraint produced the reconstruction results shown in Figure 11. As shown in the Figure 11, some obvious error points exist on the boundary of object and false stripes present in the reconstruction results (marked with a red circle). The results validate that the proposed method with global boundary constraint can effectively improve the accuracy of reconstruction. The results of the 3D reconstruction based on the method of COG, the method of geometric center, and the feature compression extraction method (proposed in this paper) are given in Figure 12a-c. The local reconstruction details in the boundary are shown in Figure 13. As shown in Figure 12a, there appear many mistake points in the object boundary with the extraction of geometric center method. The boundary is not smooth and the reconstruction boundary points greatly fluctuate. Since the extraction of one-dimensional sub-pixel centers is achieved by the method of COG, the reconstruction errors in the object boundary obviously are reduced. However a portion of gross error points appear on the boundary of object, which is shown in Figures 12b and 13b. In contrast to these two methods, the boundary extracted by the improved center extraction method proposed in this paper is a flat line with fewer mistake points and the deviation of mistake points is smaller. In order to intuitively compare the reconstruction precision of the three methods, an evaluation method called mean distance deviation (MDD) is proposed. Because the experiment standard part is a flat part, the ideal reconstruction result is a standard plane. However, actual reconstruction points deviate from the plan due to the inevitable reconstruction errors. Therefore, in this paper, mean distance deviation (MDD) of 3D reconstruction point cloud to the fitting plane is defined to evaluate the reconstruction accuracy. The equation of a plane can be fitted by the least square method as 0 Ax By Cz D     , and the reconstructed points are presented as

60. Thus, the MDD is calculated as follows:

61where M is the number of the reconstructed points. The results are given in Table 1.

62The MDD of 4556 points obtained by the three-coordinate measuring machine is 0.10 mm, which is defined as the real MDD. As shown in Table 1, the MDD of the (c) feature compression extraction method proposed in this paper is 0.47 mm. It is smaller than the MDD of the reconstruction results based on the other two methods. The max error is the maximum distance from the reconstructed points to the fitting plane. The maximum error based on the feature compression extraction method is the smallest. In order to intuitively compare the reconstruction precision of the three methods, an evaluation method called mean distance deviation (MDD) is proposed. Because the experiment standard part is a flat part, the ideal reconstruction result is a standard plane. However, actual reconstruction points deviate from the plan due to the inevitable reconstruction errors. Therefore, in this paper, mean distance deviation (MDD) of 3D reconstruction point cloud to the fitting plane is defined to evaluate the reconstruction accuracy. The equation of a plane can be fitted by the least square method as Ax + By + Cz + D = 0, and the reconstructed points are presented as p i = x i y i z i . Thus, the MDD is calculated as follows:

63where M is the number of the reconstructed points. The results are given in Table 1.

64The MDD of 4556 points obtained by the three-coordinate measuring machine is 0.10 mm, which is defined as the real MDD. As shown in Table 1, the MDD of the (c) feature compression extraction method proposed in this paper is 0.47 mm. It is smaller than the MDD of the reconstruction results based on the other two methods. The max error is the maximum distance from the reconstructed points to the fitting plane. The maximum error based on the feature compression extraction method is the smallest.

Field Measurement Experiments

65The measurement accuracy of the system has been validated through the standard parts in laboratory, while the field measurement of actual parts is conducted to verify the feasibility of the method. In the study of aviation composite parts assembly, loads should be applied at different positions of the part surface. Then combining deformation of the parts with the characteristics of part material and structure, reasonable and effective loading magnitude and positions can be analyzed. Therefore, under different static stress, the shape measurement of the part is important for the analysis of the assembly performance of the composite parts. In order to verify the application feasibility of this method in field measurement, the shape features of a glass fiber composite part surface under different loads are measured by using this method.

66The size of the aviation part was approximately 700 mm × 800 mm. The field experimental system is shown in Figure 14. When loads are applied onto the surface of an aviation composite part, its 3D shapes change. Based on the proposed system, the three-dimensional shapes of the aviation composite parts under loads of 0 N, 30 N and 50 N are reconstructed respectively. In the field measurement, in order to reduce the impact of the ambient illumination, the lens of the camera is equipped with optical filter. Images captured by the left and right cameras are shown in the Figure 15. The global boundary is obtained with a long exposure. The reconstruction results under different loads are given in Figure 16. The green, blue and red point-clouds are respectively reconstruction results of part under loads of 0 N, 30 N and 50 N, which are shown in Figure 16a-c. The reconstruction results with three loads are shown in Figure 16d.

67The reconstruction results show that the deformation of the part surface increases with the increasing loads. The measurement results conform to the basic deformation law. The variation of the measured part's edge is shown in Figure 17. The green, blue and red curves are edges of part under loads of 0 N, 30 N and 50 N, respectively. As shown in Figure 17, when 30 N is applied on the one side of the part, a smaller displacement is produced on the middle position of the part's edge. And when the stress is 50 N, it appears an obvious displacement at the middle position of the part's edge. However, the two sides of the edge have a small displacement under different loads. The reconstructed point cloud and the edge of part can be used for the analysis of part characteristics with different assembly process parameters.

68method. In the study of aviation composite parts assembly, loads should be applied at different positions of the part surface. Then combining deformation of the parts with the characteristics of part material and structure, reasonable and effective loading magnitude and positions can be analyzed. Therefore, under different static stress, the shape measurement of the part is important for the analysis of the assembly performance of the composite parts. In order to verify the application feasibility of this method in field measurement, the shape features of a glass fiber composite part surface under different loads are measured by using this method.

69The size of the aviation part was approximately 700 mm × 800 mm. The field experimental system is shown in Figure 14. When loads are applied onto the surface of an aviation composite part, its 3D shapes change. Based on the proposed system, the three-dimensional shapes of the aviation composite parts under loads of 0 N, 30 N and 50 N are reconstructed respectively. In the field measurement, in order to reduce the impact of the ambient illumination, the lens of the camera is equipped with optical filter. Images captured by the left and right cameras are shown in the Figure 15. The global boundary is obtained with a long exposure. The reconstruction results under different loads are given in Figure 16. The green, blue and red point-clouds are respectively reconstruction results of part under loads of 0 N, 30 N and 50 N, which are shown in Figure 16a-c. The reconstruction results with three loads are shown in Figure 16d.

70The reconstruction results show that the deformation of the part surface increases with the increasing loads. The measurement results conform to the basic deformation law. The variation of the measured part's edge is shown in Figure 17. The green, blue and red curves are edges of part under loads of 0 N, 30 N and 50 N, respectively. As shown in Figure 17, when 30 N is applied on the one side of the part, a smaller displacement is produced on the middle position of the part's edge. And when the stress is 50 N, it appears an obvious displacement at the middle position of the part's edge. However, the two sides of the edge have a small displacement under different loads. The reconstructed point cloud and the edge of part can be used for the analysis of part characteristics with different assembly process parameters.

Conclusions

71In this paper, a large-part measurement method combining with feature compression extraction and directed edge-points criterion is proposed. The proposed method is mainly used to measure surfaces of large aviation parts including boundaries of parts in industrial environments. A sub-pixel centroid extraction method based on compress processing enables the 3D morphology of the measured parts to be accurately reconstructed. In addition, combined with an edge-point extraction based on directed arc-length criterion, the boundary of part is accurately obtained.

72The proposed sub-pixel centroid extraction method and directed edge-point criterion improve the extraction accuracy of the laser stripe center and realize the reconstruction of the part's boundary. Compared with the conventional extraction method, the mean distance deviation of the proposed

참고문헌 19건

  1. Laser Tracker Assisted Aircraft Machining and Assembly SAE technical papers on CD-ROM/SAE technical paper series · 2008 10.4271/2008-01-2313
  2. Statistical behavior analysis and precision optimization for the laser stripe center detector based on Steger's algorithm Optics Express · Optica Publishing Group · 2013 10.1364/oe.21.013442
  3. An improved online dimensional measurement method of large hot cylindrical forging Measurement · Elsevier BV · 2012 10.1016/j.measurement.2012.05.004
  4. Fast and robust laser stripe extraction for 3D reconstruction in industrial environments Machine Vision and Applications · Springer Science+Business Media · 2010 10.1007/s00138-010-0288-6
  5. Detecting digital image forgeries using sensor pattern noise Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2006 10.1117/12.640109
  6. Metrology of freeform shaped parts CIRP Annals · Elsevier BV · 2007 10.1016/j.cirp.2007.10.008
  7. Virtual Surface Measurement of Large Deployable Space Antenna Structure Advanced materials research · Trans Tech Publications · 2012 10.4028/www.scientific.net/amr.479-481.2586
  8. Design and Implementation of Practical Bidirectional Texture Function Measurement Devices Focusing on the Developments at the University of Bonn Sensors · Multidisciplinary Digital Publishing Institute · 2014 10.3390/s140507753
  9. Computer Vision Based Method and System for Online Measurement of Geometric Parameters of Train Wheel Sets Sensors · Multidisciplinary Digital Publishing Institute · 2011 10.3390/s120100334
  10. 3D Geometrical Inspection of Complex Geometry Parts Using a Novel Laser Triangulation Sensor and a Robot Sensors · Multidisciplinary Digital Publishing Institute · 2010 10.3390/s110100090
  11. Application of generalized grating imaging to pattern projection in three-dimensional profilometry Applied Optics · Optica Publishing Group · 2011 10.1364/ao.50.005115
  12. Pose Measurement Method and Experiments for High-Speed Rolling Targets in a Wind Tunnel Sensors · Multidisciplinary Digital Publishing Institute · 2014 10.3390/s141223933
  13. Systematic methods for the computation of the directional fields and singular points of fingerprints IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2002 10.1109/tpami.2002.1017618
  14. An unbiased detector of curvilinear structures IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1998 10.1109/34.659930
  15. A flexible new technique for camera calibration IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2000 10.1109/34.888718
  16. A Virtual Blind Cane Using a Line Laser-Based Vision System and an Inertial Measurement Unit Sensors · Multidisciplinary Digital Publishing Institute · 2016 10.3390/s16010095
  17. A study on using image serving technology for high precision mechanical positioning Mechanical Systems and Signal Processing · Elsevier BV · 2016 10.1016/j.ymssp.2016.03.017
  18. Centerline Extraction of Structured Light Stripe Based on Principal Component Analysis Chinese Journal of Lasers · Science Press · 2015 10.3788/cjl201542.0308006
  19. Computer Vision Texts in computer science · Springer International Publishing · 2010 10.1007/978-1-84882-935-0