Approximate Program Smoothing Using Mean-Variance Statistics, with Application to Procedural Shader Bandlimiting

被引:8
作者
Yang, Y. [1 ]
Barnes, C. [1 ,2 ]
机构
[1] Univ Virginia, Charlottesville, VA 22903 USA
[2] Adobe Res, San Jose, CA USA
关键词
MINIMIZATION; NONSMOOTH; ALGORITHM;
D O I
10.1111/cgf.13374
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We introduce a general method to approximate the convolution of a program with a Gaussian kernel. This results in the program being smoothed. Our compiler framework models intermediate values in the program as random variables, by using mean and variance statistics. We decompose the input program into atomic parts and relate the statistics of the different parts of the smoothed program. We give several approximate smoothing rules that can be used for the parts of the program. These include an improved variant of Dorn et al. [DBLW15], a novel adaptive Gaussian approximation, Monte Carlo sampling, and compactly supported kernels. Our adaptive Gaussian approximation handles multivariate Gaussian distributed inputs, gives exact results for a larger class of programs than previous work, and is accurate to the second order in the standard deviation of the kernel for programs with certain analytic properties. Because each expression in the program can have multiple approximation choices, we use a genetic search to automatically select the best approximations. We apply this framework to the problem of automatically bandlimiting procedural shader programs. We evaluate our method on a variety of geometries and complex shaders, including shaders with parallax mapping, animation, and spatially varying statistics. The resulting smoothed shader programs outperform previous approaches both numerically and aesthetically.
引用
收藏
页码:443 / 454
页数:12
相关论文
共 47 条
  • [1] AKENINE-MOLLER Tomas, 2008, REALTIME RENDERING, V3rd
  • [2] [Anonymous], 2008, Technical University of Denmark
  • [3] [Anonymous], 1992, GENETIC PROGRAMMING
  • [4] APODACA AA, 2000, ADV RENDER MAN CREAT
  • [5] Baker M., GREENS FUNCTIONS PHY
  • [6] Bako S, 2017, ACM T GRAPHIC, V36, DOI [10.1145/3072959.3073703, 10.1145/3072959.3073708]
  • [7] genBRDF: Discovering New Analytic BRDFs with Genetic Programming
    Brady, Adam
    Lawrence, Jason
    Peers, Pieter
    Weimer, Westley
    [J]. ACM TRANSACTIONS ON GRAPHICS, 2014, 33 (04):
  • [8] A non-local algorithm for image denoising
    Buades, A
    Coll, B
    Morel, JM
    [J]. 2005 IEEE COMPUTER SOCIETY CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, VOL 2, PROCEEDINGS, 2005, : 60 - 65
  • [9] Non-Local Means Denoising
    Buades, Antoni
    Coll, Bartomeu
    Morel, Jean-Michel
    [J]. IMAGE PROCESSING ON LINE, 2011, 1 : 208 - 212
  • [10] Chaudhuri Swarat, 2011, Computer Aided Verification. Proceedings 23rd International Conference, CAV 2011, P277, DOI 10.1007/978-3-642-22110-1_22