GBlur
From Avisynth wiki
(Difference between revisions)
(→Syntax and Parameters) |
m |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{FilterCat4|External_filters|Plugins|Adjustment_filters|Blurring}} | {{FilterCat4|External_filters|Plugins|Adjustment_filters|Blurring}} | ||
{{Filter3 | {{Filter3 | ||
− | |1=<!-- author --> | + | |1=<!-- author --> {{Author/vcmohan}} |
− | |2=<!-- version --> | + | |2=<!-- version --> 14 Oct 2015 |
− | |3=<!-- download --> [http://www.avisynth.nl/users/vcmohan/ | + | |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 --> | + | |6=<!-- discussion URL -->}} |
<br> | <br> | ||
== Description == | == Description == | ||
<!-- a one-sentence description --> | <!-- a one-sentence description --> | ||
− | GBlur | + | 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] |
+ | |||
+ | 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> | ||
+ | == Requirements == | ||
+ | * [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6] | ||
+ | * Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[Y8]], [[YV12]], [[YV16]], [[YV24]] | ||
<br> | <br> | ||
− | |||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
− | :{{Template:FuncDef| GBlur (clip, int " | + | :{{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| | + | ::{{Par2|size|int|3}} |
− | ::: | + | ::: Size of grid to use |
− | + | ::::* Number between 3 to 8 | |
− | + | ||
− | ::* Number between 3 to 8 | + | |
<br> | <br> | ||
::{{Par2|rad|float|1.5}} | ::{{Par2|rad|float|1.5}} | ||
− | ::: Standard deviation | + | ::: Standard deviation |
− | + | ::::* More than 0 | |
− | + | ||
− | ::* More than 0 | + | |
<br> | <br> | ||
::{{Par2|u|bool|false}} | ::{{Par2|u|bool|false}} | ||
Line 47: | Line 47: | ||
GBlur() | GBlur() | ||
− | GBlur( | + | GBlur(size=4, sd=1.0, u=true, v=false) |
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[External_filters|External Filters]] ←''' | '''Back to [[External_filters|External Filters]] ←''' |
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
- clip =
- int size = 3
- Size of grid to use
- Number between 3 to 8
- Size of grid to use
- int size = 3
- float rad = 1.5
- Standard deviation
- More than 0
- Standard deviation
- float rad = 1.5
- bool u = false
- Is u plane smoothing required?
- bool u = false
- bool v = false
- Is v plane smoothing required?
- bool v = false
[edit] Examples
GBlur()
GBlur(size=4, sd=1.0, u=true, v=false)
Back to External Filters ←