Beauchamp:SurfDist: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
#From to Dist. | #From to Dist. | ||
500 1000 26.91 | 500 1000 26.91 | ||
In SUMA, we may open the same surface, open a surface controller, and type the node number into the node window to see the node on the surface. | |||
This also gives the x,y,z, co-ordinate. | |||
e.g. for nodes 1000 and 500 | |||
26.8501, -134.36, -61.247 | |||
29.5528, -137.10, -35.658 | |||
You can also find these values by looking in the text file. | |||
To find the distance from a cardinal point, like the back of the brain, we must first find the node number of the desired point. | To find the distance from a cardinal point, like the back of the brain, we must first find the node number of the desired point. |
Revision as of 09:25, 12 February 2008
We may wish to find the distance between two points on the cortical surface. The AFNI program to do this is SurfDist, e.g.
echo 500 1000 > test.1D SurfDist -i lh.inflated.asc -input test.1D
Gives the result
Note SUMA_LoadNimlDset: ./test.1D has no element and no group. Perhaps it is a .1D read in as a niml dset. #Internodal distance along graph of surface lh.inflated.asc #A distance of -1 indicates an error of sorts. #From to Dist. 500 1000 26.91
In SUMA, we may open the same surface, open a surface controller, and type the node number into the node window to see the node on the surface. This also gives the x,y,z, co-ordinate. e.g. for nodes 1000 and 500
26.8501, -134.36, -61.247 29.5528, -137.10, -35.658
You can also find these values by looking in the text file.
To find the distance from a cardinal point, like the back of the brain, we must first find the node number of the desired point.