How to find euclidean distance between database and query image?

3 views (last 30 days)
frnds pls help me to do this.I am trying to solve the problem denoted above.In this case i created ms access database and store the feature values on it,and the retrieval part i have a error to measure the euclidean distance value,between the database and query image feature vector

Accepted Answer

Image Analyst
Image Analyst on 8 Mar 2014
Anything wrong with the Pythagorean theorem? Just compute the square root of the squares of the differences between your feature vector elements.
There is a database toolbox that you might find helpful for doing database operations.
  1 Comment
hema latha
hema latha on 8 Mar 2014
Thank u, i foud out the mistake,here i used the feature values are coefficient variance of discrete wavelet transform.The input arguments has minus valus that's the mistake but how to solve this.

Sign in to comment.

More Answers (1)

luis espeleta
luis espeleta on 19 Nov 2018
Hi, ca i use euclidean distance with a database in dB?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!