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

Where can I get surface normal images of blender dataset. #14

Open
K-nowing opened this issue Dec 21, 2023 · 8 comments
Open

Where can I get surface normal images of blender dataset. #14

K-nowing opened this issue Dec 21, 2023 · 8 comments

Comments

@K-nowing
Copy link

Hi, where can I get surface normal images of blender dataset.
The value of the surface normal image in the data accessible from the official github page seems to be an inaccurate value.
Thank you so much!

image

The predicted normal from the paper.

image

The GT normal from the data.

@half-potato
Copy link
Owner

I believe these need to be mapped from [-1, 1] to [0, 1] by dividing by 2 and adding 0.5.

@K-nowing
Copy link
Author

The predicted normal image is already mapped from [-1, 1] to [0, 1].

@half-potato
Copy link
Owner

Check the ground truth.

@K-nowing
Copy link
Author

The ground truth is a png file, so it ranges from 0 to 255. Even if I change the range from [0, 255] to [-1, 1], it does not work. Am I missing something? Thank you for your reply!

@K-nowing
Copy link
Author

+) From this line, it means that the suffix of the normal image file is "_normal.png". However the suffix of the normal image from the official github page is "_normal_0000.png".

@half-potato
Copy link
Owner

Did you get this working?

@K-nowing
Copy link
Author

No, it doesn't work... The GT normal image that I have seems to be different from the one you have.

@half-potato
Copy link
Owner

This can happen if the normals are clipped before being exported, so you don't have the correct range on the normals. In this case, the ground truth normals have the wrong range.

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