Skip to main content
. 2019 Oct 12;19(20):4423. doi: 10.3390/s19204423
Algorithm 3 Determining the Edge Points from Candidate Edge Points
Input: Candidate Edge PointsPn(0<n<N)
Output: Edge PointsPm(0<m<M)
While(Pnϕ)
   IfPn(0<n<N)Candidate Edge Points
    Ifdistance(Pn)<threshold
       acc_arc=i=15arc(Pn·Pi), Pi is the 5 nearest candidate edge points.
           If acc_arc<threshold
             Pm = Pn
             m=m+1, n=n+1
           endif
    endif
   endif
endwhile