Hello Martin and FreeSurfer experts,

I've checked the recon-all.log from the 2nd tp of one of the longitudinal 
subject directories (1004_1.long.1004_base) and found the following 4 lines 
using your search criteria:

1. \n mri_mask -transfer 255 -keep_mask_deletion_edits brainmask.auto.mgz 
brainmask_1004_base.mgz brainmask.auto.mgz \n
2. \n mri_mask -transfer 255 -keep_mask_deletion_edits -xform 
/Users/glennstebbins/Desktop/harlow_mount/JenG/ResearchAssistant/data/freesurfer_v5.1/1004_base/mri/transforms/1004_1_to_1004_base.lta
 brain.finalsurfs.mgz 
/Users/glennstebbins/Desktop/harlow_mount/JenG/ResearchAssistant/data/freesurfer_v5.1/1004_1/mri/brain.finalsurfs.manedit.mgz
 brain.finalsurfs.mgz \n
3. \n mri_mask -transfer 255 -keep_mask_deletion_edits -xform 
/Users/glennstebbins/Desktop/harlow_mount/JenG/ResearchAssistant/data/freesurfer_v5.1/1004_base/mri/transforms/1004_1_to_1004_base.lta
 wm.mgz 
/Users/glennstebbins/Desktop/harlow_mount/JenG/ResearchAssistant/data/freesurfer_v5.1/1004_1/mri/wm.mgz
 wm.mgz \n
4. \n mri_mask -transfer 255 -keep_mask_deletion_edits brain.finalsurfs.mgz 
brain.finalsurfs.manedit.mgz brain.finalsurfs.mgz \n

Does any of this stand out to you?

In visually comparing the brain.finalsurfs.manedit.mgz files between the cross 
and long, the edits do not appear to transfer to the long as has happened 
previously. However, when the brain.finalsurfs.manedit.mgz file is copied to 
the brianmask.mgz file (in the base and cross time points), and the 
longitudinal processes stream is run, the edits now contained in the 
brainmask.mgz files do seem to transfer.

Can you think of any complications (other than cerebellar) that would arise 
from copying the brain.finalsurfs.manedit.mgz file (where edits were made) to 
the brainmask.mgz in the cross-sectional and base directories and rerunning the 
longitudinal processing stream from scratch?

Thanks for all your help!

Doug

Doug Merkitch
Neurological Sciences
Rush University Medical Center
Phone: (312) 563-3853<tel:%28312%29%20563-3853>
Fax: (312) 563-4660<tel:%28312%29%20563-4660>
Email: douglas_merki...@rush.edu<mailto:douglas_merki...@rush.edu>



On May 19, 2014, at 3:52 PM, Martin Reuter 
<mreu...@nmr.mgh.harvard.edu<mailto:mreu...@nmr.mgh.harvard.edu>> wrote:

Hi Doug,

Usually I edit dura etc in the brainmask and only touch finalsurfs for 
cerebellum edits. But your way should also work (at least I don't know right 
now why it should not).

Anyway, I looked at recon-all and in the mask BFS step, it does copy the edits 
over from the cross into the long (if it's working as it should, see line 
2565). That command should be printed in your log file of the long run and you 
can search and double-check that it is there.
(mri_mask -transfer 255 -keep_mask_deleting_edits -xform .....)

You can also compare the brain_finalsurfs between cross and long in each time 
point to make sure the edits did get transferred. Be aware that these two 
images are not registered. The cross is in the original space, the long in the 
same space as the base and all other time points. So you may have to search 
around to find the same exact place.

Anyway, assuming edits do get through, the finalsurfs is then used in the 
mris_make_surfaces step. In long, this step is different from cross, as it 
takes the surfaces from the base as initialization and then fine tunes them. So 
you also have to check the surfaces in the base are all OK. That is essential 
as long takes it from there.

Best, Martin


On 05/16/2014 12:29 PM, Douglas Merkitch wrote:
Dear Martin and FreeSurfer experts,

Thanks for your response.

I have just finished re-running some subjects from scratch in 5.3 and it 
appears that the edits from brain.finalsurfs.manedit.mgz are not being applied 
to the longitudinal subject directories.

Just to clarify, I have been doing ALL of the pial surface edits in the 
brain.finalsurfs.manedit.mgz, not just the pial surface edits that have 
extended into the cerebellum. The rationale for doing this is mainly 
continuity, as the previous research assistant made all pial surface edits in 
this way because of a response she had received from the FS forum saying that 
there shouldn't be any problem with performing all the pial surface edits in 
the brain.finalsurfs.manedit.mgz file.

Is there something in the FreeSurfer longitudinal processing code that would 
treat edits near the cerebellum of the brain.finalsurfs.manedit.mgz file 
differently from those made in other parts of the brain (e.g. 
lateralorbitofrontal, dura, etc.,)?

Can you think of anything else that would be causing this or anything that I 
could try to get the longitudinal processing stream to incorporate the edits 
from the brain.finalsurfs.manedit.mgz file?

Thanks for your help!

Doug Merkitch
Neurological Sciences
Rush University Medical Center
Phone: (312) 563-3853<tel:%28312%29%20563-3853>
Fax: (312) 563-4660<tel:%28312%29%20563-4660>
Email: douglas_merki...@rush.edu<mailto:douglas_merki...@rush.edu>




Begin forwarded message:

From: Martin Reuter 
<mreu...@nmr.mgh.harvard.edu<mailto:mreu...@nmr.mgh.harvard.edu>>
Subject: Re: [Freesurfer] brain.finalsurfs.manedit.mgz file edits & 
longitudinal processing
Date: May 2, 2014 4:20:17 PM CDT
To: Freesurfer support list 
<freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>>
Reply-To: Freesurfer support list 
<freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>>

Hi Doug,

so you
1. edited the cross sectionals and surfaces look fine (make sure you edit the 
brain.finalsurfs.manedit.mgz file, which you create as a copy of the 
brain.finalsurfs.mgz)
2. checked/edited the base and surfaces look fine too
3. ran the longitudinal from scratch (w/o any edits)

and then in the long, the surface looks not good?

Edits should automatically be copied from cross->long (if the manedit file 
exist). Surfaces are taken from the base to initialize longitudinal processing. 
That is why both step1 and step2 above are important. Step3 is a good idea to 
make sure that the longs are not polluted by some earlier edits. For example 
edits from cross are only copied over if the long has no manedit file, else 
only the edits in the long will be used. (I think this also answers some of the 
questions in the archive mail 1 you cite below, the archive mail 2 is a 
question about cross sectional processing, but I think there the problem is 
that brainmask.finalsurfs.mgz was edited directly, not the manedit file, so 
edits probably get overwritten).

I also have the feeling that we fixed something about the editing in 
longitudinal processing after 5.1, but cannot find it documented on the wiki 
(so not sure). You may want to try to run this with 5.3 if it does not work 
with 5.1

Best, Martin


On 05/02/2014 10:45 AM, Douglas Merkitch wrote:
Dear Freesurfer experts,

I have a question regarding longitudinal edits. Specifically the 
brain.finalsurfs.manedit.mgz file and the longitudinal processing stream in 
Freesufer 5.1 on a Mac (freesurfer-i686-apple-darwin9.8.0-stable5-20110525).

The problem that I am having is that the edits saved in the 
brain.finalsurfs.manedit.mgz file do not carry over when processing 
longitudinally.

Previous posts have addressed this topic, but have not (to my knowledge) solved 
the issue. Please see the threads from the Freesurfer archive below for a brief 
context:

1. http://www.mail-archive.com/freesurfer%40nmr.mgh.harvard.edu/msg27695.html

2. http://www.mail-archive.com/freesurfer%40nmr.mgh.harvard.edu/msg33471.html

Please let me know if more information is needed to understand the issue.

Any insight/ideas regarding this issue would be greatly appreciated!

Thanks,

Doug

Doug Merkitch
Neurological Sciences
Rush University Medical Center
Phone: (312) 563-3853<tel:%28312%29%20563-3853>
Fax: (312) 563-4660<tel:%28312%29%20563-4660>
Email: douglas_merki...@rush.edu<mailto:douglas_merki...@rush.edu>






_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


--
Martin Reuter, Ph.D.

Instructor in Neurology
  Harvard Medical School
Assistant in Neuroscience
  Dept. of Radiology, Massachusetts General Hospital
  Dept. of Neurology, Massachusetts General Hospital
Research Affiliate
  Computer Science and Artificial Intelligence Lab,
  Dept. of Electrical Engineering and Computer Science,
  Massachusetts Institute of Technology

A.A.Martinos Center for Biomedical Imaging
149 Thirteenth Street, Suite 2301
Charlestown, MA 02129

Phone: +1-617-724-5652
Email:
   mreu...@nmr.mgh.harvard.edu<mailto:mreu...@nmr.mgh.harvard.edu>
   reu...@mit.edu<mailto:reu...@mit.edu>
Web  : http://reuter.mit.edu<http://reuter.mit.edu/>

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@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.





_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


--
Martin Reuter, Ph.D.

Instructor in Neurology
  Harvard Medical School
Assistant in Neuroscience
  Dept. of Radiology, Massachusetts General Hospital
  Dept. of Neurology, Massachusetts General Hospital
Research Affiliate
  Computer Science and Artificial Intelligence Lab,
  Dept. of Electrical Engineering and Computer Science,
  Massachusetts Institute of Technology

A.A.Martinos Center for Biomedical Imaging
149 Thirteenth Street, Suite 2301
Charlestown, MA 02129

Phone: +1-617-724-5652
Email:
   mreu...@nmr.mgh.harvard.edu<mailto:mreu...@nmr.mgh.harvard.edu>
   reu...@mit.edu<mailto:reu...@mit.edu>
Web  : http://reuter.mit.edu<http://reuter.mit.edu/>

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@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.

_______________________________________________
Freesurfer mailing list
Freesurfer@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.

Reply via email to