Ignore:
Timestamp:
Mar 22, 2018, 9:27:17 PM (6 years ago)
Author:
sommeria
Message:

reading LaVision? images improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_field.m

    r1027 r1032  
    273273        Input=readimx(FileName);
    274274        A=Input.Frames{num}.Components{1}.Planes{1}';
     275        %timestamps=double(Input.Attributes{1}.Value(2))/1000000;
     276        timestamps=str2num(Input.Frames{1}.Attributes{12}.Value(1:end-3))/1000000;
    275277    case 'cine_phantom'
    276278        [A,FileInfo] = read_cine_phantom(FileName,num );
     
    281283%% case of image
    282284if ~isempty(A)
    283     if strcmp(FileType,'rdvision')
     285    if strcmp(FileType,'rdvision')||strcmp(FileType,'image_DaVis')
    284286        Field.Time=timestamps;
    285287    end
Note: See TracChangeset for help on using the changeset viewer.