필터 지우기
필터 지우기

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

조회 수: 1 (최근 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