so that the bandwidth matrix H =
diag(σ
s
, σ
s
, σ
r
, σ
r
, σ
r
). The non-local means
(NL-Means) filter (Buades et al., 2008) is also a
generalization of Nadaraya-Watson estimator where
the weight is computed based on small patches.
From the Equation 4, we know the Nadaraya-Watson
estimator
ˆ
α is a locally weighted average of the
response variables in the neighborhood of the given
pixel c.
The Nadaraya-Watson estimator converges more
slowly at the boundary and its conditional variance
is larger in practice for points on the boundary than
for points on the interior. Moon et al. (Moon et al.,
2014) introduces a local linear estimator to remove
MC noise:
min
α,β
∑
i∈Ω
c
(y
i
− α −β
T
(x
i
− x
c
))
2
K
H
(i, c) (6)
Its solution is also expressed as the Equation 4, but
e = (1, 0, ..., 0)
T
is a (d + 1)-dimensional vector and
the ith row of X is set as (1, (x
i
− x
c
)
T
).
Intuitively it is clear that in the smooth region
of the image the Nadaraya-Watson estimator or lo-
cal linear estimator is preferable, whereas in the high-
frequency region due to MC effects such as motion
blur and depth-of-field, polynomials of higher or-
der such as local cubic estimator is recommendable.
Hence, the order of local polynomial fitting should be
varied to reflect the local curvature of the unknown
ground truth image.
Based on previous analysis, we present a novel,
adaptive order polynomial fitting based adaptive sam-
pling and reconstruction method to effectively han-
dle various MC rendering effects (e.g., motion blur,
depth-of-field, soft shadow, etc). Given a fixed spatial
bandwidth, our method estimates an unknown func-
tion based on a data-driven variable order selection
procedure. Our core idea is to develop a robust esti-
mate of the MSE of each pixel and to use this estimate
as a criterion for adaptive order selection (AOS), i.e.
varying the order of the Taylor series approximation.
Our idea is based on obvious observations that a ref-
erence image in the area of motion blur no longer has
a linear correlation with given auxiliary features (e.g.,
textures). Specifically, we make the following techni-
cal contributions: For a given fixed spatial bandwidth
and each order (i.e., local linear estimator and local
cubic estimator), our method estimates the MSE of
each pixel which is decomposed into estimation of
bias and variance terms. The local optimal order is
selected with the least MSE.
2 PREVIOUS WORK
Adaptive sampling and reconstruction was pioneered
by Kajiya (Kajiya, 1986). The key of adaptive sam-
pling is to develop a robust error metric which can
guide where we need to allocate more ray sam-
ples. Common error metrics includes Stein’s Unbi-
ased Risk Estimator (SURE) (Stein, 1981), contrast
metric (Mitchell, 1987), median absolute deviation
(MAD) (Donoho and Johnstone, 1994), MSE which
can be decomposed into variance plus the square of
bias and so on. We will review the most recent adap-
tive renderings based on previous analysis and clas-
sify them into Nadaraya-Watson estimator, local lin-
ear estimator and higher order estimator.
Nadaraya-Watson Estimator. Li et al. (Li et al.,
2012) leverage cross-bilateral filter to filter MC noise.
They compute the weight between two pixels similar
to the Equation 5 as well as considering auxiliary fea-
tures. Sen et al. (Sen and Darabi, 2012) also use cross-
bilateral filter, but utilizing mutual information to
measure the relation between feature differences and
filter weights. Rousselle et al. (Rousselle et al., 2013)
adopt SURE to estimate MSE of three cross-bilateral
filters with the same spatial support, but different their
other parameters. Moon et al. (Moon et al., 2013) use
a virtual flash image as a stopping function to com-
pute the weight of a cross-bilateral filter. Rousselle et
al. (Rousselle et al., 2012) exploit NL-Means filter for
adaptive rendering, while Delbracio et al. (Delbracio
et al., 2014) propose a multi-scale NL-Means filter
for adaptive reconstruction. Kalantari et al. (Kalan-
tari et al., 2015) present a machine learning approach
to reduce MC noise. These methods are all the cases
of the Nadaraya-Watson estimator.
Local Linear Estimator. Moon et al. (Moon et al.,
2014) construct local linear estimator to estimate the
color value of each pixel. Moon et al. (Moon et al.,
2015) propose to approximate the color value of each
pixel in a prediction window with multiple, but sparse
local linear estimators. Bitterli et al. (Bitterli et al.,
2016) study existing approaches and present nonlin-
early weighted first-order regression for denoising
MC noise, which is also the case of local linear es-
timator, but computing the weight based on small
patches.
High Order Estimator. Most recently, Moon et al.
(Moon et al., 2016) locally approximate an image
with polynomial functions and the optimal order of
each polynomial function is estimated so that multi-
stage reconstruction error can be minimized. How-
GRAPP 2017 - International Conference on Computer Graphics Theory and Applications
38