city-super / MatrixCity

Apache License 2.0
217 stars 9 forks source link

norm of normal is not equal to 1 #40

Closed Binyr closed 1 month ago

Binyr commented 1 month ago

Hi, thanks for your great work!

I load normal from "matrixCity/small_city_normal/aerial/train/block_1_normal/0000.exr" and get a 1080x1920x4 float matrix. And use np.linalg.norm to get the l2 norm of each pixel of the first 3 channel. I found that most of the pixel norm is not equal to 1 (2060350 out of 1080x1920).

Is there anything wrong in my loading process? Could you provide more information of how the normal data is collected?

Thank you, Yanrui