(pc)
| 38 | |
| 39 | |
| 40 | def pc_normalize(pc): |
| 41 | l = pc.shape[0] |
| 42 | centroid = np.mean(pc, axis=0) |
| 43 | pc = pc - centroid |
| 44 | m = np.max(np.sqrt(np.sum(pc**2, axis=1))) |
| 45 | pc = pc / m |
| 46 | return pc |
| 47 | |
| 48 | |
| 49 | def square_distance(src, dst): |
nothing calls this directly
no outgoing calls
no test coverage detected