• Laser & Optoelectronics Progress
  • Vol. 57, Issue 14, 141001 (2020)
Wenbin Zhong1, Xurui Li2、*, Si Sun2, and Guangshuai Liu2
Author Affiliations
  • 1The 10th Research Institute of China Electronics Technology Group Corporation, Chengdu, Sichuan 610036, China
  • 2School of Mechanical Engineering, Southwest Jiaotong University, Chengdu, Sichuan 610031, China
  • show less
    DOI: 10.3788/LOP57.141001 Cite this Article Set citation alerts
    Wenbin Zhong, Xurui Li, Si Sun, Guangshuai Liu. Key Contour Feature Extraction of Printed Circuit Board Point Cloud[J]. Laser & Optoelectronics Progress, 2020, 57(14): 141001 Copy Citation Text show less
    Block diagram of key contour feature extraction algorithm of printed circuit board
    Fig. 1. Block diagram of key contour feature extraction algorithm of printed circuit board
    Determination of the projection plane of the boundary point
    Fig. 2. Determination of the projection plane of the boundary point
    Defining conditions of boundary points.(a)Point is on the boundary contour;(b)point is not on the boundary contour
    Fig. 3. Defining conditions of boundary points.(a)Point is on the boundary contour;(b)point is not on the boundary contour
    Comparison of feature line extraction effects of 6 different algorithms on printed circuit board. (a) Raw point cloud; (b) r search algorithm; (c) k-NNS algorithm; (d) concave polygon algorithm; (e) convex hull algorithm; (f) RANSAC algorithm; (g) proposed algorithm
    Fig. 4. Comparison of feature line extraction effects of 6 different algorithms on printed circuit board. (a) Raw point cloud; (b) r search algorithm; (c) k-NNS algorithm; (d) concave polygon algorithm; (e) convex hull algorithm; (f) RANSAC algorithm; (g) proposed algorithm
    Comparison diagrams of the extraction effects. (a)(c) k-NNS algorithm; (b)(d) r search algorithm
    Fig. 5. Comparison diagrams of the extraction effects. (a)(c) k-NNS algorithm; (b)(d) r search algorithm
    Comparison diagrams of the extraction effects. (a)(c) RANSAC algorithm; (b)(d) proposed algorithm
    Fig. 6. Comparison diagrams of the extraction effects. (a)(c) RANSAC algorithm; (b)(d) proposed algorithm
    Part contour size of the printed circuit board
    Fig. 7. Part contour size of the printed circuit board
    Input:Point cloud: P=p1,,pnParameter: i,j,k,Nmin,Nmax,dth,pr,n,αthVector: C,Q[j]
    1: For i=0 to sizeP do
    2: If pr[i]=true then3: continue
    4: Q.push_back(i)5: pr[i]=true6: End if7: For j=1 to j do8: set pq=pj as query point9: Use kd-tree to find the k nearest neighbor pik
    10: If L(pq,pik)≤dth & arccos (<nq,nk>)≤αth then11: Add pik to Q[j]12: j=j+113: pr[i]=true14: End if15:End for
    16: If NminQsizeNmax then17: C.push_back Q[j]
    18: clear Q19: i=i+120: End if21: End for22:Return C
    Table 1. Euclidean clustering based on normal vector angle
    AlgorithmNumber of reservedfeature pointsTime /s
    r search1658178.0
    k-NNS452524.0
    Concave polygon2814.0
    Convex hull1832.0
    RANSAC681628.3
    Proposed algorithm780120.8
    Table 2. Statistical results of number of reserved feature points after boundary point extraction
    Algorithm moduleTime /s
    Pre-processing0.096
    Detection of maximum plane extraction1.572
    Remaining point extraction1.672
    Boundary 1 extraction2.773
    Boundary 2 extraction0.474
    B1∪B20.219
    Total time6.806
    Table 3. Time-consuming of each sub-module of proposed algorithm
    Key contour sizeMeasurement result /mmActual value /mmActual error /mmRelative error /%
    L1148.502148.600-0.098-0.065
    L2115.739115.840-0.101-0.087
    L316.32016.2000.1200.740
    L416.23316.260-0.027-0.166
    L514.92114.8800.0410.275
    Table 4. Comparison between measurement results of contour size and actual values
    Wenbin Zhong, Xurui Li, Si Sun, Guangshuai Liu. Key Contour Feature Extraction of Printed Circuit Board Point Cloud[J]. Laser & Optoelectronics Progress, 2020, 57(14): 141001
    Download Citation