How to create a database of images and thus, how to compare a query image to those that are there in the database?
古いコメントを表示
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.
回答 (3 件)
Walter Roberson
2013 年 3 月 13 日
0 投票
load() and save()
Shaun VanWeelden
2013 年 3 月 13 日
0 投票
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.
Rakesh Singh
2013 年 3 月 13 日
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);
カテゴリ
ヘルプ センター および File Exchange で Read, Write, and Modify Image についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!