Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


GE_readHeaderSeries.m File Reference

Go to the source code of this file.


Functions

se_hdr, 'se_diskid', fread(fid, 1,'ucharsetfield ()
Disk ID for this Series fseek (fid, 1, 0)
Scout or Axial (for CT)%se_hdr
RAS letter for first scan location (L/S)%fseek(fid = setfield(se_hdr, 'end_ras', fread(fid,1,'uchar'))
id byte_align ()
 fseek (fid, 2, 0)
Last Pulse Sequence Used (L/S)%se_hdr
Image Sort Order (L/S)%se_hdr

Variables

function se_hdr
Ending number for enhanced
scans if 
byte_align

Function Documentation

Scout or Axial for  CT  ) 
 

id byte_align  )  [virtual]
 

fseek fid  ,
,
 

Disk ID for this Series fseek fid  ,
,
 

Last scan location L S  )  = setfield(se_hdr, 'end_ras', fread(fid,1,'uchar'))
 

Referenced by find_extrema(), from_3dmm(), neighborCount(), and to_3dmm().

Image Sort Order L S  ) 
 

Referenced by SUMA_GetLargestBackroundOrder(), and SUMA_GetSmallestForegroundOrder().

se_hdr, 'se_diskid', fread(fid,1,'uchar' setfield  )  [virtual]
 

Last Pulse Sequence Used L S  ) 
 


Variable Documentation

Ending number for enhanced scans if byte_align
 

Definition at line 59 of file GE_readHeaderSeries.m.

Equipment Unique ID se_hdr
 

Initial value:

 GE_readHeaderSeries(fid, byte_align)
%
% se_hdr = read_series_header(fid, byte_align)
%
% Loads the series header from a file with filed id fid
% and returns it as a structure. 
% if byte_align = 1 then 32-bit alignment (SGI, LX2 format)
% if byte_align = 0 then 16-bit alignment (Sun, 5.X format)
%
%
% Souheil J. Inati
% Dartmouth College
% May 2000
% souheil.inati@dartmouth.edu
%

% define the structure and read in the data
% to overcome the byte alignment problems
% break up the assignment into pieces using the setfield function
se_hdr = struct('se_suid', fread(fid,4,'uchar'))

Definition at line 118 of file GE_readHeaderSeries.m.

 

Powered by Plone

This site conforms to the following standards: