Changeset 332 for trunk/src/civ.m
- Timestamp:
- Dec 13, 2011, 11:20:07 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r326 r332 552 552 %% set the menus of image pairs and default selection for civ %%%%%%%%%%%%%%%%%%% 553 553 test_ima_i=numel(nom_type_ima)>1 && isempty(regexp(nom_type_ima(2:end),'\D','once'));%images with single indexing 554 if test_ima_i || isequal(nom_type_nc,'_ i1-i2')||~(exist('nbfield2','var')&&(nbfield2~=1))554 if test_ima_i || isequal(nom_type_nc,'_1-2')||~(exist('nbfield2','var')&&(nbfield2~=1)) 555 555 set(handles.ListPairMode,'Value',1) 556 556 set(handles.ListPairMode,'String',{'series(Di)'}) … … 1695 1695 end 1696 1696 if isempty(nom_type_ima2),nom_type_ima2='1';end; %default 1697 if isempty(nom_type_nc),nom_type_nc='_ i1-i2';end; %default1697 if isempty(nom_type_nc),nom_type_nc='_1-2';end; %default 1698 1698 [num1_civ1,num2_civ1,num_a_civ1,num_b_civ1,num1_civ2,num2_civ2,num_a_civ2,num_b_civ2]=... 1699 1699 find_pair_indices(handles,ref_i,ref_j,mode); … … 3085 3085 nom_type_ima=browse.nom_type_ima; 3086 3086 end 3087 nom_type_nc='_ i1-i2';%default3087 nom_type_nc='_1-2';%default 3088 3088 if isfield(browse,'nom_type_nc') 3089 3089 nom_type_nc=browse.nom_type_nc; … … 3093 3093 elseif isequal(nom_type_ima,'none')||isequal(nom_type_nc,'none') 3094 3094 nom_type_nc='none'; 3095 elseif isequal(nom_type_ima,'avi')||isequal(nom_type_ima,'_i')||isequal(nom_type_ima,'ima_num')||isequal(nom_type_nc,'_ i1-i2')3096 nom_type_nc='_ i1-i2';3095 elseif isequal(nom_type_ima,'avi')||isequal(nom_type_ima,'_i')||isequal(nom_type_ima,'ima_num')||isequal(nom_type_nc,'_1-2') 3096 nom_type_nc='_1-2'; 3097 3097 else 3098 3098 if isequal(mode,'series(Di)')%|isequal(mode,'st_series(Di)') 3099 nom_type_nc='_ i1-i2_j'; % PIV in volume3099 nom_type_nc='_1-2_1'; % PIV in volume 3100 3100 else 3101 nom_type_nc='_ i_j1-j2';3101 nom_type_nc='_1_1-2'; 3102 3102 end 3103 3103 end
Note: See TracChangeset
for help on using the changeset viewer.