DeRainbow: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
Created page with "{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}} {{Filter | sh0dan | 2003-11-12 | [ DeRainbow] | Rainbow & Dot Crawl Removal | * YUY2 * YV12 | |..."
 
m Syntax and Parameters
Line 26: Line 26:


== Syntax and Parameters ==
== Syntax and Parameters ==
:{{Template:FuncDef|DeRainbow(clip org, int "thresh")}}
:{{Template:FuncDef|DeRainbow (''clip'' "org", ''int'' "thresh")}}
:{{Template:FuncDef|DeRainbowYUY2(clip org, int "thresh")}}
:{{Template:FuncDef|DeRainbowYUY2 (''clip'' "org", ''int'' "thresh")}}
<br>
<br>
::{{Par|thresh|int|10}}
::{{Par2|org|clip| }}
:::Mandatory input clip.
<br>
::{{Par2|thresh|int|10}}
:::Threshold is optional, and defaults to 10 (which is fairly strong).
:::Threshold is optional, and defaults to 10 (which is fairly strong).
<br>
<br>
== Examples ==
== Examples ==
DeRainbow with default values.
  [[AviSource]]("Blah.avi")
  [[AviSource]]("Blah.avi")
  DeRainbow()
  DeRainbow(thresh=10)
<br>
<br>
== Changelog ==
== Changelog ==

Revision as of 00:58, 18 January 2014

Abstract
Author sh0dan
Version 2003-11-12
Download [ DeRainbow]
Category Rainbow & Dot Crawl Removal
Requirements
  • YUY2
  • YV12
License
Discussion


Description

A simple script to reduce rainbows..
Requirements:
- AviSynth 2.5.8 or later
- Supported color formats: YUY2, YV12
- Progressive input only
Required Filters:



Syntax and Parameters

DeRainbow (clip "org", int "thresh")
DeRainbowYUY2 (clip "org", int "thresh")


clip  org =
Mandatory input clip.


int  thresh = 10
Threshold is optional, and defaults to 10 (which is fairly strong).


Examples

DeRainbow with default values.

AviSource("Blah.avi")
DeRainbow(thresh=10)


Changelog

 2003/11/12:
     - Fixed DeRainbow and added a YUY2 version (much slower though), but with no chroma downsampling. 
     - I tweaked it a bit for best results on my current material. 
     - I also changed the blurs to MipSmooth. 






Back to External Filters