NoiseGenerator

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Links)
m (Examples)
Line 30: Line 30:
 
::{{Par|LumaOnly|bool|false}}
 
::{{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).
 
:::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>
 
== Examples ==
 
== Examples ==
 
  [[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:]

Revision as of 13:45, 29 December 2013

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


Contents

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.


Requirements:

- AviSynth 2.5.8 or later
- Supported color formats: YV12, YUY2, RGB24, RGB32
- Progressive input only


Syntax and Parameters

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


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


Amount int = 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.


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

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


Changelog

  Changes 2005-06-16:
     - Initial release


Links





Back to External Filters

Personal tools