DeCross

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Links)
m (Syntax and Parameters)
Line 1: Line 1:
 
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
 
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
{{Filter
+
{{Filter2
 
| {{Author/minamina}}  
 
| {{Author/minamina}}  
 
| v0.0.02
 
| v0.0.02
 
| [http://nullinfo.s21.xrea.com/data/DeCross0002.zip DeCross]
 
| [http://nullinfo.s21.xrea.com/data/DeCross0002.zip DeCross]
 
| Rainbow & Dot Crawl Removal
 
| Rainbow & Dot Crawl Removal
|
 
* YUY2
 
* YV12
 
 
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
|}}
 
|}}
Line 13: 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.]
===== Requirements: =====
+
<br>
 +
== Requirements: ==
 
:- AviSynth 2.5.8 or later
 
:- AviSynth 2.5.8 or later
 
:- Supported color formats: [[YUY2]], [[YV12]]
 
:- Supported color formats: [[YUY2]], [[YV12]]
 +
 +
:- [[MMX]] compatible CPU
 
<br>
 
<br>
  
 
== Syntax and Parameters ==
 
== 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")}}
 
<br>
 
<br>
::{{Par|ThresholdY|int|30}}
+
::{{Par2|ThresholdY|int|30}}
 
:::Range: 0 - 255
 
:::Range: 0 - 255
 
::::Edge detection threshold.
 
::::Edge detection threshold.
 
:::::Lower values increase edge detection.
 
:::::Lower values increase edge detection.
 
<br>
 
<br>
::{{Par|Noise|int|60}}
+
::{{Par2|Noise|int|60}}
 
:::Range: 0 - 255
 
:::Range: 0 - 255
 
::::Anything equal to or greater than this value is considered as noise.
 
::::Anything equal to or greater than this value is considered as noise.
 
<br>
 
<br>
::{{Par|Margin|int|1}}
+
::{{Par2|Margin|int|1}}
 
:::Range: 0 - 4
 
:::Range: 0 - 4
 
::::Expands the edge mask left and right.
 
::::Expands the edge mask left and right.
 
<br>
 
<br>
::{{Par|Debug|debug|false}}
+
::{{Par2|Debug|debug|false}}
 
:::Shows the area where the filter is being applied.
 
:::Shows the area where the filter is being applied.
 
:::Useful for seeing the effects of ThresholdY and Margin.  
 
:::Useful for seeing the effects of ThresholdY and Margin.  
Line 40: Line 40:
  
 
== Examples ==
 
== Examples ==
 +
DeCross with all default values.
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
  DeCross()
+
  DeCross(ThresholdY=30, Noise=60, Margin=1, Debug=false)
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==
Line 52: Line 53:
 
== Links ==
 
== 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;'''

Revision as of 22:49, 12 January 2014

Abstract
Author minamina
Version v0.0.02
Download DeCross
Category Rainbow & Dot Crawl Removal
License GPLv2


Contents

Description

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


Requirements:

- AviSynth 2.5.8 or later
- Supported color formats: YUY2, YV12
- MMX compatible CPU


Syntax and Parameters

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


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


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


int  Margin = 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

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.


Links





Back to External Filters

Personal tools