Hi Panos
why not just write a matlab script to do it? It would be easy enough. I don't think we have a binary that will quite do what you want Bruce On Mon, 25 Jan 2016, pfotiad@nmr.mgh.harvard.edu wrote:
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 _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer