Hi Gary,
Thank you for the reply. That was the first thing I tried, but for some reason the top part of the brain got cut. I think I should mention my problem in a little more detail.
I was wondering if aligning the functional images by using the DTI
deformation field would give a smarter alignment. So I want to use the deformation field calculated by DTITK to align and map functional images to standard space. I know this is probably not the task you built DTITK for, but I just wanted to give it a shot. I have been trying for
a couple of days but I keep running into some problems. I am using
DTITK alongside SPM.
I first tried coregistering trace images and functional images, which upsamples the functional image to match the resolution of the trace image. Once the trace and functional images are coregistered, I applied the deformation field to the functional images using
deformationScalarVolume, in the target I gave a reference image of 64x64x30 (functional image resolution). The resulting images were well aligned between subjects, but the top part of the brain was cut. Is there anything I can do to avoid this?
The other thing I tried was to downsample the trace images first to 64x64x39, coregister functional and trace images and then apply the field. This method does not align the images at all. Is it because the deformation field was calculated using images of a higher resolution?
The only remaining option I have is to work in lower resolution to begin with, calculate the deformation field on the downsampled DTI images and then use those. I haven't tried it yet though, but do you think it is a good idea?
Thank you once again.