Hi Dong,

you should see in the scripts/recon-all.log file, what the exact command is.

The list of all inputs gets created via:

 set RunList = `ls $subjdir/mri/orig/[0-9][0-9][0-9].mgz`

so 4 digit file names are not supported. It should work with three, not sure what it going on. Please post the mri_robust_template command, that it produces in the motion-correction stage.

The algorithm that recon-all uses is a call to mri_robust_template, where it passes all the inputs as --mov, jointly registers them (to the first input from the list) and outputs the average after registration.

One thing though. Why in the world would you try to average so many images? We usually recommend to select the best one and run that instead of averaging. MPRAGE or multi echo MPRAGE are usually good quality and don't really need averaging at all (I could not show an improvement of averaging so far). Also the average is of course affected by all inputs, so if some have motion artifacts, that will go into the average. Much better to discard those low quality images. If you have evidence that for your data averaging is a good idea, then why not take 2 or 3 images of the best images?

Best, Martin

On 11/30/2015 05:04 AM, Dong Haoming wrote:

Dear freesurfer exports,

I still have the problem to recon the surface with more than 10 inputs from one person with following command:

“recon-all -s ${subjec} -autorecon1 –notal-check -clean-bm -gcut -no-isrunning -noappend”,

Is there a limit on the number of the inputs?

What is the algorithm applied by “recon-all” to average these images? Is it viable to average input images with other methods, then apply “recon-all” to the averaged result?

Thanks very much for your help!

Dong Haoming

*发件人:*[email protected] [mailto:[email protected]] *代表 *董昊铭
*发送时间:*2015年11月26日13:11
*收件人:*[email protected]
*主题:*[Freesurfer] recon-all with more than 10 inputs

Dear freesurfer exports,

I am trying to recon more than 10 T1 scans from a single subject, but something went wrong.

I have converted all T1 nifti files into mgz format into mri/orig directory with following names: 001.mgz 002.mgz …. 010.mgz 011.mgz… But when I run the command:

“recon-all –s ${subjec} –autorecon1 –notal–check –clean-bm –gcut –no-isrunning -noappend”,

it seems that recon-all only recognizes the files with names 01*.mgz(i.e. 0013.mgz), the 00*.mgz(i.e. 001.mgz) files failed to be processed. Once I change the files name to “001.mgz 002.mgz …. 0010.mgz 0011.mgz”, the 00*.mgz(i.e. 001.mgz) are able to be recognized, but the 001*.mgz(i.e. 0013.mgz) files failed.

How should I deal with this to make all files recognized?

Sincerely,

Dong Haoming



_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

--
Martin Reuter, PhD
Assistant Professor of Radiology, Harvard Medical School
Assistant Professor of Neurology, Harvard Medical School
A.A.Martinos Center for Biomedical Imaging
Massachusetts General Hospital
Research Affiliate, CSAIL, MIT
Phone: +1-617-724-5652
Web  : http://reuter.mit.edu

_______________________________________________
Freesurfer mailing list
[email protected]
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.

Reply via email to