필터 지우기
필터 지우기

Is it possible to use Euclidean Transform with estimateGe​ometricTra​nsform function

조회 수: 1 (최근 30일)
el
el 2020년 8월 28일
답변: Pratyush Roy 2020년 9월 1일
I have two images and I want to stitch them, but I want to use only Euclidean Transform.
This is my code:
% 1. Find SURF features:
points1 = detectSURFFeatures(grayImage1);
[features1, points1] = extractFeatures(grayImage1, points1);
points2 = detectSURFFeatures(grayImage2);
[features2, points2] = extractFeatures(grayImage2, points2);
% 2. Match features:
indexPairs = matchFeatures(features1, features2, 'Unique', true);
matchedPoints1 = points1(indexPairs(:,1), :);
matchedPoints2 = points2(indexPairs(:,2), :);
Now I want to match the two feature set, but I want to use Euclidean Geometric Transform (which does no scaling); but this option is not available in the estimation function:
% 3. Find geometric transformation:
transform = estimateGeometricTransform(matchedPoints1, ...
matchedPoints2, ...
'euclidean'); % 'euclidean' does not work
% 'similarity' works
How can I match the two images using a Euclidean transform?

답변 (1개)

Pratyush Roy
Pratyush Roy 2020년 9월 1일
The estimateGeometricTransform function cannot estimate non-scaling or rigid transformation matrices.
However, there are other functions where one can set the ‘transformType’ to ‘rigid’. You can refer to the documentation link below for more information:

카테고리

Help CenterFile Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by