YRangeMask

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(YRangeMask)
 
m (link)
 
(2 intermediate revisions by one user not shown)
Line 3: Line 3:
 
| {{Author/putin}}
 
| {{Author/putin}}
 
| v0.03
 
| v0.03
|[http://putin999.web.fc2.com/yrangemask003.rar yrangemask003.rar]
+
|[http://web.archive.org/web/20150510140334/http://putin999.web.fc2.com/yrangemask003.rar yrangemask003.rar]
 
| Masking
 
| Masking
 
| Closed source
 
| Closed source
Line 43: Line 43:
  
 
== Examples ==  
 
== Examples ==  
#<code>YRangeMask(min_y=16, fade_min_y=0, max_y=80, fade_max_y=0)</code><br>
+
Masked areas and the effect of the fade parameters.
#<code>YRangeMask(min_y=16, fade_min_y=4, max_y=80, fade_max_y=16)</code>
+
 
 +
[[File:yrangemask.png]]
 +
<!--#<code>YRangeMask(min_y=16, fade_min_y=0, max_y=80, fade_max_y=0)</code><br>#<code>YRangeMask(min_y=16, fade_min_y=4, max_y=80, fade_max_y=16)</code>-->
 
<br>
 
<br>
  
Line 71: Line 73:
 
== External Links ==
 
== External Links ==
 
*[http://potatosub.blog.fc2.com/blog-entry-48.html potatosub's blog] - Using [[WarpSharp]] + YRangeMask (Japanese).
 
*[http://potatosub.blog.fc2.com/blog-entry-48.html potatosub's blog] - Using [[WarpSharp]] + YRangeMask (Japanese).
 +
*[http://csbarn.blogspot.com/2016/01/mtyrangemask.html csbarn.blogspot.com] - mt_yrangemask script, uses MaskTools2 for much better performance (Japanese).
 
<br>
 
<br>
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters#Averaging.2FLayering.2FMasking|External Filters]] &larr;'''
 
'''Back to [[External_filters#Averaging.2FLayering.2FMasking|External Filters]] &larr;'''

Latest revision as of 14:34, 12 January 2020

Abstract
Author putin
Version v0.03
Download yrangemask003.rar
Category Masking
License Closed source
Discussion

Contents

[edit] Description

AviSynth plug-in to create a mask by specifying the range of the brightness.

[edit] Requirements

  • AviSynth 2.5.8 or greater
  • Supported color formats: YV12


[edit] Syntax and Parameters

YRangeMask (clip , int "min_y", int "fade_min_y", int "max_y", int "fade_max_y", bool "invert")


clip   =
Input clip.


int  min_y = 0
Minimum threshold.


int  fade_min_y = 0
How many minimum pixels to fade.


int  max_y = 0
Maximum threshold.


int  fade_max_y = 0
How many maximum pixels to fade.


bool  invert = false
Set to true to invert the mask.


[edit] Examples

Masked areas and the effect of the fade parameters.

Yrangemask.png

[edit] Changelog

Version      Date            Changes
v0.03 02/06/2012 - ? v0.02 28/05/2012 - ? v0.01 01/05/2012 - initial release


[edit] Archived Downloads

Version Download Mirror
v0.03 yrangemask003.rar yrangemask003.rar
v0.02 yrangemask002.rar yrangemask002.rar


[edit] External Links




Back to External Filters

Personal tools