GBlur

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Requirements: AviSynth 2.6)
m
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
+
{{FilterCat4|External_filters|Plugins|Adjustment_filters|Blurring}}
{{FilterCat4|External_filters|Plugins|<!-- category -->TODO|<!-- category -->TODO}}
+
 
+
 
{{Filter3
 
{{Filter3
|1=<!-- author -->[http://www.avisynth.nl/users/vcmohan/ V.C.Mohan]
+
|1=<!-- author --> {{Author/vcmohan}}
|2=<!-- version -->1.0.0.0.0
+
|2=<!-- version --> 14 Oct 2015
|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/GBlur/GBlur_2_6.7z GBlur_2_6.7z]
|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 -->}}
  
 
<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 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]  
<br>
+
 
 +
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.
 
<br>
 
<br>
 
== Requirements ==
 
== Requirements ==
* <!-- Avisynth version -->AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ 2.6.0] or greater
+
* [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6]
* <!-- source video: progressive
+
* Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[Y8]], [[YV12]], [[YV16]], [[YV24]]
* <!-- 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>
 
<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| GBlur (clip, int "size", float "sd", bool "u", bool "v")}}
 
<br>
 
<br>
 
::{{Par2| |clip| }}
 
::{{Par2| |clip| }}
:::Input clip.     
+
::: Input clip
 
<br>
 
<br>
::{{Par2|<!-- par 1 type -->int|<!-- par 1 name -->size|<!-- par 1 default value -->3}}
+
::{{Par2|size|int|3}}
:::<!-- par 1 description -->odd number from 3 to 11. size X size blurring results .
+
::: Size of grid to use
 +
::::* Number between 3 to 8
 
<br>
 
<br>
::{{Par2|<!-- par 2 type -->float|<!-- par 2 name -->sd|<!-- par 2 default value -->1.5}}
+
::{{Par2|rad|float|1.5}}
:::<!-- par 2 description -->Greater than 0. Standard deviation determines weightage of outer pixels.
+
::: Standard deviation
 +
::::* More than 0
 
<br>
 
<br>
::{{Par2|<!-- par 3 type -->bool|<!-- par 3 name -->u|<!-- par 3 default value -->false}}
+
::{{Par2|u|bool|false}}
:::<!-- par 3 description -->in case of YUY2 or Planar u  plane  also to be cleaned .
+
::: Is u plane smoothing required?
<br>
+
::{{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 . .
+
 
+
 
+
 
+
 
<br>
 
<br>
 +
::{{Par2|v|bool|false}}
 +
::: Is v plane smoothing required?
 
<br>
 
<br>
  
 
== 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(size=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;'''

Latest revision as of 20:16, 7 June 2020

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


Contents

[edit] 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.


[edit] Requirements


[edit] 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?


[edit] Examples

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



Back to External Filters

Personal tools