Changeset 73 for trunk/src/uvmat.m


Ignore:
Timestamp:
Mar 30, 2010, 11:50:35 PM (14 years ago)
Author:
sommeria
Message:

ima2vol: provides volume images in 16 bit (presently needed for the software 3D3C)
set_grid: small bug repairs
uvmat: small bug repairs.
civ: bug repair following previous changes (RUN and BATCH functions merged)
plot_field: cleaning of parameter transmission. Introduction of a parameter handle of a text box (not yet used)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r72 r73  
    419419end
    420420[FileName, PathName] = uigetfile( ...
    421        {'*.xml;*.xls;*.civ;*.png;*.jpg;*.tif;*.avi;*.AVI;*.nc;*.cmx;*.fig;*.log;*.dat', ' (*.xml,*.xls,*.civ,*.jpg ,*.png, .tif, *.avi,*.nc,*.cmx ,*.fig,*.log,*.dat)';
     421       {'*.xml;*.xls;*.civ;*.png;*.jpg;*.tif;*.avi;*.AVI;*.vol;*.nc;*.cmx;*.fig;*.log;*.dat;*.bat;', ' (*.xml,*.xls,*.civ,*.jpg ,*.png, .tif, *.avi,*.vol,*.nc,*.cmx ,*.fig,*.log,*.dat,*.bat)';
    422422       '*.xml',  '.xml files '; ...
    423423        '*.xls',  '.xls files '; ...
     
    427427        '*.tif','.tif image files'; ...
    428428        '*.avi;*.AVI','.avi movie files'; ...
     429        '*.vol','.volume images (png)'; ...
    429430        '*.nc','.netcdf files'; ...
    430431        '*.cdf','.netcdf files'; ...
     
    434435        '*.log','.log text files ';...
    435436        '*.dat','.dat text files ';...
     437        '*.bat','.bat system command text files';...
    436438        '*.*',  'All Files (*.*)'}, ...
    437439        'Pick a file',oldfile);
     
    541543end
    542544switch ext_test
    543     case {'.civ','.log','.cmx','.cmx2','.txt'}  %display text file
     545    case {'.civ','.log','.cmx','.cmx2','.txt','.bat'}  %display text file
    544546        edit(fileinput) 
    545547    case '.fig'                           %display matlab figure
     
    795797               set(handles.slices,'Value',1)
    796798           end
    797            if isequal(GeometryCalib.NbSlice,'volume')
     799           if isfield(GeometryCalib,'NbSlice') && isequal(GeometryCalib.NbSlice,'volume')
    798800               set(handles.nb_slice,'String','volume')
    799801           else
     
    41374139
    41384140%suppress the other options if grid is chosen
    4139 % set(handles.create,'Value',0)
    4140 % set(handles.create,'BackgroundColor',[0 1 0])
    41414141set(handles.edit_vect,'Value',0)
    41424142edit_vect_Callback(hObject, eventdata, handles)
     
    41464146set(handles.edit,'BackgroundColor',[0.7 0.7 0.7])
    41474147set(handles.list_object_1,'Value',1)     
    4148 % set(handles.cal,'Value',0)
    4149 % set(handles.cal,'BackgroundColor',[0 1 0])   
    41504148
    41514149%prepare display of the set_grid GUI
     
    41534151FileName=read_file_boxes(handles);
    41544152[hset_object,UvData.sethandles]=set_grid(FileName);% call the set_object interface
    4155 set(huvmat,'UserData',UvData);
     4153set(handles.uvmat,'UserData',UvData);
    41564154
    41574155
Note: See TracChangeset for help on using the changeset viewer.