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

5 ビュー (過去 30 日間)
guru
guru 2015 年 3 月 17 日
回答済み: Image Analyst 2017 年 7 月 30 日
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????????????

回答 (2 件)

Arun Kumar
Arun Kumar 2015 年 3 月 17 日
use a threshold value to determine whether your image is matching or not. To find euclidean distance ,you can use "dist" function.
  2 件のコメント
guru
guru 2015 年 3 月 17 日
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 2017 年 7 月 30 日
@Arun Kumar But how to define the threshold?

サインインしてコメントする。


Image Analyst
Image Analyst 2017 年 7 月 30 日
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