DeCross

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}} {{Filter | {{Author/minamina}} | | [http://nullinfo.s21.xrea.com/cgi/counter/count.xcg?down=De...")
 
(Syntax and Parameters)
Line 20: Line 20:
 
:{{Template:FuncDef|DeCross(clip, int "ThresholdY", int "Noise", int "Margin", bool "Debug")}}
 
:{{Template:FuncDef|DeCross(clip, int "ThresholdY", int "Noise", int "Margin", bool "Debug")}}
 
<br>
 
<br>
::{{Par|thr|int|}}
+
::{{Par|ThresholdY|int|30}}
:::Controls the spatial filter, higher values will blend more.
+
:::Range: 0 - 255
 
+
::::Edge detection threshold.
::{{Par|max|int|}}
+
:::::Lower values increase edge detection.
:::Controls the maximum amount by which a pixel's value may change, or something similar. In any case, increasing it will strengthen the filtering.
+
<br>
 
+
::{{Par|Noise|int|60}}
::{{Par|tthr2|int|}}
+
:::Range: 0 - 255
:::Controls the temporal blending; higher values will blend more. Setting this to 0 disables the temporal blending entirely.
+
::::Anything beyond this value is considered as noise.
 +
<br>
 +
::{{Par|Margin|int|1}}
 +
:::Range: 0 - 4
 +
::::Expands the edge mask left and right.
 +
<br>
 +
::{{Par|Debug|debug|false}}
 +
:::Shows the area where the filter is being applied.
 +
:::Useful for seeing the effects of ThresholdY and Margin.  
 
<br>
 
<br>
  

Revision as of 03:39, 15 November 2013

Abstract
Author minamina
Version
Download Rainbow & Dot Crawl Removal
Category
  • YUY2
  • YV12
Requirements GPL
License
Discussion


Contents

Description

Cross Color Reduction. Reduces rainbows.
Requirements:
- AviSynth 2.5.8 or later
- Supported color formats: YUY2, YV12


Syntax and Parameters

DeCross(clip, int "ThresholdY", int "Noise", int "Margin", bool "Debug")


ThresholdY int = 30
Range: 0 - 255
Edge detection threshold.
Lower values increase edge detection.


Noise int = 60
Range: 0 - 255
Anything beyond this value is considered as noise.


Margin int = 1
Range: 0 - 4
Expands the edge mask left and right.


Debug debug = false
Shows the area where the filter is being applied.
Useful for seeing the effects of ThresholdY and Margin.


Examples

AviSource("Blah.avi")
checkmate()


Changelog

 Circa 2006:
     - Initial release


Links

Scintilla's Guide - Unofficial documentation
Doom9 Forum - Archived download.
Personal tools