필터 지우기
필터 지우기

How to perform pixel-by-pixel matching to check whether a query image exist in the template database or not.

조회 수: 1 (최근 30일)
I am working on dorsal hand vein recognition system. I have already binarised and pre-processed the image followed by feature extraction (white pixels coordinates) of the thinned vein patterns as shown below in the figure (Image 1). These steps were repeated for 10 images and having their coordinates stored in .txt file.
Now, let's say I have a query image (Image 2) as below where all the mentioned above steps have been applied and coordinates were retrieved.
From here, how do I proceed with the Euclidean distance or pixel-by-pixel matching or any other technique to verify whether the query image exists in the database or not and also, generate a matching score?
Thank You.

답변 (2개)

Anand
Anand 2013년 4월 28일
Well, if you expect the images to be exactly the same, you can do this:
im1 = imread('http://imageshack.us/a/img19/2367/zsthin0073hv1.png');
im2 = imread('http://imageshack.us/a/img543/9764/zsthin0059hv1.png');
isequal(im1,im2)
If you don't think there's going to be am exact match, you could use the 2-D correlation coefficient using the corr2 function.
  댓글 수: 2
Shirah
Shirah 2013년 4월 29일
Can you please provide me with a sample of code in which the corr2 function can be used for matching and generating a matching score. Thank You.
Image Analyst
Image Analyst 2013년 4월 29일
Anand, do you really think this will work for the images they gave? Because I don't. A slight rotation will totally destroy any correlation. Since it's a skeleton, even using a jig to position the hand will not give subpixel accuracy and so the correlations will be almost zero.

댓글을 달려면 로그인하십시오.


Image Analyst
Image Analyst 2013년 4월 28일
You might try to minimize the Hausdorf distance. See the bottom part of this page: http://cgm.cs.mcgill.ca/~godfried/teaching/cg-projects/98/normand/main.html or this: http://www.cs.cornell.edu/vision/hausdorff/hausmatch.html

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by