Skip to main content
. 2021 Jul 16;21(14):4860. doi: 10.3390/s21144860
Algorithm 1. Optimized Boundary Extraction Method
Input: Source point cloud S
Output: Boundary point cloud T without outliers
  • 1

    VVoxel Down-sampling S

  • 2

    for each point pi in V, do

  • 3

    p¯i=1kpia

  • 4

    C=1k(piap¯i)(piap¯i)T

  • 5

    Cvj=λjvj, j{1,2,3}

  • 6

     Boundary identification

  • 7

     Add boundary points into R

  • 8

    end

  • 9

    Zradius search for each point in R

  • 10

    for each point qi in Z do

  • 11

     Search for the k-nearest points: qia, i(1,k)

  • 12

    di=qiqia2k

  • 13

    end

  • 14

    μdin

  • 15

    σdi2(di)2nn1

  • 16

    for each point qi in Z, do

  • 17

    if diμ+ασ then

  • 18

      continue

  • 19

    end

  • 20

     Boundary identification

  • 21

     Add boundary points into T

  • 22

    end