フィルターのクリア

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