Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
Hazel Sialongo
Hazel Sialongo il 24 Set 2016
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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');

Risposte (1)

Image Analyst
Image Analyst il 24 Set 2016
No matter how many times you ask, the answer is still the same - see the FAQ for code
  1 Commento
Hazel Sialongo
Hazel Sialongo il 24 Set 2016
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!

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by