how do I solve matlab feature mismatching problem?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am tring to match points on an object with two different view of it.Firstly I used minimum eigenvalu to find points and the results are below;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163969/image.png)
When I try to match two image the results are mismatch.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163972/image.png)
I couldn't find the reason.Could you help me to solve this problem?
My code;
I1 = rgb2gray(imread('IMG_1046.jpg')); C1 = corner(I1,'MinimumEigenvalue',800,'FilterCoefficients',fspecial('gaussian',[31 1],0.000000000000000009));
I2 = rgb2gray(imread('IMG_1048.jpg')); C2 =corner(I2,'MinimumEigenvalue',800,'FilterCoefficients',fspecial('gaussian',[51 1],0.000000000000009)); % imshow(I1); % hold on % plot(C1(:,1), C1(:,2), 'r.') imshow(I2); hold on plot(C2(:,1), C2(:,2), 'r.') [features1, valid_points1] = extractFeatures(I1, C1);
[features2, valid_points2] = extractFeatures(I2, C2);
indexPairs = matchFeatures(features1, features2); matched_points2 = valid_points2(indexPairs(:, 2), :); matched_points1 = valid_points1(indexPairs(:, 1), :); figure; showMatchedFeatures(I1, I2,matched_points1, matched_points2,'montage');
댓글 수: 0
답변 (2개)
Anand
2014년 6월 17일
Take a look at the examples on this page. Part of the workflow described is feature matching:
Also, here's a ready reference of the kinds of features detectors and descriptors available:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!