how to calculate the euclidean distance between two images ???????

5 views (last 30 days)
hi, I have extracted features using gabor filter .. for matching I am using euclidean distance... how to say the features (images) are matched from this distance????????????

Answers (2)

Arun Kumar
Arun Kumar on 17 Mar 2015
use a threshold value to determine whether your image is matching or not. To find euclidean distance ,you can use "dist" function.
  2 Comments
guru
guru on 17 Mar 2015
thanks for quick reply.
I have calculated using that function.... but I am getting the closer value for two different persons image.... I know those two images are different .. how to say they are not on same set using the distance what i have calculated

Sign in to comment.


Image Analyst
Image Analyst on 30 Jul 2017
I don't know what your features are. Are they images or some numbers you determined from the gabor-filtered images? usually people attach images when they ask for image processing advice.
To compare images, you can use functions like ssim(), immse(), and psnr(). Or you can subtract them and compute mean absolute difference. Of course there are lots of ways to compare two images and you just need to find one that meets your needs.

Community Treasure Hunt

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

Start Hunting!