VmToon

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(created page)
 
m (Changelog: add link)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Adjustment_filters|Linedarkeners}}
+
{{FilterCat4|External_filters|Scripts|Adjustment_filters|Line_darkeners}}
{{Filter
+
{{Filter3
| vectrangle
+
| mf, vectrangle
 
| 0.74
 
| 0.74
|[http://avisynth.org/mediawiki/upload/1/15/Vmtoon-v0.74.avsi vmtoon.avsi]
+
|[http://avisynth.nl/images/Vmtoon-v0.74.avsi Vmtoon-v0.74.avsi]
| Linedarkeners
+
| Line Darkeners
 
|
 
|
* YV12
 
 
|}}
 
|}}
 +
== Description ==
 +
Line darkening script that used to be known as [[mfToon]].
 +
<br>
 +
<br>
 +
== Requirements ==
 +
* AviSynth 2.5.8 or later
 +
* Supported color formats: [[YV12]]
  
{{Template:FuncDef|vmToon(clip input, int "strength", int "luma_cap", int "threshold", int "thinning", bool "sharpen", bool "mask", bool "show", string "showclip", int "ssw", int "ssh", int "xstren", int "xthresh") {
+
=== Required Plugins ===
}}
+
Latest version of the following plugins are recommended unless stated otherwise.<br>
 
+
*[[MaskTools2]]
== Abstract ==
+
*[[WarpSharp]]
 
+
 
+
 
+
=== Requires Filters ===
+
 
+
 
+
== Description ==
+
  
  
 +
== [[Script variables|Syntax and Parameters]] ==
 +
:{{Template:FuncDef|vmToon (clip input, int "strength", int "luma_cap", int "threshold", int "thinning", bool "sharpen", bool "mask", bool "show", string "showclip", int "ssw", int "ssh", int "xstren", int "xthresh")}}
 +
<br>
 +
::{{Par2|input|clip| }}
 +
:::Input clip.
 +
<br>
 +
::{{Par2|strength|int|48}}
 +
:::Line darkening amount, 0-255.
 +
<br>   
 +
::{{Par2|luma_cap|int|191}}
 +
:::Bright limit for line detection, 0-255 (255 = no limit).
 +
<br>
 +
::{{Par2|threshold|int|4}}
 +
:::Threshold to disable slight darkening (of noise) 0-255.
 +
<br>       
 +
::{{Par2|thinning|int|24}}
 +
:::Line thinning amount, 0-255.
 +
<br>
 +
::{{Par2|sharpen|bool|true}}
 +
:::Sharpening on/off.
 +
<br>
 +
::{{Par2|mask|bool|true}}
 +
:::Masking on/off.
 +
<br>
 +
::{{Par2|show|bool|false}}
 +
:::Show the showclip or the output, true/false.
 +
<br>
 +
::{{Par2|showclip|string|"lines"}}
 +
:::Show the lines or something else.
 +
<br>
 +
::{{Par2|ssw|int|4}}
 +
:::Supersample factor horizontally, 0-inf.
 +
<br>
 +
::{{Par2|ssh|int|4}}
 +
:::Supersample factor vertically, 0-inf.
 +
<br>
 +
::{{Par2|xstren|int|255}}
 +
:::xsharpening strength, 0-255.
 +
<br>
 +
::{{Par2|xstresh|int|255}}
 +
:::xsharpening threshold, 0-255.
 +
<br>
 
== Examples ==
 
== Examples ==
 
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
  vmtoon()
+
  vmToon()
 +
<br>
 +
== Changelog ==
 +
Version      Date          Changes<br>
 +
v0.74        2006/01/14    - adapted to MaskTools 2.0 by Manao [http://forum.doom9.org/showthread.php?p=766009#post766009]
 +
v0.7        ????/??/??    - vmToon; continuation of mfToon by vectrangle.[http://web.archive.org/web/20071108220808/http://mf.creations.nl/avs/functions/vmToon-v0.7.avs]
  
 +
<br>
  
== Links ==
+
==External Links ==
http://forum.doom9.org/showthread.php?t=115040
+
*[http://www.aquilinestudios.org/avsfilters/sharpeners.html#vmtoon Scintilla's Guide] - additional documentation.
 +
*http://forum.doom9.org/showthread.php?t=115040
 +
<br>
 +
<br>
 +
-----------------------------------------------
 +
'''Back to [[External_filters#Line_Darkening|External Filters]] &larr;'''

Latest revision as of 05:00, 3 February 2015

Abstract
Author mf, vectrangle
Version 0.74
Download Vmtoon-v0.74.avsi
Category Line Darkeners
License
Discussion

Contents

[edit] Description

Line darkening script that used to be known as mfToon.

[edit] Requirements

  • AviSynth 2.5.8 or later
  • Supported color formats: YV12

[edit] Required Plugins

Latest version of the following plugins are recommended unless stated otherwise.


[edit] Syntax and Parameters

vmToon (clip input, int "strength", int "luma_cap", int "threshold", int "thinning", bool "sharpen", bool "mask", bool "show", string "showclip", int "ssw", int "ssh", int "xstren", int "xthresh")


clip  input =
Input clip.


int  strength = 48
Line darkening amount, 0-255.


int  luma_cap = 191
Bright limit for line detection, 0-255 (255 = no limit).


int  threshold = 4
Threshold to disable slight darkening (of noise) 0-255.


int  thinning = 24
Line thinning amount, 0-255.


bool  sharpen = true
Sharpening on/off.


bool  mask = true
Masking on/off.


bool  show = false
Show the showclip or the output, true/false.


string  showclip = "lines"
Show the lines or something else.


int  ssw = 4
Supersample factor horizontally, 0-inf.


int  ssh = 4
Supersample factor vertically, 0-inf.


int  xstren = 255
xsharpening strength, 0-255.


int  xstresh = 255
xsharpening threshold, 0-255.


[edit] Examples

AviSource("Blah.avi")
vmToon()


[edit] Changelog

Version      Date           Changes
v0.74 2006/01/14 - adapted to MaskTools 2.0 by Manao [1] v0.7  ????/??/?? - vmToon; continuation of mfToon by vectrangle.[2]


[edit] External Links




Back to External Filters

Personal tools