DeRainbow

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(reformat)
m (Required Plugins: direct link)
 
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
|
 
|
 
|}}
 
|}}
<br>
 
 
== Description ==
 
== Description ==
 
A simple script to reduce rainbows.
 
A simple script to reduce rainbows.
Line 14: Line 13:
 
<br>
 
<br>
 
== Requirements ==
 
== Requirements ==
* AviSynth 2.5.8 or later
+
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater]
 
* Supported color formats: [[YUY2]], [[YV12]]
 
* Supported color formats: [[YUY2]], [[YV12]]
 
* [[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  
Line 22: Line 21:
 
*[[MaskTools2]]
 
*[[MaskTools2]]
 
*[http://avisynth.nl/users/fizick/docs/english/externalfilters/mipsmooth.htm MipSmooth]
 
*[http://avisynth.nl/users/fizick/docs/english/externalfilters/mipsmooth.htm MipSmooth]
*[http://rationalqm.us/msharpen/msharpen.html MSharpen]
+
*[[MSharpen]]
 
<br>
 
<br>
 +
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
 
:{{Template:FuncDef|DeRainbow (''clip'' org, ''int'' "thresh", ''bool'' "interlaced")}}
 
:{{Template:FuncDef|DeRainbow (''clip'' org, ''int'' "thresh", ''bool'' "interlaced")}}

Latest revision as of 15:20, 6 March 2016

Abstract
Author sh0dan
Version 2014/02/23
Download DeRainbow.avsi
Category Rainbow & Dot Crawl Removal
License
Discussion

Contents

[edit] Description

A simple script to reduce rainbows.

[edit] Requirements

[edit] Required Plugins

Latest versions of the following filters are recommended unless stated otherwise.


[edit] Syntax and Parameters

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


clip  org =
Input clip.


int  thresh = 10
MSharpen threshold value; default is 10 (which is fairly strong).


bool  interlaced = false
False means the input clip is progressive; with true it's interlaced. Interlaced content is processed by using SeparateFields in the beginning and Weave at the end.
Note: this parameter was added as an after-thought, it's not technically correct so use with caution and only as a last resort.


[edit] Examples

DeRainbow with default settings:

AviSource("Blah.avi")
DeRainbow(thresh=10, interlaced=false)


[edit] Changelog

Version           Date            Changes
2014/02/23 2014/02/23 - Changed syntax to use MaskTools2. - Add "interlaced" parameter.
2003/11/12 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.
2003/10/08 2003/10/08 - Initial release. - Originally named "Rainbow Killer"


[edit] External Links




Back to External Filters


Personal tools