nmf icon indicating copy to clipboard operation
nmf copied to clipboard

Where can I get surface normal images of blender dataset.

Open K-nowing opened this issue 2 years ago • 8 comments

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.

K-nowing avatar Dec 21 '23 05:12 K-nowing

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

half-potato avatar Dec 22 '23 01:12 half-potato

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

K-nowing avatar Dec 26 '23 02:12 K-nowing

Check the ground truth.

half-potato avatar Dec 27 '23 07:12 half-potato

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 avatar Dec 27 '23 11:12 K-nowing

+) 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".

K-nowing avatar Dec 28 '23 04:12 K-nowing

Did you get this working?

half-potato avatar Jan 13 '24 21:01 half-potato

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

K-nowing avatar Jan 13 '24 22:01 K-nowing

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.

half-potato avatar Jan 25 '24 18:01 half-potato