Home > bioelectromagnetism > freesurfer_read_area.m

freesurfer_read_area

PURPOSE ^

freesurfer_read_area - FreeSurfer I/O function to read an area file

SYNOPSIS ^

function [area, fnum] = freesurfer_read_area(fname)

DESCRIPTION ^

 freesurfer_read_area - FreeSurfer I/O function to read an area file

 [area, fnum] = freesurfer_read_area(fname)
 
 reads a binary area file into a vector

 After reading an associated surface, with freesurfer_read_surf, try:
 patch('vertices',vert,'faces',face,...
       'facecolor','interp','edgecolor','none',...
       'FaceVertexCData',area); light
 
 See also freesurfer_read_curv, freesurfer_read_surf, freesurfer_read_wfile

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [area, fnum] = freesurfer_read_area(fname)
0002 
0003 % freesurfer_read_area - FreeSurfer I/O function to read an area file
0004 %
0005 % [area, fnum] = freesurfer_read_area(fname)
0006 %
0007 % reads a binary area 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',area); light
0013 %
0014 % See also freesurfer_read_curv, freesurfer_read_surf, freesurfer_read_wfile
0015 
0016 
0017 % This is just a wrapper, the .area format is the same as a .curv format
0018 
0019 [area, fnum] = freesurfer_read_curv(fname)
0020 
0021 return

Generated on Mon 15-Aug-2005 15:36:19 by m2html © 2003