I am also interested in something like this, but I have the opposite problem. The transformation is generated in MIDAS software, but I want to apply it to images using ANTs/R. I am comfortable with computing physical coordinates from voxel indices in ITK-based software. But can't seem to find how to apply the MIDAS transformation in ANTsR or c3d. The transformation is stored as a text file with nine values, it's just a rigid transformation according to the authors. Here is an example of two images and their registration/transformation parameters. Any help is appreciated.
```
# native
> ss.mri
antsImage
Pixel Type : float
Components Per Pixel: 1
Dimensions : 256x256x208
Voxel Spacing : 1.10156202316284x1.10156202316284x1.10000598430634
Origin : 114.4006 -140.9999 140.9999
Direction : 0 1 0 0 0 -1 -1 0 0
# template
> ss.mni
antsImage
Pixel Type : float
Components Per Pixel: 1
Dimensions : 220x156x172
Voxel Spacing : 1x1x1
Origin : 86 -110 78
Direction : 0 1 0 0 0 -1 -1 0 0
# transformation values
-9.178665e-02
-9.624395e-02
-3.031423e-01
-1.126689e+01
2.856828e+00
-7.156745e+00
9.595318e-01
9.468308e-01
1.017382e+00
```