Dear Freesurfer experts,
I would like to preform several operations in surface files using spatial kernels (i.e mean value in a 3x3 grid, nearest neighbour value, etc). In summary, perform operations in the surface such as a 2D matrix/image.
Is it possible to do it with Freesurfer? I tried to open the surfaces using Python and Matlab, but as far as I am concerned, the vertex orders does not follow any "continous" or topological order.
Any insight would be very appreciated. Thanks in advance!
Victor M
Hi Victor
the order of vertices/faces is somewhat arbirtry. If you want to write out a convolution I would do it on the sphere (and account for the metric tensor of the chart functions), or flatten and do it in the plane.
cheers Bruce
On Tue, 28 Nov 2017, Victor Montal Blancafort wrote:
Dear Freesurfer experts,
I would like to preform several operations in surface files using spatial kernels (i.e mean value in a 3x3 grid, nearest neighbour value, etc). In summary, perform operations in the surface such as a 2D matrix/image.
Is it possible to do it with Freesurfer? I tried to open the surfaces using Python and Matlab, but as far as I am concerned, the vertex orders does not follow any "continous" or topological order.
Any insight would be very appreciated. Thanks in advance!
Victor M
read_surf.m will read in a surface including the nearest neighbors. the vertices are not ordered in an ordered way
On 11/28/2017 11:38 AM, Victor Montal Blancafort wrote:
Dear Freesurfer experts,
I would like to preform several operations in surface files using spatial kernels (i.e mean value in a 3x3 grid, nearest neighbour value, etc). In summary, perform operations in the surface such as a 2D matrix/image.
Is it possible to do it with Freesurfer? I tried to open the surfaces using Python and Matlab, but as far as I am concerned, the vertex orders does not follow any "continous" or topological order.
Any insight would be very appreciated. Thanks in advance!
Victor M
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu