| Algorithm 2 Neighborhood recognition of feature points |
|
Input: ; Output: ‘s mollification neighborhood ; 1: for to .size() do 2: Seek nearest neighborhood ; 3: View every point as a single cluster ; //see Section 5.1 and Figure 4 4: for to do 5: Compute similarity: based on Equation (4); 6: ; 7: if () then 8: Find two cluster with minimum similarity; 9: Merge (); 10: else 11: Obtain the ultimate cluster result: ; 12: break; 13: end For 14: computeResidual (); //see Section 5.2 15: corresponding to , ; 16: end for 17: return with neighbors; |