I have been given a 3D image volume after normalization in MNI space. The dimensions of the image volume are (in MNI space, 3.125x3.125x6 mm voxels, 50x61x23 voxels) as per the README file.
It is a correlation functional image volume in text format. I would like to display this image volume overlaid on an anatomic image (the standard MNI anatomic image, since I did not get a separate anatomic volume). Is there a good way of doing this?
and it is fairly straightforward in some sense, but I can not figure out how to put in the voxel dimensions, and how to then display using an overlay of the MNI anatomic image.
To use to3d for reading in text files, consider this example where we dump some numbers as text into a file from a dataset and then read them back in with to3d.
resample the dataset to a very coarse dataset just for an example here
However, from what I understand, in your example, you use the -geomparent on TT_N27_junk_8.nii.gz to get the slice thickness, etc for the file to be created. I do not have this file. I only have my ascii files and I know that my values are correlations and of dimensions 50 x 61 x 23 with voxel dimensions : 3.5 x 3.5 x 6 (mm). How do I get this information in?
You can leave out the geomparent option then and supply “-xFOV 120L-R -yFOV 120P-A -zFOV 64S-I” where you would replace the numbers with half the distance in each direction (in your case 25,30.5,11.5)and putting in the appropriate orientation for Left-Right, Posterior-Anterior and Superior-Inferior, where the directions could be reversed, depending on the orientation of the dataset.
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.