Search Comments and Ratings

go

   
Date File Comment by Comment Rating
16 Jul 2013 Add an ROI toolbar to your figure This function adds an ROI toolbar to your figure. Author: Yi Sui

Yi Sui (view profile)

mercy

mercy (view profile)

Thank You! I realized the solution was that i had to double click the image i was interested in before selecting the roi tool. Another question is does this function allow me to get the x and y data points of the roi. I would like to be able to have the same roi show up on another image in the same position. Thanks!

Comment only
15 Jul 2013 Add an ROI toolbar to your figure This function adds an ROI toolbar to your figure. Author: Yi Sui

Yi Sui (view profile)

mercy

mercy (view profile)

Hello, I am trying to use this in a GUI with multiple axes. However the function only works on the most recently opened gui figure but i would like it to work on all the figures. How do i do this?
code:
% --- Executes just before image_processing_July9 is made visible.
function image_processing_July9_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to image_processing_July9 (see VARARGIN)

% Choose default command line output for image_processing_July9
handles.output = hObject;

% set(handles.plot_Bmode,'Visible','off');
set(handles.edit_gamma,'String', sprintf('%4.0f%', get(handles.gamma_slider,'Value')));
set(handles.edit_transparency,'String', sprintf('%4.0f%', get(handles.transparency_slider,'Value')));
addRoiToolbar
% Update handles structure
guidata(hObject, handles);

% UIWAIT makes image_processing_July9 wait for user response (see UIRESUME)
% uiwait(handles.figure1);

Comment only

Contact us