Hi
I have been trying to import my data and create a subject directory using
the following command:
recon-all -i <path-to-first-structural> -s <subjid>
replacing <path-to-first-structural> with the path where my T1 structural
nifti is allocated, and
-s <subjid> with the name of the subject (susu), which is supposed to be the
name of the directory too.
But after running this command i receive this message:
*recon-all /home/virtualuser/apps/freesurfer/subjects susu
ERROR: Flag /home/virtualuser/apps/freesurfer/subjects unrecognized.
/home/virtualuser/apps/freesurfer/subjects susu
Linux FreeSurfer 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC
2009 i686 GNU/Linux
recon-all -s exited with ERRORS at Thu Mar 17 14:49:33 EDT 2011*.
Can anyone help me determining the problem.
Thanks in advance
Leo
I'm running a normal brain through FSv5.0.0 using the -cw256 flag and encounter a problem at the mri_normalize stage. The nu.mgz file looks fine...WM regions have intensity values >110; cortical GM regions have intensity values 70-106; csf intensity values are around 60. The output file (T1.mgz) is all black (no different when changing intensity/contrast display options). I tried a "kinder gentler" normalization to write out a T1_gentler.mgz file, but got the same result (all black output image). I see that the # of peaks is not >1 (MRIsplineNormalize)...but not sure how to intervene at this stage.
Any ideas?
Many Thanks,
Jenifer
[jjuranek@localhost subjects]$ mri_normalize -gentle ATIS_0009_B_cw256/mri/nu.mgz ATIS_0009_B_cw256/mri/T1_gentle.mgz
performing kinder gentler normalization...
reading from ATIS_0009_B_cw256/mri/nu.mgz...
normalizing image...
talairach transform
1.081 -0.071 0.112 -2.139;
0.079 1.020 0.075 -20.692;
-0.117 -0.062 1.133 -11.092;
0.000 0.000 0.000 1.000;
INFO: Modifying talairach volume c_(r,a,s) based on average_305
MRIsplineNormalize(): npeaks = 1
ERROR: number of peaks must be > 1 for spline
1d normalization failed - trying no1d...
building Voronoi diagram...
performing soap bubble smoothing...
3d normalization pass 1 of 2
building Voronoi diagram...
performing soap bubble smoothing...
3d normalization pass 2 of 2
building Voronoi diagram...
performing soap bubble smoothing...
writing output to ATIS_0009_B_cw256/mri/T1_gentle.mgz
3D bias adjustment took 0 minutes and 42 seconds.
Dear FreeSurfer experts,
I'm using qdec 1.4 and I want to save the scatterplot with the "save GDF plot as postscript" button. It pretends saving a file but in fact it doesn't. Instead, in the terminal window following error message appears:
wrong # args: should be "FsgdfPlot_SaveToPostscript iID ifnPS"
Any ideas about how to solve that problem?
Beside that, is there any possibility to stream out the beta weights for a simple group comparison?
Thanks a lot for your answers and kind regards,
Johanna Feiler
___________________________________________________________
Empfehlen Sie WEB.DE DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 100,- Euro! https://freundschaftswerbung.web.de
Hello Nick
I'm wondering if you're able to verify my data today,
I did try using brainmask.mgz to mask the rawavg.mgz, and didn't worked,
I'm guessing you'll need my data, to see if there is something wrong on it, but I think is gonna be hard to send it to through the e-mail.
Bests,
Gabriel.
> Subject: RE: [Freesurfer] mri_mask problem
> From: nicks(a)nmr.mgh.harvard.edu
> To: gabriellbk(a)hotmail.com
> Date: Thu, 10 Mar 2011 21:38:50 -0500
>
> i'd have to try to replicate this myself, although it will have to wait
> till monday (i'm with the freesurfer group three days a week).
>
> i wonder if you can use the brain.mgz as your mask instead of
> brainmask.mgz. i think brain.mgz doesnt have 'deleted' voxels but their
> actually not there (zeroed).
>
> n.
>
> On Thu, 2011-03-10 at 08:42 +0000, Gabriel Go.Es. wrote:
> > Hello Nick,
> > good mornig for you, when you read this, Now I have tryed the flag in
> > the mri_mask command but it seems too similar to what was doing
> > before, it says that will transfer 1 voxel edits to dst vol, but there
> > many more voxels edited, I have also tryed mri_vol2vol in the
> > brainmask.mgz intead of brain.mgz but the result is exactly the same
> > (the output from mri_vol2vol has the voxel 'deletions', but the
> > mri_mask ignore them. Now i have no idea how to solve this, do you?
> >
> > Bests,
> > Gabriel
> >
> >
> >
> >
> >
> >
> >
> > > Subject: RE: [Freesurfer] mri_mask problem
> > > From: nicks(a)nmr.mgh.harvard.edu
> > > To: gabriellbk(a)hotmail.com
> > > Date: Wed, 9 Mar 2011 18:00:37 -0500
> > >
> > > we've improved some of the help text for the next version (5.1),
> > which
> > > is the only reason i noticed it this time.
> > >
> > >
> > > On Wed, 2011-03-09 at 22:58 +0000, Gabriel Go.Es. wrote:
> > > >
> > > > Than you Nick,
> > > >
> > > > Actually that was exactly what i did, delete some voxels from the
> > > > brainmask, I will try adding the flag and let you know, I dind't
> > saw
> > > > that this option exist in the mri_mask.
> > > >
> > > > thank you again,
> > > > Gabriel
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > > Subject: Re: [Freesurfer] mri_mask problem
> > > > > From: nicks(a)nmr.mgh.harvard.edu
> > > > > To: gabriellbk(a)hotmail.com
> > > > > CC: freesurfer(a)nmr.mgh.harvard.edu
> > > > > Date: Wed, 9 Mar 2011 17:52:34 -0500
> > > > >
> > > > > hi, not sure what you are trying to do, as the commands below
> > seem
> > > > to do
> > > > > what i expect them to do, which is to create a masked
> > > > (skull-stripped)
> > > > > version of rawavg.mgz. what do you mean by 'manual segmentation
> > > > > changes'?, and what exactly is going wrong?
> > > > >
> > > > > if you deleted voxels in brainmask.mgz, then perhaps you need to
> > add
> > > > the
> > > > > flag -keep_mask_deletion_edits to mri_mask to transfer those
> > voxels
> > > > > ('deleted' voxels actually have a special value to indicate
> > > > deleted).
> > > > >
> > > > > n.
> > > > >
> > > > >
> > > > >
> > > > > On Wed, 2011-03-09 at 22:28 +0000, Gabriel Go.Es. wrote:
> > > > > >
> > > > > > Hello everybody,
> > > > > > Sorry for the insistance, but I need to solve this...
> > > > > >
> > > > > > I'm making some manual segmentation changes in the
> > brainmask.mgz
> > > > and
> > > > > > using mri_vol2vol and mri_mask commands to apply these changes
> > to
> > > > the
> > > > > > rawavg.mgz, the output from the mri_vol2vol looks perfectly
> > > > normal,and
> > > > > > retains all changed made by me, but when I use the mri_mask
> > > > command
> > > > > > over the rawavg.mgz no segmentation seems to be donne in the
> > final
> > > > > > output file.
> > > > > >
> > > > > >
> > > > > > Does any one has an idea of what could be wrong?
> > > > > >
> > > > > >
> > > > > > the commands after manual corrections are:
> > > > > >
> > > > > >
> > > > > > mri_vol2vol --mov brain.mgz --targ rawavg.mgz --out
> > brain2raw.mgz
> > > > > > --regheader
> > > > > > mri_mask rawavg.mgz brain2raw.mgz outbrain.mgz
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Thanks in advanced,
> > > > > > Gabriel
> > > > > > _______________________________________________
> > > > > > Freesurfer mailing list
> > > > > > Freesurfer(a)nmr.mgh.harvard.edu
> > > > > > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> > > > >
> > > > >
> > > > >
> > > > > 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:
The CC volume in aseg.mgz is computed using two slices to the left
and two sagital slices to the right the midline ?...
Sincerely,
--
Gonzalo Rojas Costa
Laboratory for Advanced Medical Image Processing
Department of Radiology
Las Condes Clinic
Lo Fontecilla 441, Las Condes, Santiago, Chile.
Tel: 56-2-2105170
Cel: 56-9-97771785
www.clc.cl
While processing a normal brain through fsv5.0.0, an unfamiliar message popped up in the screen output (see below).
Any ideas what I should do about this message (anything in particular I should check)?
Many Thanks,
Jenifer
IFLAG= -1 LINE SEARCH FAILED. SEE DOCUMENTATION OF ROUTINE MCSRCH ERROR RETURN OF LINE SEARCH: INFO= 3 POSSIBLE CAUSES: FUNCTION OR GRADIENT ARE INCORRECT OR INCORRECT TOLERANCESpass 2 through quasi-newton minimization...
IFLAG= -1 LINE SEARCH FAILED. SEE DOCUMENTATION OF ROUTINE MCSRCH ERROR RETURN OF LINE SEARCH: INFO= 3 POSSIBLE CAUSES: FUNCTION OR GRADIENT ARE INCORRECT OR INCORRECT TOLERANCESoutof QuasiNewtonEMA: 009: -log(p) = 1145193.0 tol 0.000000
final transform:
1.386 -0.067 0.094 -63.518;
0.088 1.120 -0.108 -0.481;
-0.131 0.093 0.972 -2.704;
0.000 0.000 0.000 1.000;
writing output transformation to transforms/talairach_with_skull.lta...
registration took 34 minutes and 38 seconds.
mri_watershed -T1 -brain_atlas /usr/local/freesurfer/average/RB_all_withskull_2008-03-26.gca transforms/talairach_with_skull.lta T1.mgz brainmask.auto.mgz
Mode: T1 normalized volume
Mode: Use the information of atlas (default parms, --help for details)
Hi,all:
Just as the title says,I wonder if there is a method to obtain the thickness of each vertex in the whole brain,and so,if we can,how do we kown which of the area is the vertex belong to?
I am using the freesurfer 5.0.
thanks in advance!
wang
Hi Bruce:
Thanks you very much for your answer... And, how can I get the volume
of the new segmentation of the CC that I got with mri_cc command ?...
Sincerely,
Gonzalo Rojas Costa
El 15-03-2011 21:27, Bruce Fischl escribió:
> I mean that if the volume is rotated in any 2d slice it can look as if
> only some of the cc is properly labeled, even if the full 3d labeling is
> correct
> On Tue, 15 Mar 2011, Gonzalo Rojas Costa wrote:
>
>> Hi Bruce;
>>
>> I don't understand why you said that in 3D the labeling is usually
>> correct... ???...
>>
>> Sincerely,
>>
>>
>> Gonzalo Rojas Costa
>>
>>
>>
>> El 15-03-2011 15:33, Bruce Fischl escribió:
>>> Hi Gonzalo
>>>
>>> mri_cc computes the optimal rotation. If the patient's head is not
>>> straight this can make it look like an inconsistent labeling, but in 3d
>>> it usually is correct.
>>>
>>> Bruce
>>>
>>> On Tue, 15 Mar 2011, Gonzalo Rojas Costa wrote:
>>>
>>>> Hi:
>>>>
>>>> The CC_Posterior, CC_Central, etc, volumes in "aseg.mgz" are the
>>>> complete CC volume, or it includes only some sagital slices ?...
>>>>
>>>> How can I meassure the CC volume for some sagital slices only (5 in
>>>> total for example) ?... When I tried using "mri_cc" I got an error
>>>> (for example) in the case that the patient is slightly rotated
>>>> (freesurfer segments only one section of the CC as CC and the other as
>>>> WM)...
>>>>
>>>> Sincerely,
>>>>
>>>>
>>>>
>>>> Gonzalo Rojas Costa
>>>> Laboratory for Advanced Medical Image Processing
>>>> Department of Radiology
>>>> Las Condes Clinic
>>>> Lo Fontecilla 441, Las Condes, Santiago, Chile.
>>>> Tel: 56-2-2105170
>>>> Cel: 56-9-97771785
>>>> www.clc.cl
>>>>
>>>>
>>>>
>>>
>>>
>>> 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 All
I'm new in freesurfer. I have a question regards Philips DICOM format. I
tried to convert from dicom to .mgz
using mri_convert but i get the following error message:
MRIresample(): error inverting matrix; determinant is nan, matrix is:
-0.000 -0.000 nan nan;
0.000 0.000 nan nan;
0.000 -0.000 nan nan;
0.000 0.000 0.000 1.000;
Have anyone experienced this before?
Any help converting from philips dicom format?
Best regards
Leo.
So you re-ran mris_preproc and you still get the error? If so, try running
mris_preproc --debug <Your Options> |& tee mris_preprog.err.log
Send me the mris_preprog.err.log, but don't email it as it will likely
be huge. Instead drop it to me a the file drop listed at the end of this
email.
doug
Andrew Mendlowitz wrote:
> The mri_prepoc runs fine still but the glmfit still says can not
> allocate memory, there is 8gb of ram and very little disk space is
> used up, there is 876.1 gb still free.
>
> On Fri, Mar 11, 2011 at 12:49 PM, Douglas N Greve
> <greve(a)nmr.mgh.harvard.edu <mailto:greve@nmr.mgh.harvard.edu>> wrote:
>
> If you re-run mris_preproc does the same thing happen? Are you
> running out of disk space?
> doug
>
> Andrew Mendlowitz wrote:
>
> The code for the lh.paired-diff.thickness.mgh file is
> mris_preproc --target fsaverage --hemi lh \
>
> --meas thickness --out lh.paired-diff.thickness.mgh \
>
> --fsgd pairss.fsgd --paired-diff
>
>
> On Thu, Mar 10, 2011 at 10:13 AM, Douglas N Greve
> <greve(a)nmr.mgh.harvard.edu <mailto:greve@nmr.mgh.harvard.edu>
> <mailto:greve@nmr.mgh.harvard.edu
> <mailto:greve@nmr.mgh.harvard.edu>>> wrote:
>
> There appears to be something wrong with the
> lh.paired-diff.thickness.mgh file. How was it created?
> doug
>
> Andrew Mendlowitz wrote:
>
> Hello All,
> I get the following error while trying to run
> mri_glmfit. I am
> running a 2.93 ghz imac with 8gb of ram. I am also running
> freesurfer version 5.0.0 on Snow
> Leopard OS version 10.6.
>
>
> /Applications/freesurfer/subjects/qdec$ mri_glmfit
> --glmdir
> lh.paired-diff --fsgd paired-diff.fsgd --C mean.mtx --y
> lh.paired-diff.thickness.mghgdfReadHeader: reading
> paired-diff.fsgd
> INFO: DeMeanFlag keyword not found, DeMeaning will NOT
> be done.
> Continuous Variable Means (all subjects)
> 0 Age 1.5
> Class Means of each Continuous Variable
> 1 Main 1.5000
> INFO: gd2mtx_method is dods
>
> $Id: mri_glmfit.c,v 1.187.2.1 2010/07/26 15:54:39 greve
> Exp $
> cwd /Applications/freesurfer/subjects/qdec
> cmdline mri_glmfit --glmdir lh.paired-diff --fsgd
> paired-diff.fsgd --C mean.mtx
> --y lh.paired-diff.thickness.mgh
> sysname Darwin
> hostname larry
> machine i386
> user amend
> FixVertexAreaFlag = 1
> UseMaskWithSmoothing 1
> OneSampleGroupMean 0
> y
> /Applications/freesurfer/subjects/qdec/lh.paired-diff.thickness.mgh
> logyflag 0
> usedti 0
> FSGD paired-diff.fsgd
> glmdir lh.paired-diff
> IllCondOK 0
> DoFFx 0
> Creating output directory lh.paired-diff
> Loading y from
>
> /Applications/freesurfer/subjects/qdec/lh.paired-diff.thickness.mgh
> mri_glmfit(79576) malloc: *** mmap(size=2563764224) failed
> (error code=12)
> *** error: can't allocate region
> *** set a breakpoint in malloc_error_break to debug
> MRIallocIndices: could not allocate 1714511945 elt
> index array
> Cannot allocate memory
>
> The mri_info for the file is :
>
>
> mghRead(/Applications/freesurfer/subjects/qdec/fsgd_input.mgh,
> -1): could not
> open file
> amend@larry /Applications/freesurfer/subjects/qdec$
> mri_info
>
> /Applications/freesurfer/subjects/qdec/lh.paired-diff.thickness.mgh
> Volume information for
>
> /Applications/freesurfer/subjects/qdec/lh.paired-diff.thickness.mgh
> type: MGH
> dimensions: 1714510945 x 1853057372 x 1634628457 x
> 1668310833
> voxel sizes: 72950800688805540228332034981888.0000,
> 0.0000,
> 70387746064971392794503413760.0000
> type: UNKNOWN (842347100)
> fov: inf
> dof: 1668244335
> xstart: -inf, xend: inf
> ystart: -39.8, yend: 39.8
> zstart:
> -57528904905339976080461439864148066304.0, zend:
> 57528904905339976080461439864148066304.0
> TR: 71446969504754118412748034408448.00
> msec, TE:
> 17862977898376175754203558313984.00 msec, TI:
> 4464583905807213894543171649536.00 msec, flip angle:
> 4128358109894647822155776.00 degrees
> nframes: 1668310833
> PhEncDir: UNKNOWN
> ras xform present
> xform info: x_r =
> 19441367164500690594879212879872.0000, y_r =
> 282670772483715414097920.0000, z_r =
> 4630517930517356511053742080.0000, c_r =
> 18179207505345150839094025125888.0000
> : x_a =
> 72953300747400503281465327353856.0000, y_a =
> 71756401321839400437789128392704.0000, z_a =
> 4721224652433019196440490016768.0000, c_a = 0.0000
> : x_s = 0.0000, y_s =
> 208210237828607676252160.0000, z_s =
> 4286666299869639999488.0000, c_s =
> 4622889417339745644740714954752.0000
>
> talairach xfm :
> Orientation : AAA
> Primary Slice Direction: coronal
>
> voxel to ras transform:
> inf 12133604733747200.0000 inf
> -inf
> inf 3080133850722982464323584.0000
> inf
> -inf
> 36752183205510726549504.0000
> 8937395835633664.0000 inf -inf
> 0.0000 0.0000 0.0000 1.0000
>
> voxel-to-ras determinant nan
>
> ras to voxel transform:
> mat = NULL!
> Invalid argument
> MatrixFree: NULL mat POINTER!
>
> Invalid argument
>
> -Andrew
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer(a)nmr.mgh.harvard.edu
> <mailto:Freesurfer@nmr.mgh.harvard.edu>
> <mailto:Freesurfer@nmr.mgh.harvard.edu
> <mailto:Freesurfer@nmr.mgh.harvard.edu>>
>
>
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
>
>
> -- Douglas N. Greve, Ph.D.
> MGH-NMR Center
> greve(a)nmr.mgh.harvard.edu
> <mailto:greve@nmr.mgh.harvard.edu>
> <mailto:greve@nmr.mgh.harvard.edu
> <mailto:greve@nmr.mgh.harvard.edu>>
> Phone Number: 617-724-2358 <tel:617-724-2358>
> <tel:617-724-2358 <tel:617-724-2358>> Fax: 617-726-7422
> <tel:617-726-7422>
> <tel:617-726-7422 <tel:617-726-7422>>
>
>
> Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
> <http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting>
> <http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting>
>
> FileDrop:
> www.nmr.mgh.harvard.edu/facility/filedrop/index.html
> <http://www.nmr.mgh.harvard.edu/facility/filedrop/index.html>
> <http://www.nmr.mgh.harvard.edu/facility/filedrop/index.html>
>
>
>
>
> 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.
>
>
>
> --
> Douglas N. Greve, Ph.D.
> MGH-NMR Center
> greve(a)nmr.mgh.harvard.edu <mailto:greve@nmr.mgh.harvard.edu>
> Phone Number: 617-724-2358 <tel:617-724-2358> Fax: 617-726-7422
> <tel:617-726-7422>
>
> Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
> <http://surfer.nmr.mgh.harvard.edu/fswiki/BugReporting>
> FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html
> <http://www.nmr.mgh.harvard.edu/facility/filedrop/index.html>
>
>
--
Douglas N. Greve, Ph.D.
MGH-NMR Center
greve(a)nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422
Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: www.nmr.mgh.harvard.edu/facility/filedrop/index.html