From 7fba1c6ad31aa1002624223ef34b612efa8262f4 Mon Sep 17 00:00:00 2001 From: bradleys Date: Thu, 19 Jun 2014 21:44:37 +0000 Subject: libhb: New denoiser, nlmeans. Non-local means averages multiple patches of similar pixels together, preserving similarities and attenuating variance (usually noise). This is typically more effective than lowpass and more faithfully restores the appearance of structure and detail found in the original source, especially in the high frequency range. Parameters for origin patch weight tuning and pre-filtering further improve on the original algorithm. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6216 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/common.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libhb/common.c') diff --git a/libhb/common.c b/libhb/common.c index 60b926d94..6ba81f762 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -3247,6 +3247,10 @@ hb_filter_object_t * hb_filter_init( int filter_id ) filter = &hb_filter_denoise; break; + case HB_FILTER_NLMEANS: + filter = &hb_filter_nlmeans; + break; + case HB_FILTER_RENDER_SUB: filter = &hb_filter_render_sub; break; -- cgit v1.2.3