⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ge_dumpheader.m

📁 mri_toolbox是一个工具用来MRI. 来自于SourceForge, 我上传这个软件,希望能结识对医疗软件感兴趣的兄弟.
💻 M
字号:
function GE_dumpHeader(IFileName, OutFile)
%
% GE_dumpHeader(IFileName,OutFile)
% Dumps much of the header from a GE lx2 or 5.X file to
% OutFile.  If OutFile is not specified, the output goes
% to stdout.
%
% Souheil J. Inati, PhD
% Dartmouth College
% May 2000
% souheil.inati@dartmouth.edu
%

%%%% Call GE_readHeader %%%%
[su_hdr,ex_hdr,se_hdr,im_hdr,pix_hdr] = GE_readHeader(IFileName);

% Open the output file
if nargin == 2
  outid = fopen(OutFile,'w');
else
  outid = 1;  % stdout
end

%%%% Exam Header %%%%
fprintf(outid,'Exam Header Section:\n');
fprintf(outid,GE_dumpExamHeader(ex_hdr));
fprintf(outid,'\n\n');

%%%% Series Header %%%%
fprintf(outid,'Series Header Section:\n');
fprintf(outid,GE_dumpSeriesHeader(se_hdr));
fprintf(outid,'\n\n');

%%%% Image Header %%%%
fprintf(outid,'Image Header Section:\n');
fprintf(outid,GE_dumpImageHeader(im_hdr));

% Close the File if not stdout
if outid ~= 1
  fclose(outid);
end

return

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -