admin管理员组文章数量:1287608
I am working on image rotations in 3D space. I am trying to rotate an image on a 3D graph based on Yaw, Pitch, and Roll angles.
I've succeeded in plotting the image as a polygon. Here is a view for Pitch, Roll, and Yaw equal to 0 degrees:
But when I start rotating the image, the distance between the optical center (black dot) and the image change. Here is an example where I plot the image by changing the Pitch angle from 0 to 90 degrees with a step of 5 degrees (Yaw = Roll = 0°):
Normally this distance (red arrows) should be unchanged by the transformation, right? Is there something I missed in my transformations based on rotation matrices?
I am working on image rotations in 3D space. I am trying to rotate an image on a 3D graph based on Yaw, Pitch, and Roll angles.
I've succeeded in plotting the image as a polygon. Here is a view for Pitch, Roll, and Yaw equal to 0 degrees:
But when I start rotating the image, the distance between the optical center (black dot) and the image change. Here is an example where I plot the image by changing the Pitch angle from 0 to 90 degrees with a step of 5 degrees (Yaw = Roll = 0°):
Normally this distance (red arrows) should be unchanged by the transformation, right? Is there something I missed in my transformations based on rotation matrices?
Share Improve this question edited Feb 23 at 20:57 halfer 20.5k19 gold badges109 silver badges202 bronze badges asked Feb 23 at 14:06 TitiTiti 111 bronze badge 1- In order to help you, we would need to see your transformation matrices, the angles you're trying to rotate by, and the points you used as input. Otherwise we would just be guessing. – beaker Commented Feb 23 at 15:08
1 Answer
Reset to default 0Normally this distance (red arrows) should be unchanged by the transformation, right? Is there something I missed in my transformations based on rotation matrices?
This appears to be an artifact of the way you've plotted this data. Note that the image is a distance of 1.0 away from the black dot both before and after the rotation, but it looks smaller, because the Z axis is more closely spaced than the Y axis.
本文标签: Image rotations in 3D space based on rotation matricesVector norm changeStack Overflow
版权声明:本文标题:Image rotations in 3D space based on rotation matrices - Vector norm change - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741316369a2371940.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论