MATLAB Answers

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

2 views (last 30 days)
Aude Rapet
Aude Rapet on 30 Jan 2017
Edited: Aude Rapet on 31 Jan 2017
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 Comments

Sign in to comment.

Answers (0)

Sign in to answer this question.