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

the orientation of normal is very strange! #12

Open
guyuezuntinggithub opened this issue Jul 29, 2024 · 2 comments
Open

the orientation of normal is very strange! #12

guyuezuntinggithub opened this issue Jul 29, 2024 · 2 comments

Comments

@guyuezuntinggithub
Copy link

Hey guys, I appreciate the awesome work!
when I ran the test with the image from my D405 depth camera, I got this result.
it seems right.
img_v3_02d8_ffdda79f-f33b-47ce-94e8-991e9758741g
but, when I read the normal from this image, and put it in my point cloud. the normal is not along with the surface. but the orientation of light.
img_v3_02d8_a6c7d8d5-23a2-4b07-8be3-4121b7ea569g

@baegwangbin
Copy link
Owner

Hi,

FYI, we use the right-handed coordinate system with (X, Y, Z) = (right, down, front). An important thing to note is that both the ground truth normals and our prediction are the outward normals. For example, in the case of a fronto-parallel wall facing the camera, the normals would be (0, 0, 1), not (0, 0, -1). If you instead need to use the inward normals, please do normals = -normals.

Let me know if this fixes the problem!

@guyuezuntinggithub
Copy link
Author

Hi,

FYI, we use the right-handed coordinate system with (X, Y, Z) = (right, down, front). An important thing to note is that both the ground truth normals and our prediction are the outward normals. For example, in the case of a fronto-parallel wall facing the camera, the normals would be (0, 0, 1), not (0, 0, -1). If you instead need to use the inward normals, please do normals = -normals.

Let me know if this fixes the problem!

very appreciate for your reply。
I have solved it! the result is awe-inspiring!

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