Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

displaying edited image in gui

조회 수: 1 (최근 30일)
Pat
Pat 2012년 3월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
i have created gui(two pushbuttons) and have displayed image in gui(with 1st pushbutton),and next i have segmented the image,now i want to display the segmented image in that gui,please help
function pushbutton2_Callback(hObject, eventdata, handles)
if (handles.fileLoaded==1)
% Gray = rgb2gray(handles.RGB);
rsa=(handles.rsa)
I=rsa
m = zeros(size(I,1),size(I,2))
m(20:120,20:120)= 1;
seg = chenvese(I,'large',400,0.02,'chan'); % ability on gray image
mseg=seg;
imshow(mseg)
end
i tried the code above,but it is not displaying in gui,please help

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by