The theory of the random_blur_kernel function?
JisongXie opened this issue · 1 comments
JisongXie commented
Hi, I can't understand the motion blur kernel, which is implemented in random_blur_kernel function.
Line 8 in 2e852ee
Is there any paper or other materials which can help me understand it? It seems that it uses gauss function and makes a direction to simulate motion blur. I search Linear Motion Blur, and it's hard to find something related to this. Hope someone who know this can give me some references.
tancik commented
The motion blur implemented is just a heuristic for linear motion blur. Other more accurate implementation are possible. We use a randomly rotated 2D Gaussian kernel with randomly scaled components. In practice this looks like a bivariate normal density - https://en.wikipedia.org/wiki/Multivariate_normal_distribution