RenderKit / oidn

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

Denoiser is cropping out blackspace #84

Closed NicWickman closed 3 years ago

NicWickman commented 3 years ago

I am running the denoiser on UHD 4k images of an asset with a black background.

After processing with the denoiser, the blackspace is cropped outside the bounding box of the asset, leaving me with an image of 2863x2100 (from 3840x2160).

I would expect the output image to be the same dimensions as the input image.

How can I remedy this?

NicWickman commented 3 years ago

I discovered the heightxwidth property is being set by color -> getWidth() etc.