DeCross

From Avisynth wiki
Revision as of 18:05, 22 March 2020 by Reel.Deal (Talk | contribs)

Jump to: navigation, search
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