DeRainbow
From Avisynth wiki
(Difference between revisions)
(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 (→Required Plugins: direct link) |
||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{FilterCat4|External_filters|Scripts|Restoration_filters|Rainbow & Dot Crawl Removal}} |
− | {{ | + | {{Filter3 |
| sh0dan | | sh0dan | ||
− | | | + | | 2014/02/23 |
− | | [ DeRainbow] | + | | [http://avisynth.nl/images/DeRainbow.avsi DeRainbow.avsi] |
| Rainbow & Dot Crawl Removal | | Rainbow & Dot Crawl Removal | ||
| | | | ||
− | |||
− | |||
| | | | ||
|}} | |}} | ||
− | |||
== Description == | == Description == | ||
− | + | A simple script to reduce rainbows. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<br> | <br> | ||
<br> | <br> | ||
+ | == Requirements == | ||
+ | * AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater] | ||
+ | * 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 | ||
− | == | + | ==== Required Plugins ==== |
− | + | Latest versions of the following filters are recommended unless stated otherwise.<br> | |
− | : | + | *[[MaskTools2]] |
+ | *[http://avisynth.nl/users/fizick/docs/english/externalfilters/mipsmooth.htm MipSmooth] | ||
+ | *[[MSharpen]] | ||
<br> | <br> | ||
− | ::{{ | + | |
− | ::: | + | == [[Script variables|Syntax and Parameters]] == |
+ | :{{Template:FuncDef|DeRainbow (''clip'' org, ''int'' "thresh", ''bool'' "interlaced")}} | ||
+ | :{{Template:FuncDef|DeRainbowYUY2 (''clip'' org, ''int'' "thresh", ''bool'' "interlaced")}} | ||
+ | <br> | ||
+ | ::{{Par2|org|clip| }} | ||
+ | :::Input clip. | ||
+ | <br> | ||
+ | ::{{Par2|thresh|int|10}} | ||
+ | :::MSharpen threshold value; default is 10 (which is fairly strong). | ||
+ | <br> | ||
+ | ::{{Par2|interlaced|bool|false}} | ||
+ | :::False means the input clip is [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|progressive]]; with true it's [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|interlaced]]. Interlaced content is processed by using [[SeparateFields]] in the beginning and [[Weave]] at the end. | ||
+ | :::<span style="color:red">'''Note:'''</span> this parameter was added as an after-thought, it's not technically correct so use with caution and only as a last resort. | ||
<br> | <br> | ||
== Examples == | == Examples == | ||
+ | DeRainbow with default settings: | ||
[[AviSource]]("Blah.avi") | [[AviSource]]("Blah.avi") | ||
− | DeRainbow() | + | DeRainbow(thresh=10, interlaced=false) |
<br> | <br> | ||
== Changelog == | == Changelog == | ||
− | + | Version Date Changes<br> | |
− | + | 2014/02/23 2014/02/23 - Changed syntax to use MaskTools2. | |
− | + | - Add "interlaced" parameter.<br> | |
− | + | [http://forum.doom9.org/showpost.php?p=398106&postcount=18 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.<br> | ||
+ | [http://forum.doom9.org/showpost.php?p=383417&postcount=35 2003/10/08] 2003/10/08 - Initial release. | ||
+ | - Originally named "Rainbow Killer" | ||
<br> | <br> | ||
− | == Links == | + | ==External Links == |
+ | *[http://forum.doom9.org/showthread.php?p=383336#post383336 Doom9 Forum] - Original "Rainbow Killer" discussion. | ||
*[http://forum.doom9.org/showthread.php?p=398106#post398106 Doom9 Forum] - DeRainbow discussion. | *[http://forum.doom9.org/showthread.php?p=398106#post398106 Doom9 Forum] - DeRainbow discussion. | ||
− | |||
<br> | <br> | ||
<br> | <br> |
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
- AviSynth 2.5.8 or greater
- Supported color formats: YUY2, YV12
- Progressive input only
[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.
- clip org =
- int thresh = 10
- MSharpen threshold value; default is 10 (which is fairly strong).
- int thresh = 10
- 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.
- bool interlaced = false
[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
- Doom9 Forum - Original "Rainbow Killer" discussion.
- Doom9 Forum - DeRainbow discussion.
Back to External Filters ←