Clear Filters
Clear Filters

How to start coding for a content based image retrieval system using color?

1 view (last 30 days)
i have an images folder. how to calculate the histograms of all images in the folder and compare it with the query image(image selected by the user) and display all the similar images?

Accepted Answer

Walter Roberson
Walter Roberson on 29 Mar 2013
  2 Comments
Ruhi
Ruhi on 30 Mar 2013
For comparison of the query image histogram with the histograms of all images, how to store all the histograms in a feature vector folder?
Walter Roberson
Walter Roberson on 30 Mar 2013
fv_folder = 'feature_vectors';
for K = 1 : 10
histogram = hist(.....);
filename = sprintf('hist_%03d.mat', K);
save( fullfile(fv_folder, filename), 'histogram')
end

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!