DFMDeRainbow: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
 
(6 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
| {{Author/Scintilla}}
| {{Author/Scintilla}}
| 20140223
| 20140223
Line 6: Line 6:
| Rainbow & Dot Crawl Removal
| Rainbow & Dot Crawl Removal
|
|
* YV12
|
|
|}}
|}}
== Description ==
Creates mask to process only edges; rainbows are removed by hitting chroma planes with two passes of FluxSmooth (hence "Double-Flux-Mask").
<br>
<br>
== Description ==
:Creates mask to process only edges; rainbows are removed by hitting chroma planes with two passes of FluxSmooth (hence "Double-Flux-Mask").
<br>
<br>
== Requirements ==
== Requirements ==
:- AviSynth 2.5.8 or later
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater]
:- Supported color formats: [[YV12]]
* Supported color formats: [[YV12]]


==== Required Filters: ====
=== Required Plugins ===
:*[[Deen]]
Latest versions of the following filters are recommended unless stated otherwise.<br>
:*[[FluxSmooth]]
*[[Deen]] (beta 2)
:*[[MaskTools2]] 2.0a48+
*[[FluxSmooth]]
:*[[MSharpen]]
*[[MaskTools2]]
*[[MSharpen]]
<br>
<br>
== Syntax and Parameters ==
 
== [[Script variables|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>
Line 38: Line 40:
<br>
<br>
::{{Par2|interlaced|bool|false}}
::{{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]].
:::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.
:::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>


Line 53: Line 55:
                                 - Drop YUY2 support (if needed, you can always use the old version)
                                 - Drop YUY2 support (if needed, you can always use the old version)
                                 - Add "interlaced" parameter.<br>
                                 - Add "interlaced" parameter.<br>
  [http://www.aquilinestudios.org/scripts/DFMDeRainbow-20050128.avsi 20050128]      2005/01/28      - Initial release
  [http://web.archive.org/web/20140421001939/http://www.aquilinestudios.org/scripts/DFMDeRainbow-20050128.avsi 20050128]      2005/01/28      - Initial release
<br>
<br>


==Links==
==External Links==
<br>
*[http://pastebin.com/FyXFaAcY Pastebin] - DFMDeRainBow5 - see more info [http://forum.doom9.org/showthread.php?t=171715 here]
*[http://pastebin.com/K0ZGxNuH Pastebin] - DFTDeRainBow
<br>
<br>
<br>
<br>

Latest revision as of 15:18, 6 March 2016

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

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 greater
  • Supported color formats: YV12

Required Plugins

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


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

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





Back to External Filters