Convolution matrix for diagonal motion blur

試著忘記壹切 提交于 2020-01-15 05:34:18

问题


I know my question is not really a programming question but it came out of programming need. Does anyone happen to know the convolution matrix for diagonal motion blur. 3x3, 4x4 or 5x5 are all good.

Thanks,


回答1:


This is 5x5:

   0.22222   0.27778   0.22222   0.05556   0.00000
   0.27778   0.44444   0.44444   0.22222   0.05556
   0.22222   0.44444   0.55556   0.44444   0.22222
   0.05556   0.22222   0.44444   0.44444   0.27778
   0.00000   0.05556   0.22222   0.27778   0.22222

I basically drew a diagonal line, and then blurred it a little.



来源:https://stackoverflow.com/questions/1602988/convolution-matrix-for-diagonal-motion-blur

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!