Skip to contents

Deformetrica 4 client

Fit and apply diffeomorphisms with a modern Deformetrica (>= 4.3) install.

install_deformetrica()
Install Deformetrica into a managed Python environment
find_deformetrica()
Locate the Deformetrica (>= 4.3) command-line executable
deformetrica_register()
Fit a Deformetrica diffeomorphism between two point sets (registration)
deformetrica_register_multi()
Fit ONE diffeomorphism to many matched objects (multi-object registration)
deformetrica_shoot()
Apply a fitted Deformetrica diffeomorphism to 3D points (geodesic shooting)
xformpoints(<deformetricareg>)
Apply a Deformetrica registration as a natverse transform

Alignment helpers

Prepare and post-process objects for a cross-brain registration.

affine_prealign()
Affine pre-alignment of one object onto another
split_mesh_lr()
Split a surface mesh into left and right halves by a midline plane
mirror_lr_split()
Assign left/right to an (even unpaired, midline) object by self-mirror warping

Visualisation

Animate a geodesic flow with nat.ggplot.

ggplot_flow_gif()
Animate a Deformetrica geodesic flow as a nat.ggplot GIF

Object I/O

Read and write neurons, meshes and point sets as VTK.

write_neuron_vtk()
Write a neuron as a VTK NonOrientedPolyLine
read_vtk()
Read a VTK format file
write_vtk()
Write VTK file
transform_vtk()
Transform a .vtk object