Archive of posts in Jul, 2025
Multi-pass Gaussian blur filter
According to the central limit theorem, the sum of some i.i.d. samples is normally distributed in the limit of large sample size. This fact can be used to implement a multi-pass Gaussian blur filter, where the total number of passes is equal to the number of samples used in the averaging. Through this, we can also see a nice relation to the heat equation, which is not surprising since the heat kernel is a Gaussian function.
- Categories: programming
- Tags: algorithm, shader, probability, pde