How to perform pixel-by-pixel matching to check whether a query image exist in the template database or not.
2 ビュー (過去 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.
0 件のコメント
回答 (2 件)
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 件のコメント
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
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!