From Avisynth wiki
Jump to: navigation, search
Author wonkey_monkey
Version 2014-12-20
Category Debug filter
Discussion Doom9 Thread


[edit] Description

Amp performs temporal smoothing, then (optionally) enhances the difference between the windowed average and the current frame. It was inspired by RgbAmplifier.

In theory, this should let you do things like make pulses visible in videos of human faces or wrists, but I suspect you need a very low noise video to pick that up.

[edit] Requirements

[edit] Syntax and Parameters

amp (clip, int "window", float "y", float "u", float "v", float "a")

clip   =
Input clip.

int  window = 0
The number of frames either side of the current one used for the temporal smoothing, i.e. a value of 5 will smooth over 5*2+1=11 frames.

float  y = -1.0
float  u =
float  v =
float  a =
For YV12/YUY2 colour spaces, the parameters y u v specify the level of enhancement for each channel. a is ignored.
For RGB24/RGB32 colour spaces, the parameters y u v [a] specify the level of enhancement for the channels r g b [a].
A value of 0 performs no enhancement (returns the unaltered channel of the source frame).
If you only specify y, the same value will be used for the other channels.
By not specifying any of these four parameters (or giving them the value of -1) the filter acts purely as a temporal smoother.

[edit] Examples

amp with default settings:


[edit] Changelog

Version      Date            Changes
20141220 2014/12/20 - Initial release

[edit] Archived Downloads

Version Download Mirror

[edit] External Links

Back to External Filters

Personal tools