How to create a database of images and thus, how to compare a query image to those that are there in the database?
2 views (last 30 days)
Show older comments
I want to create a database of images and need to create the histogram of all these images. So, when a new image is entered, I can make it's histogram and compare with all the images in the database using some algorithm.
0 Comments
Answers (4)
Shaun VanWeelden
on 13 Mar 2013
And a cell array can't hurt either. If you are looking to see how close an image matches up, try taking a look at normxcorr2, it is a pretty cool function.
0 Comments
Rakesh Singh
on 13 Mar 2013
use these lines of code
it might help you
list = dir('*.tif'); % reading all the images one by one .
for i = 1:length(list)
img{i} = imread(list(i).name);
0 Comments
Rakesh Singh
on 13 Mar 2013
@shaun van weelden
i am working on similar images . will the function told by you help in my work
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!