Generate Motion/ Defocus/ Gaussian blur with different levels
Motion blur is caused by the relative linear motion between the target and the camera and its PSF is defined as:
![](http://latex.codecogs.com/gif.latex? f(x) = \left{\begin{matrix} \frac{1}{M_{d}},(x1,x2)\binom{sin(\omega )}{cos(\omega )}=0,x_{1}^{2}+x_{2}^{2}\leq \frac{M_{d}^{2}}{4}\ 0,otherwise \end{matrix}\right)