MATLAB Answers

Info

This question is closed. Reopen it to edit or answer.

zoom the JPEG and contour the region of interst and calculate the values of x,y,z in that region

1 view (last 30 days)
Muhammad
Muhammad on 22 Aug 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi All Hope you all are enjoying good health. i opened the JPEG images using GUI in MATLAB in axis by using forward for the next slice and backward for the perior. the code is given below if true % --- Executes on button press in pushbutton1. function pushbutton1_Callback(hObject, eventdata, handles) handles.output = hObject; handles.index = handles.index - 1; Cek(hObject, eventdata, handles); imshow(handles.X{handles.index},[]); guidata(hObject, handles);
% --- Executes on button press in pushbutton2. function pushbutton2_Callback(hObject, eventdata, handles) handles.output = hObject; handles.index = handles.index + 1; Cek(hObject, eventdata, handles); imshow(handles.X{handles.index},[]); imfreehand
function Cek(hObject, eventdata, handles) handles.output = hObject; n = length(handles.files); if handles.index > 1, set(handles.pushbutton1,'enable','on'); else set(handles.pushbutton1,'enable','off'); end if handles.index < n, set(handles.pushbutton2,'enable','on'); else set(handles.pushbutton2,'enable','off'); end guidata(hObject, handles);
end i want to zoom somepart of any desired slice (127X127 and 55 slices are there)and make some region of interst and calculate the x,y and z values in that region. any help is apperciated in advance. Hoping for a early response too
Muhammad

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!