skshapes.features.implicit_quadrics

skshapes.features.implicit_quadrics(*, points, weights=None, scale=1.0, batch=None, reg=0.0001)

Fits an implicit quadric to each point of a point cloud.

points, weights -> F (N, 3), (N,) -> (N, 4, 4)

The main reference for this function is the following paper:

Gabriel Taubin, “Estimation of Planar Curves, Surfaces and Nonplanar Space Curves Defined by Implicit Equations, with Applications to Edge and Range Image Segmentation”, IEEE Trans. PAMI, Vol. 13, 1991, pp1115-1138. http://mesh.brown.edu/taubin/pdfs/Taubin-pami91.pdf

See also this StackOverflow answer for a full discussion: https://scicomp.stackexchange.com/questions/26105/fitting-implicit-surfaces-to-oriented-point-sets # noqa E501