Re: [Freesurfer] mris_convert lh.pial to lh.pial.asc coordinate shift

2015-03-05 Thread Douglas N Greve
;> >> From: freesurfer-boun...@nmr.mgh.harvard.edu >> [mailto:freesurfer-boun...@nmr.mgh.harvard.edu] On Behalf Of Zachary >> Greenberg >> Sent: Wednesday, March 04, 2015 7:05 PM >> To: Freesurfer support list >> Subject: Re: [Freesurfer] mris_convert lh.pial t

Re: [Freesurfer] mris_convert lh.pial to lh.pial.asc coordinate shift

2015-03-05 Thread Krieger, Donald N.
Of Zachary Greenberg Sent: Wednesday, March 04, 2015 7:47 PM To: Freesurfer support list Subject: Re: [Freesurfer] mris_convert lh.pial to lh.pial.asc coordinate shift awesome! thanks a bunch Don. -zack On Wed, Mar 4, 2015 at 4:24 PM, Krieger, Donald N. mailto:krieg...@upmc.edu>> wrote: H

Re: [Freesurfer] mris_convert lh.pial to lh.pial.asc coordinate shift

2015-03-04 Thread Zachary Greenberg
f Pittsburgh > > > > *From:* freesurfer-boun...@nmr.mgh.harvard.edu [mailto: > freesurfer-boun...@nmr.mgh.harvard.edu] *On Behalf Of *Zachary Greenberg > *Sent:* Wednesday, March 04, 2015 7:05 PM > *To:* Freesurfer support list > *Subject:* Re: [Freesurfer] mris_convert lh.pial to lh.pial.asc >

Re: [Freesurfer] mris_convert lh.pial to lh.pial.asc coordinate shift

2015-03-04 Thread Bruce Fischl
half Of Zachary Greenberg Sent: Wednesday, March 04, 2015 7:05 PM To: Freesurfer support list Subject: Re: [Freesurfer] mris_convert lh.pial to lh.pial.asc coordinate shift   Thanks bruce. It will work out fine if I can just pull out that c_(ras) array in a pipelined way to apply it to the asc

Re: [Freesurfer] mris_convert lh.pial to lh.pial.asc coordinate shift

2015-03-04 Thread Krieger, Donald N.
ment of Neurological Surgery University of Pittsburgh From: freesurfer-boun...@nmr.mgh.harvard.edu [mailto:freesurfer-boun...@nmr.mgh.harvard.edu] On Behalf Of Zachary Greenberg Sent: Wednesday, March 04, 2015 7:05 PM To: Freesurfer support list Subject: Re: [Freesurfer] mris_convert lh.pial to lh.p

Re: [Freesurfer] mris_convert lh.pial to lh.pial.asc coordinate shift

2015-03-04 Thread Zachary Greenberg
Thanks bruce. It will work out fine if I can just pull out that c_(ras) array in a pipelined way to apply it to the ascii data. I'm struggling a bit to achieve that though. I think because mris_info outputs the tables of *_(ras) info in a strange way. For example, if I try to cat the output of mri

Re: [Freesurfer] mris_convert lh.pial to lh.pial.asc coordinate shift

2015-03-04 Thread Bruce Fischl
Hi Zack the ascii format I don't think supports the c_ras info, which is why you see a shift cheers Bruce On Wed, 4 Mar 2015, Zachary Greenberg wrote: Ok I figured out that this shift corresponds to the c_(RAS) value in the header of lh.pial, which you can get with 'mris_info lh.pial' Altern

Re: [Freesurfer] mris_convert lh.pial to lh.pial.asc coordinate shift

2015-03-04 Thread Zachary Greenberg
Ok I figured out that this shift corresponds to the c_(RAS) value in the header of lh.pial, which you can get with 'mris_info lh.pial' Alternatively you can get the first coordinate and subtract it from the first coordinate of lh.pial.asc with 'mris_info lh.pial --v 0' Is there a way I'm not thin

[Freesurfer] mris_convert lh.pial to lh.pial.asc coordinate shift

2015-03-04 Thread Zachary Greenberg
Hi all, I discovered that converting the mesh data from freesurfer lh.pial format to ascii (.asc) causes a shift in the coordinates of the mesh. You can see this by overlaying the two surfaces in freeview, and looking at the difference between the [0 0 0] surface RAS coordinate in lh.pial vs lh.pi