Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

4 次查看(过去 30 天)
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 个评论
Geoff Hayes
Geoff Hayes 2014-5-5
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?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by