Closed Nazuna23 closed 1 year ago
The underlying joint label fusion process requires more than 1 atlas and the specific task is for 6-tissue labeling (CSF, GM, WM, Deep GM, brain stem and cerebellum). Here are the ones that we use
See
training_labels/*6labels.nii.gz
Dear Nick, Dear community,
Thank you very much for your quick reply, the link is already very helpful.
Is there any possibility to also integrate the Hammersmith atlas in my case in the antslongitudinalcorticalthickness pipeline? I would like to extract regional volumetric and cortical thickness data from this Hammers atlas for the subject at timepoint 1 and timepoint 2. Are the argument pairs -a and -l /-g and -l intended to add only one label per argument pair?
Any suggestions on how to proceed would be very helpful.
Thank you very much in advance!
All the options for the script are meant strictly for producing the cortical thickness images. The issue of how one parcellates those thickness images, e.g., Hammersmith Atlas, is completely outside the script.
Have you run the simpler antsCorticalThickness.sh
script on a single image? If not, I would recommend running that as it would be an easier on-ramp to using the longitudinal version.
Dear Nick, dear community,
Thank you very much for your reply.
I now ran the antsLongitudinalCorticalThickness.sh
script without the -a and -l option. The script ran through without any problems and the results look good.
For the extraction of the regional CT and volumetric data based on the atlas (e.g. Hammersmith), would the right procedure therefore be to apply the xx_T1wGroupTemplateToSubjectWarp.nii.gz to transform the atlas from template space into the space of each subject at each timepoint via antsApplyTransforms? I noticed that there is no affine.mat-file for the subject to grouptemplate-transformation, is that right to use the warp-file only?
Thank you again.
Yes, try that.
Dear community,
I have a question on the application of antsLongitudinalCorticalThickness.sh and the usage of atlases (in this case the Hammersmith segmentation atlas containing 95 regions, also implemented in cat12 (https://brain-development.org/brain-atlases/adult-brain-atlases/)). I would like to extract cortical thickness results from the Hammersmith atlas for one subject at time point 1 and time point 2. This is how my call looks like:
The script runs the first steps, however, throws an error at the jointslabelfusion step (inside antsJointLabelFusion.sh):
Since the error occurs inside antsJointLabelFusion.sh, I directly tried to get antsJointLabelFusion.sh running on its own with the above Hammersmith atlas. Since only the labels are provided, I followed the MalfLabelingExample, and mapped the hammers labels from the MNI template to the _Ttemplate0.nii.gz (see also screenshot). However, I still get the same error message as above when running antsJointLabelFusion.sh on its own.
The underlying problem is therefore, that the call to antsJointLabelFusion.sh fails, as no multi-label fusion seems to be required on the higher level of the task.
Does anyone have an advice for this on what I am missing? Help would be greatly appreciated.
Thank you very much in advance!