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 Required Plugins: direct link
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
{{FilterCat4|External_filters|Scripts|Restoration_filters|Rainbow & Dot Crawl Removal}}
{{Filter
{{Filter3
| sh0dan  
| sh0dan  
| 2003-11-12
| 2014/02/23
| [ DeRainbow]
| [http://avisynth.nl/images/DeRainbow.avsi DeRainbow.avsi]
| Rainbow & Dot Crawl Removal
| Rainbow & Dot Crawl Removal
|
|
* YUY2
* YV12
|
|
|}}
|}}
== Description ==
A simple script to reduce rainbows.
<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>
== Description ==
:A simple script to reduce rainbows..
===== Requirements: =====
:- AviSynth 2.5.8 or later
:- 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 Filters: =====
== [[Script variables|Syntax and Parameters]] ==
:*[[MaskTools]] v1.5.8
:{{Template:FuncDef|DeRainbow (''clip'' org, ''int'' "thresh", ''bool'' "interlaced")}}
:*[http://avisynth.nl/users/fizick/docs/english/externalfilters/mipsmooth.htm MipSmooth]
:{{Template:FuncDef|DeRainbowYUY2 (''clip'' org, ''int'' "thresh", ''bool'' "interlaced")}}
:*[http://neuron2.net/msharpen/msharpen.html MSharpen]
<br>
<br>
::{{Par2|org|clip| }}
:::Input clip.
<br>
<br>
 
::{{Par2|thresh|int|10}}
== Syntax and Parameters ==
:::MSharpen threshold value; default is 10 (which is fairly strong).
:{{Template:FuncDef|DeRainbow(clip org, int "thresh")}}
:{{Template:FuncDef|DeRainbowYUY2(clip org, int "thresh")}}
<br>
<br>
::{{Par|thresh|int|10}}
::{{Par2|interlaced|bool|false}}
:::Threshold is optional, and defaults to 10 (which is fairly strong).
:::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 ==
  [http://forum.doom9.org/showpost.php?p=398106&postcount=18 2003/11/12:]
Version          Date            Changes<br>
      - Fixed DeRainbow and added a YUY2 version (much slower though), but with no chroma downsampling.  
2014/02/23        2014/02/23      - Changed syntax to use MaskTools2.
      - I tweaked it a bit for best results on my current material.  
                                  - Add "interlaced" parameter.<br>
      - I also changed the blurs to MipSmooth.  
[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>
<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

Description

A simple script to reduce rainbows.

Requirements

Required Plugins

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


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.


Examples

DeRainbow with default settings:

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


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"





Back to External Filters