I hv created a gui which calculates hamming distance btw d images. i hv loaded 1 test image n 3 images as templates. I have a button AUTHENTICATE when i press it im getting 3 diff. values of ham dist. but nt able to display those values on edit text

box
i get the following error Error using imread>parse_inputs (line 458) The filename or url argument must be a string.
Error in imread (line 317) [filename, fmt_s, extraArgs] = parse_inputs(varargin{:});
Error in FExLBP>TestingLBP_Callback (line 134) I1= imresize(imread(image1),0.5);
Error in gui_mainfcn (line 96) feval(varargin{:});
Error in FExLBP (line 42) gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)FExLBP('TestingLBP_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback

1 Commento

Jeevan - please edit your question length to something more reasonable and succinct. Much of what you state in the Question (title) could be placed in the Body.
Your error message indicates the filename (or URL) that you are passing to the imread function is NOT a string. What is your variable image1?

Risposte (0)

Questa domanda è chiusa.

Richiesto:

il 5 Mag 2014

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by