From Avisynth wiki
Jump to: navigation, search
Author minamina, dubhater , Asd-g
Version v2.0.0
Download DeCross-
Category Rainbow & Dot Crawl Removal
License GPLv2
Discussion Doom9 Thread



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.


*** 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.


DeCross with all default values:

DeCross(ThresholdY=30, Noise=60, Margin=1, Debug=false)


  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

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