HBlur


Author V. C. Mohan
Last modified Date Aug 2014

For testing some of the plugins, I needed a plugin that produces various types of blurred images. So I authored this and it may be useful to others. This plugin works on on all color planes of RGB format, and Luma of YUY2 and YV12 format data.

HBlur blurs the image either linearly (as seen in linear motion), or in a circular form ( as seen in out of focus images). For completeness it can also blurs in a rectangular grid shape. As borders remain unblurred for any further work cropping borders is recommended.


Input clip preferably be field based.
Details of parameters
Description Name Type Limits Default
Input clip clip prefer have the fields separated none
blur end point x coordinate or radius of blur x integer for "focus" 2 to 1/8 window smaller dimension for "line" -1/8 to 1/8 of frame width. for "rect" 1 to 1/8 of frame width. 5
blur end point coordinate y integer for "line" -1/8 to 1/8 window height. For "rect" 1 to 1/8 of frame height 5
type of blur blur string "line", "focus", "rect" "line"

#Usage examples:-
Directshowsource("H:\EURO004.AVI").converttoYV12()
assumeframebased()
eur=separatefields()
HBlur( eur, blur = "focus", x = 6)	
# or
HBlur( eur, blur = "line", x = 6, y = -3)
# or
HBlur( eur, blur = "rect", x = 6, y = 3)	


below is illustration of results. Top is input. Below are the blurred image with script above.

To my index page To Avisynth