I am using ANTs for the first time. To learn I used 4 T1 images to crate template. I used .nii files with out skull stripping and "antsMultivariateTemplateConstruction.sh" script to get template. Before proceedig further, I need your suggestions. I have attached 3 template image links; before skull strip and after skull strip (using FSL-Bet) and template_warp.
Script:
bash antsMultivariateTemplateConstruction.sh -d 3 -m 30x50x20 -t GR -s CC -c 0 -o -z InitialTemplate.nii.gz *_t1.nii.gz
Dear Nick,
I downloaded example data and did analysis using the scritp in the folder. I have comapred with the result provided with the example folder. It is perfectly fine. Could you please help me to create template from my data? I want to select a particular image as initial template and feed into the command line. Please see the image details below and accordingly I want to modify the script/commandline.
I am using dcm2nii for image conversion and fsl-bet for skull stripping.
I have created a template using the templateCommand.sh script. For a trial I used 3 subjects and created template before and after skull strip. Please see the attached file and give your input.
Dera Nick,
Happy to see your openion. I have few questions.
1. For template creation using 40 data which script should I use? is it templateCommand.sh or other scripts?
2. I want to select one of the data as initial template. How to modify in the script to include initial template?
3. I have 3 groups including control. Should I select data only from controll group or randomly from all the groups?
Thanks
Ramesh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your suggesstions. It is encoursging to me.
I request you to have a look on the attached log file (which I saved from terminal), in some places I notice "core dumped" (in line 334, 347, ..) and "not found" (in line 2135, 2149....). Is it indicating error? Please clarify.
And I want to build atlas & label and tissue probability map. Which model/script is best suitable for this?
I have downloaded example data for Atropos and Brain Extraction example. I found template, priori and mask images in the downloaded folder. By using the scripe I got the same result as given the example.
I have created tempalte using my data by using various template command. I got a good template.
But how to create mask from the template and priori to preceed further?
What are the steps should I follow to create atlas with label?
Thanks
Ramesh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Experts,
I am using ANTs for the first time. To learn I used 4 T1 images to crate template. I used .nii files with out skull stripping and "antsMultivariateTemplateConstruction.sh" script to get template. Before proceedig further, I need your suggestions. I have attached 3 template image links; before skull strip and after skull strip (using FSL-Bet) and template_warp.
Script:
bash antsMultivariateTemplateConstruction.sh -d 3 -m 30x50x20 -t GR -s CC -c 0 -o -z InitialTemplate.nii.gz *_t1.nii.gz
https://drive.google.com/open?id=1EzTJmitC2QxUhLV1YahJJw3xiZ9PcgYn
https://drive.google.com/open?id=1HNdCRU9LtjT_XniCsGlL5vpSUtKpGM_K
https://drive.google.com/open?id=1QsDdjWt19l2hkhGLw5qAgsVfbZpn12Qs
Please give your suggestions.
Thanks
Ramesh
What's your question?
Perhaps before you use your own data, you should try to reproduce the examples available here.
Dear Nick,
Thank you for your reply.
I want to know whether the command which I have used is correct or modification is required?
Please letme know.
I have few more questions,I will post it after working on the example data which you mentioned.
Thanks
RB
Dear Nick,
I downloaded example data and did analysis using the scritp in the folder. I have comapred with the result provided with the example folder. It is perfectly fine. Could you please help me to create template from my data? I want to select a particular image as initial template and feed into the command line. Please see the image details below and accordingly I want to modify the script/commandline.
I am using dcm2nii for image conversion and fsl-bet for skull stripping.
DICOM/IM_0004
Field Strength: 2
ProtocolName: T1W3DTFE1X1SENSE (3D image)
ScanningSequence00180020: GR
TE: 3.683000088
TR: 7.494800091
DimXYZT: 256 256 175 1
ScanOrder: Interleaved
VoxelDimensions: 1x1x1
Thanks
Ramesh
Did you try adapting the script from the example data to your data? Should be straightforward.
Dear Nick,
I have created a template using the templateCommand.sh script. For a trial I used 3 subjects and created template before and after skull strip. Please see the attached file and give your input.
https://drive.google.com/open?id=1mtef9p7Gu4jA1Sy4g1OY8ovWoGhsOX07
https://drive.google.com/open?id=1KPjtkEPBQOyaZghp4Q4SOTrlPd6pm-1y
Further I want to create tissue probability map for GM, WM and CSF by the samle template. Can I segment the template using fsl-fast segmentation tool?
And finally I would like to know how to create atlas by using ANTs?
Waiting for your valuable suggestions.
Ramesh
Dear Nick,
I analyzed by using all the scripts found in the example folders for face and brain. I request you to have a look on the attached images & log report and give your openion. I used 3 subjects T1 MRI for all analysis.
https://drive.google.com/open?id=1PtWgnxF67OJiglObypgAbAPXEiE8mMHq
https://drive.google.com/file/d/1ncJh-m776lNSUwvVKRRum4zkSGd68-GC/view
https://drive.google.com/open?id=1jX1hlD61rEk4rvoO1O8-f-neH769oU3Q
https://drive.google.com/open?id=10EcPLicbmIiivELlbLrYBGviUSQXHs2g
I would like to proceed with 40 sujects after getting your suggestions.
Thanks
Ramesh
It looks like the template building process worked so I would imagine you can proceed with the entire cohort.
Dera Nick,
Happy to see your openion. I have few questions.
1. For template creation using 40 data which script should I use? is it templateCommand.sh or other scripts?
2. I want to select one of the data as initial template. How to modify in the script to include initial template?
3. I have 3 groups including control. Should I select data only from controll group or randomly from all the groups?
Thanks
Ramesh
Whichever one works best for you.
Look at the
-z
option.Depends on your experiment. Standardized templates are typically limited to controls.
Dear Nick,
Thank you for your suggesstions. It is encoursging to me.
I request you to have a look on the attached log file (which I saved from terminal), in some places I notice "core dumped" (in line 334, 347, ..) and "not found" (in line 2135, 2149....). Is it indicating error? Please clarify.
And I want to build atlas & label and tissue probability map. Which model/script is best suitable for this?
Thanks
Ramesh
Dear Nick,
I have downloaded example data for Atropos and Brain Extraction example. I found template, priori and mask images in the downloaded folder. By using the scripe I got the same result as given the example.
I have created tempalte using my data by using various template command. I got a good template.
But how to create mask from the template and priori to preceed further?
What are the steps should I follow to create atlas with label?
Thanks
Ramesh
The steps are described in this paper.
Dear Nick,
Thank you very much. It will be very helpful for me if you send me the full paper.
Thanks
Ramesh