Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
guru
guru am 17 Mär. 2015
Beantwortet: Image Analyst am 30 Jul. 2017
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????????????

Antworten (2)

Arun Kumar
Arun Kumar am 17 Mär. 2015
use a threshold value to determine whether your image is matching or not. To find euclidean distance ,you can use "dist" function.
  2 Kommentare
guru
guru am 17 Mär. 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
ketima bu
ketima bu am 30 Jul. 2017
@Arun Kumar But how to define the threshold?

Melden Sie sich an, um zu kommentieren.


Image Analyst
Image Analyst am 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!

Translated by