Skip to content
Calculates temporal median
Branch: master
Clone or download
Latest commit 10e2be3 Jul 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Add temporalmedian.cpp Jul 24, 2018
meson.build Add meson.build Jul 24, 2018
readme.rst Add readme.rst Jul 25, 2018

readme.rst

Description

TemporalMedian is a temporal denoising filter. It replaces every pixel with the median of its temporal neighbourhood.

This filter will introduce ghosting, so use with caution.

Usage

tmedian.TemporalMedian(clip clip[, int radius=1, int[] planes=all])
Parameters:
clip
A clip to process. It must have constant format and dimensions and it must be 8..16 bit with integer samples or 32 bit with float samples.
radius

Size of the temporal neighbourhood. Must be between 1 and 10.

The first and the last radius frames of the clip are returned unchanged.

Default: 1.

planes

Planes to filter. Planes that aren't filtered will be copied from the input.

Default: all.

Compilation

mkdir build && cd build
meson ../
ninja

License

ISC.

You can’t perform that action at this time.