Checkmate

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (add x64 category)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Restoration_filters|Rainbow & Dot Crawl Removal}}
+
{{FilterCat5|External_filters|Plugins|Plugins_x64|Restoration_filters|Rainbow & Dot Crawl Removal}}
{{Filter
+
{{Filter3
| {{Author/mf}} / prunedtree  
+
| {{Author/mf}}, prunedtree, [https://github.com/tp7 tp7]
| 2006-03-04
+
| 0.9
| [http://web.archive.org/web/20090218093135/http://mf.creations.nl/avs/filters/checkmate.dll Checkmate]
+
| [https://github.com/tp7/checkmate/releases checkmate.zip]
 
| Rainbow & Dot Crawl Removal
 
| Rainbow & Dot Crawl Removal
|
+
| Open Source
* YV12
+
| Closed source
+
 
|}}
 
|}}
<br>
+
 
 
== Description ==
 
== Description ==
:Spatial and temporal dot crawl removal. 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.
+
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
+
*[https://github.com/tp7/checkmate Checkmate for AviSynth 2.6] - open source, better performance, less bugs, and supports all [[planar]] colorspaces. [https://github.com/tp7/checkmate/releases Download] | [http://forum.doom9.org/showthread.php?t=169832 Discussion]<br>In this version {{Template:FuncDef|tthr2}} is (by default) set to 0, also this version has a bit lower precision than the original. The difference is hardly noticeable when you're looking for it.
:- Supported color formats: [[YV12]]
+
 
<br>
 
<br>
== Syntax and Parameters ==
+
 
:{{Template:FuncDef|checkmate(clip, int "thr", int "max", int "tthr2")}}
+
== Requirements ==
 +
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater]
 +
* Supported color formats: [[YV12]]
 
<br>
 
<br>
::{{Par|thr|int|12}}
+
 
:::Spatial threshold:
+
== [[Script variables|Syntax and Parameters]] ==
::::Controls the spatial filter, higher values will blend more but cause artifacts if set to high.
+
:{{Template:FuncDef|checkmate (''clip'', ''int'' "thr", ''int'' "max", ''int'' "tthr2")}}
::::If set to low, lines in static scenes where dot crawl was reduced will become slightly more blurry.
+
 
<br>
 
<br>
::{{Par|max|int|12}}
+
::{{Par2| |clip| }}
:::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.
+
:::Input clip.
 
<br>
 
<br>
::{{Par|tthr2|int|5}}
+
::{{Par2|thr|int|12}}
:::Temporal threshold:
+
:::Spatial threshold that control the spatial filtering.
::::Controls the temporal blending; higher values will blend more but cause artifacts if set to high.
+
:::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.
::::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.
+
::{{Par2|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 too high.
 
<br>
 
<br>
 +
::{{Par2|tthr2|int|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.
 +
<br>
 +
::<span style="color:red">'''Note:'''</span> 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.
 +
<br>
 +
 
== Examples ==
 
== Examples ==
 
Checkmate with default values:
 
Checkmate with default values:
  [[AviSource]]("Blah.avi")
+
  [[DGDecode|MPEG2Source]]("DotCrawl.d2v")
 
  checkmate(thr=12, max=12, tthr2=5)
 
  checkmate(thr=12, max=12, tthr2=5)
 
<br>
 
<br>
== Links ==
+
Processing luma with tthr2=0 and chroma with default values. Helps avoid unwanted artifacts in the luma channel (Y).
*[http://www.aquilinestudios.org/avsfilters/dotcrawl.html#checkmate Scintilla's Guide] - Unofficial documentation
+
input  = [[DGDecode|MPEG2Source]]("DotCrawl.d2v")
*[http://forum.doom9.org/showpost.php?p=1571520&postcount=20 Doom9 Forum] - Archived download.
+
chroma = input.checkmate()
*[http://forum.videohelp.com/threads/358820-Improving-Dilbert?p=2266862&viewfull=1#post2266862 VideoHelp] - Archived download.
+
luma  = input.checkmate(tthr2=0)
 +
final  = luma.[[Merge|MergeChroma]](chroma)
 +
- Suggested by [https://forum.doom9.org/showthread.php?p=1113007#post1113007 scharfis_brain] and it's also known as [https://forum.doom9.org/showpost.php?p=1470237&postcount=14 DeCrow()]
 
<br>
 
<br>
 +
<br>
 +
 +
== External Links ==
 +
*[http://www.aquilinestudios.org/avsfilters/dotcrawl.html#checkmate Scintilla's Guide] - Unofficial documentation
 +
*[https://forum.doom9.org/showpost.php?p=1571520&postcount=20 Doom9 Forum] - Archived download.
 +
*[https://forum.videohelp.com/threads/358820-Improving-Dilbert?p=2266862&viewfull=1#post2266862 VideoHelp] - Archived download.
 
<br>
 
<br>
 
<br>
 
<br>

Latest revision as of 23:05, 16 March 2020

Abstract
Author mf, prunedtree, tp7
Version 0.9
Download checkmate.zip
Category Rainbow & Dot Crawl Removal
License Open Source
Discussion

Contents

[edit] 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.

  • Checkmate for AviSynth 2.6 - open source, better performance, less bugs, and supports all planar colorspaces. Download | Discussion
    In this version tthr2 is (by default) set to 0, also this version has a bit lower precision than the original. The difference is hardly noticeable when you're looking for it.


[edit] Requirements

  • AviSynth 2.5.8 or greater
  • Supported color formats: YV12


[edit] 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.


[edit] 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()

[edit] External Links




Back to External Filters


Personal tools