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 Comment

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?

Answers (0)

This question is closed.

Asked:

on 5 May 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!