Changeset 784 for trunk/src/series
- Timestamp:
- Jun 7, 2014, 6:17:53 PM (11 years ago)
- Location:
- trunk/src/series
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/aver_stat.m
r783 r784 121 121 return 122 122 end 123 [FileInfo{iview},MovieObject{iview}]=get_file_ type(filecell{iview,1});123 [FileInfo{iview},MovieObject{iview}]=get_file_info(filecell{iview,1}); 124 124 FileType{iview}=FileInfo{iview}.FileType; 125 125 CheckImage{iview}=~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images -
trunk/src/series/aver_synchro.m
r783 r784 93 93 FileExt=Param.InputTable(:,5); 94 94 [filecell,i1_series,i2_series,j1_series,j2_series]=get_file_series(Param); 95 FileInfo=get_file_ type(filecell{1,1});95 FileInfo=get_file_info(filecell{1,1}); 96 96 FileType=FileInfo.FileType; 97 97 %%%%%%%%%%%% -
trunk/src/series/beam_forming.m
r783 r784 82 82 return 83 83 end 84 [FileInfo{iview},MovieObject{iview}]=get_file_ type(filecell{iview,1});84 [FileInfo{iview},MovieObject{iview}]=get_file_info(filecell{iview,1}); 85 85 FileType{iview}=FileInfo{iview}.FileType; 86 86 CheckImage{iview}=~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images -
trunk/src/series/check_data_files.m
r783 r784 92 92 NcTypeOptions={'netcdf','civx','civdata'}; 93 93 for iview=1:nbview 94 [FileInfo{iview},Object{iview}]=get_file_ type(filecell{iview,1});94 [FileInfo{iview},Object{iview}]=get_file_info(filecell{iview,1}); 95 95 FileType{iview}=FileInfo{iview}.FileType; 96 96 CheckImage{iview}=~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images … … 101 101 for iview=1:nbview 102 102 if isequal(FileType{iview},'mmreader')||isequal(FileType{iview},'video')||isequal(FileType{iview},'multimage') 103 [FileInfo]=get_file_ type(filecell{iview,1});103 [FileInfo]=get_file_info(filecell{iview,1}); 104 104 Tabchar{1}=filecell{iview,1};%info.Filename; 105 105 Tabchar{2}=''; … … 131 131 end 132 132 lastfield=''; 133 [FileInfo,Object]=get_file_ type(file);133 [FileInfo,Object]=get_file_info(file); 134 134 FileType{iview}=FileInfo.FileType; 135 135 if strcmp(FileType{iview},'civx')||strcmp(FileType{iview},'civdata') -
trunk/src/series/check_peaklock.m
r783 r784 113 113 return 114 114 end 115 [FileInfo{iview},MovieObject{iview}]=get_file_ type(filecell{iview,1});115 [FileInfo{iview},MovieObject{iview}]=get_file_info(filecell{iview,1}); 116 116 FileType{iview}=FileInfo{iview}.FileType; 117 117 CheckImage{iview}=~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images -
trunk/src/series/civ_input.m
r783 r784 2068 2068 Data.CoordUnit='pixel';% used to set equal scaling for x and y in image dispa=ly 2069 2069 par_civ1=read_GUI(handles.Civ1); 2070 FileInfo=get_file_ type(ImageName_A);2070 FileInfo=get_file_info(ImageName_A); 2071 2071 par_civ1.FileTypeA=FileInfo.FileType; 2072 2072 par_civ1.ImageWidth=size(Data.A,2); -
trunk/src/series/civ_series.m
r783 r784 220 220 return 221 221 end 222 [FileInfo_A,VideoObject_A]=get_file_ type(ImageName_A);222 [FileInfo_A,VideoObject_A]=get_file_info(ImageName_A); 223 223 FileType_A=FileInfo_A.FileType; 224 224 if strcmp(FileInfo_A.FileType,'netcdf') … … 234 234 return 235 235 end 236 [FileInfo_B,VideoObject_B]=get_file_ type(ImageName_B);236 [FileInfo_B,VideoObject_B]=get_file_info(ImageName_B); 237 237 FileType_B=FileInfo_B.FileType; 238 238 if strcmp(FileInfo_B.FileType,'netcdf') … … 250 250 return 251 251 end 252 [FileType_A,FileInfo_A,VideoObject_A]=get_file_ type(ImageName_A);252 [FileType_A,FileInfo_A,VideoObject_A]=get_file_info(ImageName_A); 253 253 [par_civ1.ImageA,VideoObject_A] = read_image(ImageName_A,FileInfo_A.FileType,VideoObject_A,FrameIndex_A_Civ2(1)); 254 254 ImageName_B=fullfile_uvmat(RootPath_B,SubDir_B,RootFile_B,FileExt_B,NomType_B,i2_series_Civ2(1),[],j2_series_Civ2(1)); … … 257 257 return 258 258 end 259 [FileInfo_B,VideoObject_B]=get_file_ type(ImageName_B);259 [FileInfo_B,VideoObject_B]=get_file_info(ImageName_B); 260 260 FileType_B=FileInfo_B.FileType; 261 261 [par_civ1.ImageB,VideoObject_B] = read_image(ImageName_B,FileType_B,VideoObject_B,FrameIndex_B_Civ2(1)); -
trunk/src/series/float_tracking.m
r783 r784 124 124 125 125 %% check the input file type 126 [FileInfo,VideoObject]=get_file_ type(filecell{1,1});126 [FileInfo,VideoObject]=get_file_info(filecell{1,1}); 127 127 FileType=FileInfo.FileType; 128 128 ImageTypeOptions={'image','multimage','mmreader','video'}; -
trunk/src/series/ima_levels.m
r783 r784 65 65 msgbox_uvmat('WARNING','the first input file does not exist') 66 66 else 67 FileInfo=get_file_ type(filecell{1,1});67 FileInfo=get_file_info(filecell{1,1}); 68 68 FileType=FileInfo.FileType; 69 69 if isempty(find(strcmp(FileType,{'image','multimage','mmreader','video'})));% =1 for images … … 107 107 nbfield_i=size(i1_series{1},2); %nb of fields for the i index 108 108 nbfield=nbfield_j*nbfield_i; %total number of fields 109 [FileInfo{1},VideoObject{1}]=get_file_ type(filecell{1,1});% type of input file109 [FileInfo{1},VideoObject{1}]=get_file_info(filecell{1,1});% type of input file 110 110 FileType{1}=FileInfo{1}.FileType; 111 111 -
trunk/src/series/merge_proj.m
r783 r784 121 121 return 122 122 end 123 [FileInfo{iview},MovieObject{iview}]=get_file_ type(filecell{iview,1});123 [FileInfo{iview},MovieObject{iview}]=get_file_info(filecell{iview,1}); 124 124 FileType{iview}=FileInfo{iview}.FileType; 125 125 CheckImage{iview}=~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images -
trunk/src/series/particle_tracking.m
r783 r784 124 124 125 125 %% check the input file type 126 [FileInfo,VideoObject]=get_file_ type(filecell{1,1});126 [FileInfo,VideoObject]=get_file_info(filecell{1,1}); 127 127 FileType=FileInfo.FileType; 128 128 ImageTypeOptions={'image','multimage','mmreader','video'}; -
trunk/src/series/relabel_i_j.m
r783 r784 95 95 return 96 96 end 97 [FileInfo{1},MovieObject{1}]=get_file_ type(filecell{1,1});97 [FileInfo{1},MovieObject{1}]=get_file_info(filecell{1,1}); 98 98 FileType{1}=FileInfo{1}.FileType; 99 99 CheckImage=~isempty(find(strcmp(FileType{1},ImageTypeOptions)));% =1 for images -
trunk/src/series/sub_background.m
r783 r784 90 90 %% check the validity of input file types 91 91 ImageTypeOptions={'image','multimage','mmreader','video'};%allowed input file types(images) 92 FileInfo=get_file_ type(FirstFileName);92 FileInfo=get_file_info(FirstFileName); 93 93 FileType=FileInfo.FileType; 94 94 CheckImage=~isempty(find(strcmp(FileType,ImageTypeOptions), 1));% =1 for images … … 201 201 % i1_series(iview,fileindex) expresses the same indices as a 1D array in file indices 202 202 %%%%%%%%%%%% 203 [FileInfo{1},MovieObject{1}]=get_file_ type(filecell{1,1});203 [FileInfo{1},MovieObject{1}]=get_file_info(filecell{1,1}); 204 204 FileType{1}=FileInfo{1}.FileType; 205 205 if ~isempty(j1_series{1}) -
trunk/src/series/time_series.m
r783 r784 124 124 return 125 125 end 126 [FileInfo{iview},MovieObject{iview}]=get_file_ type(filecell{iview,1});126 [FileInfo{iview},MovieObject{iview}]=get_file_info(filecell{iview,1}); 127 127 FileType{iview}=FileInfo{iview}.FileType; 128 128 if strcmp(FileType{iview},'civdata')||strcmp(FileType{iview},'civx') -
trunk/src/series/turb_stat.m
r783 r784 103 103 return 104 104 end 105 [FileInfo{iview},MovieObject{iview}]=get_file_ type(filecell{iview,1});105 [FileInfo{iview},MovieObject{iview}]=get_file_info(filecell{iview,1}); 106 106 FileType{iview}=FileInfo{iview}.FileType; 107 107 CheckImage{iview}=~isempty(find(strcmp(FileType{iview},ImageTypeOptions)));% =1 for images
Note: See TracChangeset
for help on using the changeset viewer.