freesurfer_read_sulc - FreeSurfer I/O function to read an sulc file [sulc, fnum] = freesurfer_read_sulc(fname) reads a binary sulc file into a vector After reading an associated surface, with freesurfer_read_surf, try: patch('vertices',vert,'faces',face,... 'facecolor','interp','edgecolor','none',... 'FaceVertexCData',sulc); light See also freesurfer_read_curv, freesurfer_read_surf, freesurfer_read_wfile
0001 function [sulc, fnum] = freesurfer_read_sulc(fname) 0002 0003 % freesurfer_read_sulc - FreeSurfer I/O function to read an sulc file 0004 % 0005 % [sulc, fnum] = freesurfer_read_sulc(fname) 0006 % 0007 % reads a binary sulc file into a vector 0008 % 0009 % After reading an associated surface, with freesurfer_read_surf, try: 0010 % patch('vertices',vert,'faces',face,... 0011 % 'facecolor','interp','edgecolor','none',... 0012 % 'FaceVertexCData',sulc); light 0013 % 0014 % See also freesurfer_read_curv, freesurfer_read_surf, freesurfer_read_wfile 0015 0016 0017 % This is just a wrapper, the .sulc format is the same as a .curv format 0018 0019 [sulc, fnum] = freesurfer_read_curv(fname) 0020 0021 return