Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview

2018-03-13 Thread Bruce Fischl
oun...@nmr.mgh.harvard.edu> On Behalf Of Bruce Fischl Sent: Tuesday, 13 March 2018 12:44 PM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview hmmm, then maybe it is something else? If you email me a surface I'll s

Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview

2018-03-12 Thread Chris Adamson
018 12:44 PM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview hmmm, then maybe it is something else? If you email me a surface I'll see if I can find time to take a look. You can also take a look at the su

Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview

2018-03-12 Thread Bruce Fischl
reesurfer@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview Hi Chris we have c code for doing this but no binary that calls it in the way you need. This is the code: int MRISevertSurface(MRI_SURFACE *mris) { int v0, fno; FACE *face; for (fno = 0; fno &l

Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview

2018-03-12 Thread Chris Adamson
Subject: Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview Hi Chris we have c code for doing this but no binary that calls it in the way you need. This is the code: int MRISevertSurface(MRI_SURFACE *mris) { int v0, fno; FACE *face; for (fno = 0; fno < mris->nfaces;

Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview

2018-03-12 Thread Bruce Fischl
dices, no effect. Chris. -Original Message- From: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> On Behalf Of Bruce Fischl Sent: Saturday, 10 March 2018 1:06 AM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer]

Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview

2018-03-10 Thread Chris Adamson
:06 AM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview Hi Chris this probably means that the triangles aren't constructed according to our conventions. The ordering in faces is important as the cross-product

Re: [Freesurfer] Negative areas in mris_sphere, dark in freeview

2018-03-09 Thread Bruce Fischl
Hi Chris this probably means that the triangles aren't constructed according to our conventions. The ordering in faces is important as the cross-product of the legs of each triangle have to point outwards. That's how we define the surface normal vector field. Sounds like whatever software you

[Freesurfer] Negative areas in mris_sphere, dark in freeview

2018-03-08 Thread Chris Adamson
Freesurfer devs, I have a baffling problem in mris_sphere. I have generated some surfaces using an external tool that uses VTK. After converting the surfaces into freesurfer format using a basic format converter, then adding volume geometry to the surface file using the image used to create