Dear all,
I'm trying to access and read a binary patch file (like ?h.full.patch.3d) rather than a converted ascii file. I've found a description of the lay-out of such a file at
http://surfer.nmr.mgh.harvard.edu/fswiki/FileFormats that in turn links to http://wideman-one.com/gw/brain/fs/surfacefileformats.htm:
|
Location (byte) |
Item |
Types |
Comment |
| 0 | PointCount | Int4 | Count of points to follow (Updated 2003-07-06) |
| ? + ?n | vtx x y z | Int4, Int2, Int2, Int2 | vtx is special: (mris->vertices[k].border)?-(k+1):k+1; See below for explanation (Updated 2003-07-06) |
|
Location (byte) |
Item |
Type |
Comment |
| 0 | Latency | Int2 | |
| 2 | Count | Int3 | Count of vertex-value pairs to follow |
|
5 + 7n |
VertexNum |
Int3 |
|
|
5 + 7n + 3 |
VertexVal |
Float4 |
mris_convert uses %f |
MRC Institute of Hearing Research
Science Road, University Park
Nottingham
NG7 2RD
Phone: +44 - (0)115 9223431
cris@ihr.mrc.ac.uk