Skip to content

AFNI/NIfTI Server

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

Doxygen Source Code Documentation


GE_readHeaderImage.m File Reference

Go to the source code of this file.


Functions

im_hdr, 'im_diskid', fread(fid, 1,'ucharsetfield ()
Disk ID for this Image fseek (fid, 1, 0)
 fseek (fid, 2, 0)
Slice Thickness (mm) im_hdr
Screen Format (8/16 bit) im_hdr
Spacing between scans (mm?) im_hdr
Scout Type (AP or lateral) im_hdr
id byte_align ()
Pulse repetition time (usec) im_hdr = setfield(im_hdr, 'te', fread(fid,1,'int32'))
Second echo echo (usec) im_hdr
Cardiac Heart Rate (bpm) im_hdr
Delay time after trigger (msec) im_hdr
Trigger window (%of R-R interval) im_hdr
Actual Transmit Gain (.1 db) im_hdr
Actual Receive Gain Analog (.1 db) im_hdr
Actual Receive Gain Digital (.1 db) im_hdr
Flip Angle for GRASS scans (deg.) if byte_align
Minimum Delay after Trigger (uSec) im_hdr
Pause Interval (slices) if byte_align
Center Frequency (0.1 Hz) im_hdr = setfield(im_hdr, 'autoxmtgain', fread(fid,1,'int16'))
Auto Transmit Gain (0.1 dB) im_hdr
Calibrated Field Strength (x10 uGauss) im_hdr
Variable Bandwidth (Hz) im_hdr
Interimage interloc delay (uSec) im_hdr
User Variable ftell (fid) im_hdr

Variables

function im_hdr
Image Number if byte_align
 Magnitude
 Phase
 Imaginary
respiratory rate
peak rate of change of gradient field
Defines how following user
CVs are to be filled in Default 
value
Define what process fills
in the user 
CVs

Function Documentation

Actual Receive Gain Analog .1  db  ) 
 

Variable Bandwidth Hz   ) 
 

id byte_align  )  [virtual]
 

Interimage interloc delay uSec   ) 
 

Referenced by GIF_GCL(), merger_flatten(), name_delay(), and schedule_next_frame().

Actual Receive Gain Digital .1  db  ) 
 

Second echo echo usec   ) 
 

Referenced by restore_key().

Screen Format 8/16  bit  ) 
 

Auto Center Frequency 0.1  Hz  )  = setfield(im_hdr, 'autoxmtgain', fread(fid,1,'int16'))
 

fseek fid  ,
,
 

Disk ID for this Image fseek fid  ,
,
 

User Variable ftell fid   ) 
 

Referenced by e_rdue(), e_wsue(), f__nowreading(), f__nowwriting(), f_back(), f_inqu(), file_offseter(), ftell_(), main(), mri_read(), mri_read_3D(), mri_read_3D_delay(), mri_try_7D(), mri_try_mri(), mri_try_pgm(), NI_stream_readcheck(), putif(), putwhile(), s_wsue(), and t_runc().

Auto Transmit Gain 0.1  dB  ) 
 

Actual Transmit Gain .1  db  ) 
 

Pause Interval slices   ) 
 

Cardiac Heart Rate bpm   ) 
 

Flip Angle for GRASS scans deg.   ) 
 

Spacing between scans mm  ) 
 

Referenced by read_scan_script().

im_hdr, 'im_diskid', fread(fid,1,'uchar' setfield  )  [virtual]
 

Calibrated Field Strength x10  uGauss  ) 
 

Slice Thickness mm   ) 
 

Pulse echo time usec   )  = setfield(im_hdr, 'te', fread(fid,1,'int32'))
 

Minimum Delay after Trigger uSec   ) 
 

Delay time after trigger msec   ) 
 

Scout Type AP or  lateral  ) 
 

Referenced by SUMA_AllocateDrawnROI(), SUMA_AllocateROI(), and SUMA_RegisterMessage().

Trigger window %of R-R  interval  ) 
 


Variable Documentation

GE Image Integrity if byte_align
 

Definition at line 231 of file GE_readHeaderImage.m.

Define what process fills in the user CVs
 

Definition at line 263 of file GE_readHeaderImage.m.

peak rate of change of gradient field
 

Definition at line 251 of file GE_readHeaderImage.m.

Integer Slop Field im_hdr
 

Initial value:

 GE_readHeaderImage(fid, byte_align)
%
% im_hdr = GE_readHeaderImage(fid, byte_align)
%
% Loads the image 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

im_hdr = struct('im_suid', fread(fid,4,'uchar'))

Definition at line 292 of file GE_readHeaderImage.m.

Imaginary
 

Definition at line 192 of file GE_readHeaderImage.m.

Magnitude
 

Definition at line 192 of file GE_readHeaderImage.m.

Phase
 

Definition at line 192 of file GE_readHeaderImage.m.

respiratory rate
 

Definition at line 248 of file GE_readHeaderImage.m.

Referenced by GetFrameRate(), main(), and setBitRate().

Defines how following user CVs are to be filled in Default value
 

Initial value:

 0x00000000
                                                  %GE range = 0x00000001 - 0x7fffffff
                                                  %Research = 0x80000000 - 0xffffffff
im_hdr = setfield(im_hdr, 'user_fill_mapMSW', fread(fid,1,'uint32'))

Definition at line 259 of file GE_readHeaderImage.m.

 

Powered by Plone

This site conforms to the following standards: