Changeset 248 for trunk/src/uvmat.m
- Timestamp:
- May 9, 2011, 12:32:20 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r247 r248 1494 1494 maskname=maskfiles(ilist).name;% take the first mask file in the list 1495 1495 [rr,ff,x1,x2,xa,xb,xext,Mask_NomType{ilist}]=name2display(maskname); 1496 if ~strcmp(Mask_NomType{ilist},Mask_NomType{1}) 1497 msgbox_uvmat('ERROR',['inconsistent mask types ' Mask_NomType{1} Mask_NomType{ilist } ' coexist in the current image directory']) 1498 return 1499 end 1496 % 1497 % if ~strcmp(Mask_NomType{ilist},Mask_NomType{1}) 1498 % msgbox_uvmat('ERROR',['inconsistent mask types ' Mask_NomType{1} ' and ' Mask_NomType{ilist } ' coexist in the current image directory']) 1499 % return 1500 % end 1500 1501 [Path2,Name,ext]=fileparts(maskname); 1501 1502 Namedouble=double(Name); … … 1521 1522 Mask.NbSlice=nbslice; 1522 1523 num_i1=mod(num_i1-1,nbslice)+1; 1523 Mask.NomType= Mask_NomType{1};1524 Mask.NomType=regexprep(Mask_NomType{1},'0','');%remove '0' in nom type for masks 1524 1525 [maskname,mdetect]=name_generator(Mask.Base,num_i1,num_j1,'.png',Mask.NomType);% 1525 1526 mdetect=exist(maskname,'file'); … … 2147 2148 ParamIn.GUIName='get_field'; 2148 2149 [Field{1},ParamOut,errormsg] = read_field(ObjectName,FileType,ParamIn,num_i1); 2149 Field{1}2150 2150 if ~isempty(errormsg) 2151 2151 errormsg=['error in reading ' filename ': ' errormsg]; … … 2594 2594 2595 2595 %% Plot the projections on the selected projection objects 2596 'PLOT' 2596 2597 2597 % main projection object (uvmat display) 2598 2598 list_object=get(handles.list_object_1,'String');
Note: See TracChangeset
for help on using the changeset viewer.