Compare two images and match features
古いコメントを表示
I am trying to match features for two images (files attched) which are developed using two different CAD software but are almost the same. Their resolution is different. I am not able to match the features of the two images using any of the extractfeatures options. How can I approach this problem ? I even tried the scale invariant extractfeatures commands. I am developing a software where I compare these two images and grade them.
5 件のコメント
Image Analyst
2017 年 6 月 30 日
What is the feature? The percentage of the way across horizontally each vertical line is? You have to tell us. What features did you extract? Were those the ones you really needed or wanted? What does "grade" mean to you?
sanchit ingale
2017 年 7 月 14 日
sanchit ingale
2017 年 7 月 14 日
編集済み: sanchit ingale
2017 年 7 月 14 日
Image Analyst
2017 年 7 月 14 日
Sorry, I can't run it because I don't have the Computer Vision System Toolbox. But I think you'd be better off getting some features that mean something to you rather than just a bunch or arbitrary surf or sift salient points, which from what I've seen often give a lot of spurious points.
sanchit ingale
2017 年 7 月 14 日
回答 (1 件)
Vinoth Venkatesan
2017 年 7 月 21 日
I'm assuming your trying to match the features obtained between two sets of images and give scores according to the number of matches. I'm not sure about the count function that is being used, but a better way to compare features obtained from detectors like SURF is to use the descriptors associated with each detected feature that is output by the extractFeatures function ( refer here ).
There are a few ways to make these comparisons. You could use a Sum of Squared Differences (SSD) for example:
SSD = sum(features1(i) - features2(i).^2)
Here, the ith feature from sets 1 and 2 are being compared. If the SSD is below a tolerance value, the features can be matched. Refer to sum for information about array sum.
カテゴリ
ヘルプ センター および File Exchange で Point Cloud Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!