Rank: 29406 based on 0 downloads (last 30 days) and 0 files submitted
photo

ampire Ê

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by ampire
Updated File Comments Rating
20 May 2009 Image retrieval - Query by Example Demo This demo provides a simple query by image example method, based on HSV values. Author: Theodoros Giannakopoulos

thank you for your code! But I think the code above is not very exact.it's code based on you:
function [Hists,files] = getImageHistsDir(DirName)
D = dir(DirName);
count = 0;
 
for (i=3:length(D))
    if ((strcmpi(D(i).name(end-3:end), '.jpg')==1) | (strcmpi(D(i).name(end-3:end), '.jpeg')==1))
        count = count + 1;
        Hists{count}=getImageHists([DirName '\\' D(i).name]);
        files{count}=[DirName '\\' D(i).name];
        fprintf('%.4d File %40s computed...\n',count,files{count});
    end
end
savefile='mydatabase';
save (savefile, 'files', 'Hists')
Making use of it,you can get imagesdir in your images files.thank you!

Contact us at files@mathworks.com