gvtulder / elasticdeform

Differentiable elastic deformations for N-dimensional images (Python, SciPy, NumPy, TensorFlow, PyTorch).
Other
186 stars 25 forks source link

Is it possible to also deform points with some coordinates? #15

Closed koegl closed 5 months ago

koegl commented 2 years ago

I'm working on image registration, where I have a moving image that I want to register to a fixed image.

Both images have a set of corresponding landmarks, that I need to use to evaluate the quality of the registration.

To do this, I need to deform the moving image and the corresponding landmarks with the same deformation field.

Is there a way to use Elasticdeform to deform a set of landmarks (i.e. points with some coordinates)?

gvtulder commented 2 years ago

No, there's currently no function to transform landmarks directly.

If you figure out a way to compute it, it would be a nice thing to add.