@@ -1960,10 +1960,27 @@ function popupmenu_ROC_Callback(hObject, eventdata, handles)
19601960
19611961% Call the slider_ROC_plot callback function to update classifier, ROC plot
19621962% & axon discrimination display
1963+
1964+
1965+ handleArray = [handles .remove , handles .remove_concavity , handles .DiscriminantAnalysis , handles .resetStep3 , handles .go_full_image ...
1966+ handles .LoadSegParam , handles .PixelSize , handles .PixelSize_button , handles .popupmenu_ROC , handles .Transparency , handles .slider_ROC_plot ...
1967+ handles .Quadratic , handles .Linear , handles .MyelinSeg ];
1968+
1969+ set(handleArray ,' Enable' ,' off' );
1970+ drawnow ;
1971+
1972+
19631973slider_ROC_plot_Callback(hObject , eventdata , handles );
19641974
1975+ set(handleArray ,' Enable' ,' on' );
1976+
1977+
19651978guidata(hObject ,handles );
19661979
1980+
1981+
1982+
1983+
19671984% --- Executes during object creation, after setting all properties.
19681985function popupmenu_ROC_CreateFcn(hObject , eventdata , handles )
19691986% hObject handle to popupmenu_ROC (see GCBO)
@@ -1986,6 +2003,13 @@ function slider_ROC_plot_Callback(hObject, eventdata, handles)
19862003% eventdata reserved - to be defined in a future version of MATLAB
19872004% handles structure with handles and user data (see GUIDATA)
19882005
2006+ handleArray = [handles .remove , handles .remove_concavity , handles .DiscriminantAnalysis , handles .resetStep3 , handles .go_full_image ...
2007+ handles .LoadSegParam , handles .PixelSize , handles .PixelSize_button , handles .popupmenu_ROC , handles .Transparency , handles .slider_ROC_plot ...
2008+ handles .Quadratic , handles .Linear , handles .MyelinSeg ];
2009+
2010+ set(handleArray ,' Enable' ,' off' );
2011+ drawnow ;
2012+
19892013% Make sure the slider value is an integer
19902014float_value= get(handles .slider_ROC_plot ,' Value' );
19912015set(handles .slider_ROC_plot ,' Value' ,round(float_value ));
@@ -2031,6 +2055,8 @@ function slider_ROC_plot_Callback(hObject, eventdata, handles)
20312055% -1-
20322056% imshow(sc(get(handles.Transparency,'Value')*sc(handles.data.DA_accepted,[0 0.75 0],handles.data.DA_accepted)...
20332057% +get(handles.Transparency,'Value')*sc(Rejected_axons_img,[1 0.5 0],Rejected_axons_img)+sc(handles.data.Step1)));
2058+
2059+ set(handleArray ,' Enable' ,' on' );
20342060
20352061guidata(hObject ,handles );
20362062
0 commit comments