Apply deformation field on source image to get the target image

Hi all,

I am working on generating my own data, I have the deformation fired and the source image, and try to generate the target image. I found somewhere mentioned that it should be done with DisplacementFieldTransform (to make the deformation field) and resample (apply deformation field on source), but the process is really vague. It would be great if I could find more detail here.

Thank you

Hello @Xinyue,

Please read about transformations in general and the displacement field transform in particular in this jupyter notebook. The details about resampling are describe in this notebook.

You may need to invert the transformation, depending on how you created it (details in the transformation notebook).

1 Like