Checkmate

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Description)
Line 1: Line 1:
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
+
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
 
{{Filter
 
{{Filter
 
| {{Author/mf}} / prunedtree  
 
| {{Author/mf}} / prunedtree  
Line 34: Line 34:
 
::::Setting this to 0 disables the temporal blending entirely. This may be helpful to reduce temporal artifacts in high motion scenes.
 
::::Setting this to 0 disables the temporal blending entirely. This may be helpful to reduce temporal artifacts in high motion scenes.
 
<br>
 
<br>
::<span style="color:red">'''Note:'''</span> Official documentation was never released. The valid range for the parameters is unknown. It's probably best to set those values not too distant from their defaults.
+
::<span style="color:red">'''Note:'''</span> Official documentation was never released. A valid range for the parameters is unknown. It's probably best to set those values not too distant from their defaults.
 
<br>
 
<br>
 
== Examples ==
 
== Examples ==
Line 40: Line 40:
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
 
  checkmate(thr=12, max=12, tthr2=5)
 
  checkmate(thr=12, max=12, tthr2=5)
 +
<br>
 +
Processing luma with tthr2=0 and chroma with default values. Helps avoid unwanted artifacts in the luma channel (Y).
 +
input  = [[AviSource]]("Blah.avi")
 +
chroma = input.checkmate()
 +
luma  = input.checkmate(tthr2=0)
 +
final  = out2.[[Merge|MergeChroma]](chroma)
 +
Suggested by [http://forum.doom9.org/showthread.php?p=1113007#post1113007 scharfis_brain] and it's also known as [http://forum.doom9.org/showthread.php?p=1470237#post1470237 DeCrow()]
 +
<br>
 
<br>
 
<br>
 
== Links ==
 
== Links ==

Revision as of 14:30, 28 November 2013

Abstract
Author mf / prunedtree
Version 2006-03-04
Download Checkmate
Category Rainbow & Dot Crawl Removal
Requirements
  • YV12
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 the default values.


Requirements:
- AviSynth 2.5.8 or later
- Supported color formats: YV12


Syntax and Parameters

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


thr int = 12
Spatial threshold:
Controls the spatial filter, higher values will blend more but cause artifacts if set to high.
If set to low, lines in static scenes where dot crawl was reduced will become slightly more blurry.


max int = 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 to high.


tthr2 int = 5
Temporal threshold:
Controls the temporal blending; higher values will blend more but cause artifacts if set to 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 for the parameters is unknown. It's probably best to set those values not too distant from their defaults.


Examples

Checkmate with default values:

AviSource("Blah.avi")
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  = AviSource("Blah.avi")
chroma = input.checkmate()
luma   = input.checkmate(tthr2=0)
final  = out2.MergeChroma(chroma)

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

Links





Back to External Filters


Personal tools