Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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????????????

Risposte (2)

Arun Kumar
Arun Kumar il 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 Commenti
guru
guru il 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
ketima bu
ketima bu il 30 Lug 2017
@Arun Kumar But how to define the threshold?

Accedi per commentare.


Image Analyst
Image Analyst il 30 Lug 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