fmi-basel / gliberal-scMultipleX

Feature extraction and linking of multiplexing data.
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

Save affine and ffd transformation to file #95

Closed enricotagliavini closed 10 months ago

enricotagliavini commented 1 year ago

Save affine and ffd transformation to file so we can load them later when needed (e.g. for a fractal task to compute transformed images)

For the affine transformation we can use numpy.save() and numpy.load() see https://numpy.org/doc/stable/reference/generated/numpy.save.html

For the ffd transform we need to use SimpleITK WriteTransform() and ReadTransform() functions, see https://simpleitk.readthedocs.io/en/master/IO.html