Changeset 248 for trunk/src/uvmat.m


Ignore:
Timestamp:
May 9, 2011, 12:32:20 AM (10 years ago)
Author:
sommeria
Message:

various modifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r247 r248  
    14941494            maskname=maskfiles(ilist).name;% take the first mask file in the list
    14951495            [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
    15001501            [Path2,Name,ext]=fileparts(maskname);
    15011502            Namedouble=double(Name);
     
    15211522            Mask.NbSlice=nbslice;
    15221523            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
    15241525            [maskname,mdetect]=name_generator(Mask.Base,num_i1,num_j1,'.png',Mask.NomType);%
    15251526            mdetect=exist(maskname,'file');
     
    21472148    ParamIn.GUIName='get_field';
    21482149    [Field{1},ParamOut,errormsg] = read_field(ObjectName,FileType,ParamIn,num_i1);
    2149     Field{1}
    21502150    if ~isempty(errormsg)
    21512151        errormsg=['error in reading ' filename ': ' errormsg];
     
    25942594
    25952595%% Plot the projections on the selected  projection objects
    2596 'PLOT'
     2596
    25972597% main projection object (uvmat display)
    25982598list_object=get(handles.list_object_1,'String');
Note: See TracChangeset for help on using the changeset viewer.