diff options
-rw-r--r-- | gui_win.m | 41 |
1 files changed, 0 insertions, 41 deletions
@@ -578,31 +578,6 @@ end; -% --- Executes during object creation, after setting all properties. -function figure1_CreateFcn(hObject, eventdata, handles) -% hObject handle to figure1 (see GCBO) -% eventdata reserved - to be defined in a future version of MATLAB -% handles empty - handles not created until after all CreateFcns called - -% Add the current directory to the path, as the pwd might change thru' the -% gui. Remove the directory from the path when gui is closed -% (See figure1_DeleteFcn) -setappdata(hObject, 'StartPath', pwd); -addpath(pwd); - - -% --- Executes during object deletion, before destroying properties. -function figure1_DeleteFcn(hObject, eventdata, handles) -% hObject handle to figure1 (see GCBO) -% eventdata reserved - to be defined in a future version of MATLAB -% handles structure with handles and user data (see GUIDATA) - -% Remove the directory added to the path in the figure1_CreateFcn. -if isappdata(hObject, 'StartPath') - rmpath(getappdata(hObject, 'StartPath')); -end - - function readshutterspeed_Callback(hObject, eventdata, handles) % hObject handle to readshutterspeed (see GCBO) @@ -680,21 +655,6 @@ function image2display_CreateFcn(hObject, eventdata, handles) % Hint: place code in OpeningFcn to populate image2display -% --- Executes on button press in checkbox1. -function checkbox1_Callback(hObject, eventdata, handles) -% hObject handle to checkbox1 (see GCBO) -% eventdata reserved - to be defined in a future version of MATLAB -% handles structure with handles and user data (see GUIDATA) - -% Hint: get(hObject,'Value') returns toggle state of checkbox1 - - -% --- Executes on button press in pushbutton7. -function pushbutton7_Callback(hObject, eventdata, handles) -% hObject handle to pushbutton7 (see GCBO) -% eventdata reserved - to be defined in a future version of MATLAB -% handles structure with handles and user data (see GUIDATA) - function readstrength_Callback(hObject, eventdata, handles) @@ -818,7 +778,6 @@ function showcross_Callback(hObject, eventdata, handles) global image_display; global image_cross; global image_negative; -global image_original; global background_m; if get(handles.button2substract,'Value') > 0 image_display = image_display - background_m; |