Hi Afni Experts,
I have started using FATCAT tools for preprocessing of diffusion weighted data. One of the things I wanted to do was the following:
1) Create an average B0 image by linearly registering multiple B0's to create an optimized mean image as opposed to just creating a mean (since this does not account for head motion and may make the mean look worse).
2) Put the mean image as the first volume for eddy current reference
Using an older afni package, there was just 1dDW_Grad_O_Mat which would create a mean B0 image (although not linearly registered i'm guessing) when the -proc_dset flag is used and would output the new dataset with the -pref_dset flag. When updating and using 1dDW_Grad_O_Mat++ these flags are no longer available, and so I wanted to see if this is handled elsewhere or if this functionality is not being replaced? The issue is that even though the bvec/bval files are updated by removing other B0 values, I do not see any flags to output a corrected image. It looks like bref_mean_top will handle the text files but I do not see how to output a corrected image (with the mean B0 in place which I can replace with a linearly registered version).
Any help would be much appreciated.
Thanks,
Ajay