skshapes.morphing.non_rigid_icp.NonRigidDeformation
- class skshapes.morphing.non_rigid_icp.NonRigidDeformation(robust_loss='cauchy_mad', metric_type='point_to_point', max_iterations=50, gamma=1.0, device=None, coupling=None, alpha_start=100000.0, alpha_final=10.0, n_levels=6, landmarks=None, beta_landmarks=0.0, **kwargs)
Bases:
object- __init__(robust_loss='cauchy_mad', metric_type='point_to_point', max_iterations=50, gamma=1.0, device=None, coupling=None, alpha_start=100000.0, alpha_final=10.0, n_levels=6, landmarks=None, beta_landmarks=0.0, **kwargs)
Methods
__init__([robust_loss, metric_type, ...])fit()Run the complete non-rigid ICP optimization.
initialize(source_shape, target_shape)Initialize the deformation with source and target shapes.
optimization_step(alpha_stiffness)Perform one optimization step.
Transform the source shape using the computed deformation.
- fit()
Run the complete non-rigid ICP optimization.
- initialize(source_shape, target_shape)
Initialize the deformation with source and target shapes.
- optimization_step(alpha_stiffness)
Perform one optimization step.
- transform()
Transform the source shape using the computed deformation.