GBlur

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (added category)
(modPlus modifications)
Line 1: Line 1:
 
{{FilterCat4|External_filters|Plugins|Adjustment_filters|Blurring}}
 
{{FilterCat4|External_filters|Plugins|Adjustment_filters|Blurring}}
 
{{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 -->1.0.0.0.0
+
|2=<!-- version --> 25 Aug 2017
|3=<!-- download 2.5.8 version URL -->2.5.8 version[http://www.avisynth.nl/users/vcmohan/GBlur/GBlur.zip GBlur] 2.6.0 alpha5 version URL -->[http://www.avisynth.nl/users/vcmohan/GBlur/GBlur_2_6.zip GBlur]
+
|3=<!-- download --> [http://www.avisynth.nl/users/vcmohan/modPlus/modPlus.7z Download]
|4=<!-- category -->External filters
+
|4=<!-- category --> External filters
|5=<!-- license -->[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
+
|5=<!-- license --> [https://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
|6=<!-- discussion URL -->[http://forum.doom9.org/showthread.php?p=712586#post712586 Announced GBlur as GaussBlur plugin]}}
+
|6=<!-- discussion URL --> [https://forum.doom9.org/showthread.php?t=174162 modPlus plugin for avisynth+]}}
  
 
<br>
 
<br>
 
== Description ==
 
== Description ==
 
<!-- a one-sentence description -->
 
<!-- a one-sentence description -->
Gaussian blurring by a separable kernel is done, and is useful in gentle cleaning or preprocess for certain other filters and a full description is at  [http://www.avisynth.nl/users/vcmohan/GBlur/GBlur.html click me].
+
GBlur smoothes an image by use of separable symmetric matrix of convolution coefficients. Requires AviSynth+ r2347 or greater.
 +
 
 
<br>
 
<br>
<br>
 
== Requirements ==
 
* <!-- Avisynth version -->AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ 2.6.0] or greater
 
* <!-- source video: progressive
 
* <!-- color formats -->Supported color formats: [[RGB32]], [[RGB24]], [[YUY2]], [[YV12]], <span style="color:red">*</span>[[YV16]], <span style="color:red">*</span>[[YV24]], <span style="color:red">*</span>[[YV411]], <span style="color:red">*</span>[[Y8]]
 
: <span style="color:red">*</span> Not available in AviSynth 2.5.8.
 
* <!-- CPU/GPU -->
 
* <!-- binaries -->
 
* <!-- dependent plugins -->
 
<br>
 
"c[size]i[sd]f[u]b[v]b"
 
 
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
:{{Template:FuncDef|<!-- function name -->GBlur(''clip'', ''<!-- par 1 type -->int'' "<!-- par 1 name -->size", ''<!-- par 2 type -->float'' "<!-- par 2 name -->sd", ''<!-- par 3 type -->bool'' "<!-- par 3 name -->u ",''<!-- par 4 type -->bool'' <!-- par 4 name -->v")}}
+
:{{Template:FuncDef|<!-- function name -->GBlur(''clip'', ''<!-- par 1 type -->int'' "<!-- par 1 name -->rad", ''<!-- par 2 type -->float'' "<!-- par 2 name -->sd", ''<!-- par 3 type -->bool'' "<!-- par 3 name -->u ",''<!-- par 4 type -->bool'' <!-- par 4 name -->v")}}
 
<br>
 
<br>
 
::{{Par2| |clip| }}
 
::{{Par2| |clip| }}
Line 32: Line 21:
 
<br>
 
<br>
 
::{{Par2|<!-- par 1 type -->int|<!-- par 1 name -->size|<!-- par 1 default value -->3}}
 
::{{Par2|<!-- par 1 type -->int|<!-- par 1 name -->size|<!-- par 1 default value -->3}}
:::<!-- par 1 description -->odd number from 3 to 11. size X size blurring results .
+
:::<!-- par 1 description --> Number between 3 to 8. size X size blurring results .
 
<br>
 
<br>
 
::{{Par2|<!-- par 2 type -->float|<!-- par 2 name -->sd|<!-- par 2 default value -->1.5}}
 
::{{Par2|<!-- par 2 type -->float|<!-- par 2 name -->sd|<!-- par 2 default value -->1.5}}
:::<!-- par 2 description -->Greater than 0. Standard deviation determines weightage of outer pixels.
+
:::<!-- par 2 description --> Greater than 0. Standard deviation determines weightage of outer pixels.
 
<br>
 
<br>
 
::{{Par2|<!-- par 3 type -->bool|<!-- par 3 name -->u|<!-- par 3 default value -->false}}
 
::{{Par2|<!-- par 3 type -->bool|<!-- par 3 name -->u|<!-- par 3 default value -->false}}
:::<!-- par 3 description -->in case of YUY2 or Planar u  plane  also to be cleaned .
+
:::<!-- par 3 description --> In case of YUY2 or Planar u  plane  also to be cleaned .
 
<br>
 
<br>
 
::{{Par2|<!-- par 4 type -->bool|<!-- par 4 name -->v|<!-- par 4 default value -->false}}
 
::{{Par2|<!-- par 4 type -->bool|<!-- par 4 name -->v|<!-- par 4 default value -->false}}
:::<!-- par 3 description -->in case of YUY2 or Planar v  plane  also to be cleaned . .
+
:::<!-- par 3 description --> In case of YUY2 or Planar v  plane  also to be cleaned . .
 
+
 
+
 
+
 
<br>
 
<br>
 
<br>
 
<br>
Line 50: Line 36:
 
== Examples ==
 
== Examples ==
 
<!-- example code block: 1st char in each line = space -->
 
<!-- example code block: 1st char in each line = space -->
## This is some example code to blur  an image.
+
GBlur()
imagereader("C:\avi_plugins\varianslim\theoin.jpg", end = 10)
+
 
converttoyv16()
+
GBlur(rad = 4,sd = 1.0, u = true, v = false)
yv = GBlur (size = 5, v = true)
+
yy = GBlur (size = 7)
+
yuv = GBlur (size = 3, u = true, v = true)
+
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters|External Filters]] &larr;'''
 
'''Back to [[External_filters|External Filters]] &larr;'''

Revision as of 02:54, 18 June 2018

Abstract
Author V.C.Mohan
Version 25 Aug 2017
Download Download
Category External filters
License GPLv2
Discussion modPlus plugin for avisynth+


Description

GBlur smoothes an image by use of separable symmetric matrix of convolution coefficients. Requires AviSynth+ r2347 or greater.


Syntax and Parameters

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


clip   =
Input clip.


size  int = 3
Number between 3 to 8. size X size blurring results .


sd  float = 1.5
Greater than 0. Standard deviation determines weightage of outer pixels.


u  bool = false
In case of YUY2 or Planar u plane also to be cleaned .


v  bool = false
In case of YUY2 or Planar v plane also to be cleaned . .



Examples

GBlur()

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


Back to External Filters

Personal tools