DeCross

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m
(add asd's version)
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}}, [https://github.com/dubhater Dubhater], [http://avisynth.nl/index.php/User_talk:Asd Asd]
| v0.0.02
+
|2=2019/06/07
| [http://nullinfo.s21.xrea.com/data/DeCross0002.zip DeCross0002.zip]
+
|3=[http://s000.tinyupload.com/?file_id=36061294101187348836 DeCross.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]}}
  
Line 11: Line 11:
 
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.]
  
 +
DeCross must be used right after the source filter, before any field matching or deinterlacing. The luma channel is returned unchanged.
 
<br>
 
<br>
 
== Requirements ==
 
== Requirements ==
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater]
+
* [x86] [[AviSynth+]] or [http://sourceforge.net/projects/avisynth2/ AviSynth 2.60]
* Supported color formats: [[YUY2]], [[YV12]]
+
* [x64] [[AviSynth+]]
* [[MMX]] compatible CPU
+
* Supported color formats: [[YV12]], [[YV16]]
  
 
<br>
 
<br>
Line 47: Line 48:
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==
 +
  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 [http://nullinfo.s21.xrea.com/data/DeCross0002.zip v0.0.02]  
 
   2004/02/01 [http://nullinfo.s21.xrea.com/data/DeCross0002.zip 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>
Line 55: Line 62:
 
==External 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.
 +
*[https://github.com/dubhater/vapoursynth-decross GitHub] - DeCross from VapourSynth source code repository
  
 
<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:05, 22 March 2020

Abstract
Author minamina, Dubhater, Asd
Version 2019/06/07
Download DeCross.7z
Category Rainbow & Dot Crawl Removal
License GPLv2
Discussion Doom9 Thread

Contents

Description

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

DeCross must be used right after the source filter, before any field matching or deinterlacing. The luma channel is returned unchanged.

Requirements


Syntax and Parameters

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


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

  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.


External Links

  • Doom9 Forum - DeCross discussion.
  • GitHub - DeCross from VapourSynth source code repository



Back to External Filters

Personal tools