RenderKit / oidn

Intel® Open Image Denoise library
https://www.openimagedenoise.org/
Apache License 2.0
1.77k stars 164 forks source link

denoised LDR image returns greater than 1.0 values #26

Closed Woking-34 closed 5 years ago

Woking-34 commented 5 years ago

Hi,

I give the sample denoise app a pfm file in [0,1] range and it seems oidn returns greater than 1.0 values in the result buffer, is this an expected behavior?

My cmd args: -ldr rtow.pfm -o ouput.pfm

Thanks!

atafra commented 5 years ago

This happens due to how the filter works, but we'll clamp the output to [0, 1] to fix this issue. Thanks!

atafra commented 5 years ago

Fixed in the devel branch.