DeCross

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(reformat)
m (author)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{FilterCat4|External_filters|Plugins|Restoration_filters|Rainbow & Dot Crawl Removal}}
+
{{FilterCat5|External_filters|Plugins|Plugins_x64|Restoration_filters|Rainbow & Dot Crawl Removal}}
 
{{Filter3
 
{{Filter3
| {{Author/minamina}}  
+
|1={{Author/minamina}}, {{Author/dubhater}}, {{Author/Asd-g}}  
| v0.0.02
+
|2=v2.0.0
| [http://nullinfo.s21.xrea.com/data/DeCross0002.zip DeCross0002.zip]
+
|3=[https://github.com/Asd-g/AviSynth-DeCross/releases DeCross-2.0.0.7z]
| Rainbow & Dot Crawl Removal
+
|4=Rainbow & Dot Crawl Removal
| [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
+
|5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
|6=[http://forum.doom9.org/showthread.php?t=107316 Doom9 Thread]}}
 
|6=[http://forum.doom9.org/showthread.php?t=107316 Doom9 Thread]}}
<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 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 [http://web.archive.org/web/20090212234323/http://latch-up.hp.infoseek.co.jp/aviutl.html Shou.]
 
<br>
 
<br>
 
<br>
 
<br>
== Requirements: ==
 
* AviSynth 2.5.8 or later
 
* Supported color formats: [[YUY2]], [[YV12]]
 
  
* [[MMX]] compatible CPU
+
== Requirements ==
 +
* [x86] [[AviSynth+]] or [http://sourceforge.net/projects/avisynth2/ AviSynth 2.60]
 +
* [x64] [[AviSynth+]]
 +
* Supported color formats: [[YV12]], [[YV16]]
 +
<br>
 +
* [https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads Microsoft Visual C++ 2019 Redistributable Package (x86 / x64)]
 +
:<span style="color:red">***</span> <tt>vc_redist.x86.exe</tt> is required for <tt>DeCross-x86</tt>
 +
:<span style="color:red">***</span> <tt>vc_redist.x64.exe</tt> is required for <tt>DeCross-x64</tt>
 
<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")}}
 
<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|debug|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>
 
== 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 ==
   2004/02/01 [http://nullinfo.s21.xrea.com/data/DeCross0002.zip v0.0.02]
+
   2020/05/15 v2.0.0
 +
      - Move project to GitHub<br>
 +
  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<br>
 +
  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>
 
<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>
 
==External Links ==
 
==External Links ==
*[http://forum.doom9.org/showthread.php?t=107316 Doom9 Forum] - DeCross discussion.
+
*[https://github.com/Asd-g/AviSynth-DeCross GitHub] - Source code repository.
 +
*[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>
 
<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;'''

Latest revision as of 19:17, 19 June 2020

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

Contents

[edit] 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.

[edit] Requirements


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


[edit] 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.


[edit] Examples

DeCross with all default values:

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


[edit] 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.


[edit] Archived Downloads

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


[edit] 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