GBlur

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Syntax and Parameters)
(Documentation update with correct plugin)
Line 2: Line 2:
 
{{Filter3
 
{{Filter3
 
|1=<!-- author --> [http://www.avisynth.nl/users/vcmohan/ V.C.Mohan]
 
|1=<!-- author --> [http://www.avisynth.nl/users/vcmohan/ V.C.Mohan]
|2=<!-- version --> 17 Oct 2017
+
|2=<!-- version --> 14 Oct 2015
|3=<!-- download --> [http://www.avisynth.nl/users/vcmohan/modPlus/modPlus.7z Download]
+
|3=<!-- download --> [http://www.avisynth.nl/users/vcmohan/GBlur/GBlur_2_6.7z GBlur_2_6.7z]
 
|4=<!-- category --> External filters
 
|4=<!-- category --> External filters
 
|5=<!-- license --> [https://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
|5=<!-- license --> [https://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
|6=<!-- discussion URL --> [https://forum.doom9.org/showthread.php?t=174162 modPlus plugin for avisynth+]}}
+
|6=<!-- discussion URL -->}}
  
 
<br>
 
<br>
 
== Description ==
 
== Description ==
 
<!-- a one-sentence description -->
 
<!-- a one-sentence description -->
GBlur smoothes an image by use of separable symmetric matrix of convolution coefficients. [http://www.avisynth.nl/users/vcmohan/modPlus/GBlur.html Full Discription]  
+
GBlur blurs the image as in out of focus or linear motion or rectangular grid. [http://www.avisynth.nl/users/vcmohan/modPlus/GBlur.html Full Discription]  
  
== Requirements ==
+
Gaussian blur is an image smoothing operation done by use of separable symmetric matrix of convolution coefficients. The size can be any odd nimber between 3 (for a 3x3 grid size) to 11 (for a 11x11 grid). Given the size and standard deviation, the convolution weights are computed and applied.. In YUV formats only the Y values are smoothed. However if u and or v are made true, those corresponding planes are also smoothed. In RGB formats all 3 color planes are smoothed.
* AviSynth+ r2347 or later
+
  
<br>
 
  
 +
*For AviSynth+ see [[modPlus]], includes high bit depth colorspace support and 64-bit.
 +
<br>
 +
== Requirements ==
 +
* [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6]
 +
* Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[Y8]], [[YV12]], [[YV16]], [[YV24]]
 +
<br>
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
:{{Template:FuncDef| GBlur (clip, int "rad", float "sd", bool "u", bool "v")}}
+
:{{Template:FuncDef| GBlur (clip, int "size", float "sd", bool "u", bool "v")}}
 
<br>
 
<br>
 
::{{Par2| |clip| }}
 
::{{Par2| |clip| }}
 
::: Input clip
 
::: Input clip
 
<br>
 
<br>
::{{Par2|rad|int|3}}
+
::{{Par2|size|int|3}}
::: Radius of grid to use
+
::: Size of grid to use
 
::::* Number between 3 to 8
 
::::* Number between 3 to 8
 
<br>
 
<br>
Line 43: Line 47:
 
  GBlur()
 
  GBlur()
  
  GBlur(rad = 4,sd = 1.0, u = true, v = false)
+
  GBlur(size=4, sd=1.0, u=true, v=false)
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters|External Filters]] &larr;'''
 
'''Back to [[External_filters|External Filters]] &larr;'''

Revision as of 03:03, 1 June 2020

Abstract
Author V.C.Mohan
Version 14 Oct 2015
Download GBlur_2_6.7z
Category External filters
License GPLv2
Discussion


Contents

Description

GBlur blurs the image as in out of focus or linear motion or rectangular grid. Full Discription

Gaussian blur is an image smoothing operation done by use of separable symmetric matrix of convolution coefficients. The size can be any odd nimber between 3 (for a 3x3 grid size) to 11 (for a 11x11 grid). Given the size and standard deviation, the convolution weights are computed and applied.. In YUV formats only the Y values are smoothed. However if u and or v are made true, those corresponding planes are also smoothed. In RGB formats all 3 color planes are smoothed.


  • For AviSynth+ see modPlus, includes high bit depth colorspace support and 64-bit.


Requirements


Syntax and Parameters

GBlur (clip, int "size", float "sd", bool "u", bool "v")


clip   =
Input clip


int  size = 3
Size of grid to use
  • Number between 3 to 8


float  rad = 1.5
Standard deviation
  • More than 0


bool  u = false
Is u plane smoothing required?


bool  v = false
Is v plane smoothing required?


Examples

GBlur()
GBlur(size=4, sd=1.0, u=true, v=false)



Back to External Filters

Personal tools