Intra-operative MRI geometry distortion correction

Many groups have developed MRI distortion correction using 3D Slicer, but I’m not sure if they made their source code available - a few examples:

You can contact the authors to see if they are willing to share their software. Keep us updated about what you ended up achieving (or let us know if you need more help).