How to Index images based on Euclidean's distance
2 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Image Analyst
on 8 Mar 2015
How about using the formula for Euclidean distance:
meanDistance = sqrt(sum((featureVector - referenceFeatureVector).^2));
2 Comments
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????
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!