Skip to main content
. 2020 Dec 17;20(24):7243. doi: 10.3390/s20247243
Algorithm 1 A regulation algorithm of CMF module to avoid over-saturation of repeated points in the points candidates.

Input: point cloud features Ai1 from previous stage and point set Si1 of Ai1.

Output: regulated point cloud features Ai1r.
  • 1:
    Count the repeated points set Si1m and unrepeated points set Si1n in Si1 where Si1mSi1n=Si1
  • 2:
    ifSi1m>λ1·Ni or Si1m<λ2·Ni then
  • 3:
        Random select Ni points from Si1 and corresponding features Ai1r
  • 4:
    else
  • 5:
        Random select Ni points from Si1m to build a new repeated point set Si1q
  • 6:
        Random select Ni points from Si1qSi1n and collect corresponding features Ai1r
  • 7:
    end ifreturnAi1r