I was trying to extract the B0 images from a dataset using dwiextract -bzero only to be told by my computer there were no B0 images.
Now upon closer inspection, there are indeed no EXACT B0, but a couple B10s i.e. a very low B value.
Apparently 10 is above the threshold to be considered “(approximately) zero” by dwiextract.
So I have been reading through the help on dwiextract
to find how to extract specific volumes for example in my case 1, 2 and 12.
The wish to extract a specified set of volumes seems a pretty standard fair to me?
I can fire up matlab to do this, but that would require exporting to .nii copying between computers etc etc.