Open koegl opened 3 weeks ago
I want to use the Standard Deformation Field to deform objects like segmentations or landmarks.
I followed the instructions from README.md to create the SDF.
I then tried to 'recreate' the output of DRAMMS by using the SDF to deform the source image, but this didn't work.
I tried two approaches, but both gave the wrong results:
- Load into 3D Slicer and apply the transformation to the source image
- use
F.grid_sample()
Could you give an example of how you used the SDF to deform an image?
I have update a jupyter notebook and some example images here: EXAMPLES. You can map the source image to the target image according to its instructions using F.grid_sample()
.
I want to use the Standard Deformation Field to deform objects like segmentations or landmarks.
I followed the instructions from README.md to create the SDF.
I then tried to 'recreate' the output of DRAMMS by using the SDF to deform the source image, but this didn't work.
I tried two approaches, but both gave the wrong results:
F.grid_sample()
Could you give an example of how you used the SDF to deform an image?