diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-24 15:28:53 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-05-15 00:54:00 +0200 |
commit | 7b43120c7c1e56a5f1d3d9165134ee4aac253f0d (patch) | |
tree | ea3f0f29d39e4599e5d1bb598b5319d610223cb9 /doc/filters.texi | |
parent | 48de04f4ec08140c129c0f7ae721bb5aa0d17aca (diff) | |
download | ffmpeg-7b43120c7c1e56a5f1d3d9165134ee4aac253f0d.tar.gz |
lavfi: add dctdnoiz filter.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index def2751ba7..d69a1a39e3 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -2655,6 +2655,59 @@ curves=psfile='MyCurvesPresets/purple.asv':green='0.45/0.53' @end example @end itemize +@section dctdnoiz + +Denoise frames using 2D DCT (frequency domain filtering). + +This filter is not designed for real time and can be extremely slow. + +The filter accepts the following options: + +@table @option +@item sigma, s +Set the noise sigma constant. + +This @var{sigma} defines a hard threshold of @code{3 * sigma}; every DCT +coefficient (absolute value) below this threshold with be dropped. + +If you need a more advanced filtering, see @option{expr}. + +Default is @code{0}. + +@item overlap +Set number overlapping pixels for each block. Each block is of size +@code{16x16}. Since the filter can be slow, you may want to reduce this value, +at the cost of a less effective filter and the risk of various artefacts. + +If the overlapping value doesn't allow to process the whole input width or +height, a warning will be displayed and according borders won't be denoised. + +Default value is @code{15}. + +@item expr, e +Set the coefficient factor expression. + +For each coefficient of a DCT block, this expression will be evaluated as a +multiplier value for the coefficient. + +If this is option is set, the @option{sigma} option will be ignored. + +The absolute value of the coefficient can be accessed through the @var{c} +variable. +@end table + +@subsection Examples + +Apply a denoise with a @option{sigma} of @code{4.5}: +@example +dctdnoiz=4.5 +@end example + +The same operation can be achieved using the expression system: +@example +dctdnoiz=e='gte(c, 4.5*3)' +@end example + @anchor{decimate} @section decimate |