摘要:
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... 阅读全文
摘要:
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,:)); ... 阅读全文