DSINE icon indicating copy to clipboard operation
DSINE copied to clipboard

the orientation of normal is very strange!

Open guyuezuntinggithub opened this issue 1 year ago • 2 comments
trafficstars

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

guyuezuntinggithub avatar Jul 29 '24 09:07 guyuezuntinggithub

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!

baegwangbin avatar Jul 30 '24 21:07 baegwangbin

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!

guyuezuntinggithub avatar Aug 12 '24 01:08 guyuezuntinggithub