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

About suface_normal Prediction #18

Open
amnesiac555 opened this issue Dec 1, 2019 · 5 comments
Open

About suface_normal Prediction #18

amnesiac555 opened this issue Dec 1, 2019 · 5 comments

Comments

@amnesiac555
Copy link

Hello, JiaxiongQ!
when i read your code, i found that after you predict the surface normal vector, you perform some transformation operations on it. the code is:
outputN = torch.zeros_like(normals2)
outputN[:,:,:,0] = -normals2[:,:,:,0]
outputN[:,:,:,1] = -normals2[:,:,:,2]
outputN[:,:,:,2] = -normals2[:,:,:,1]
I'm confused about this part. Can you explain it,Thank you very much.

@JiaxiongQ
Copy link
Owner

When estimating the ground-truth of surface normal from depth, we did the same operation to generate the color we want. So the surface normal from predicted depth should do this operation again.

@JennyGao00
Copy link

Can you explain your method to estimate the ground-truth of surface normal from depth?
Thanks a lot.

@JiaxiongQ
Copy link
Owner

JiaxiongQ commented Jan 17, 2021 via email

@JennyGao00
Copy link

For KITTI, we fitted a plane for sparse depth points in a window. Please vist https://github.com/Cindy-xdZhang/surface-normal for details.

On Wed, Jan 13, 2021 at 10:07 PM JennyGao00 @.***> wrote: Can you explain your method to estimate the ground-truth of surface normal from depth? Thanks a lot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJANJRCJHBDP7CHUBRJVV5LSZWSLLANCNFSM4JTJP4GA .

thanks for your reply!
I have ran the above code, but i wonder, numerically, what should f, fx, fy of the nuydepthv2 dataset be? (like 1, 1, 1, or some other numbers?)

@JiaxiongQ
Copy link
Owner

JiaxiongQ commented Jan 26, 2021 via email

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

3 participants