Skip to main content
. 2023 Mar 20;23(6):3292. doi: 10.3390/s23063292
Algorithm 1 The pipeline of our algorithm
Input: Point cloud P;
Output: Normal set {ni};
1: for piP do
2:  Compute initial normal n˜ipi, feature coefficient wi;
3:   if wi<wt then
4:    ni=n˜i;
5:   else
6:    Obtain mollification neighborhood N¯ipi via Algorithm 2;
7:    Obtain ni via the first-stage normal mollification based on Equation (7);
8:     if fitting residual r(pi)>εf then
9:      Obtain mollification neighborhood Nipi via Section 5.2;
10:       Obtain ni via the second-stage normal mollification based on Equation (8);
11: end for