skshapes.morphing.basemodel.BaseModel

class skshapes.morphing.basemodel.BaseModel

Bases: object

Base class for all deformation models.

__init__()

Methods

__init__()

copy()

Return a copy of the model.

inital_parameter(shape)

Return the initial parameters of the model.

copy()

Return a copy of the model.

Returns:

a copy of the model

Return type:

BaseModel

inital_parameter(shape)

Return the initial parameters of the model.

Parameters:

shape (polydata_type | image_type) – the shape to morph

Returns:

the initial parameters of the model

Return type:

FloatTensor