I have followed most of the recommended steps to align subjects dtitk images into standard space. If I do
The final step proposed on http://dti-tk.sourceforge.net/pmwiki/pmwiki.php?n=Documentation.StdSpace
dfComposition -df2 subj_combined.df.nii.gz -df1 mean_combined.df.nii.gz -out subj_to_template.df.nii.gz
I get results that look good. However, I want to follow steps similar to FSL TBSS processing. This involves non-linear warping to a group space followed by affine transformation to MNI space. Something like as FSL web site says “each subject's FA image has the nonlinear transform to the target and then the affine transform to MNI152 space applied, resulting in a transformation of the original FA image into MNI152 space (actually the two transformations are combined before being applied, to avoid having to resample the image twice).” From the FSL TBSS User Guide.
So I thought it would be best to follow the proposed steps to
dti_affine_reg template.nii.gz mean.nii.gz EDS 4 4 4 0.001 1
(explicitly dti_affine_reg IITmean_dtitk.nii.gz mean_diffeomorphic_initial6.nii.gz EDS 4 4 4 0.001 1 )
And then create a composition of the initial df to template and the aff from the affine transformation of the group template to MNI space. So I added
dfRightComposeAffine -df subj_combined.df.nii.gz -aff mean_diffeomorphic_initial6.aff
-out subj_combined_mni.df.nii.gz
and
deformationSymTensor3DVolume
–in subj.nii.gz -trans subj_combined_mni.df.nii.gz -target IITmean_dtitk.nii.gz -out subj_combined_mni.nii.gz
Unfortunately, although the brains subj_combined_mni.nii.gz are roughly aligned with the template the tops of the brains are chopped off as in the attached picture. The left image is the template IITmean_dtitk.nii.gz , the orange is the df + aff transformation which I want (although I would like the tops of the brains too), and hidden behind on the right is the image made from df2 + df1 which is a full brain well aligned (better than the orange one but then it is made from 2 non-linear steps).
Is the solution to do something like the df2 + df1 step but constrain the df2 step some way such as warping an image to itself so there are no non-linear components? I suppose in practice the area missing might not be relevant to white matter analysis.
Thank you for your help
Simon
--
---
You received this message because you are subscribed to the Google Groups "DTI-TK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dtitk+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
How was this solved? I am experiencing the same problem. The final images are chopped. I followed the same commands:
dfRightComposeAffine -aff mean_diffeomorphic_initial6.aff -df mean_diffeomorphic_initial6_aff_diffeo.df.nii.gz -out mean_combined.df.nii.gz
Ouput: mean_combined.df.nii.gz
dfComposition -df2 VRIM003_dtitk_combined.df.nii.gz -df1 mean_combined.df.nii.gz -out VRIM003_to_template.df.nii.gz
deformationSymTensor3DVolume -in VRIM003_dtitk.nii.gz -trans VRIM003_to_template.df.nii.gz -target IIT2mean.nii.gz -out VRIM003_combined_mni.nii.gz
The top of my "subj_combined_mni.nii.gz" files are chopped.
The dimensions of my "subj_dtitk_combined.df.nii.gz" files are:
Dimensions: 224x224x144
Spacing: 1x1x1
The dimensions of my "IIT2mean" image are:
Dimensions: 128x128x128
Spacing: 1.42x1.70x1.42
I am having the same problem as the person who initiated this thread. Could you please tell me how was this solved?
Thank you in advance,
Ariadna
--
---
You received this message because you are subscribed to the Google Groups "DTI-TK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dtitk+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dtitk/f4372838-9b25-4b22-9264-a7ad6164c9c7%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "DTI-TK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dtitk/BRX1s6I-FuI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dtitk+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dtitk/CA%2BMh5Qfd1XZBGCwSZWX0SGHcnH0F2krWGMY24hc9%2BUgd%3DwEfpA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dtitk/CAJ2D%3DukLiSwJSnjT57%3DT9w0rpihfJinfV5WsiD3NMxhgyF2GzQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dtitk/CA%2BMh5QdVUD1a4oJniqokTBgd2vUT4E3HvE3LqjQ4L%3D%2BubN4WJg%40mail.gmail.com.
Sorry,the dimensions of the mean_combined.di.nii.gz are:182x218x182Spacing 1x1x1origin: [0, 0, 0]
Ariadna Albajara Sáenz
UR2NF - Neuropsychology and Functional Imaging Research GroupCRCN - Center for Research in Cognition and NeurosciencesUNIVERSITÉ LIBRE DE BRUXELLES, Avenue F. Roosevelt 50, CP 151, 1050 Brussels (Belgium).
Office: DB10-237
El mar., 29 oct. 2019 a las 22:56, Hui Zhang (<garyhu...@gmail.com>) escribió:
You didn't answer my question. I was asking about a different file: mean_combined.df.nii.gz.Gary
On Tue, Oct 29, 2019 at 9:35 PM Ariadna Albajara Sáenz <ariadna...@gmail.com> wrote:
The dimensions of my "subj_dtitk_combined.df.nii.gz" files are:
Dimensions: 224x224x144
Spacing: 1x1x1
The dimensions of my "IIT2mean" image are:
Dimensions: 128x128x128
Spacing: 1.42x1.70x1.42Yes, they are not the same but I don't know how to solve this.How was this solved in the previous post?Thank you in advance,
Ariadna Albajara Sáenz
Office: DB10-237
To unsubscribe from this group and stop receiving emails from it, send an email to dt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dtitk/f4372838-9b25-4b22-9264-a7ad6164c9c7%40googlegroups.com.
--
---
You received this message because you are subscribed to a topic in the Google Groups "DTI-TK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dtitk/BRX1s6I-FuI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dtitk/CA%2BMh5Qfd1XZBGCwSZWX0SGHcnH0F2krWGMY24hc9%2BUgd%3DwEfpA%40mail.gmail.com.
--
---
You received this message because you are subscribed to the Google Groups "DTI-TK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dtitk/CAJ2D%3DukLiSwJSnjT57%3DT9w0rpihfJinfV5WsiD3NMxhgyF2GzQ%40mail.gmail.com.
--
---
You received this message because you are subscribed to the Google Groups "DTI-TK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dt...@googlegroups.com.