DeCross

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(v2.0.0)
(updated docs to match v2.0.0 and add archived section)
Line 9: Line 9:
  
 
== 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 spatio-temporal cross color (rainbow) reduction filter. DeCross must be used right after the source filter, before any field matching or deinterlacing. The luma channel is returned unchanged.
  
DeCross must be used right after the source filter, before any field matching or deinterlacing. The luma channel is returned unchanged.
+
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>
 
<br>
Line 28: Line 28:
 
<br>
 
<br>
 
::{{Par2| |clip| }}
 
::{{Par2| |clip| }}
:::Input clip.
+
:::Input clip. It must have constant format and dimensions and it must be YUV420P8 or YUV422P8.
 
<br>
 
<br>
 
::{{Par2|ThresholdY|int|30}}
 
::{{Par2|ThresholdY|int|30}}
:::Edge detection threshold; lower values increase edge detection.
+
:::Edge detection threshold; smaller values will detect and filter more edges.
 
:::Range: 0 - 255
 
:::Range: 0 - 255
 
<br>
 
<br>
 
::{{Par2|Noise|int|60}}
 
::{{Par2|Noise|int|60}}
 +
:::Luma difference thresholh; smaller values will filter more conservatively.
 
:::Anything equal to or greater than this value is considered as noise.
 
:::Anything equal to or greater than this value is considered as noise.
 
:::Range: 0 - 255
 
:::Range: 0 - 255
 
<br>
 
<br>
 
::{{Par2|Margin|int|1}}
 
::{{Par2|Margin|int|1}}
:::Expands the edge mask left and right.
+
:::Expands the edge mask to the left and right by margin pixels..
 
:::Range: 0 - 4
 
:::Range: 0 - 4
 
<br>
 
<br>
 
::{{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 <code>ThresholdY</code> and <code>Margin</code>.  
  
 
<br>
 
<br>
Line 61: Line 62:
 
       - Compiled with Microsoft Visual Studio C++ 2019
 
       - Compiled with Microsoft Visual Studio C++ 2019
 
       - Author: Asd<br>
 
       - Author: Asd<br>
   2004/02/01 [http://nullinfo.s21.xrea.com/data/DeCross0002.zip v0.0.02]
+
   2004/02/01 v0.0.02
 
       - Fixed a problem were DeCross could not be loaded using AviSynth 2.0.x and LoadPluginEx.<br>
 
       - Fixed a problem were DeCross could not be loaded using AviSynth 2.0.x and LoadPluginEx.<br>
   2003/12/26 [http://nullinfo.s21.xrea.com/data/DeCross0001.zip v0.0.01]
+
   2003/12/26 v0.0.01
 
       - Initial Release.
 
       - Initial Release.
 
+
<br>
 +
== Archived Downloads ==
 +
{| class="wikitable" border="1"; width="600px"
 +
|-
 +
!!width="100px"| Version
 +
!!width="150px"| Download
 +
!!width="150px"| Mirror
 +
|-
 +
!v0.0.02
 +
|[http://nullinfo.s21.xrea.com/data/DeCross0002.zip DeCross0002.zip]
 +
|[https://web.archive.org/web/20160314013456/http://nullinfo.s21.xrea.com/data/DeCross0002.zip DeCross0002.zip]
 +
|-
 +
!v0.0.01
 +
|[http://nullinfo.s21.xrea.com/data/DeCross0001.zip DeCross0001.zip]
 +
|[https://web.archive.org/web/20200520175313if_/http://nullinfo.s21.xrea.com/data/DeCross0001.zip DeCross0001.zip]
 +
|}
 
<br>
 
<br>
 
==External Links ==
 
==External Links ==
 
*[https://github.com/Asd-g/AviSynth-DeCross GitHub] - Source code repository.
 
*[https://github.com/Asd-g/AviSynth-DeCross GitHub] - Source code repository.
 
*[https://github.com/dubhater/vapoursynth-decross GitHub] - Source code repository (VapourSynth version).
 
*[https://github.com/dubhater/vapoursynth-decross GitHub] - Source code repository (VapourSynth version).
 
+
*[https://forum.doom9.org/showthread.php?p=786144 Doom9 Forum] - Use DeCross before or after IVTC?
 +
<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 18:09, 20 May 2020

Abstract
Author minamina, Dubhater, Asd
Version v2.0.0
Download DeCross-2.0.0.7z
Category Rainbow & Dot Crawl Removal
License GPLv2
Discussion Doom9 Thread

Contents

Description

DeCross is a spatio-temporal cross color (rainbow) reduction filter. DeCross must be used right after the source filter, before any field matching or deinterlacing. The luma channel is returned unchanged.

DeCross is based on CrossColor, an AviUtl plugin by Shou.

Requirements


*** vc_redist.x86.exe is required for DeCross-x86
*** vc_redist.x64.exe is required for DeCross-x64


Syntax and Parameters

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


clip   =
Input clip. It must have constant format and dimensions and it must be YUV420P8 or YUV422P8.


int  ThresholdY = 30
Edge detection threshold; smaller values will detect and filter more edges.
Range: 0 - 255


int  Noise = 60
Luma difference thresholh; smaller values will filter more conservatively.
Anything equal to or greater than this value is considered as noise.
Range: 0 - 255


int  Margin = 1
Expands the edge mask to the left and right by margin pixels..
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

  2020/05/15 v2.0.0
     - Move project to GitHub
2019/06/07 - Backport DeCross from VapourSynth port by Dubhater - Add YV16 and drop YUY2 support - x64 version - Compiled with Microsoft Visual Studio C++ 2019 - Author: Asd
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.


Archived Downloads

Version Download Mirror
v0.0.02 DeCross0002.zip DeCross0002.zip
v0.0.01 DeCross0001.zip DeCross0001.zip


External Links

  • GitHub - Source code repository.
  • GitHub - Source code repository (VapourSynth version).
  • Doom9 Forum - Use DeCross before or after IVTC?




Back to External Filters

Personal tools