摘要: function MyGetFiles(F)path=F;filelist=dir(fullfile(path,'*.JPG'));n=length(filelist);for i=1:n f=strcat(path,filelist(i).name); disp(f);endMyGet... 阅读全文
posted @ 2015-09-06 15:14 ahuo 阅读(758) 评论(0) 推荐(0) 编辑
摘要: function[l]= Gray(I) % I: The name of image A=imread(I);m=0;n=0;[m,n]= size(A);Hproj=zeros(m,1);Vproj=zeros(1,n);for h=1:m Hproj(h) = sum(A(h,:)); ... 阅读全文
posted @ 2015-09-06 14:36 ahuo 阅读(736) 评论(0) 推荐(0) 编辑