how to find Euclidean distance in matlab?
Ältere Kommentare anzeigen
hi i have extracted the feature of the 1000 images by using color Correlogram & saved it in a .mat file, now i want to match some query image(consist of .mat file) with this data base by using Euclidean distance for image retrieval.but i don't know how to find the Euclidean distance between 1000 data base images & one query image. thanks
1 Kommentar
ganesh s
am 2 Dez. 2011
Akzeptierte Antwort
Weitere Antworten (2)
divya r
am 15 Jun. 2012
0 Stimmen
How did you concatenate data from multiple matfiles into one? I have done it fr only 2 .mat files, but i am stuck in the logic for multiple .mat files. Could you please help me out with the logic?
2 Kommentare
Walter Roberson
am 15 Jun. 2012
Please start a new Question for this matter.
Htet Yamin Ko Ko
am 11 Okt. 2017
Bearbeitet: Walter Roberson
am 11 Okt. 2017
if exist('feat.mat')
load feat.mat
else feat= [];
end
feat = [feat,featVec]; % you should use ; for row vectors and , for column vectors
save feat.mat feat
feat.mat is my existing .mat file and featVec is my current extracted feature vector. I hope it helps you.
Dodo Dodda
am 18 Mai 2016
0 Stimmen
I have a data set of 160 images, and i extracted features of these images and saved them in .mat file, now i want to match between features of another image and all features that i saved in the .mat file. How i can do this using eulidean distance algorithm?
1 Kommentar
Walter Roberson
am 18 Mai 2016
pdist2()
Kategorien
Mehr zu Images finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!