Changeset 478 for trunk/src/series/sub_background.m
- Timestamp:
- Jun 26, 2012, 8:41:27 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/sub_background.m
r474 r478 80 80 else 81 81 hseries=guidata(Param.hseries);%handles of the GUI series 82 WaitbarPos=get(hseries.waitbar_frame,'Position');%position of the waitbar on the GUI series83 82 if isfield(Param,'Specific')&& strcmp(Param.Specific,'?') 84 83 checkrun=1;% will search input parameters (preparation of BATCH mode) … … 179 178 prompt = {'volume scan mode (Yes/No)';'Number of images for the sliding background (MUST FIT IN COMPUTER MEMORY)';... 180 179 'the luminosity rank chosen to define the background (0.1=for dense particle seeding, 0.5 (median) for sparse particles'}; 181 dlg_title = ['get (slice by slice) a sliding background and substract to each image, result in subdir ' Param.OutputDir];180 dlg_title = ['get (slice by slice) a sliding background and substract to each image, result in subdir ' OutputDir]; 182 181 num_lines= 3; 183 182 def = { 'No';num2str(nbaver_init);'0.1'}; … … 361 360 if checkrun 362 361 stopstate=get(hseries.RUN,'BusyAction'); 363 update_waitbar(hseries. waitbar_frame,WaitbarPos,(ifield+(islice-1)*nbfield_i)/(nbfield_i*NbSlice))362 update_waitbar(hseries.Waitbar,(ifield+(islice-1)*nbfield_i)/(nbfield_i*NbSlice)) 364 363 else 365 364 stopstate='queue'; … … 440 439 end 441 440 442 %finish the waitbar443 if checkrun444 update_waitbar(hseries.waitbar,WaitbarPos,1)445 end446 447 441 448 442 function C=levels(A)
Note: See TracChangeset
for help on using the changeset viewer.