- Timestamp:
- Mar 28, 2015, 10:04:00 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_motion.m
r862 r886 122 122 pointershape='crosshair';%set pointer with cross shape 123 123 else 124 pointershape=' fullcross';%set pointer with large cross (default when mouse is over an axis)124 pointershape='crosshair';%set pointer with large cross (default when mouse is over an axis) 125 125 end 126 126 end -
trunk/src/series.m
r883 r886 264 264 265 265 %% introduce the input file name(s) if defined from input Param, 266 set(handles.series,'UserData',[])% initiate Userdata 266 267 if isfield(Param,'InputFile') 267 268 … … 2078 2079 2079 2080 % record the file extension and extend the path list if it is a new extension 2080 %ActionExtList=get(handles.ActionExt,'String');2081 %ActionExtIndex=find(strcmp(ActionExt,ActionExtList), 1);2082 %if isempty(ActionExtIndex)2083 %set(handles.ActionExt,'String',[ActionExtList;{ActionExt}])2084 %end2081 ActionExtList=get(handles.ActionExt,'String'); 2082 ActionExtIndex=find(strcmp(ActionExt,ActionExtList), 1); 2083 if isempty(ActionExtIndex) 2084 set(handles.ActionExt,'String',[ActionExtList;{ActionExt}]) 2085 end 2085 2086 2086 2087 % remove old Action options in the menu (keeping a menu length <nb_builtin_ACTION+5) … … 2105 2106 ActionListUser=ActionList(NbBuiltinAction+1:numel(ActionList)-1); 2106 2107 ActionPathListUser=ActionPathList(NbBuiltinAction+1:numel(ActionList)-1); 2107 %ActionExtListUser={};2108 %if numel(ActionExtList)>22109 %ActionExtListUser=ActionExtList(3:end);2110 %end2108 ActionExtListUser={}; 2109 if numel(ActionExtList)>2 2110 ActionExtListUser=ActionExtList(3:end); 2111 end 2111 2112 if exist(profil_perso,'file') 2112 2113 save(profil_perso,'ActionListUser','ActionPathListUser','ActionExtListUser','-append') -
trunk/src/series/civ_series.m
r885 r886 271 271 272 272 %% prepare output Data 273 Data.ListGlobalAttribute={'Conventions','Program','CivStage'};273 ListGlobalAttribute={'Conventions','Program','CivStage'}; 274 274 Data.Conventions='uvmat/civdata';% states the conventions used for the description of field variables and attributes 275 275 Data.Program='civ_series'; … … 412 412 Data.(Civ1_param{4+ilist})=Param.ActionInput.Civ1.(list_param{ilist}); 413 413 end 414 Data.ListGlobalAttribute=[ Data.ListGlobalAttribute Civ1_param];414 Data.ListGlobalAttribute=[ListGlobalAttribute Civ1_param]; 415 415 Data.CivStage=1; 416 416 end -
trunk/src/series/extract_rdvision.m
r851 r886 152 152 end 153 153 t=xmltree; 154 save(t,fullfile(RootPath,'Running.xml'))%create an xml file to indicate that processing takes place 154 %%% A REMETTREE %%%%%%%%%%%%%%%%%%%%% 155 %save(t,fullfile(RootPath,'Running.xml'))%create an xml file to indicate that processing takes place 155 156 156 157 %% calibration data and timing: read the ImaDoc files … … 309 310 310 311 %% reading the .sqb file 311 m = memmapfile(filename_sqb,'Format', { 'uint32' [1 1] 'offset'; ...312 'uint32' [1 1] 'garbage1';...313 'double' [1 1] 'timestamp';...314 'uint32' [1 1] 'file_idx';...315 'uint32' [1 1] 'garbage2' },'Repeat',SeqData.nb_frames);312 % m = memmapfile(filename_sqb,'Format', { 'uint32' [1 1] 'offset'; ... 313 % 'uint32' [1 1] 'garbage1';... 314 % 'double' [1 1] 'timestamp';... 315 % 'uint32' [1 1] 'file_idx';... 316 % 'uint32' [1 1] 'garbage2' },'Repeat',SeqData.nb_frames); 316 317 %%%%%%%BRICOLAGE in case of unreadable .sqb file 317 % ind=[60 63:152];%indices of bin files 318 % lengthimage=w*h*bpp;% lengthof an image record on the binary file 319 % for ii=1:32*numel(ind) 320 % data(ii).offset=mod(ii-1,32)*2*lengthimage+lengthimage;%Dalsa_2 321 % %data(ii).offset=mod(ii-1,32)*2*lengthimage;%Dalsa_1 322 % data(ii).file_idx=ind(ceil(ii/32)); 323 % data(ii).timestamp=0.2*(ii-1); 324 % end 318 ind=[111 114:211];%indices of bin files 319 w=1024;%w=width of images in pixels 320 h=1024;%h=height of images in pixels 321 bpp=2;% nbre of bytes per pixel 322 lengthimage=w*h*bpp;% lengthof an image record on the binary file 323 nbimages=32; %nbre of images of each camera in a bin file 324 for ii=1:32*numel(ind) 325 data(ii).offset=mod(ii-1,32)*2*lengthimage+lengthimage;%Dalsa_2 326 %data(ii).offset=mod(ii-1,32)*2*lengthimage;%Dalsa_1 327 data(ii).file_idx=ind(ceil(ii/32)); 328 data(ii).timestamp=0.2*(ii-1); 329 end 330 m.Data=data; 325 331 %%%%%%% 326 332 for ii=1: numel(m.Data) 327 333 timestamp(ii)=m.Data(ii).timestamp; 328 334 end 329 timestamp %todo: check withDt from the xml file335 %timestamp %todo: check withDt from the xml file 330 336 [BinSize,errormsg]=binread_rdv_series(RootPath,SeqData,m.Data,nbfield2,NomTypeNew) 331 337 if ~isempty(errormsg) -
trunk/src/series/stereo_civ.m
r879 r886 234 234 OutputDir=[Param.OutputSubDir Param.OutputDirExt]; 235 235 236 Data.ListGlobalAttribute={'Conventions','Program','CivStage'};236 ListGlobalAttribute={'Conventions','Program','CivStage'}; 237 237 Data.Conventions='uvmat/civdata';% states the conventions used for the description of field variables and attributes 238 238 Data.Program=mfilename;%gives the name of the current function; … … 338 338 Data.(Civ1_param{4+ilist})=Param.ActionInput.Civ1.(list_param{ilist}); 339 339 end 340 Data.ListGlobalAttribute=[ Data.ListGlobalAttribute Civ1_param];340 Data.ListGlobalAttribute=[ListGlobalAttribute Civ1_param]; 341 341 Data.CivStage=1; 342 342
Note: See TracChangeset
for help on using the changeset viewer.