[FFmpeg-devel] [PATCH 2/2] libavfilter/vf_nlmeans: add amount parameter

Paul B Mahol onemda at gmail.com
Sat May 26 19:36:57 EEST 2018


On 5/18/18, Clement Boesch <u at pkh.me> wrote:
> On Sat, May 12, 2018 at 10:24:35PM +0200, Paul B Mahol wrote:
>> For better control of denoising.
>>
>> Signed-off-by: Paul B Mahol <onemda at gmail.com>
>> ---
>>  doc/filters.texi         | 4 ++++
>>  libavfilter/vf_nlmeans.c | 5 ++++-
>>  2 files changed, 8 insertions(+), 1 deletion(-)
>>
>> diff --git a/doc/filters.texi b/doc/filters.texi
>> index d77c67eb10..60ce18298b 100644
>> --- a/doc/filters.texi
>> +++ b/doc/filters.texi
>> @@ -11420,6 +11420,10 @@ Set research size.
>>  Same as @option{r} but for chroma planes.
>>
>>  The default value is @var{0} and means automatic.
>> +
>> + at item a
>> +Set denoising amount. Lower values reduces blurring.
>> +Default value is @var{1.0} and means full denoising.
>
> I'm not so fond of adding another semantically identical option to
> "strength". Do you have some literature on such an option?

It is not identical, you need certain math skills to get it.


More information about the ffmpeg-devel mailing list