Clear Filters
Clear Filters

How to Index images based on Euclidean's distance

2 views (last 30 days)
Hello everyone i want to retrieve images based on the euclidean distance.How to get euclideans distance from feature vector and sort images and display

Accepted Answer

Image Analyst
Image Analyst on 8 Mar 2015
How about using the formula for Euclidean distance:
meanDistance = sqrt(sum((featureVector - referenceFeatureVector).^2));
  2 Comments
cse batch4
cse batch4 on 9 Mar 2015
thank you.but how to calculate distance between two imags
Image Analyst
Image Analyst on 9 Mar 2015
How are you defining that? I answered your original question of how to find unweighted distance between two feature vectors. How are you defining distance between two images, rather than feature vectors? Do you mean the MSE? Or PSNR? Or SSIM? Or something else????

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!