I had the same problem in the past... try: *c3d_affine_tool -itk ANTSmat.txt -ref myref -src mysrc -ras2fsl -o FSLmat.txt *
However, as Tim said, this tool only converts the affine, not the warp. Moises. On 2 February 2018 at 18:33, Timothy Coalson <tsc...@mst.edu> wrote: > I haven't finished figuring this out, but it appears that the affine > file's "Parameters" array contains the 12 affine components you'd find in a > normal affine file. The warpfield does not seem to include the affine, so > you need to convert and use both of them, which may be why what you did > looked wrong. > > Tim > > > On Fri, Feb 2, 2018 at 4:54 PM, Glasser, Matthew <glass...@wustl.edu> > wrote: > >> I think Tim Coalson might be playing with this right now. Perhaps he can >> respond if there is a solution he figures out. >> >> Peace, >> >> Matt. >> >> From: <hcp-users-boun...@humanconnectome.org> on behalf of Anjani >> Bhargavi <anjaniragotha...@gmail.com> >> Date: Friday, February 2, 2018 at 4:36 PM >> To: "hcp-users@humanconnectome.org" <hcp-users@humanconnectome.org> >> Subject: [HCP-Users] Software to convert ANTs warps to FSL format >> >> Hi, >> >> Have any of you tried converting ANTs warps to FSL format? I tried doing >> it with c3d_affine_tool -ras2fsl option, but I wasn't not successful with >> it. I ended up with an error: >> >> terminate called after throwing an instance of 'char const*' >> >> Aborted (core dumped) >> >> >> I actually would like to convert the nonlinear warps. If there's a tool >> that any of you have used to do that, please let me know. I tried using the >> workbench command, convert-warpfield, to convert from world to fnirt >> format. The command worked, but when I used the warp to do the >> registration, the output didn't look like it actually worked. Any help is >> appreciated. >> >> -- >> Thanks and Regards, >> Anjani Bhargavi.R >> If you have the willpower to do things nothing will be against you! >> >> _______________________________________________ >> HCP-Users mailing list >> HCP-Users@humanconnectome.org >> http://lists.humanconnectome.org/mailman/listinfo/hcp-users >> >> _______________________________________________ >> HCP-Users mailing list >> HCP-Users@humanconnectome.org >> http://lists.humanconnectome.org/mailman/listinfo/hcp-users >> > > _______________________________________________ > HCP-Users mailing list > HCP-Users@humanconnectome.org > http://lists.humanconnectome.org/mailman/listinfo/hcp-users > _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users