RenderKit / oidn

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

Denoising image won't denoise whole image #29

Closed rodrigobriet closed 5 years ago

rodrigobriet commented 5 years ago

I am trying to denoise a rendered image from VRay with the OIDN, but the noise is removed only on some regions on the image, as show on the image bellow (click to enlarge).

image

The original image (a .png) is converted to .pfm with magick using this command: magick convert -endian LSB PATH_IN PATH_OUT

And i am running the denoise with the following command: denoise.exe -ldr PATH -alb PATH -nrm PATH -o PATH

Do someone have some tip for why this is happening? Can it be some incompatibility from my type of image with what OIDN can work it?

If someone want to test it, here is the original files.

atafra commented 5 years ago

It's hard to say by just looking at the images, but it looks like the pixel filter is applied by splatting, which is not supported by the denoiser. Only filter importance sampling is supported by Open Image Denoise.