Ignore:
Timestamp:
Apr 30, 2018, 8:01:35 PM (3 years ago)
Author:
sommeria
Message:

miscellaneous updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_image.m

    r1027 r1033  
    4343    num=1;
    4444end
     45if isempty(num)
     46    num=1;
     47end
    4548A=[];
    4649ObjectOut=VideoObject;%default
     
    6871    case 'image_DaVis'
    6972                Input=readimx(FileName);
     73                if numel(Input.Frames)==1
     74                    A=Input.Frames{1}.Components{1}.Planes{1}';
     75                else
    7076        A=Input.Frames{num}.Components{1}.Planes{1}';
     77                end
    7178end
Note: See TracChangeset for help on using the changeset viewer.