DeCross: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
reformat
Line 1: Line 1:
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
{{FilterCat4|External_filters|Plugins|Restoration_filters|Rainbow & Dot Crawl Removal}}
{{Filter2
{{Filter3
| {{Author/minamina}}  
| {{Author/minamina}}  
| v0.0.02
| v0.0.02
Line 6: Line 6:
| Rainbow & Dot Crawl Removal
| Rainbow & Dot Crawl Removal
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
|}}
|6=[http://forum.doom9.org/showthread.php?t=107316 Doom9 Thread]}}
<br>
<br>
== 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 later
* AviSynth 2.5.8 or later
:- Supported color formats: [[YUY2]], [[YV12]]
* Supported color formats: [[YUY2]], [[YV12]]


:- [[MMX]] compatible CPU
* [[MMX]] compatible CPU
<br>
<br>


== 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")}}
<br>
::{{Par2| |clip| }}
:::Input clip.
<br>
<br>
::{{Par2|ThresholdY|int|30}}
::{{Par2|ThresholdY|int|30}}
:::Edge detection threshold; lower values increase edge detection.
:::Range: 0 - 255
:::Range: 0 - 255
::::Edge detection threshold.
:::::Lower values increase edge detection.
<br>
<br>
::{{Par2|Noise|int|60}}
::{{Par2|Noise|int|60}}
:::Anything equal to or greater than this value is considered as noise.
:::Range: 0 - 255
:::Range: 0 - 255
::::Anything equal to or greater than this value is considered as noise.
<br>
<br>
::{{Par2|Margin|int|1}}
::{{Par2|Margin|int|1}}
:::Expands the edge mask left and right.
:::Range: 0 - 4
:::Range: 0 - 4
::::Expands the edge mask left and right.
<br>
<br>
::{{Par2|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.  
<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)
Line 51: Line 53:
<br>
<br>


== 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>
<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 04:05, 24 December 2014

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:

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


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


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.





Back to External Filters