| Algorithm 1 The pseudo-code of initial segmentation | |
|
Input: the normal of each point , the normals of orientation planes , the number of orientation planes numPlanes, the number of points numPoints Output: initial clusters For to numPoints-1 do bestScore = 0 For to numPlanes-1 do scoreNormal = If scoreNormal > bestScore do bestScore = scoreNormal clusterIndex = j End If End For End For |