Morphing

This module apply morphing to a template source from landmarks.
Note

The default setting for morphing are:

  • morphing function: thin_plate_spline

  • smoothing: 0


source

morphing

 morphing (source_landmarks:pandas.core.frame.DataFrame,
           target_landmarks:pandas.core.frame.DataFrame,
           source_mesh:numpy.ndarray, func, smoothing)

Morph the target mesh with RBF function - Thin Plate Spine.

Type Details
source_landmarks DataFrame Landmarks of the source mesh
target_landmarks DataFrame Target Landmarks
source_mesh ndarray Coordinates of the mesh/ mesh
func
smoothing

Command Line


source

do_morphing

 do_morphing (func, smoothing)