Find geometric transformation between a pair of images : does imwarp take into account the translation?

2 次查看(过去 30 天)
Hi,
I am a beginner in Matlab and try to find the rotation + translation that exists between my two images (because my sample moves slighlty under the miscrocope).
My question: Is the translation also taking into account for the recovered picture? Because as
scaleRecovered = sqrt(ssss + scsc) ; thetaRecovered = atan2(ss,sc)*180/pi
and
Tinv = [sc -ss 0;
ss sc 0;
tx ty 1]
where tx and ty are x and y translations, respectively, I may think that tx and ty are not taken into account for the recovered image.
In this line, I could think that everything (rotation + translation) is taking into account via tform.
recovered = imwarp(distorted,tform,'OutputView',outputView);
In my case I have :
T inv =
1.00023168623406 -0.000123052555266618 0
0.000123052555266618 1.00023168623406 0
-0.184933876743564 -0.914678514629892 1
Also how could I calculate a "translationRecovered" as my thetaRecovered?
Thank you for your help! Aude

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by