Hi all,
Thank you very much for your nice helps. I did the transformation successfully right
.
.
>> X = [R p ; 0 0 0 1]
X =
-0.4586 -0.7635 0.4547 0.9572
-0.7977 0.5792 0.1680 0.4854
-0.3916 -0.2856 -0.8747 0.8003
0 0 0 1.0000
>> XinvSherm = [R' -R'*p; 0 0 0 1]
XinvSherm =
-0.4586 -0.7977 -0.3916 1.1396
-0.7635 0.5792 -0.2856 0.6783
0.4547 0.1680 -0.8747 0.1832
0 0 0 1.0000
>> inv(X)
ans =
-0.4586 -0.7977 -0.3916 1.1396
-0.7635 0.5792 -0.2856 0.6783
0.4547 0.1680 -0.8747 0.1832
0 0 0 1.0000
>>
* [ | ] * X = [ R | p ] R is a 3x3 orthogonal rotation matrix * [ | ] * [.......|...] p is a 3x1 translation vector * [ 0 0 0 1 ] * * These have a particularly simple inverse: * * -1 [ | ] * X = [ ~R | p* ] ~R is R transpose, p* = ~R(-p). * [.......|....] * [ 0 0 0 1 ]
Leave a comment: