spectralbrain.biharmonic_distance#
- spectralbrain.biharmonic_distance(decomp, *, indices=None)[source]#
Biharmonic distance — parameter-free intrinsic metric.
\[d_B^2(x, y) = \sum_{i=1}^{k} \frac{(\varphi_i(x) - \varphi_i(y))^2}{\lambda_i^2}\]Smooth, locally isotropic, globally shape-aware, robust to topological noise. No tuneable parameters.
- Parameters:
decomp (SpectralDecomposition)
indices (ndarray of int, optional) – Compute distances only from these source vertices.
- Returns:
ndarray, shape (M, N) or (N, N)
- Return type:
References
Lipman Y, Rustamov RM, Funkhouser TA. Biharmonic distance. ACM TOG 29(3):27, 2010.