DeCross

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}} {{Filter | {{Author/minamina}} | | [http://nullinfo.s21.xrea.com/cgi/counter/count.xcg?down=De...")
 
m (author)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
+
{{FilterCat5|External_filters|Plugins|Plugins_x64|Restoration_filters|Rainbow & Dot Crawl Removal}}
{{Filter
+
{{Filter3
| {{Author/minamina}}  
+
|1={{Author/minamina}}, {{Author/dubhater}}, {{Author/Asd-g}}  
|  
+
|2=v2.0.0
| [http://nullinfo.s21.xrea.com/cgi/counter/count.xcg?down=DeCross0002.zip DeCross]
+
|3=[https://github.com/Asd-g/AviSynth-DeCross/releases DeCross-2.0.0.7z]
| Rainbow & Dot Crawl Removal
+
|4=Rainbow & Dot Crawl Removal
|
+
|5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
* YUY2
+
|6=[http://forum.doom9.org/showthread.php?t=107316 Doom9 Thread]}}
* YV12
+
 
| GPL
+
|}}
+
<br>
+
 
== Description ==
 
== Description ==
:Cross Color Reduction. Reduces rainbows.
+
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.
===== Requirements: =====
+
 
:- AviSynth 2.5.8 or later
+
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.]
:- Supported color formats: [[YUY2]], [[YV12]]
+
 
<br>
 
<br>
== Syntax and Parameters ==
 
:{{Template:FuncDef|DeCross(clip, int "ThresholdY", int "Noise", int "Margin", bool "Debug")}}
 
 
<br>
 
<br>
::{{Par|thr|int|}}
 
:::Controls the spatial filter, higher values will blend more.
 
  
::{{Par|max|int|}}
+
== Requirements ==
:::Controls the maximum amount by which a pixel's value may change, or something similar. In any case, increasing it will strengthen the filtering.
+
* [x86] [[AviSynth+]] or [http://sourceforge.net/projects/avisynth2/ AviSynth 2.60]
 
+
* [x64] [[AviSynth+]]
::{{Par|tthr2|int|}}
+
* Supported color formats: [[YV12]], [[YV16]]
:::Controls the temporal blending; higher values will blend more. Setting this to 0 disables the temporal blending entirely.
+
 
<br>
 
<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>
 +
== [[Script variables|Syntax and Parameters]] ==
 +
:{{Template:FuncDef|DeCross (''clip'', ''int'' "ThresholdY", ''int'' "Noise", ''int'' "Margin", ''bool'' "Debug")}}
 +
<br>
 +
::{{Par2| |clip| }}
 +
:::Input clip. It must have constant format and dimensions and it must be YUV420P8 or YUV422P8.
 +
<br>
 +
::{{Par2|ThresholdY|int|30}}
 +
:::Edge detection threshold; smaller values will detect and filter more edges.
 +
:::Range: 0 - 255
 +
<br>
 +
::{{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.
 +
:::Range: 0 - 255
 +
<br>
 +
::{{Par2|Margin|int|1}}
 +
:::Expands the edge mask to the left and right by margin pixels..
 +
:::Range: 0 - 4
 +
<br>
 +
::{{Par2|Debug|bool|false}}
 +
:::Shows the area where the filter is being applied; useful for seeing the effects of <code>ThresholdY</code> and <code>Margin</code>.
  
 +
<br>
 
== Examples ==
 
== Examples ==
 +
DeCross with all default values:
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
  checkmate()
+
  DeCross(ThresholdY=30, Noise=60, Margin=1, Debug=false)
 +
 
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==
  Circa 2006:
+
  2020/05/15 v2.0.0
       - Initial release
+
      - 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>
 +
  2003/12/26 v0.0.01
 +
       - Initial Release.
 
<br>
 
<br>
 
+
== Archived Downloads ==
== Links ==
+
{| class="wikitable" border="1"; width="600px"
:[http://www.aquilinestudios.org/avsfilters/dotcrawl.html#checkmate Scintilla's Guide] - Unofficial documentation
+
|-
:[http://forum.doom9.org/showpost.php?p=1571520&postcount=20 Doom9 Forum] - Archived download.
+
!!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 ==
 +
*[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>
 +
-----------------------------------------------
 +
'''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