Ignore:
Timestamp:
Jun 7, 2014, 6:17:53 PM (10 years ago)
Author:
sommeria
Message:

adpat uvmat to reading data from rdvision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/find_file_series.m

    r783 r784  
    5656j1_series=zeros(1,1,1);
    5757j2_series=zeros(1,1,1);
    58 [FileInfo,MovieObject]=get_file_type(fullfileinput);
     58[FileInfo,MovieObject]=get_file_info(fullfileinput);
    5959if ~exist(FilePath,'dir')
    6060    return % don't go further if the dir path does not exist
     
    238238        %% update the file type if the input file does not exist (pb of 0001)
    239239        if isempty(FileInfo.FileType)
    240             [FileInfo,MovieObject]=get_file_type(fullfile(FilePath,dirpair(ifile_min).name));
     240            [FileInfo,MovieObject]=get_file_info(fullfile(FilePath,dirpair(ifile_min).name));
    241241        end
    242242    end
     
    248248if isequal(j1_series,0), j1_series=[]; end
    249249if isequal(j2_series,0), j2_series=[]; end
     250
     251%% detect rdvision format
     252if strcmp(FileExt,'.bin')
     253    if exist(fullfile(RootPath,SubDir,[RootFile '.seq']),'file')
     254        FileInfo.FileType='rdvision';
     255        FileInfo.SeqFile=[RootFile '.seq'];
     256    end
     257end
    250258
    251259%% introduce the frame index in case of movies or multimage type
Note: See TracChangeset for help on using the changeset viewer.