skshapes.morphing.extrinsic_deformation

Kernel deformation morphing algorithm.

This algorithm describes the morphing as a deformation of the ambiant space. The parameter is a vector field, which is referred to as the momentum. This momentum is smoothed by a kernel, and the morphed shape is obtained by integrating the momentum. The regularization is given by <p, K_q p> where p is the momentum, q is the initial position of the shape and K_q is the kernel at q.

Classes

ExtrinsicDeformation([n_steps, kernel, ...])

Kernel deformation morphing algorithm.

ODEModule(func)

Define the ODE function as a module for torchdiffeq.