Dear all,
I am trying to create a annotation file from a ROI_file with multiple ROIs with values form 1:10 using mris_sample_parc
I had verified that myROIfile and subject001/surf/rh.white and also mri/T1.mgz loadable together in freeview (=same space).
when running the command
mris_sample_parc -v -sdir subject001 rh ~/Documents/myROIfile.mgz rh.myROIfile.annot
it first starts well, but then complains about
could not open translation file /Applications/freesurfer/cma_parcellation_colors.txt
However when trying to load the created annotation file it gives me the same never endign error:
CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory ... etc.
I guess that the annotation is not on the surface, but what am I doing wrong?
Thank you in advance, Markus
I can precise the question, actually there are three:
1) ist the command correct?
mris_sample_parc -v -sdir subject001 rh ~/Documents/myROIfile.mgz
rh.myROIfile.annot
2) I do not understand the meaning of this claimed file cma_parcellation_colors.txt
Actually this does not exist. In the Wiki ( http://surfer.nmr.mgh.harvard.edu/fswiki/mris_sample_parc) it says that there was an optional arguement
-file <filename>
use <filename> as translation (default: 'cma_parcellation_colors.txt')
If I understand correctly, "translation" points ot a problem of different spaces, but the filename rather seems something like a parcellation/atlas color table?
3) The result of this problem seems to be that I cannot annotate the surface using the created annotation file. It gives this error, which i do not understand.
CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory ... etc.
Can anyone help me find the problem?
Thank you in advance!
Markus
Hi Markus
that file translates indices/annotations into colors to display and human reasable names.
cheers Bruce On Fri, 13 Dec 2013, Markus Gschwind wrote:
I can precise the question, actually there are three:
ist the command correct?
mris_sample_parc -v -sdir subject001 rh ~/Documents/myROIfile.mgz rh.myROIfile.annot
I do not understand the meaning of this claimed file
cma_parcellation_colors.txt
Actually this does not exist. In the Wiki (http://surfer.nmr.mgh.harvard.edu/fswiki/mris_sample_parc) it says that there was an optional arguement
-file <filename>
use <filename> as translation (default: 'cma_parcellation_colors.txt')
If I understand correctly, "translation" points ot a problem of different spaces, but the filename rather seems something like a parcellation/atlas color table?
- The result of this problem seems to be that I cannot annotate the surface
using the created annotation file. It gives this error, which i do not understand.
CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory ... etc.
Can anyone help me find the problem?
Thank you in advance!
Markus
Dear Bruce,
Thank you for your answer. I have not yet gotten it correctly.
1) Where does that file come from? Should I create it? how?
2) what is missing in the command of mris_sample_parc? Why does it now work?
3) what does the second error mean? CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory
Thanks in advance! Markus
2013/12/13 Bruce Fischl fischl@nmr.mgh.harvard.edu
Hi Markus
that file translates indices/annotations into colors to display and human reasable names.
cheers Bruce
On Fri, 13 Dec 2013, Markus Gschwind wrote:
I can precise the question, actually there are three:
ist the command correct?
mris_sample_parc -v -sdir subject001 rh ~/Documents/myROIfile.mgz rh.myROIfile.annot
I do not understand the meaning of this claimed file
cma_parcellation_colors.txt
Actually this does not exist. In the Wiki (http://surfer.nmr.mgh.harvard.edu/fswiki/mris_sample_parc) it says that there was an optional arguement
-file <filename>
use <filename> as translation (default: 'cma_parcellation_colors.txt')
If I understand correctly, "translation" points ot a problem of different spaces, but the filename rather seems something like a parcellation/atlas color table?
- The result of this problem seems to be that I cannot annotate the
surface using the created annotation file. It gives this error, which i do not understand.
CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory ... etc.
Can anyone help me find the problem?
Thank you in advance!
Markus
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
Hi Markus
you need to create that file (or update FreeSurferColorLUT.txt) to reflect whatever you have in /Documents/myROIfile.mgz
cheers Bruce
On Sat, 14 Dec 2013, Markus Gschwind wrote:
Dear Bruce, Thank you for your answer. I have not yet gotten it correctly.
Where does that file come from? Should I create it? how?
what is missing in the command of mris_sample_parc? Why does it now
work?
- what does the second error mean?
CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory
Thanks in advance! [cleardot.gif] Markus
2013/12/13 Bruce Fischl fischl@nmr.mgh.harvard.edu Hi Markus
that file translates indices/annotations into colors to display and human reasable names. cheers Bruce On Fri, 13 Dec 2013, Markus Gschwind wrote: I can precise the question, actually there are three: 1) ist the command correct? mris_sample_parc -v -sdir subject001 rh ~/Documents/myROIfile.mgz rh.myROIfile.annot 2) I do not understand the meaning of this claimed file cma_parcellation_colors.txt Actually this does not exist. In the Wiki (http://surfer.nmr.mgh.harvard.edu/fswiki/mris_sample_parc) it says that there was an optional arguement -file <filename> use <filename> as translation (default: 'cma_parcellation_colors.txt') If I understand correctly, "translation" points ot a problem of different spaces, but the filename rather seems something like a parcellation/atlas color table? 3) The result of this problem seems to be that I cannot annotate the surface using the created annotation file. It gives this error, which i do not understand. CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory ... etc. Can anyone help me find the problem? Thank you in advance! MarkusThe information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
Thank you Bruce,
I read that mris_sample_parc "samples a volumetric parcellation onto a surface".
I understand that this is like creating from a file of the type of aseg a corresponding file of the type of aparc.annot.ctab.
Is this not true? Do I actually have to create the aparc.annot.ctab type file manually and give this as the above mentionned file to the command? The file is only an optional arguement though?
Thanks again, Markus
2013/12/14 Bruce Fischl fischl@nmr.mgh.harvard.edu
Hi Markus
you need to create that file (or update FreeSurferColorLUT.txt) to reflect whatever you have in /Documents/myROIfile.mgz
cheers Bruce
On Sat, 14 Dec 2013, Markus Gschwind wrote:
Dear Bruce,
Thank you for your answer. I have not yet gotten it correctly.
Where does that file come from? Should I create it? how?
what is missing in the command of mris_sample_parc? Why does it now
work?
- what does the second error mean?
CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory
Thanks in advance! [cleardot.gif]
Markus
2013/12/13 Bruce Fischl fischl@nmr.mgh.harvard.edu Hi Markus
that file translates indices/annotations into colors to display and human reasable names. cheers Bruce On Fri, 13 Dec 2013, Markus Gschwind wrote: I can precise the question, actually there are three: 1) ist the command correct? mris_sample_parc -v -sdir subject001 rh ~/Documents/myROIfile.mgz rh.myROIfile.annot 2) I do not understand the meaning of this claimed file cma_parcellation_colors.txt Actually this does not exist. In the Wiki (http://surfer.nmr.mgh.harvard.edu/fswiki/mris_sample_parc) it says that there was an optional arguement -file <filename> use <filename> as translation (default: 'cma_parcellation_colors.txt') If I understand correctly, "translation" points ot a problem of different spaces, but the filename rather seems something like a parcellation/atlas color table? 3) The result of this problem seems to be that I cannot annotate the surface using the created annotation file. It gives this error, which i do not understand. CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory CTABfindAnnotation: ct was NULL No such file or directory ... etc. Can anyone help me find the problem? Thank you in advance! MarkusThe information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
freesurfer@nmr.mgh.harvard.edu