ColourMask

From Avisynth wiki
Revision as of 19:44, 6 July 2020 by Reel.Deal (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Abstract
Author mg262
Version v1.0
Download ColourMask_v10.zip
Category Masking
License GPLv2
Discussion Doom9 Thread

Contents

Description

ColourMask is a set of filters for masking and color stabilization. This filter is meant to be used on a scene by scene basis.


Requirements


Syntax and Parameters

ColourMask

Returns a mask of those pixels whose colour is near (y,u,v), where nearness is defined by lumathreshold and chromathreshold. Chroma of the returned clip is nonsense.


ColourMask (clip, int y, int u, int v, int lumathreshold, int chromathreshold)


clip   =
Input clip, must be YV12.


int   =
int   =
int   =
y, u, v color values.


int   =
lumathreshold


int   =
chromathreshold


ColourStabilise

Replaces pixels whose colour is near (y,u,v) with colour (y,u,v), where nearness is defined by lumathreshold and chromathreshold. (Chroma subsampling is treated sensibly.)


ColourStabilise (clip, int y, int u, int v, int lumathreshold, int chromathreshold)


clip   =
Input clip, must be YV12.


int   =
int   =
int   =
y, u, v color values.


int   =
lumathreshold


int   =
chromathreshold


RGBColourStabilise

Just like ColourStabilise but takes the colour as a RGB hex value. ( Rec.601 conversion ).


RGBColourStabilise (clip, int colour, int lumathreshold, int chromathreshold)


clip   =
Input clip, must be YV12.


int   =
colour values defined in RGB hex.


int   =
lumathreshold


int   =
chromathreshold


Examples

TODO

Changelog

Version      Date(D/M/Y)      Changes
v1.0 2005/09/11 - Initial release


Archived Downloads

Version Download Mirror
v1.0 ColourMask_v10.zip
colourmask_20050911.zip
ColourMask_v10.zip
colourmask_20050911.zip


External Links




Back to External Filters

Personal tools