Thank you Marko and Torben, The grid method actually worked. It gives an idea where the volume is deformed. Best. Dorian 2012/12/17 Torben Lund <[log in to unmask]> > Dear Dorian > > I once created a NIFTI volume with a grid simply using spm_read_vols to > read e.g. a structural image use matlab to create a Y matrix with zeros and > ones and then spm_write_vol to make the grid. There is an example here: > > https://dl.dropbox.com/u/15218259/grid1.nii > > The PDF show the deformations corresponding to a transformation derived > from the structural (the background) image (red grid) and an one derived > from the mean EPI image (blue grid). Note how the EPI voxels need more > stretching near the orbitofrontal cortex. in order to get into MNI space. > Remember to use nearest neighbor interpolation when superimposing the grids. > > Hope this helps > Torben > > > Torben Ellegaard Lund > Associate Professor, PhD > Center of Functionally Integrative Neuroscience (CFIN) > Aarhus University > Aarhus University Hospital > Building 10G, 5th floor, room 31 > Noerrebrogade 44 > 8000 Aarhus C > Denmark > Phone: +45 7846 4380 > Fax: +45 7846 4400 > http://www.cfin.au.dk > [log in to unmask] > > > > > > > > > Den Uge:50 15/12/2012 kl. 22.37 skrev Dorian P. <[log in to unmask]>: > > Hi list, > > Is there a way to see the normalization matrix (.mat file)? For example to > see a deformed grid as seen in some papers. > > If somebody has a piece of code or a tool to convert the matrix to a 3D > nifti grid, that would be great. > > Thank you. > > Dorian > > > >