6cd1d34dc1953f007ee16e9673e1d112160fb162
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.
Description
No description provided
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%