ROS Answers: Open Source Q&A Forum - RSS feedhttps://answers.ros.org/questions/Open source question and answer forum written in Python and DjangoenROS Answers is licensed under Creative Commons Attribution 3.0Tue, 19 Nov 2013 20:24:38 -0600rotating the depth image about lowest row in 3Dhttps://answers.ros.org/question/55839/rotating-the-depth-image-about-lowest-row-in-3d/I have a depth image which I want to rotated about a point to project the points in another plane which is at an angle t from the plane about the col axis
so,
[r2 c2]' = [ct st ; -st ct] [r c]'
Should give me a rotation about angle t, with the column axis of the lowest row (479th row) as the pivot.
Lets think about it as seeing the optical plane from one side and seeing only the row axis
Now, the problem is that I can't have the same depth values once I rotate the image. I don't know how the depth values would change.
Can someone help me figure this out.Wed, 20 Feb 2013 15:34:23 -0600https://answers.ros.org/question/55839/rotating-the-depth-image-about-lowest-row-in-3d/Answer by timster for <p>I have a depth image which I want to rotated about a point to project the points in another plane which is at an angle t from the plane about the col axis
so,
[r2 c2]' = [ct st ; -st ct] [r c]'
Should give me a rotation about angle t, with the column axis of the lowest row (479th row) as the pivot.
Lets think about it as seeing the optical plane from one side and seeing only the row axis
Now, the problem is that I can't have the same depth values once I rotate the image. I don't know how the depth values would change.
Can someone help me figure this out.</p>
https://answers.ros.org/question/55839/rotating-the-depth-image-about-lowest-row-in-3d/?answer=103051#post-id-103051Maybe you could project the depth values to 3D and then project to the new plane?Tue, 19 Nov 2013 20:24:38 -0600https://answers.ros.org/question/55839/rotating-the-depth-image-about-lowest-row-in-3d/?answer=103051#post-id-103051