0001 function im_hdr = GE_readHeaderImage(fid, byte_align)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 im_hdr = struct('im_suid', fread(fid,4,'uchar'));
0022 im_hdr = setfield(im_hdr, 'im_uniq', fread(fid,1,'int16'));
0023 im_hdr = setfield(im_hdr, 'im_diskid', fread(fid,1,'uchar'));
0024 fseek(fid, 1, 0);
0025 im_hdr = setfield(im_hdr, 'im_exno', fread(fid,1,'uint16'));
0026 im_hdr = setfield(im_hdr, 'im_seno', fread(fid,1,'int16'));
0027 im_hdr = setfield(im_hdr, 'im_no', fread(fid,1,'int16'));
0028 if byte_align; fseek(fid, 2, 0); end
0029 im_hdr = setfield(im_hdr, 'im_datetime', fread(fid,1,'int32'));
0030 im_hdr = setfield(im_hdr, 'im_actual_dt', fread(fid,1,'int32'));
0031 im_hdr = setfield(im_hdr, 'sctime', fread(fid,1,'float32'));
0032 im_hdr = setfield(im_hdr, 'slthick', fread(fid,1,'float32'));
0033 im_hdr = setfield(im_hdr, 'imatrix_X', fread(fid,1,'int16'));
0034 im_hdr = setfield(im_hdr, 'imatrix_Y', fread(fid,1,'int16'));
0035 im_hdr = setfield(im_hdr, 'dfov', fread(fid,1,'float32'));
0036 im_hdr = setfield(im_hdr, 'dfov_rect', fread(fid,1,'float32'));
0037 im_hdr = setfield(im_hdr, 'dim_X', fread(fid,1,'float32'));
0038 im_hdr = setfield(im_hdr, 'dim_Y', fread(fid,1,'float32'));
0039 im_hdr = setfield(im_hdr, 'pixsize_X', fread(fid,1,'float32'));
0040 im_hdr = setfield(im_hdr, 'pixsize_Y', fread(fid,1,'float32'));
0041 im_hdr = setfield(im_hdr, 'pdid', fread(fid,14,'uchar'));
0042 im_hdr = setfield(im_hdr, 'contrastIV', fread(fid,17,'uchar'));
0043 im_hdr = setfield(im_hdr, 'contrastOral', fread(fid,17,'uchar'));
0044 im_hdr = setfield(im_hdr, 'contmode', fread(fid,1,'int16'));
0045 im_hdr = setfield(im_hdr, 'serrx', fread(fid,1,'int16'));
0046 im_hdr = setfield(im_hdr, 'imgrx', fread(fid,1,'int16'));
0047 im_hdr = setfield(im_hdr, 'screenformat', fread(fid,1,'int16'));
0048 im_hdr = setfield(im_hdr, 'plane', fread(fid,1,'int16'));
0049 if byte_align; fseek(fid, 2, 0); end
0050 im_hdr = setfield(im_hdr, 'scanspacing', fread(fid,1,'float32'));
0051 im_hdr = setfield(im_hdr, 'im_compress', fread(fid,1,'int16'));
0052 im_hdr = setfield(im_hdr, 'im_scouttype', fread(fid,1,'int16'));
0053 im_hdr = setfield(im_hdr, 'loc_ras', fread(fid,1,'uchar'));
0054 fseek(fid, 1, 0);
0055 if byte_align; fseek(fid, 2, 0); end
0056 im_hdr = setfield(im_hdr, 'loc', fread(fid,1,'float32'));
0057 im_hdr = setfield(im_hdr, 'ctr_R', fread(fid,1,'float32'));
0058 im_hdr = setfield(im_hdr, 'ctr_A', fread(fid,1,'float32'));
0059 im_hdr = setfield(im_hdr, 'ctr_S', fread(fid,1,'float32'));
0060 im_hdr = setfield(im_hdr, 'norm_R', fread(fid,1,'float32'));
0061 im_hdr = setfield(im_hdr, 'norm_A', fread(fid,1,'float32'));
0062 im_hdr = setfield(im_hdr, 'norm_S', fread(fid,1,'float32'));
0063 im_hdr = setfield(im_hdr, 'tlhc_R', fread(fid,1,'float32'));
0064 im_hdr = setfield(im_hdr, 'tlhc_A', fread(fid,1,'float32'));
0065 im_hdr = setfield(im_hdr, 'tlhc_S', fread(fid,1,'float32'));
0066 im_hdr = setfield(im_hdr, 'trhc_R', fread(fid,1,'float32'));
0067 im_hdr = setfield(im_hdr, 'trhc_A', fread(fid,1,'float32'));
0068 im_hdr = setfield(im_hdr, 'trhc_S', fread(fid,1,'float32'));
0069 im_hdr = setfield(im_hdr, 'brhc_R', fread(fid,1,'float32'));
0070 im_hdr = setfield(im_hdr, 'brhc_A', fread(fid,1,'float32'));
0071 im_hdr = setfield(im_hdr, 'brhc_S', fread(fid,1,'float32'));
0072 im_hdr = setfield(im_hdr, 'forimgrev', fread(fid,4,'uchar'));
0073 im_hdr = setfield(im_hdr, 'tr', fread(fid,1,'int32'));
0074 im_hdr = setfield(im_hdr, 'ti', fread(fid,1,'int32'));
0075 im_hdr = setfield(im_hdr, 'te', fread(fid,1,'int32'));
0076 im_hdr = setfield(im_hdr, 'te2', fread(fid,1,'int32'));
0077 im_hdr = setfield(im_hdr, 'numecho', fread(fid,1,'int16'));
0078 im_hdr = setfield(im_hdr, 'echonum', fread(fid,1,'int16'));
0079 im_hdr = setfield(im_hdr, 'tbldlta', fread(fid,1,'float32'));
0080 im_hdr = setfield(im_hdr, 'nex', fread(fid,1,'float32'));
0081 im_hdr = setfield(im_hdr, 'contig', fread(fid,1,'int16'));
0082 im_hdr = setfield(im_hdr, 'hrtrate', fread(fid,1,'int16'));
0083 im_hdr = setfield(im_hdr, 'tdel', fread(fid,1,'int32'));
0084 im_hdr = setfield(im_hdr, 'saravg', fread(fid,1,'float32'));
0085 im_hdr = setfield(im_hdr, 'sarpeak', fread(fid,1,'float32'));
0086 im_hdr = setfield(im_hdr, 'monsar', fread(fid,1,'int16'));
0087 im_hdr = setfield(im_hdr, 'trgwindow', fread(fid,1,'int16'));
0088 im_hdr = setfield(im_hdr, 'reptime', fread(fid,1,'float32'));
0089 im_hdr = setfield(im_hdr, 'imgpcyc', fread(fid,1,'int16'));
0090 im_hdr = setfield(im_hdr, 'xmtgain', fread(fid,1,'int16'));
0091 im_hdr = setfield(im_hdr, 'rcvgain1', fread(fid,1,'int16'));
0092 im_hdr = setfield(im_hdr, 'rcvgain2', fread(fid,1,'int16'));
0093 im_hdr = setfield(im_hdr, 'mr_flip', fread(fid,1,'int16'));
0094 if byte_align; fseek(fid, 2, 0); end
0095 im_hdr = setfield(im_hdr, 'mindat', fread(fid,1,'int32'));
0096 im_hdr = setfield(im_hdr, 'cphase', fread(fid,1,'int16'));
0097 im_hdr = setfield(im_hdr, 'swappf', fread(fid,1,'int16'));
0098 im_hdr = setfield(im_hdr, 'pauseint', fread(fid,1,'int16'));
0099 if byte_align; fseek(fid, 2, 0); end
0100 im_hdr = setfield(im_hdr, 'pausetime', fread(fid,1,'float32'));
0101 im_hdr = setfield(im_hdr, 'obplane', fread(fid,1,'int32'));
0102 im_hdr = setfield(im_hdr, 'slocfov', fread(fid,1,'int32'));
0103 im_hdr = setfield(im_hdr, 'xmtfreq', fread(fid,1,'int32'));
0104 im_hdr = setfield(im_hdr, 'autoxmtfreq', fread(fid,1,'int32'));
0105 im_hdr = setfield(im_hdr, 'autoxmtgain', fread(fid,1,'int16'));
0106 im_hdr = setfield(im_hdr, 'prescan_r1', fread(fid,1,'int16'));
0107 im_hdr = setfield(im_hdr, 'prescan_r2', fread(fid,1,'int16'));
0108 if byte_align; fseek(fid, 2, 0); end
0109 im_hdr = setfield(im_hdr, 'user_bitmap', fread(fid,1,'int32'));
0110 im_hdr = setfield(im_hdr, 'cenfreq', fread(fid,1,'int16'));
0111 im_hdr = setfield(im_hdr, 'imode', fread(fid,1,'int16'));
0112 im_hdr = setfield(im_hdr, 'iopt', fread(fid,1,'int32'));
0113 im_hdr = setfield(im_hdr, 'pseq', fread(fid,1,'int16'));
0114 im_hdr = setfield(im_hdr, 'pseqmode', fread(fid,1,'int16'));
0115 im_hdr = setfield(im_hdr, 'psdname', fread(fid,33,'uchar'));
0116 fseek(fid,1,0);
0117 if byte_align; fseek(fid, 2, 0); end
0118 im_hdr = setfield(im_hdr, 'psd_datetime', fread(fid,1,'int32'));
0119 im_hdr = setfield(im_hdr, 'psd_iname', fread(fid,13,'uchar'));
0120 fseek(fid, 1, 0);
0121 im_hdr = setfield(im_hdr, 'ctyp', fread(fid,1,'int16'));
0122 im_hdr = setfield(im_hdr, 'cname', fread(fid,17,'uchar'));
0123 fseek(fid, 1, 0);
0124 im_hdr = setfield(im_hdr, 'surfctyp', fread(fid,1,'int16'));
0125 im_hdr = setfield(im_hdr, 'surfcext', fread(fid,1,'int16'));
0126 if byte_align; fseek(fid, 2, 0); end
0127 im_hdr = setfield(im_hdr, 'rawrunnum', fread(fid,1,'int32'));
0128 im_hdr = setfield(im_hdr, 'cal_fldstr', fread(fid,1,'uint32'));
0129 im_hdr = setfield(im_hdr, 'supp_tech', fread(fid,1,'int16'));
0130 if byte_align; fseek(fid, 2, 0); end
0131 im_hdr = setfield(im_hdr, 'vbw', fread(fid,1,'float32'));
0132 im_hdr = setfield(im_hdr, 'slquant', fread(fid,1,'int16'));
0133 im_hdr = setfield(im_hdr, 'gpre', fread(fid,1,'int16'));
0134 im_hdr = setfield(im_hdr, 'intr_del', fread(fid,1,'int32'));
0135 im_hdr = setfield(im_hdr, 'user0', fread(fid,1,'float32'));
0136 im_hdr = setfield(im_hdr, 'user1', fread(fid,1,'float32'));
0137 im_hdr = setfield(im_hdr, 'user2', fread(fid,1,'float32'));
0138 im_hdr = setfield(im_hdr, 'user3', fread(fid,1,'float32'));
0139 im_hdr = setfield(im_hdr, 'user4', fread(fid,1,'float32'));
0140 im_hdr = setfield(im_hdr, 'user5', fread(fid,1,'float32'));
0141 im_hdr = setfield(im_hdr, 'user6', fread(fid,1,'float32'));
0142 im_hdr = setfield(im_hdr, 'user7', fread(fid,1,'float32'));
0143 im_hdr = setfield(im_hdr, 'user8', fread(fid,1,'float32'));
0144 im_hdr = setfield(im_hdr, 'user9', fread(fid,1,'float32'));
0145 im_hdr = setfield(im_hdr, 'user10', fread(fid,1,'float32'));
0146 im_hdr = setfield(im_hdr, 'user11', fread(fid,1,'float32'));
0147 im_hdr = setfield(im_hdr, 'user12', fread(fid,1,'float32'));
0148 im_hdr = setfield(im_hdr, 'user13', fread(fid,1,'float32'));
0149 im_hdr = setfield(im_hdr, 'user14', fread(fid,1,'float32'));
0150 im_hdr = setfield(im_hdr, 'user15', fread(fid,1,'float32'));
0151 im_hdr = setfield(im_hdr, 'user16', fread(fid,1,'float32'));
0152 im_hdr = setfield(im_hdr, 'user17', fread(fid,1,'float32'));
0153 im_hdr = setfield(im_hdr, 'user18', fread(fid,1,'float32'));
0154 im_hdr = setfield(im_hdr, 'user19', fread(fid,1,'float32'));
0155 im_hdr = setfield(im_hdr, 'user20', fread(fid,1,'float32'));
0156 im_hdr = setfield(im_hdr, 'user21', fread(fid,1,'float32'));
0157 im_hdr = setfield(im_hdr, 'user22', fread(fid,1,'float32'));
0158 im_hdr = setfield(im_hdr, 'user23', fread(fid,1,'float32'));
0159 im_hdr = setfield(im_hdr, 'user24', fread(fid,1,'float32'));
0160 im_hdr = setfield(im_hdr, 'im_alloc_key', fread(fid,13,'uchar'));
0161 fseek(fid, 1, 0);
0162 if byte_align; fseek(fid, 2, 0); end
0163 im_hdr = setfield(im_hdr, 'im_lastmod', fread(fid,1,'int32'));
0164 im_hdr = setfield(im_hdr, 'im_verscre', fread(fid,2,'uchar'));
0165 im_hdr = setfield(im_hdr, 'im_verscur', fread(fid,2,'uchar'));
0166 im_hdr = setfield(im_hdr, 'im_pds_a', fread(fid,1,'int32'));
0167 im_hdr = setfield(im_hdr, 'im_pds_c', fread(fid,1,'int32'));
0168 im_hdr = setfield(im_hdr, 'im_pds_u', fread(fid,1,'int32'));
0169 im_hdr = setfield(im_hdr, 'im_checksum', fread(fid,1,'int32'));
0170 im_hdr = setfield(im_hdr, 'im_archived', fread(fid,1,'int32'));
0171 im_hdr = setfield(im_hdr, 'im_complete', fread(fid,1,'int32'));
0172 im_hdr = setfield(im_hdr, 'satbits', fread(fid,1,'int16'));
0173 im_hdr = setfield(im_hdr, 'scic', fread(fid,1,'int16'));
0174 im_hdr = setfield(im_hdr, 'satxloc1', fread(fid,1,'int16'));
0175 im_hdr = setfield(im_hdr, 'satxloc2', fread(fid,1,'int16'));
0176 im_hdr = setfield(im_hdr, 'satyloc1', fread(fid,1,'int16'));
0177 im_hdr = setfield(im_hdr, 'satyloc2', fread(fid,1,'int16'));
0178 im_hdr = setfield(im_hdr, 'satzloc1', fread(fid,1,'int16'));
0179 im_hdr = setfield(im_hdr, 'satzloc2', fread(fid,1,'int16'));
0180 im_hdr = setfield(im_hdr, 'satxthick', fread(fid,1,'int16'));
0181 im_hdr = setfield(im_hdr, 'satythick', fread(fid,1,'int16'));
0182 im_hdr = setfield(im_hdr, 'satzthick', fread(fid,1,'int16'));
0183 im_hdr = setfield(im_hdr, 'flax', fread(fid,1,'int16'));
0184 im_hdr = setfield(im_hdr, 'venc', fread(fid,1,'int16'));
0185 im_hdr = setfield(im_hdr, 'thk_disclmr', fread(fid,1,'int16'));
0186 im_hdr = setfield(im_hdr, 'ps_flag', fread(fid,1,'int16'));
0187 im_hdr = setfield(im_hdr, 'ps_status', fread(fid,1,'int16'));
0188 im_hdr = setfield(im_hdr, 'image_type', fread(fid,1,'int16'));
0189 im_hdr = setfield(im_hdr, 'vas_collapse', fread(fid,1,'int16'));
0190 im_hdr = setfield(im_hdr, 'user23n', fread(fid,1,'float32'));
0191 im_hdr = setfield(im_hdr, 'user24n', fread(fid,1,'float32'));
0192 im_hdr = setfield(im_hdr, 'proj_alg', fread(fid,1,'int16'));
0193 im_hdr = setfield(im_hdr, 'proj_name', fread(fid,13,'uchar'));
0194 fseek(fid, 1, 0);
0195 im_hdr = setfield(im_hdr, 'x_axis_rot', fread(fid,1,'float32'));
0196 im_hdr = setfield(im_hdr, 'y_axis_rot', fread(fid,1,'float32'));
0197 im_hdr = setfield(im_hdr, 'z_axis_rot', fread(fid,1,'float32'));
0198 im_hdr = setfield(im_hdr, 'thresh_min1', fread(fid,1,'int32'));
0199 im_hdr = setfield(im_hdr, 'thresh_max1', fread(fid,1,'int32'));
0200 im_hdr = setfield(im_hdr, 'thresh_min2', fread(fid,1,'int32'));
0201 im_hdr = setfield(im_hdr, 'thresh_max2', fread(fid,1,'int32'));
0202 im_hdr = setfield(im_hdr, 'echo_trn_len', fread(fid,1,'int16'));
0203 im_hdr = setfield(im_hdr, 'frac_echo', fread(fid,1,'int16'));
0204 im_hdr = setfield(im_hdr, 'prep_pulse', fread(fid,1,'int16'));
0205 im_hdr = setfield(im_hdr, 'cphasenum', fread(fid,1,'int16'));
0206 im_hdr = setfield(im_hdr, 'var_echo', fread(fid,1,'int16'));
0207 im_hdr = setfield(im_hdr, 'ref_img', fread(fid,1,'uchar'));
0208 im_hdr = setfield(im_hdr, 'sum_img', fread(fid,1,'uchar'));
0209 im_hdr = setfield(im_hdr, 'img_window', fread(fid,1,'uint16'));
0210 im_hdr = setfield(im_hdr, 'img_level', fread(fid,1,'int16'));
0211 im_hdr = setfield(im_hdr, 'slop_int_1', fread(fid,1,'int32'));
0212 im_hdr = setfield(im_hdr, 'slop_int_2', fread(fid,1,'int32'));
0213 im_hdr = setfield(im_hdr, 'slop_int_3', fread(fid,1,'int32'));
0214 im_hdr = setfield(im_hdr, 'slop_int_4', fread(fid,1,'int32'));
0215 im_hdr = setfield(im_hdr, 'slop_int_5', fread(fid,1,'int32'));
0216 im_hdr = setfield(im_hdr, 'slop_float_1', fread(fid,1,'float32'));
0217 im_hdr = setfield(im_hdr, 'slop_float_2', fread(fid,1,'float32'));
0218 im_hdr = setfield(im_hdr, 'slop_float_3', fread(fid,1,'float32'));
0219 im_hdr = setfield(im_hdr, 'slop_float_4', fread(fid,1,'float32'));
0220 im_hdr = setfield(im_hdr, 'slop_float_5', fread(fid,1,'float32'));
0221 im_hdr = setfield(im_hdr, 'slop_str_1', fread(fid,16,'uchar'));
0222 im_hdr = setfield(im_hdr, 'slop_str_2', fread(fid,16,'uchar'));
0223 im_hdr = setfield(im_hdr, 'scanactno', fread(fid,1,'int16'));
0224 im_hdr = setfield(im_hdr, 'vasflags', fread(fid,1,'int16'));
0225 im_hdr = setfield(im_hdr, 'vencscale', fread(fid,1,'float32'));
0226 im_hdr = setfield(im_hdr, 'integrity', fread(fid,1,'int16'));
0227 if byte_align; fseek(fid, 2, 0); end
0228 im_hdr = setfield(im_hdr, 'fphase', fread(fid,1,'int32'));
0229 im_hdr = setfield(im_hdr, 'freq_dir', fread(fid,1,'int16'));
0230 im_hdr = setfield(im_hdr, 'vas_mode', fread(fid,1,'int16'));
0231 im_hdr = setfield(im_hdr, 'image_uid', fread(fid,32,'uchar'));
0232 im_hdr = setfield(im_hdr, 'sop_uid', fread(fid,32,'uchar'));
0233 im_hdr = setfield(im_hdr, 'dont_use_1', fread(fid,1,'int16'));
0234 im_hdr = setfield(im_hdr, 'dont_use_2', fread(fid,1,'int16'));
0235 im_hdr = setfield(im_hdr, 'dont_use_3', fread(fid,1,'int16'));
0236 im_hdr = setfield(im_hdr, 'pscopts', fread(fid,1,'int16'));
0237 im_hdr = setfield(im_hdr, 'asoffsetx', fread(fid,1,'int16'));
0238 im_hdr = setfield(im_hdr, 'asoffsety', fread(fid,1,'int16'));
0239 im_hdr = setfield(im_hdr, 'asoffsetz', fread(fid,1,'int16'));
0240 im_hdr = setfield(im_hdr, 'unoriginal', fread(fid,1,'int16'));
0241 im_hdr = setfield(im_hdr, 'interleaves', fread(fid,1,'int16'));
0242 im_hdr = setfield(im_hdr, 'effechospace', fread(fid,1,'int16'));
0243 im_hdr = setfield(im_hdr, 'viewsperseg', fread(fid,1,'int16'));
0244 im_hdr = setfield(im_hdr, 'rbpm', fread(fid,1,'int16'));
0245 im_hdr = setfield(im_hdr, 'rtpoint', fread(fid,1,'int16'));
0246 im_hdr = setfield(im_hdr, 'rcvrtype', fread(fid,1,'int16'));
0247 im_hdr = setfield(im_hdr, 'dbdt', fread(fid,1,'float32'));
0248 im_hdr = setfield(im_hdr, 'dbdtper', fread(fid,1,'float32'));
0249 im_hdr = setfield(im_hdr, 'estdbdtper', fread(fid,1,'float32'));
0250 im_hdr = setfield(im_hdr, 'estdbdtts', fread(fid,1,'float32'));
0251 im_hdr = setfield(im_hdr, 'saravghead', fread(fid,1,'float32'));
0252 im_hdr = setfield(im_hdr, 'neg_scanspacing', fread(fid,1,'float32'));
0253 im_hdr = setfield(im_hdr, 'offsetfreq', fread(fid,1,'int32'));
0254 im_hdr = setfield(im_hdr, 'user_usage_tag', fread(fid,1,'uint32'));
0255
0256
0257
0258 im_hdr = setfield(im_hdr, 'user_fill_mapMSW', fread(fid,1,'uint32'));
0259 im_hdr = setfield(im_hdr, 'user_fill_mapLSW', fread(fid,1,'uint32'));
0260 im_hdr = setfield(im_hdr, 'user25', fread(fid,1,'float32'));
0261 im_hdr = setfield(im_hdr, 'user26', fread(fid,1,'float32'));
0262 im_hdr = setfield(im_hdr, 'user27', fread(fid,1,'float32'));
0263 im_hdr = setfield(im_hdr, 'user28', fread(fid,1,'float32'));
0264 im_hdr = setfield(im_hdr, 'user29', fread(fid,1,'float32'));
0265 im_hdr = setfield(im_hdr, 'user30', fread(fid,1,'float32'));
0266 im_hdr = setfield(im_hdr, 'user31', fread(fid,1,'float32'));
0267 im_hdr = setfield(im_hdr, 'user32', fread(fid,1,'float32'));
0268 im_hdr = setfield(im_hdr, 'user33', fread(fid,1,'float32'));
0269 im_hdr = setfield(im_hdr, 'user34', fread(fid,1,'float32'));
0270 im_hdr = setfield(im_hdr, 'user35', fread(fid,1,'float32'));
0271 im_hdr = setfield(im_hdr, 'user36', fread(fid,1,'float32'));
0272 im_hdr = setfield(im_hdr, 'user37', fread(fid,1,'float32'));
0273 im_hdr = setfield(im_hdr, 'user38', fread(fid,1,'float32'));
0274 im_hdr = setfield(im_hdr, 'user39', fread(fid,1,'float32'));
0275 im_hdr = setfield(im_hdr, 'user40', fread(fid,1,'float32'));
0276 im_hdr = setfield(im_hdr, 'user41', fread(fid,1,'float32'));
0277 im_hdr = setfield(im_hdr, 'user42', fread(fid,1,'float32'));
0278 im_hdr = setfield(im_hdr, 'user43', fread(fid,1,'float32'));
0279 im_hdr = setfield(im_hdr, 'user44', fread(fid,1,'float32'));
0280 im_hdr = setfield(im_hdr, 'user45', fread(fid,1,'float32'));
0281 im_hdr = setfield(im_hdr, 'user46', fread(fid,1,'float32'));
0282 im_hdr = setfield(im_hdr, 'user47', fread(fid,1,'float32'));
0283 im_hdr = setfield(im_hdr, 'user48', fread(fid,1,'float32'));
0284 im_hdr = setfield(im_hdr, 'slop_int_6', fread(fid,1,'int32'));
0285 im_hdr = setfield(im_hdr, 'slop_int_7', fread(fid,1,'int32'));
0286 im_hdr = setfield(im_hdr, 'slop_int_8', fread(fid,1,'int32'));
0287 im_hdr = setfield(im_hdr, 'slop_int_9', fread(fid,1,'int32'));
0288 im_hdr = setfield(im_hdr, 'mr_padding', fread(fid,32,'uchar'));
0289
0290 return