diff options
author | bradleys <[email protected]> | 2014-06-19 21:44:37 +0000 |
---|---|---|
committer | bradleys <[email protected]> | 2014-06-19 21:44:37 +0000 |
commit | 7fba1c6ad31aa1002624223ef34b612efa8262f4 (patch) | |
tree | ee459af7c2ab4ef7fe01e17a532bf5f6767f73cf /libhb/common.c | |
parent | 80a124ff2567ac45b26a606d425420a1ee590506 (diff) |
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
Diffstat (limited to 'libhb/common.c')
-rw-r--r-- | libhb/common.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |