📄 ge_dumpimageheader.m
字号:
function outstr = GE_dumpImageHeader(img)
%
% outstr = GE_dumpImageHeader(img)
%
% Writes the image header to the string outstr
%
% Souheil J. Inati
% Dartmouth College
% May 2000
% souheil.inati@dartmouth.edu
%
outstr = sprintf('im_suid: %s\n', char(img.im_suid));
outstr = strcat(outstr, sprintf('im_uniq: %d\n', img.im_uniq));
outstr = strcat(outstr, sprintf('im_diskid: %s\n', char(img.im_diskid)));
outstr = strcat(outstr, sprintf('im_exno: %d\n', img.im_exno));
outstr = strcat(outstr, sprintf('im_seno: %d\n', img.im_seno));
outstr = strcat(outstr, sprintf('im_no: %d\n', img.im_no));
outstr = strcat(outstr, sprintf('im_datetime: %d\n', img.im_datetime));
outstr = strcat(outstr, sprintf('im_actual_dt: %d\n', img.im_actual_dt));
outstr = strcat(outstr, sprintf('sctime: %f\n', img.sctime));
outstr = strcat(outstr, sprintf('slthick: %f\n', img.slthick));
outstr = strcat(outstr, sprintf('imatrix_X: %d\n', img.imatrix_X));
outstr = strcat(outstr, sprintf('imatrix_Y: %d\n', img.imatrix_Y));
outstr = strcat(outstr, sprintf('dfov: %f\n', img.dfov));
outstr = strcat(outstr, sprintf('dfov_rect: %f\n', img.dfov_rect));
outstr = strcat(outstr, sprintf('dim_X: %f\n', img.dim_X));
outstr = strcat(outstr, sprintf('dim_Y: %f\n', img.dim_Y));
outstr = strcat(outstr, sprintf('pixsize_X: %f\n', img.pixsize_X));
outstr = strcat(outstr, sprintf('pixsize_Y: %f\n', img.pixsize_Y));
outstr = strcat(outstr, sprintf('pdid: %s\n', sprintf('%s',img.pdid)));
outstr = strcat(outstr, sprintf('contrastIV: %s\n', cstring(img.contrastIV)));
outstr = strcat(outstr, sprintf('contrastOral: %s\n', cstring(img.contrastOral)));
outstr = strcat(outstr, sprintf('contmode: %d\n', img.contmode));
outstr = strcat(outstr, sprintf('serrx: %d\n', img.serrx));
outstr = strcat(outstr, sprintf('imgrx: %d\n', img.imgrx));
outstr = strcat(outstr, sprintf('screenformat: %d\n', img.screenformat));
outstr = strcat(outstr, sprintf('plane: %d\n', img.plane));
outstr = strcat(outstr, sprintf('scanspacing: %f\n', img.scanspacing));
outstr = strcat(outstr, sprintf('im_compress: %d\n', img.im_compress));
outstr = strcat(outstr, sprintf('im_scouttype: %d\n', img.im_scouttype));
outstr = strcat(outstr, sprintf('loc_ras: %s\n', char(img.loc_ras)));
outstr = strcat(outstr, sprintf('loc: %f\n', img.loc));
outstr = strcat(outstr, sprintf('ctr_R: %f\n', img.ctr_R));
outstr = strcat(outstr, sprintf('ctr_A: %f\n', img.ctr_A));
outstr = strcat(outstr, sprintf('ctr_S: %f\n', img.ctr_S));
outstr = strcat(outstr, sprintf('norm_R: %f\n', img.norm_R));
outstr = strcat(outstr, sprintf('norm_A: %f\n', img.norm_A));
outstr = strcat(outstr, sprintf('norm_S: %f\n', img.norm_S));
outstr = strcat(outstr, sprintf('tlhc_R: %f\n', img.tlhc_R));
outstr = strcat(outstr, sprintf('tlhc_A: %f\n', img.tlhc_A));
outstr = strcat(outstr, sprintf('tlhc_S: %f\n', img.tlhc_S));
outstr = strcat(outstr, sprintf('trhc_R: %f\n', img.trhc_R));
outstr = strcat(outstr, sprintf('trhc_A: %f\n', img.trhc_A));
outstr = strcat(outstr, sprintf('trhc_S: %f\n', img.trhc_S));
outstr = strcat(outstr, sprintf('brhc_R: %f\n', img.brhc_R));
outstr = strcat(outstr, sprintf('brhc_A: %f\n', img.brhc_A));
outstr = strcat(outstr, sprintf('brhc_S: %f\n', img.brhc_S));
outstr = strcat(outstr, sprintf('forimgrev: %s\n', char(img.forimgrev)));
outstr = strcat(outstr, sprintf('tr: %d\n', img.tr));
outstr = strcat(outstr, sprintf('ti: %d\n', img.ti));
outstr = strcat(outstr, sprintf('te: %d\n', img.te));
outstr = strcat(outstr, sprintf('te2: %d\n', img.te2));
outstr = strcat(outstr, sprintf('numecho: %d\n', img.numecho));
outstr = strcat(outstr, sprintf('echonum: %d\n', img.echonum));
outstr = strcat(outstr, sprintf('tbldlta: %f\n', img.tbldlta));
outstr = strcat(outstr, sprintf('nex: %f\n', img.nex));
outstr = strcat(outstr, sprintf('contig: %d\n', img.contig));
outstr = strcat(outstr, sprintf('hrtrate: %d\n', img.hrtrate));
outstr = strcat(outstr, sprintf('tdel: %d\n', img.tdel));
outstr = strcat(outstr, sprintf('saravg: %f\n', img.saravg));
outstr = strcat(outstr, sprintf('sarpeak: %f\n', img.sarpeak));
outstr = strcat(outstr, sprintf('monsar: %d\n', img.monsar));
outstr = strcat(outstr, sprintf('trgwindow: %d\n', img.trgwindow));
outstr = strcat(outstr, sprintf('reptime: %f\n', img.reptime));
outstr = strcat(outstr, sprintf('imgpcyc: %d\n', img.imgpcyc));
outstr = strcat(outstr, sprintf('xmtgain: %d\n', img.xmtgain));
outstr = strcat(outstr, sprintf('rcvgain1: %d\n', img.rcvgain1));
outstr = strcat(outstr, sprintf('rcvgain2: %d\n', img.rcvgain2));
outstr = strcat(outstr, sprintf('mr_flip: %d\n', img.mr_flip));
outstr = strcat(outstr, sprintf('mindat: %d\n', img.mindat));
outstr = strcat(outstr, sprintf('cphase: %d\n', img.cphase));
outstr = strcat(outstr, sprintf('swappf: %d\n', img.swappf));
outstr = strcat(outstr, sprintf('pauseint: %d\n', img.pauseint));
outstr = strcat(outstr, sprintf('pausetime: %f\n', img.pausetime));
outstr = strcat(outstr, sprintf('obplane: %d\n', img.obplane));
outstr = strcat(outstr, sprintf('slocfov: %d\n', img.slocfov));
outstr = strcat(outstr, sprintf('xmtfreq: %d\n', img.xmtfreq));
outstr = strcat(outstr, sprintf('autoxmtfreq: %d\n', img.autoxmtfreq));
outstr = strcat(outstr, sprintf('autoxmtgain: %d\n', img.autoxmtgain));
outstr = strcat(outstr, sprintf('prescan_r1: %d\n', img.prescan_r1));
outstr = strcat(outstr, sprintf('prescan_r2: %d\n', img.prescan_r2));
outstr = strcat(outstr, sprintf('user_bitmap: %d\n', img.user_bitmap));
outstr = strcat(outstr, sprintf('cenfreq: %d\n', img.cenfreq));
outstr = strcat(outstr, sprintf('imode: %d\n', img.imode));
outstr = strcat(outstr, sprintf('iopt: %d\n', img.iopt));
outstr = strcat(outstr, sprintf('pseq: %d\n', img.pseq));
outstr = strcat(outstr, sprintf('pseqmode: %d\n', img.pseqmode));
outstr = strcat(outstr, sprintf('psdname: %s\n', cstring(img.psdname)));
outstr = strcat(outstr, sprintf('psd_datetime: %d\n', img.psd_datetime));
outstr = strcat(outstr, sprintf('psd_iname: %s\n', cstring(img.psd_iname)));
outstr = strcat(outstr, sprintf('ctyp: %d\n', img.ctyp));
outstr = strcat(outstr, sprintf('cname: %s\n', cstring(img.cname)));
outstr = strcat(outstr, sprintf('surfctyp: %d\n', img.surfctyp));
outstr = strcat(outstr, sprintf('surfcext: %d\n', img.surfcext));
outstr = strcat(outstr, sprintf('rawrunnum: %d\n', img.rawrunnum));
outstr = strcat(outstr, sprintf('cal_fldstr: %d\n', img.cal_fldstr));
outstr = strcat(outstr, sprintf('supp_tech: %d\n', img.supp_tech));
outstr = strcat(outstr, sprintf('vbw: %f\n', img.vbw));
outstr = strcat(outstr, sprintf('slquant: %d\n', img.slquant));
outstr = strcat(outstr, sprintf('gpre: %d\n', img.gpre));
outstr = strcat(outstr, sprintf('intr_del: %d\n', img.intr_del));
outstr = strcat(outstr, sprintf('user0: %f\n', img.user0));
outstr = strcat(outstr, sprintf('user1: %f\n', img.user1));
outstr = strcat(outstr, sprintf('user2: %f\n', img.user2));
outstr = strcat(outstr, sprintf('user3: %f\n', img.user3));
outstr = strcat(outstr, sprintf('user4: %f\n', img.user4));
outstr = strcat(outstr, sprintf('user5: %f\n', img.user5));
outstr = strcat(outstr, sprintf('user6: %f\n', img.user6));
outstr = strcat(outstr, sprintf('user7: %f\n', img.user7));
outstr = strcat(outstr, sprintf('user8: %f\n', img.user8));
outstr = strcat(outstr, sprintf('user9: %f\n', img.user9));
outstr = strcat(outstr, sprintf('user10: %f\n', img.user10));
outstr = strcat(outstr, sprintf('user11: %f\n', img.user11));
outstr = strcat(outstr, sprintf('user12: %f\n', img.user12));
outstr = strcat(outstr, sprintf('user13: %f\n', img.user13));
outstr = strcat(outstr, sprintf('user14: %f\n', img.user14));
outstr = strcat(outstr, sprintf('user15: %f\n', img.user15));
outstr = strcat(outstr, sprintf('user16: %f\n', img.user16));
outstr = strcat(outstr, sprintf('user17: %f\n', img.user17));
outstr = strcat(outstr, sprintf('user18: %f\n', img.user18));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -