Skip to content

Linear or sRGB? #227

Answered by Tom94
xmk2222 asked this question in Q&A
Feb 22, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

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 be true, but somewh…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@xmk2222
Comment options

@Tom94
Comment options

Answer selected by Tom94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #226 on February 22, 2022 09:24.