Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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?

Antworten (1)

Pratyush Roy
Pratyush Roy am 1 Sep. 2020
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:

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by