DeCross

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (small corrections)
m
Line 10: Line 10:
 
== Description ==
 
== Description ==
 
DeCross is a cross color reduction plugin, useful for reducing rainbows. DeCross is based on CrossColor, an AviUtl plugin by [http://web.archive.org/web/20090212234323/http://latch-up.hp.infoseek.co.jp/aviutl.html Shou.]
 
DeCross is a cross color reduction plugin, useful for reducing rainbows. DeCross is based on CrossColor, an AviUtl plugin by [http://web.archive.org/web/20090212234323/http://latch-up.hp.infoseek.co.jp/aviutl.html Shou.]
<br>
+
 
 
<br>
 
<br>
 
== Requirements ==
 
== Requirements ==
 
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater]
 
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater]
 
* Supported color formats: [[YUY2]], [[YV12]]
 
* Supported color formats: [[YUY2]], [[YV12]]
 
 
* [[MMX]] compatible CPU
 
* [[MMX]] compatible CPU
<br>
 
  
 +
<br>
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
 
:{{Template:FuncDef|DeCross (''clip'', ''int'' "ThresholdY", ''int'' "Noise", ''int'' "Margin", ''bool'' "Debug")}}
 
:{{Template:FuncDef|DeCross (''clip'', ''int'' "ThresholdY", ''int'' "Noise", ''int'' "Margin", ''bool'' "Debug")}}
Line 39: Line 38:
 
::{{Par2|Debug|bool|false}}
 
::{{Par2|Debug|bool|false}}
 
:::Shows the area where the filter is being applied; useful for seeing the effects of ThresholdY and Margin.  
 
:::Shows the area where the filter is being applied; useful for seeing the effects of ThresholdY and Margin.  
<br>
 
  
 +
<br>
 
== Examples ==
 
== Examples ==
 
DeCross with all default values:
 
DeCross with all default values:
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
 
  DeCross(ThresholdY=30, Noise=60, Margin=1, Debug=false)
 
  DeCross(ThresholdY=30, Noise=60, Margin=1, Debug=false)
 +
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==
Line 51: Line 51:
 
   2003/12/26 [http://nullinfo.s21.xrea.com/data/DeCross0001.zip v0.0.01]
 
   2003/12/26 [http://nullinfo.s21.xrea.com/data/DeCross0001.zip v0.0.01]
 
       - Initial Release.
 
       - Initial Release.
<br>
 
  
 +
<br>
 
==External Links ==
 
==External Links ==
 
*[http://forum.doom9.org/showthread.php?t=107316 Doom9 Forum] - DeCross discussion.
 
*[http://forum.doom9.org/showthread.php?t=107316 Doom9 Forum] - DeCross discussion.
<br>
+
 
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters#Rainbow_.26_Dot_Crawl_Removal|External Filters]] &larr;'''
 
'''Back to [[External_filters#Rainbow_.26_Dot_Crawl_Removal|External Filters]] &larr;'''

Revision as of 00:03, 25 June 2018

Abstract
Author minamina
Version v0.0.02
Download DeCross0002.zip
Category Rainbow & Dot Crawl Removal
License GPLv2
Discussion Doom9 Thread

Contents

Description

DeCross is a cross color reduction plugin, useful for reducing rainbows. DeCross is based on CrossColor, an AviUtl plugin by Shou.


Requirements


Syntax and Parameters

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


clip   =
Input clip.


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


int  Noise = 60
Anything equal to or greater than this value is considered as noise.
Range: 0 - 255


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


bool  Debug = false
Shows the area where the filter is being applied; useful for seeing the effects of ThresholdY and Margin.


Examples

DeCross with all default values:

AviSource("Blah.avi")
DeCross(ThresholdY=30, Noise=60, Margin=1, Debug=false)


Changelog

  2004/02/01 v0.0.02 
     - Fixed a problem were DeCross could not be loaded using AviSynth 2.0.x and LoadPluginEx.
2003/12/26 v0.0.01 - Initial Release.


External Links



Back to External Filters

Personal tools