From 7dfa883954eabb74ba271808f3a1d78e4795e5fb Mon Sep 17 00:00:00 2001 From: "stefan@webrtc.org" Date: Wed, 8 Feb 2012 08:27:31 +0000 Subject: [PATCH] Disable spatial subsampling for denoiser variance estimation. With subsampling there are sometimes quite visible trailing artifacts. BUG= TEST= Review URL: https://webrtc-codereview.appspot.com/387002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1634 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/modules/video_processing/main/source/denoising.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/video_processing/main/source/denoising.cc b/src/modules/video_processing/main/source/denoising.cc index 395b00c69..d8931c98c 100644 --- a/src/modules/video_processing/main/source/denoising.cc +++ b/src/modules/video_processing/main/source/denoising.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. + * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source @@ -16,8 +16,8 @@ namespace webrtc { enum { kSubsamplingTime = 0 }; // Down-sampling in time (unit: number of frames) -enum { kSubsamplingWidth = 3 }; // Sub-sampling in width (unit: power of 2) -enum { kSubsamplingHeight = 2 }; // Sub-sampling in height (unit: power of 2) +enum { kSubsamplingWidth = 0 }; // Sub-sampling in width (unit: power of 2) +enum { kSubsamplingHeight = 0 }; // Sub-sampling in height (unit: power of 2) enum { kDenoiseFiltParam = 179 }; // (Q8) De-noising filter parameter enum { kDenoiseFiltParamRec = 77 }; // (Q8) 1 - filter parameter enum { kDenoiseThreshold = 19200 }; // (Q8) De-noising threshold level