Skip to content
Snippets Groups Projects
Commit 30d4235b authored by Nicola Vigano's avatar Nicola Vigano
Browse files

Gui/Thresholding: added manual setting of threshold in edit field


Signed-off-by: default avatarNicola Vigano <nicola.vigano@esrf.fr>

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@570 4c865b51-4357-4376-afb4-474e03ccb993
parent 4a6f2e25
No related branches found
No related tags found
No related merge requests found
......@@ -110,6 +110,9 @@ classdef GtGuiThresholdGrain < GtVolView
obj.addUICallback(obj.conf.h_thr_apply, ...
'Callback', ...
@(src, evt)segment(obj), false);
obj.addUICallback(obj.conf.h_thr_edit, ...
'Callback', ...
@(src, evt)changeThreshold(obj, str2double(get(obj.conf.h_thr_edit, 'String'))), false);
end
function setVisualisedData(obj, image, vol, is_overlay)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment