skshapes.types.MorphingOutput

class skshapes.types.MorphingOutput(morphed_shape=None, regularization=None, path=None, path_length=None, **kwargs)

Bases: object

Class containing the result of the morphing algorithms.

It acts as a container for the result of the morphing algorithms. It contains the morphed shape, the regularization parameter (if any), the path (if any), the path length (if any) and eventually other attributes.

Parameters:
  • morphed_shape (polydata_type | image_type | None) – the morphed shape

  • regularization (Float32[Tensor, ''] | None) – the regularization parameter

  • path (list[polydata_type | image_type] | None) – the path (list of shapes)

  • path_length (Float32[Tensor, ''] | None) – the length of the path

  • kwargs – other attributes (if any)

__init__(morphed_shape=None, regularization=None, path=None, path_length=None, **kwargs)

Methods

__init__([morphed_shape, regularization, ...])