Checkmate

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(reformat)
m (Syntax and Parameters)
Line 19: Line 19:
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
 
:{{Template:FuncDef|checkmate (''clip'', ''int'' "thr", ''int'' "max", ''int'' "tthr2")}}
 
:{{Template:FuncDef|checkmate (''clip'', ''int'' "thr", ''int'' "max", ''int'' "tthr2")}}
 +
<br>
 +
::{{Par2| |clip| }}
 +
:::Input clip.
 
<br>
 
<br>
 
::{{Par2|thr|int|12}}
 
::{{Par2|thr|int|12}}

Revision as of 18:56, 24 December 2014

Abstract
Author mf / prunedtree
Version 2006-03-04
Download checkmate.dll
Category Rainbow & Dot Crawl Removal
License Closed source
Discussion


Contents

Description

Spatial and temporal dot crawl reducer. Checkmate is most effective in static or low motion scenes. When using in high motion scenes (or areas) be careful, it's known to cause artifacts with its default values.

Requirements

  • AviSynth 2.5.8 or later
  • Supported color formats: YV12


Syntax and Parameters

checkmate (clip, int "thr", int "max", int "tthr2")


clip   =
Input clip.


int  thr = 12
Spatial threshold that control the spatial filtering.
Higher values will blend more but cause artifacts if set too high. If set too low, lines in static scenes where dot crawl was reduced will become slightly more blurry.


int  max = 12
Controls the maximum amount by which a pixel's value may change. Higher values will increase the strength of the filtering but cause artifacts if set too high.


int  tthr2 = 5
Temporal threshold that controls the temporal blending; higher values will blend more but cause artifacts if set too high.
Setting this to 0 disables the temporal blending entirely. This may be helpful to reduce temporal artifacts in high motion scenes.


Note: Official documentation was never released. A valid range is unknown for all parameters. It's probably best to set those values not too distant from their defaults.


Examples

Checkmate with default values:

MPEG2Source("DotCrawl.d2v")
checkmate(thr=12, max=12, tthr2=5)


Processing luma with tthr2=0 and chroma with default values. Helps avoid unwanted artifacts in the luma channel (Y).

input  = MPEG2Source("DotCrawl.d2v")
chroma = input.checkmate()
luma   = input.checkmate(tthr2=0)
final  = luma.MergeChroma(chroma)

- Suggested by scharfis_brain and it's also known as DeCrow()

External Links




Back to External Filters


Personal tools