FQBlur


Author V. C. Mohan
Last modified Date 16 Jul 2015

FQBlur function operates in frequency domain and requires for avisynth FFTw3 32 bit dll or for avisynth+ FFTw3 64 bit dll, to be in the path.

FQBlur function in circular or linear (motion) fashion blurs an image .

In case of motion blur the line is assumed to be symmetric about origin, the end coordinates of blur line will be -x, -y and x,y. In case of out of focus blur the xcoordinate is the radius of blur.

While all 3 color planes of RGB formats are processed, in case of YUY2 and Planar only Luma (Y) is blurred.RGB formats will run slower as processing has to be performed on the three color planes separately.



Details of parameters
Description Name Type Limits Default
Input clip clip must have the fields separated none
Whether blur is linear as in motion blur or out of focus type line boolean true for motion blur, false for focus true
blur line right end x coordinate or radius of focus blur. Line assumed symmetric about origin x integer 2 to 1/8 frame width 6
blur line right end y coordinate. Line assumed symmetric about origin y integer - 1/8th to 1/8th frame height 2
value of spike to be added spike float 0 2

#Usage examples:-
assumeframebased()
separatefields(). selectodd()
trim(0,100)
crop(250,0,400,-40)

fqb1 = FQBlur( line = false, x=4)
fqb2 = FQBlur( line = false, x=8,y = 0)
fqb3 = FQBlur( line = true, x=8,y = 2)
fqb4 = FQBlur( line = true, x=12,y = -4

below are a few illustration Top left is input.

To my index page down load plugin To Avisynth