I hope you are doing well.
I wanted to do T2-based registration for the DWI scan. Here is the code I have used in registration part. I am not sure if changing the PAM50_T1 to PAM_T2 in sct_register_multimodal is correct or not? Also, does it have any effect on the final results of DTI metrics or not?
It’s all a question of contrast: the mean DWI scan has bright cord, dark CSF.
The PAM50_t1 contrast has bright cord / dark CSF
The PAM50_t2 contrast has dark cord / bright CSF.
So in this case it makes more sense to use the PAM50_t1 contrast (unless you have good reasons to do otherwise).
Also, does it have any effect on the final results of DTI metrics or not?
I’m not sure I fully understand your question (ie what is the “it” in “does it have any effect”), but in general, any differences in registration performance will be reflected in the extracted metrics (sometimes it will be negligible). Bottomline is: your registration needs to be as good as possible.
So the only change is in: -initwarp ../anat/warp_template2T2w.nii.gz, is that right?
and by it, I meant the registration result based on T2 compared to the default (T1). I see better segmentation and resolution in T2w images, that’s why I thought maybe this change in registration, could result in more accurate DTI metrics.
I see better segmentation and resolution in T2w images, that’s why I thought maybe this change in registration, could result in more accurate DTI metrics.
I think there is a fundamental misunderstanding here. The decision to choose PAM50_t1 or PAM50_t2 has nothing to do with quality of segmentation. Your destination image is the DWI scan. You do the segmentaiton on the DWI scan, not on the PAM50 images.
What do you mean by the “default” code? There are a lot of tutorials and pipelines with SCT, so it is difficult for me to know what code you are referring to. Please add a link to the exact line of code you are referring to.
What is indicated by the -initwarp refers to the previous registration done (ie on another contrast). So if you did PAM50 registration using a T2 contrast, then you would point to that warping field. If you did a registration using PD, or T1w or T2*w or any other contrast, then you would point to the associated warping field.
I strongly recommend you go through the tutorial section, which will help you understand the core principles behind SCT (registration across contrasts, etc.).