FSL warp to ANTs (nii.gz to .h5)

Dear all,

I have some transformations calculated using a combination of FSL and ANTs. They have been merged into one final warp interpretable to FSL (using wb_command -convert-warpfield). This transformation contains some warps and affine transformations. I would like to convert it to itk (ants interpretable), .h5 to be more precise. Is there any possibility to do this? Thanks in advance.

Best regards,

Manuel

Hi,

c3d may be your friend there. I never tried myself for warps, I know it works well for affine transforms.

This discussion may be of interest for you:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=fsl;c21935f9.1901

Let us know if you find a solution that works for you! Thanks!

Julien