RenderKit / oidn

Intel® Open Image Denoise library

Home Page:https://www.openimagedenoise.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set TileAlignment and TileOverlap methods not implemented

BigFranklin1 opened this issue · comments

The UNetFilter::setInt method only handles quality and maxMemoryMB. While the TileAlignment and TileOverlap are passed in, it goes to the warning that unknown filter parameter or type mismatch.

This isn't a bug. The tileAlignment and tileOverlap are constants, and the documentation lists these as such. These are specific to the denoising algorithm and cannot be changed.

Hi atafra! Thank you for your quick reply! I did not notice that tileAlignment is labeled as constant in the manual. The manual says that "when manually denoising in tiles....", does it mean that I can specify these params for a better performance in any situation?

image

You cannot specify these because they are specific to the denoising algorithm. This is why they are constants. But you can query these if you need to denoise a large image in tiles without relying on OIDN to do it transparently (e.g. if you want to denoise different parts of the image on different machines). You need to know these values to denoise the image correctly this way.