From 8bd8057d6f5beacb5f3fbb5bf78cefae906eb97f Mon Sep 17 00:00:00 2001 From: Aldo Zaimi Date: Mon, 6 Mar 2017 12:14:00 -0500 Subject: [PATCH] corrected small bug (ask to save SEgParameters.mat after myelin set in GUI) --- code/GUI/SegmentationGUI.m | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/code/GUI/SegmentationGUI.m b/code/GUI/SegmentationGUI.m index 72d7151..89cb6d0 100644 --- a/code/GUI/SegmentationGUI.m +++ b/code/GUI/SegmentationGUI.m @@ -1417,6 +1417,19 @@ function MyelinSeg_Callback(hObject, eventdata, handles) %% SAVE +% save SegParam +[FileName,PathName] = uiputfile('SegParameters.mat','Save Segmentation Parameters'); + +PixelSize=get(handles.PixelSize,'Value'); +handles.segParam.PixelSize=PixelSize; +SegParameters=handles.segParam; + + + + +save([PathName FileName], 'SegParameters', 'PixelSize'); + + savedir=[handles.outputdir 'results_cropped' filesep]; mkdir(savedir);