I have a text file with voxel coordinates ordered in 3 columns: x y z
20 60 106
21 60 106
22 60 108
23 60 108
24 60 110
where each column refers to a different spacial coordinate, and I would like to create an ROI from this text file, i.e. an image in NIFTI format which I can open in AFNI or other programs able to read NIFTI files.
Do you know how I can achieve that with command lines or in any other way?
Thanks in advance to anyone who can help !!!