NoiseGenerator

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Links)
m (minor formatting)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Adjustment_filters|Effects}}
+
{{FilterCat4|External_filters|Plugins|Adjustment_filters|Effects}}
{{Filter
+
{{Filter3
 
|Shubin
 
|Shubin
 
|20050616
 
|20050616
Line 6: Line 6:
 
|Effects
 
|Effects
 
|
 
|
* [[YV12]], [[YUY2]], [[RGB24]], [[RGB32]]
 
 
|}}
 
|}}
 
<br>
 
<br>
 
== Description ==
 
== Description ==
:Another noise generator. This filter is based on NoiseGenerators by Ross Thomas and uses some of its codebase.
+
Another noise generator. This filter is based on NoiseGenerators by Ross Thomas and uses some of its codebase. Unlike the original, this filter is now for AviSynth 2.5 and has different parameters.<br/>
:Unlike the original, this filter is now for AviSynth 2.5 and has different parameters.
+
 
<br>
 
<br>
== Requirements: ==
+
== Requirements ==
:- AviSynth 2.5.8 or later
+
* AviSynth 2.5.8 or later
:- Supported color formats: [[YV12]], [[YUY2]], [[RGB24]], [[RGB32]]
+
* [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only
:- [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only
+
* Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[YV12]]
 
<br>
 
<br>
 
== Syntax and Parameters ==
 
== Syntax and Parameters ==
 
:{{Template:FuncDef|NoiseGenerator (clip, bool "Gaussian", int "Amount", bool "LumaOnly")}}
 
:{{Template:FuncDef|NoiseGenerator (clip, bool "Gaussian", int "Amount", bool "LumaOnly")}}
 
<br>
 
<br>
::{{Par|Gaussian|bool|false}}
+
::{{Par2| |clip| }}
 +
:::Input clip
 +
<br>
 +
::{{Par2|Gaussian|bool|false}}
 
:::If Gaussian parameter is false, a uniform noise is generated.
 
:::If Gaussian parameter is false, a uniform noise is generated.
 
<br>
 
<br>
::{{Par|Amount|int|10}}
+
::{{Par2|Amount|int|10}}
 
:::Amount specifies how much noise should be added.
 
:::Amount specifies how much noise should be added.
:::In RGB if noise is added to black picture, it should be >0, if the picture is almost white, it should be <0.
+
:::In [[RGB]] if noise is added to black picture, it should be >0, if the picture is almost white, it should be <0.
 +
<br>
 +
::{{Par2|LumaOnly|bool|false}}
 +
:::If LumaOnly parameter is true, only luma channel is affected in [[YUY2]] and [[YV12]], and in [[RGB]] mode only lightness is changed (no color change).
 
<br>
 
<br>
::{{Par|LumaOnly|bool|false}}
 
:::If LumaOnly parameter is true, only luma channel is affected in YUY2 and YV12, and in RGB mode only lightness is changed (no color change).
 
 
== Examples ==
 
== Examples ==
 +
NoiseGenerator with default settings:
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
 
  NoiseGenerator(Gaussian=false, Amount=10, LumaOnly=false)
 
  NoiseGenerator(Gaussian=false, Amount=10, LumaOnly=false)
 
<br>
 
<br>
 +
 
== Changelog ==
 
== Changelog ==
 
   Changes [http://www.nmm-hd.org/newbbs/viewtopic.php?f=8&t=118&start=20#p769 2005-06-16:]
 
   Changes [http://www.nmm-hd.org/newbbs/viewtopic.php?f=8&t=118&start=20#p769 2005-06-16:]
Line 39: Line 43:
  
 
<br>
 
<br>
== Links ==
+
==External Links ==
 
*[http://www.videohelp.eu/forum/avisynth/14690-noise-generators-filter.html#post113013 videohelp.eu] - NoiseGenerators by Ross Thomas.
 
*[http://www.videohelp.eu/forum/avisynth/14690-noise-generators-filter.html#post113013 videohelp.eu] - NoiseGenerators by Ross Thomas.
<br>
 
 
<br>
 
<br>
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters#Effects|External Filters]] &larr;'''
 
'''Back to [[External_filters#Effects|External Filters]] &larr;'''

Latest revision as of 22:22, 20 September 2014

Abstract
Author Shubin
Version 20050616
Download noisegenerator_25_dll_20050616.zip
Category Effects
License
Discussion


Contents

[edit] Description

Another noise generator. This filter is based on NoiseGenerators by Ross Thomas and uses some of its codebase. Unlike the original, this filter is now for AviSynth 2.5 and has different parameters.

[edit] Requirements


[edit] Syntax and Parameters

NoiseGenerator (clip, bool "Gaussian", int "Amount", bool "LumaOnly")


clip   =
Input clip


bool  Gaussian = false
If Gaussian parameter is false, a uniform noise is generated.


int  Amount = 10
Amount specifies how much noise should be added.
In RGB if noise is added to black picture, it should be >0, if the picture is almost white, it should be <0.


bool  LumaOnly = false
If LumaOnly parameter is true, only luma channel is affected in YUY2 and YV12, and in RGB mode only lightness is changed (no color change).


[edit] Examples

NoiseGenerator with default settings:

AviSource("Blah.avi")
NoiseGenerator(Gaussian=false, Amount=10, LumaOnly=false)


[edit] Changelog

  Changes 2005-06-16:
     - Initial release


[edit] External Links




Back to External Filters

Personal tools