DFMDeRainbow

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(DFMDeRainbow)
 
m (Syntax and Parameters)
Line 24: Line 24:
 
<br>
 
<br>
 
== Syntax and Parameters ==
 
== Syntax and Parameters ==
:{{Template:FuncDef|DFMDeRainbow (''clip'' org, ''int'' "maskthresh", ''bool'' "mask", ''bool'' "interlaced"))}}
+
:{{Template:FuncDef|DFMDeRainbow (''clip'' org, ''int'' "maskthresh", ''bool'' "mask", ''bool'' "interlaced")}}
 
<br>
 
<br>
 
::{{Par2|org|clip| }}
 
::{{Par2|org|clip| }}
Line 41: Line 41:
 
:::Interlaced content is processed by using [[SeparateFields]] in the beginning and [[Weave]] at the end.
 
:::Interlaced content is processed by using [[SeparateFields]] in the beginning and [[Weave]] at the end.
 
<br>
 
<br>
 +
 
== Examples ==
 
== Examples ==
 
DFMDeRainbow with default settings:
 
DFMDeRainbow with default settings:

Revision as of 05:08, 24 February 2014

Abstract
Author Scintilla
Version 20140223
Download DFMDeRainbow-20140223.avsi
Category Rainbow & Dot Crawl Removal
Requirements
  • YV12
License
Discussion


Contents

Description

Creates mask to process only edges; rainbows are removed by hitting chroma planes with two passes of FluxSmooth (hence "Double-Flux-Mask").


Requirements

- AviSynth 2.5.8 or later
- Supported color formats: YV12

Required Filters:


Syntax and Parameters

DFMDeRainbow (clip org, int "maskthresh", bool "mask", bool "interlaced")


clip  org =
Input clip.


int  maskthresh = 10
This is MSharpen's threshold value.
Lower values will increase the area in which the blurred chroma is allowed to come through, which catches more edges but may cause desaturation and/or chroma bleeding.
Set this as high as you can while still catching all the edges that need to be derainbowed.


bool  mask = false
When true, this displays the mask instead of the image. Use this to find the optimal value of maskthresh.


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

DFMDeRainbow with default settings:

AviSource("Blah.avi")
DFMDeRainbow(maskthresh=10, mask=false, interlaced=false)


Changelog

Version         Date            Changes
20140223 2014/02/23 - Changed syntax to use MaskTools2. - Drop YUY2 support (if needed, you can always use the old version) - Add "interlaced" parameter.
20050128 2005/01/28 - Initial release


Links





Back to External Filters


Personal tools