RenderKit / oidn

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

Support sphere maps #56

Open tomilov opened 4 years ago

tomilov commented 4 years ago

I tried to use OIDN for sphere maps denoising. There are seams on the glued edges. The problem can be solved by manual extending image by 128 pixels by mirroring in the y direction and by repeating in the x direction. Then, after denoising, this additional ribbon should be removed. Manually. (y not matters much due to utmost oversampling, correct mapping is slightly more entangled) If OIDN would be able to use "repeat"/"clamp to edge"/"mirror" addressing mode internally specific for each edge of the input image, then denoising of spherical maps would be much simplier.

svallis commented 9 months ago

Ran into the same issue when rendering an equirectangular image from blender. If the denoiser could sample across the repeating axis it would make things much easier. Currently I solve this by using the compositor in blender to denoise the image twice and composite them to remove the seams. It would be great if this could be resolved at the source though.