A slight confusion about a particular step in Euclidean Transformations (Computer Vision)












1














On page 392 of Computer vision by Simon Prince (http://web4.cs.ucl.ac.uk/staff/s.prince/book/book.pdf), equation 15.2 has the following expression for the Euclidean transformation in homogeneous coordinates:



$$
lambda
begin{bmatrix}
x\y\1
end{bmatrix} =
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&1
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&D
end{bmatrix}
begin{bmatrix} u\v\1end{bmatrix}
$$



In what follows, he switches the position of $1$ and $D$:



$$
lambda
begin{bmatrix}
x\y\1
end{bmatrix} =
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&D
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&1
end{bmatrix}
begin{bmatrix} u\v\1end{bmatrix}
$$



with the comment that the last equation is unchanged.



My question is this: the other two equations do seem to change when you make this switch, so firstly, why can we make this switch? Secondly, is there a geometric explanation underlying this switch?



Edit:



Here are the multiplied out matrices:



$$
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&1
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&D
end{bmatrix} =
begin{bmatrix}
phi_x w_{11} + gamma w_{21}&phi_x w_{12} + gamma w_{22}&phi_x tau_x + gamma tau_y + Ddelta_x\
phi_y w_{21}& phi_y w_{22}&phi_y tau_y + Ddelta_y\
0&0&D
end{bmatrix}
$$



$$
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&D
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&1
end{bmatrix} =
begin{bmatrix}
phi_x w_{11} + gamma w_{21}&phi_x w_{12} + gamma w_{22}&phi_x tau_x + gamma tau_y + delta_x\
phi_y w_{21}& phi_y w_{22}&phi_y tau_y + delta_y\
0&0&D
end{bmatrix}
$$



As can be seen in the last column, the first two equations have changed.



Edit 2:



I have checked with my lecturer and he thinks that there might be an error in the book.










share|cite|improve this question
























  • Multiply it out for yourself!
    – amd
    Nov 30 '18 at 2:42










  • @amd Question has been edited - I am still unable to see why we can switch the positions of the 1 and D given that the first two equations are not equivalent. Is there a particular reason why we don't need to be concerned about the switching of 1 and D?
    – Sean Lee
    Nov 30 '18 at 10:56
















1














On page 392 of Computer vision by Simon Prince (http://web4.cs.ucl.ac.uk/staff/s.prince/book/book.pdf), equation 15.2 has the following expression for the Euclidean transformation in homogeneous coordinates:



$$
lambda
begin{bmatrix}
x\y\1
end{bmatrix} =
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&1
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&D
end{bmatrix}
begin{bmatrix} u\v\1end{bmatrix}
$$



In what follows, he switches the position of $1$ and $D$:



$$
lambda
begin{bmatrix}
x\y\1
end{bmatrix} =
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&D
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&1
end{bmatrix}
begin{bmatrix} u\v\1end{bmatrix}
$$



with the comment that the last equation is unchanged.



My question is this: the other two equations do seem to change when you make this switch, so firstly, why can we make this switch? Secondly, is there a geometric explanation underlying this switch?



Edit:



Here are the multiplied out matrices:



$$
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&1
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&D
end{bmatrix} =
begin{bmatrix}
phi_x w_{11} + gamma w_{21}&phi_x w_{12} + gamma w_{22}&phi_x tau_x + gamma tau_y + Ddelta_x\
phi_y w_{21}& phi_y w_{22}&phi_y tau_y + Ddelta_y\
0&0&D
end{bmatrix}
$$



$$
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&D
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&1
end{bmatrix} =
begin{bmatrix}
phi_x w_{11} + gamma w_{21}&phi_x w_{12} + gamma w_{22}&phi_x tau_x + gamma tau_y + delta_x\
phi_y w_{21}& phi_y w_{22}&phi_y tau_y + delta_y\
0&0&D
end{bmatrix}
$$



As can be seen in the last column, the first two equations have changed.



Edit 2:



I have checked with my lecturer and he thinks that there might be an error in the book.










share|cite|improve this question
























  • Multiply it out for yourself!
    – amd
    Nov 30 '18 at 2:42










  • @amd Question has been edited - I am still unable to see why we can switch the positions of the 1 and D given that the first two equations are not equivalent. Is there a particular reason why we don't need to be concerned about the switching of 1 and D?
    – Sean Lee
    Nov 30 '18 at 10:56














1












1








1


1





On page 392 of Computer vision by Simon Prince (http://web4.cs.ucl.ac.uk/staff/s.prince/book/book.pdf), equation 15.2 has the following expression for the Euclidean transformation in homogeneous coordinates:



$$
lambda
begin{bmatrix}
x\y\1
end{bmatrix} =
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&1
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&D
end{bmatrix}
begin{bmatrix} u\v\1end{bmatrix}
$$



In what follows, he switches the position of $1$ and $D$:



$$
lambda
begin{bmatrix}
x\y\1
end{bmatrix} =
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&D
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&1
end{bmatrix}
begin{bmatrix} u\v\1end{bmatrix}
$$



with the comment that the last equation is unchanged.



My question is this: the other two equations do seem to change when you make this switch, so firstly, why can we make this switch? Secondly, is there a geometric explanation underlying this switch?



Edit:



Here are the multiplied out matrices:



$$
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&1
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&D
end{bmatrix} =
begin{bmatrix}
phi_x w_{11} + gamma w_{21}&phi_x w_{12} + gamma w_{22}&phi_x tau_x + gamma tau_y + Ddelta_x\
phi_y w_{21}& phi_y w_{22}&phi_y tau_y + Ddelta_y\
0&0&D
end{bmatrix}
$$



$$
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&D
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&1
end{bmatrix} =
begin{bmatrix}
phi_x w_{11} + gamma w_{21}&phi_x w_{12} + gamma w_{22}&phi_x tau_x + gamma tau_y + delta_x\
phi_y w_{21}& phi_y w_{22}&phi_y tau_y + delta_y\
0&0&D
end{bmatrix}
$$



As can be seen in the last column, the first two equations have changed.



Edit 2:



I have checked with my lecturer and he thinks that there might be an error in the book.










share|cite|improve this question















On page 392 of Computer vision by Simon Prince (http://web4.cs.ucl.ac.uk/staff/s.prince/book/book.pdf), equation 15.2 has the following expression for the Euclidean transformation in homogeneous coordinates:



$$
lambda
begin{bmatrix}
x\y\1
end{bmatrix} =
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&1
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&D
end{bmatrix}
begin{bmatrix} u\v\1end{bmatrix}
$$



In what follows, he switches the position of $1$ and $D$:



$$
lambda
begin{bmatrix}
x\y\1
end{bmatrix} =
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&D
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&1
end{bmatrix}
begin{bmatrix} u\v\1end{bmatrix}
$$



with the comment that the last equation is unchanged.



My question is this: the other two equations do seem to change when you make this switch, so firstly, why can we make this switch? Secondly, is there a geometric explanation underlying this switch?



Edit:



Here are the multiplied out matrices:



$$
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&1
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&D
end{bmatrix} =
begin{bmatrix}
phi_x w_{11} + gamma w_{21}&phi_x w_{12} + gamma w_{22}&phi_x tau_x + gamma tau_y + Ddelta_x\
phi_y w_{21}& phi_y w_{22}&phi_y tau_y + Ddelta_y\
0&0&D
end{bmatrix}
$$



$$
begin{bmatrix}
phi_x&gamma&delta_x\
0 &phi_y&delta_y\
0&0&D
end{bmatrix}
begin{bmatrix}
w_{11}&w_{12}&tau_x\
w_{21}&w_{22}&tau_y\
0&0&1
end{bmatrix} =
begin{bmatrix}
phi_x w_{11} + gamma w_{21}&phi_x w_{12} + gamma w_{22}&phi_x tau_x + gamma tau_y + delta_x\
phi_y w_{21}& phi_y w_{22}&phi_y tau_y + delta_y\
0&0&D
end{bmatrix}
$$



As can be seen in the last column, the first two equations have changed.



Edit 2:



I have checked with my lecturer and he thinks that there might be an error in the book.







machine-learning rigid-transformation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 30 '18 at 23:27







Sean Lee

















asked Nov 30 '18 at 2:23









Sean LeeSean Lee

1578




1578












  • Multiply it out for yourself!
    – amd
    Nov 30 '18 at 2:42










  • @amd Question has been edited - I am still unable to see why we can switch the positions of the 1 and D given that the first two equations are not equivalent. Is there a particular reason why we don't need to be concerned about the switching of 1 and D?
    – Sean Lee
    Nov 30 '18 at 10:56


















  • Multiply it out for yourself!
    – amd
    Nov 30 '18 at 2:42










  • @amd Question has been edited - I am still unable to see why we can switch the positions of the 1 and D given that the first two equations are not equivalent. Is there a particular reason why we don't need to be concerned about the switching of 1 and D?
    – Sean Lee
    Nov 30 '18 at 10:56
















Multiply it out for yourself!
– amd
Nov 30 '18 at 2:42




Multiply it out for yourself!
– amd
Nov 30 '18 at 2:42












@amd Question has been edited - I am still unable to see why we can switch the positions of the 1 and D given that the first two equations are not equivalent. Is there a particular reason why we don't need to be concerned about the switching of 1 and D?
– Sean Lee
Nov 30 '18 at 10:56




@amd Question has been edited - I am still unable to see why we can switch the positions of the 1 and D given that the first two equations are not equivalent. Is there a particular reason why we don't need to be concerned about the switching of 1 and D?
– Sean Lee
Nov 30 '18 at 10:56










0






active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3019538%2fa-slight-confusion-about-a-particular-step-in-euclidean-transformations-compute%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3019538%2fa-slight-confusion-about-a-particular-step-in-euclidean-transformations-compute%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How do I know what Microsoft account the skydrive app is syncing to?

When does type information flow backwards in C++?

Grease: Live!