> I am new to imaging so some of these questions might be ridiculously
> basic. But here goes. So I'm trying to build an atlas, but first I
> need to build a template. I am trying to use TVMean command for this
> as per the tutorial. However the resulting template has a lot more
> slices than the original images. Is this supposed to happen?
Depending on exactly what you did. It'll be useful if you can provide
the exact sequence of commands you used. Tell us about the properties
of the input volumes. (Try VolumeInfo on one of your input volumes and
post its output)
> What
> exactly is then each slice in the output file? Also, when I take the
> FA map of the template using TVtool, it looks as if the background in
> the original image wasn't masked. But I'm pretty sure the original
> image was masked. Why would this happen?
It'll be helpful if you can post a screenshot of what you see.
Gary
As I said I attempted to create a template using DWI images from 3 subjects.
Voxel dimensions are 1.875x1.875x5.00 mm
Each DWI image is a nifti file with 432 slices I split using the FSL command fslsplit into 16 volumes of 27 slices each.
I then used the camino command anlyzedti to extract the tensor information from these volumes.
Then for each subject I created a nifti tensor file using:
ImageToTensorVolume subject_d hdr subject_tensor.nii.gz 1
I then scaled this file as per the tutorial using:
TVtool -in subject_tensor.nii.gz -scale 10,000,000,000
Created text "tensors.txt" with the filename of all three tensor files.
Thanks again for your response. I realized I was doing multiple things wrong, including but not limited to the scaling part. I just want to ask again just to be sure, so the template obtained with TVMean is just an image with the average value of each tensor for all the subjects, is that correct? I'm sorry if some of these questions are too obvious, but like I said I am new to MRI and I can't find documentation regarding this specific command. Thanks again for your help, I really do appreciate it!