|
|
|
|
|
by magicalhippo
893 days ago
|
|
I implemented an algorithm which used k-means to reduce noise in a path tracer. For each pixel instead of a single color value it generated k mean color values, using an online algorithm. These were then combined to produce the final pixel color. The idea was that a pixel might have several distinct contributions (ie from different light sources for example), but due to the random sampling used in path tracing the variance of sample values is usually large. The value k then was chosen based on scene complexity. There was also a memory trade-off of course, as memory usage was linear in k. |
|
What does online mean here?