DeRainbow

From Avisynth wiki
Revision as of 06:55, 24 February 2014 by Reel.Deal (Talk | contribs)

Jump to: navigation, search
Abstract
Author sh0dan
Version 2014/02/23
Download DeRainbow.avsi
Category Rainbow & Dot Crawl Removal
Requirements
  • YUY2
  • YV12
License
Discussion


Contents

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", 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.


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"


Links





Back to External Filters


Personal tools