Linear or sRGB?
#227
-
I tried training nerf with my own dataset and it worked well, but I'm quite confused about the color space. I found 3 color space settings(python api) in i-ngp which I can't fully understand:
The questions are:
Many thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Tom94
Feb 22, 2022
Replies: 1 comment 2 replies
-
Hi there, color spaces are unfortunately a bit of nightmare when trying to reproduce existing NeRF research, hence all these settings.
You don't need to worry about setting these to anything other than their default values for optimal results. Cheers! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Tom94
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, color spaces are unfortunately a bit of nightmare when trying to reproduce existing NeRF research, hence all these settings.
testbed.color_space
: this is the color space in which testbed composits the background after rendering. It should always be linear to get correct colors (especially with DoF), except when comparing PSNR numbers to original NeRF, mip-NeRF, NSVF, and other derivatives, because they do non-physical sRGB alpha blending. This setting also applies to SDF & volume rendering.testbed.nerf.training.linear_colors
: this setting refers to the color space in which the NeRF raymarch takes place. To match physical light transport, this setting should betrue
, but somewh…