Re: [Freesurfer] Neighborhood of a vertex

2016-12-18 Thread Bruce Fischl
Hi Onur for that you need a surface file. If you are using matlab you can load a surface file in with read_surf.m. The will then be an index into the surface (although note that you will need to add 1 to it since matlab is 1-based when you index into the vertex list). It will return a list o

[Freesurfer] Neighborhood of a vertex

2016-12-18 Thread Onur Uğurlu
Hi all, I have a 'lh.thickness.asc' file which contains thickness values of each vertex. The format of the file is following; However, x,y,z are not integer. What is the unit of the x,y,z values in the file? I am trying to find all the neighborhood of any given vertex as x,y,z -> x+1,y,

RE: [Freesurfer] neighborhood of a vertex

2006-06-13 Thread Don Hagler
D]> To: Don Hagler <[EMAIL PROTECTED]> CC: freesurfer@nmr.mgh.harvard.edu Subject: RE: [Freesurfer] neighborhood of a vertex Date: Tue, 13 Jun 2006 07:50:04 -0700 (PDT) Thank you, Don. However, I try your code and matlab tells me 'Undefined function or variable 'fs_fread3'&#

RE: [Freesurfer] neighborhood of a vertex

2006-06-13 Thread R. Chen
D]> wrote: >From: "R. Chen" >To: freesurfer@nmr.mgh.harvard.edu>Subject: [Freesurfer] neighborhood of a vertex>Date: Mon, 12 Jun 2006 11:02:59 -0700 (PDT)>> I want to do some customrized smoothing and need to know the >neighborhood of a vertex. I think FreeSurfer also use

RE: [Freesurfer] neighborhood of a vertex

2006-06-13 Thread greve
ld, but at least will allow people to > look at the source code themselves to answer questions. > > cheers, > Bruce > > > On Mon, 12 Jun 2006, Don Hagler wrote: > >>> From: "R. Chen" <[EMAIL PROTECTED]> >>> To: freesurfer@nmr.mgh.harvard.edu

RE: [Freesurfer] neighborhood of a vertex

2006-06-12 Thread Bruce Fischl
guess we could post a version that won't build, but at least will allow people to look at the source code themselves to answer questions. cheers, Bruce On Mon, 12 Jun 2006, Don Hagler wrote: From: "R. Chen" <[EMAIL PROTECTED]> To: freesurfer@nmr.mgh.harvard.edu Subject:

RE: [Freesurfer] neighborhood of a vertex

2006-06-12 Thread Don Hagler
From: "R. Chen" <[EMAIL PROTECTED]> To: freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] neighborhood of a vertex Date: Mon, 12 Jun 2006 11:02:59 -0700 (PDT) I want to do some customrized smoothing and need to know the neighborhood of a vertex. I think FreeSurfe

Re: [Freesurfer] neighborhood of a vertex

2006-06-12 Thread Bruce Fischl
Hi Ron, convert one of the surfaces to ascii as well. It contains both a list of vertices (like the thickness) and a list of triangles, which has the nbhd info you need. cheers, Bruce On Mon, 12 Jun 2006, R. Chen wrote: Hi, I convert a thickness file to ascii format and the file looks like

[Freesurfer] neighborhood of a vertex

2006-06-12 Thread R. Chen
Hi, I convert a thickness file to ascii format and the file looks like   (vertex id, x, y, z, thickness) 000 -36.19709 -19.27060 66.10529 2.61633 001 -16.37191 -69.16402 59.60456 2.18290 002 -10.58665 -10.65137 50.24026 2.06269 003 -22.09574 43.85081 28.52032 1.54455 004 -57.95597 -0.45362