Changeset 1177 for trunk/src/series/civ_input.m
- Timestamp:
- Mar 12, 2025, 8:13:18 PM (2 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_input.m
r1176 r1177 328 328 PairMenu={'series(Di)'}; 329 329 elseif MaxIndex_j-MinIndex_j==1 330 PairMenu={'pair j1-j2' };330 PairMenu={'pair j1-j2';'series(Di)'}; 331 331 elseif MaxIndex_i==MinIndex_i && MaxIndex_j-MinIndex_j>2% simple series in j 332 332 PairMenu={'pair j1-j2';'series(Dj)'}; … … 1968 1968 hparent=get(hObject,'parent'); 1969 1969 hchildren=get(hparent,'children'); 1970 handle_txtbox=findobj(hchildren,'tag','Background');% look for the maskname box in the same panel1971 test mask=0;1970 handle_txtbox=findobj(hchildren,'tag','Background');% look for the background name box in the same panel 1971 testbackground=0; 1972 1972 if get(hObject,'Value')% if the checkbox is activated 1973 1973 hseries=findobj(allchild(0),'Tag','series'); … … 1979 1979 ind_A=1;% line index of the (first) image series 1980 1980 end 1981 % browse for a mask1981 % browse for a background 1982 1982 filebackground= uigetfile_uvmat('pick a background image file:',InputTable{ind_A,1},'image'); 1983 1983 if ~isempty(filebackground) … … 1992 1992 end 1993 1993 set(hObject,'UserData',filebackground);%store for future use 1994 test mask=1;1995 end 1996 end 1997 if test mask1994 testbackground=1; 1995 end 1996 end 1997 if testbackground 1998 1998 set(handles.Background,'Visible','on') 1999 1999 set(handles.Background,'String',filebackground) … … 2009 2009 set(handles.ConfigSource,'String','NEW') 2010 2010 set(handles.ConfigSource,'BackgroundColor',[1 0 1]) 2011 2012 2013 2014 function Background_Callback(hObject, eventdata, handles)2015 % hObject handle to Background (see GCBO)2016 % eventdata reserved - to be defined in a future version of MATLAB2017 % handles structure with handles and user data (see GUIDATA)2018 2019 % Hints: get(hObject,'String') returns contents of Background as text2020 % str2double(get(hObject,'String')) returns contents of Background as a double
Note: See TracChangeset
for help on using the changeset viewer.