Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotation matrix and translation matrix problem #22

Open
fare129 opened this issue Apr 27, 2024 · 4 comments
Open

Rotation matrix and translation matrix problem #22

fare129 opened this issue Apr 27, 2024 · 4 comments

Comments

@fare129
Copy link

fare129 commented Apr 27, 2024

Hello, thank you again for your help. Now I find two thorny questions:

  1. After I calibrate according to the requirements, is the translation matrix given arranged according to [X, Y, Z]? This is obviously inconsistent with the position map obtained by the operation. From the given map, it can be clearly seen that if displayed according to [X, Y, Z], the translation matrix should be [416.707, -129.316, 246.134], Instead of the [246.134, -129.316, 416.707] you gave.
  2. If the translation matrix is not correct, is the rotation order of the rotation matrix also incorrect? I looked at the source code and saw the rotation sequence of XYZ. Is this the final rotation sequence? If not, so what? Please let me know.
    Looking forward to your reply
    1714194896723
    1714194918551
    1714194936939
    1714194975092
@BingyaoHuang
Copy link
Owner

Translation vector (T) and the location of the projector (prjOrg) are different things.

@fare129
Copy link
Author

fare129 commented Apr 27, 2024

Okay, what about the rotation matrix? Is it rotated in the XYZ direction on the translation vector, or in the reprojected XYZ direction? Or some other rotation sequence.

@BingyaoHuang
Copy link
Owner

It follows OpenCV coordinate system and aims to rotate a point from camera view to projector view space.

@fare129
Copy link
Author

fare129 commented Apr 27, 2024

What I want to say is that according to the results, the translation matrix is the camera translation amount obtained by taking the projector as the origin of the coordinates. So the rotation matrix should also be the rotation of the camera coordinate system relative to the projector coordinate system, right? If this is the case, I would like to ask, what is the rotation sequence? Because the rotation order is different, the restored coordinate system coordinates are different, which is very important to me. Could you please let me know?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants