Blender Git Commit Log

Git Commits -> Revision 6cd1d34

Revision 6cd1d34 by Lukas Stockner (master)
May 19, 2017, 21:33 (GMT)
Cycles Denoising: Prevent overfitting when using a very low radius

For example, when using a radius of 1, only 9 pixels (due to weighting maybe
even less) will be used, but the transform code may still decide to use a
5-dimensional (or even higher) fit.
This causes severe overfitting and therefore weird pixel values.

To avoid this, this commit limits the amount of dimensions to a third of the
pixel number. For a radius of 3 or more, this doesn't change anything, but
for 1 and 2 it can prevent fireflies and/or negative values being produced.

Commit Details:

Full Hash: 6cd1d34dc1953f007ee16e9673e1d112160fb162
Parent Commit: 3dee1f0
Lines Changed: +18, -11

3 Modified Paths:

/intern/cycles/kernel/filter/filter_transform.h (+6, -4) (Diff)
/intern/cycles/kernel/filter/filter_transform_gpu.h (+6, -4) (Diff)
/intern/cycles/kernel/filter/filter_transform_sse.h (+6, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021