exr image output
Posted: Tue Nov 17, 2020 1:20 pm
Hi,
I have a problem saving images as exr. They look to have a strange gamma. First I made render with png and gamma 2.2. I have flowing pipeline
film.imagepipelines.0.0.type = "NOP"
film.imagepipelines.0.1.type = "NOP"
film.imagepipelines.0.2.type = "TONEMAP_LUXLINEAR"
film.imagepipelines.0.2.sensitivity = "100"
film.imagepipelines.0.2.exposure = 0.1
film.imagepipelines.0.2.fstop = 22
film.imagepipelines.0.3.type = "GAMMA_CORRECTION"
film.imagepipelines.0.3.value = "2.2"
film.outputs.0.type = "RGB_IMAGEPIPELINE"
film.outputs.0.filename = "c:\Bartek\stack\LuxCoreTests\exrGammaProblems\1_FI_68995_272448_0000.png"
Than I've changed extension to exr: As you can see the colors are washed out. This is because I have gamma 2.2 in exr and than XnView apply again gamma 2.2
So I remove gamma correction from XnView and get correct image: But this is not in 100% correct. Exr images should be saved with gamma 1.0, because all software (XnView, Gimp, Photoshop) apply 2.2 gamma correction to exr images. So logical solution is set 1.0 to gamma correction in image pipeline. But I get something strange: Could somebody explain to what I'm doing wrong? From my point of view, id should identical if I apply gamma correction during save process or read process as long as I apply it only once.
I have a problem saving images as exr. They look to have a strange gamma. First I made render with png and gamma 2.2. I have flowing pipeline
film.imagepipelines.0.0.type = "NOP"
film.imagepipelines.0.1.type = "NOP"
film.imagepipelines.0.2.type = "TONEMAP_LUXLINEAR"
film.imagepipelines.0.2.sensitivity = "100"
film.imagepipelines.0.2.exposure = 0.1
film.imagepipelines.0.2.fstop = 22
film.imagepipelines.0.3.type = "GAMMA_CORRECTION"
film.imagepipelines.0.3.value = "2.2"
film.outputs.0.type = "RGB_IMAGEPIPELINE"
film.outputs.0.filename = "c:\Bartek\stack\LuxCoreTests\exrGammaProblems\1_FI_68995_272448_0000.png"
Than I've changed extension to exr: As you can see the colors are washed out. This is because I have gamma 2.2 in exr and than XnView apply again gamma 2.2
So I remove gamma correction from XnView and get correct image: But this is not in 100% correct. Exr images should be saved with gamma 1.0, because all software (XnView, Gimp, Photoshop) apply 2.2 gamma correction to exr images. So logical solution is set 1.0 to gamma correction in image pipeline. But I get something strange: Could somebody explain to what I'm doing wrong? From my point of view, id should identical if I apply gamma correction during save process or read process as long as I apply it only once.