How to get the inverse displacement field using demons registration

Hi,

I have tried to use the demons method to do the image registration as shown in DemonsRegistration2 — SimpleITK 2.0rc2 documentation. But I can only get the forward transformation. Is there any way that I can get the backward transformation?

Thanks,

Kun

Hello @KrisHan999,

Two options:

  1. Switch between the moving and fixed images (registration returns a transformation which maps points from the fixed image to the moving one).
  2. Use one of the inversion filters, see the Transformations notebook section titled Inverting bounded transforms.
1 Like