Changeset 397 for trunk/src/read_field.m
- Timestamp:
- Apr 26, 2012, 8:59:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/read_field.m
r380 r397 155 155 end 156 156 FieldName='image'; 157 % case 'avi'158 % try159 % mov=aviread(ObjectName,num);160 % catch ME161 % errormsg=ME.message;162 % return163 % end164 % A=frame2im(mov(1));165 % FieldName='image';166 157 case 'vol' 167 158 A=imread(ObjectName); … … 183 174 Npz=1;%default 184 175 npxy=size(A); 185 Rangx=[0.5 npxy(2)-0.5]; % coordinates of the first and last pixel centers186 Rangy=[npxy(1)-0.5 0.5]; %176 % Rangx=[0.5 npxy(2)-0.5]; % coordinates of the first and last pixel centers 177 % Rangy=[npxy(1)-0.5 0.5]; % 187 178 Field.NbDim=2;%default 188 179 Field.AName='image';
Note: See TracChangeset
for help on using the changeset viewer.