求助求助~~谢谢谢谢
程序的内容是设计了一个界面去实现三维模型的检索,具体程序:function 3d_retr
addpath(genpath('E:\3Dmodelretri_DBN'));
load index_cam20.mat
load img_show.mat
load ZMD_CSS_6600.mat
dir = 'F:\aa-台大\';
ZMD = ZMD_CSS;
top = 20;
= size(ZMD);
n_class = 10;
n_view = 20;
n_model = 330;
order = ;
% for p=1:size(q_img,2)
q_img = image_blur(q_img,3,3);
= lans_zmoment(q_img,order);
f_zmd = abs(V_zm);
f1 = f_zmd/sum(f_zmd);
q_img = double(q_img);
CSSD = image_CSS(q_img,0.3,50);
f2 = CSSD;
sketch = ;
% end
% figure(2),q_img = image_blur(q_img,10,10);imshow(q_img);
for k = 1:n_model
for i = 1:n_view
d_zmd(i,1) = norm(sketch - ZMD{(k-1)*20+i});
end
d_min(k) = mean(min(d_zmd));
end
% %%------------------------------------------
% %%3D object retrieval based on model query
% % n =187;imshow();
% % for k = 1:NumberOfModel
% % for i = 1:NumberOfLightfild
% % for p = 1:NumberOfLightfild
% % d_zmd(i,p) = norm(ZMD{(n-1)*20+p}-ZMD{(k-1)*20+i});
% % end
% % end
% % d_min(k) = mean(min(d_zmd));
% % end
= sort(d_min');
% %___________To show results_________________
figure(3);
for i=1:top
subplot(4,5,i);
imshow();
%xlabel();
end
程序运行后出现如上界面,但是上传照片检索有错误,如下:
To get started, select MATLAB Help or Demos from the Help menu.
The element type "name" must be terminated by the matching end-tag "</name>".
Could not parse the file: d:\matlab\toolbox\ccslink\ccslink\info.xml
??? Error using ==> load
Unable to read file img_show.mat: No such file or directory.
Error in ==> q_model_GUI at 5
load img_show.mat
Error in ==> retr_GUI>pushbutton2_Callback at 103
B2 = q_model_GUI(n);
Error in ==> gui_mainfcn at 75
feval(varargin{:});
Error in ==> retr_GUI at 42
gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback.
什么意思?还有程序不太明白,希望各位大大帮忙,给些这种图形界面设计的例子。小白在这谢谢给位大大拉~~~
img_show.mat这个文件不在Matlab的工作路径下,所以load出错 hustxyong 发表于 2013-5-24 16:08 static/image/common/back.gif
img_show.mat这个文件不在Matlab的工作路径下,所以load出错
那该怎呢改啊~~老师给的额例子毕业设计要要做这个~但没学过 yl199126 发表于 2013-5-25 22:04 static/image/common/back.gif
那该怎呢改啊~~老师给的额例子毕业设计要要做这个~但没学过
版主不是已经给了提示了吗?
毕业设计要要做这个~但没学过
那就赶快学吧! 入门很快的! 或者用自己熟悉的程序语言!
dir = 'F:\aa-台大\';
樓主的學校嗎? 别让这个牌子...
补充内容 (2013-5-26 22:38):
另外樓主的標題也不明確
页:
[1]