Changeset 397 for trunk/src/read_field.m


Ignore:
Timestamp:
Apr 26, 2012, 8:59:09 AM (12 years ago)
Author:
sommeria
Message:

civ_matlab and patch improved, changes in the management of interpolation (still in progress).
adapatation to movies (use of VideoReader?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_field.m

    r380 r397  
    155155        end
    156156        FieldName='image';
    157 %     case 'avi'
    158 %         try
    159 %             mov=aviread(ObjectName,num);
    160 %         catch ME
    161 %             errormsg=ME.message;
    162 %             return
    163 %         end
    164 %         A=frame2im(mov(1));
    165 %         FieldName='image';
    166157    case 'vol'
    167158        A=imread(ObjectName);
     
    183174    Npz=1;%default
    184175    npxy=size(A);
    185     Rangx=[0.5 npxy(2)-0.5]; % coordinates of the first and last pixel centers
    186     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]; %
    187178    Field.NbDim=2;%default
    188179    Field.AName='image';
Note: See TracChangeset for help on using the changeset viewer.