DeCross: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
m small corrections
Yakub2.X (talk | contribs)
mNo edit summary
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 01:03, 25 June 2018

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

Description

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


Requirements


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.




Back to External Filters