Dear FS Community,
I was wondering whether there is a way to create a binary volumetric file
of just the centroid of a binary volume (represented maybe as a dot of
1x1x1 mm^3 voxel size).
I know how to find the coordinates of the centroid (through either the
fslstats command or MATLAB), but I didn't know whether there was a way to
create a new binary volume of just the centroid through the terminal. (I
would do it manually, but I have ~500 binary volumes that I would like to
apply the same method to).
Thank you in advance for your help!
Best,
Panos