Info
此问题已关闭。 请重新打开它进行编辑或回答。
zoom the JPEG and contour the region of interst and calculate the values of x,y,z in that region
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!