Re: [Freesurfer] inside or outside the brain

2004-04-16 Thread Gusyatin
Hi, By fixing the "z" or "depth" coordinate of your point you reduce the problem to determining if the point lies outside or inside the 2D contour. Once you've done that, you can simply check if the coordinates of the point are contained (<= or =>) within the corresponding boundaries of the conto

[Freesurfer] inside or outside the brain

2004-04-16 Thread Daniel Goldenholz
Hi. I have a math question. Suppose that I read a non-inflated brain surface using the matlab function "read_surf". Suppose further I have a single point which is in the same mri coordinate system as this surface. My question is this: what is a smart way to figure out if that single point is I