[Master Index] [Index for export/lyngby]

lyngby_getinfo

(export/lyngby/lyngby_getinfo.m)


Function Synopsis

[siz, vdim, name, datatype] = lyngby_getinfo(index);

Help text

 lyngby_getinfo       - Get volume info from a file

       function [siz, vdim, name, datatype] = lyngby_getinfo(index);

       Input:  index      Volume index, indexed from one

       Output: siz        Number of voxels in each dimension
               vdim       Size of a single voxel, in cm's
               name       A name for the data
               datatype   Fread style type specifying string (optional!)

       Tries to get the size, voxel dim, and data type information
       from the file 
       This information may be obtained by reading the header, if
       standard or custom data formats are selected. For raw data
       format, only the byte size of the file can be reported (in siz)

       For the custom file format, the user should supply a function

         data_readinfo.m

       defined as 
              
         function [siz, vdim, name, datatype] = data_readinfo(index)

       See also LYNGBY, LYNGBY_GETVOLUME.

 $Id: lyngby_getinfo.m,v 1.9 2002/03/21 13:51:08 fnielsen Exp $ 

Cross-Reference Information

This function calls

Produced by mat2html on Wed Jul 29 15:43:40 2009
Cross-Directory links are: OFF