I guess the metric is not good for this scene. The solution does not make many assumptions about the metric, so if we find a better one I can implement it to see if it's better. I will try looking for a new one, but it is possible that there is no single metric that works for all scenesB.Y.O.B. wrote: ↑Fri Apr 12, 2019 12:09 pm In the posted example picture, the bright lamp appears noise-free to me in both renders.
However, the wall is clearly more noisy in the render with adaptive sampling.
In general, I agree that a noise metric should be based on the human vision system, but the metric that is currently used does not seem very good at this to me.
By the way, it looks like the current metric only compares old with new, but not neighboring pixels, is that correct?
The metric is calculated by pixel, but it is filtered by a 9x9 box filter afterwards, so the final results considers 4 pixels in each direction, besides the central one. I am basically following what other people that implemented this technique did