필터 지우기
필터 지우기

Info

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

Error in " imM=im>80;" in pushbutton2 function

조회 수: 1 (최근 30일)
Hazel Sialongo
Hazel Sialongo 2016년 9월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
Code:
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
[fname path]=uigetfile('*.jpg');
fname=strcat(path,fname);
im=imread(fname);
im=rgb2gray(im);
axes(handles.axes1)
imshow(im);
title('Grayscale Iris Image');
% --- Executes on button press in pushbutton2. function pushbutton2_Callback(hObject, eventdata,handles)
imM=im>80;
axes(handles.axes2)
imshow(imM);
title('Threshold Image');

답변 (1개)

Image Analyst
Image Analyst 2016년 9월 24일
No matter how many times you ask, the answer is still the same - see the FAQ for code
  댓글 수: 1
Hazel Sialongo
Hazel Sialongo 2016년 9월 24일
I'm sorry. I didn't notice your answer to my comments on my previous question. I'll just try it now. Thank you, by the way!

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

Community Treasure Hunt

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

Start Hunting!

Translated by