Abstract
Each pixel in a photorealistic, computer generated picture is calculated by approximately integrating all the light arriving at the pixel, from the virtual scene. A common strategy to calculate these high-dimensional integrals is to average the estimates at stochastically sampled locations. The strategy with which the sampled locations are chosen is of utmost importance in deciding the quality of the approximation, and hence rendered image.
We derive connections between the spectral properties of stochastic sampling patterns and the first and second order statistics of estimates of integration using the samples. Our equations provide insight into the assessment of stochastic sampling strategies for integration. We show that the amplitude of the expected Fourier spectrum of sampling patterns is a useful indicator of the bias when used in numerical integration. We deduce that estimator variance is directly dependent on the variance of the sampling spectrum over multiple realizations of the sampling pattern. We then analyse Gaussian jittered sampling, a simple variant of jittered sampling, that allows a smooth trade-off of bias for variance in uniform (regular grid) sampling. We verify our predictions using spectral measurement, quantitative integration experiments and qualitative comparisons of rendered images.
Supplemental Material
- Amidror, I., Hersch, R. D., and Ostromoukhov, V. 1994. Spectral analysis and minimization of moiré patterns in color separation. J. Electron. Imaging 3, 295--317.Google Scholar
Cross Ref
- Arvo, J. 2001. Stratified sampling of 2-manifolds. SIGGRAPH 2001 Course Notes 29, 2.Google Scholar
- Balakrishnan, A. 1962. On the problem of time jitter in sampling. Information Theory, IRE Transactions on 8, 3 (april), 226--236.Google Scholar
Cross Ref
- Bartlett, M. S. 1964. The spectral analysis of two-dimensional point processes. Biometrika 51, 299--311.Google Scholar
Cross Ref
- Belcour, L., Soler, C., Subr, K., Holzschuch, N., and Durand, F. 2012. 5d covariance tracing for efficient defocus and motion blur. Tech. Rep. MIT-CSAIL-TR-2012-034, MIT, MA, November 2012.Google Scholar
- Bowers, J., Wang, R., Wei, L.-Y., and Maletz, D. 2010. Parallel poisson disk sampling with spectrum analysis on surfaces. ACM Trans. Graph. (Proc. SIGGRAPH Asia) 29, 6, 166:1--166:10. Google Scholar
Digital Library
- Brémaud, P., Massoulié, L., and Ridolfi, A. 2003. Power spectra of random spike fields & related processes. Journal of Applied Probability 2002, 1116--1146.Google Scholar
- Cook, R. L. 1986. Stochastic sampling in computer graphics. ACM Transactions on Graphics 5, 1 (Jan.), 51--72. Google Scholar
Digital Library
- Dippe, M. A. Z., and Wold, E. H. 1985. Antialiasing through stochastic sampling. In ACM SIGGRAPH '85), B. A. Barsky, Ed., 69--78. Google Scholar
Digital Library
- Durand, F., Holzschuch, N., Soler, C., Chan, E., and Sillion, F. X. 2005. A frequency analysis of light transport. ACM Trans. Graph. (Proc. SIGGRAPH) 24, 3 (July), 1115--1126. Google Scholar
Digital Library
- Durand, F. 2011. A frequency analysis of Monte-Carlo and other numerical integration schemes. Tech. Rep. MIT-CSAIL-TR-2011-052, CSAIL, MIT, MA.Google Scholar
- Egan, K., Tseng, Y.-T., Holzschuch, N., Durand, F., and Ramamoorthi, R. 2009. Frequency analysis and sheared reconstruction for rendering motion blur. ACM Trans. Graph. 28, 3 (July), 93:1--93:13. Google Scholar
Digital Library
- Fienup, J. R. 1997. Invariant error metrics for image reconstruction. Appl. Opt. 36, 32 (Nov), 8352--8357.Google Scholar
Cross Ref
- Gallaher, L. J. 1973. A multidimensional Monte Carlo quadrature with adaptive stratified sampling. Commun. ACM 16, 1 (Jan.), 49--50. Google Scholar
Digital Library
- Gamito, M. N., and Maddock, S. C. 2009. Accurate multidimensional Poisson-disk sampling. ACM Transactions on Graphics 29, 1 (Dec.), 8:1--8:19. Google Scholar
Digital Library
- Hachisuka, T., Jarosz, W., Weistroffer, R. P., Dale, K., Humphreys, G., Zwicker, M., and Jensen, H. W. 2008. Multidimensional adaptive sampling and reconstruction for ray tracing. ACM Trans. Graph. (Proc. SIGGRAPH) 27, 3 (Aug.), 33:1--33:10. Google Scholar
Digital Library
- Keller, A., and Heidrich, W. 2001. Interleaved sampling. In Rendering Techniques, 269--276. Google Scholar
Digital Library
- Keller, A., Heinrich, S., and Niederreiter, H. 2006. Monte Carlo and Quasi-Monte Carlo methods. Springer. Google Scholar
Digital Library
- Keller, A. 2002. Stratification by Rank-1-Lattices. Interner Bericht. Universität Kaiserslautern, Fachbereich Informatik.Google Scholar
- Kollig, T., and Keller, A. 2002. Efficient multidimensional sampling. Comput. Graph. Forum (Proc. Eurographics) 21, 3, 557--557.Google Scholar
Cross Ref
- Křivánek, J., and Colbert, M. 2008. Real-time shading with filtered importance sampling. Computer Graphics Forum (Proc. Eurographics Symposium on Rendering) 27, 4, 1147--1154. Google Scholar
Digital Library
- Lagae, A., and Dutré, P. 2008. A comparison of methods for generating poisson disk distributions. Comput. Graph. Forum 27, 1, 114--129.Google Scholar
Cross Ref
- Larcher, G., and Pillichshammer, F. 2001. Walsh series analysis of the L2-discrepancy of symmetrisized point sets. Monatshefte für Mathematik 132, 1, 1--18.Google Scholar
Cross Ref
- Lehtinen, J., Aila, T., Laine, S., and Durand, F. 2012. Reconstructing the indirect light field for global illumination. ACM Trans. Graph. (Proc. SIGGRAPH) 31, 4 (July), 51:1--51:10. Google Scholar
Digital Library
- Leneman, O. A. 1966. Random sampling of random processes: Impulse processes. Information and Control 9, 4, 347--363.Google Scholar
Cross Ref
- Luchini, P. 1994. Fourier analysis of numerical integration formulae. Computer Physics Communications 83, 23, 227--235.Google Scholar
Cross Ref
- Machiraju, R., Swan, E., and Yagel, R. 1995. Spatial domain characterization and control of reconstruction errors. In Proceedings of the 6th Eurographics Workshop on Rendering, 33--44.Google Scholar
- Matérn, B. 1960. Spatial variation. Meddelanden fran Statens Skogsforskningsinstitut 49, 1--144.Google Scholar
- Matérn, B. 1986. Spatial Variation, 2nd ed. Springer Verlag.Google Scholar
- Mitchell, D. P., and Netravali, A. N. 1988. Reconstruction filters in computer-graphics. SIGGRAPH Comput. Graph. 22 (June), 221--228. Google Scholar
Digital Library
- Mitchell, D. P. 1987. Generating antialiased images at low sampling densities. M. C. Stone, Ed., vol. 21, 65--72. Google Scholar
Digital Library
- Mitchell, D. P. 1991. Spectrally optimal sampling for distribution ray tracing. T. W. Sederberg, Ed., vol. 25, 157--164. Google Scholar
Digital Library
- Mitchell, D. P. 1992. Ray Tracing and Irregularities of Distribution. In Third Eurographics Workshop on Rendering, 61--69.Google Scholar
- Mitchell, D. 1996. Consequences of stratified sampling in graphics. In Proceedings of the 23rd Annual Conference on Computer Graphics and Interactive Techniques, ACM, 277--280. Google Scholar
Digital Library
- Neyman, J. 1934. On the two different aspects of the representative method: the method of stratified sampling and the method of purposive selection. Journal of the Royal Statistical Society 97, 4, 558--625.Google Scholar
Cross Ref
- Niederreiter, H. 1992. Quasi-Monte Carlo Methods. John Wiley & Sons, Ltd.Google Scholar
- Ostromoukhov, V. 2007. Sampling with polyominoes. ACM Trans. Graph. (Proc. SIGGRAPH) 26, 3 (July), 78:1--78:6. Google Scholar
Digital Library
- Ouellette, M. J., and Fiume, E. 2001. On numerical solutions to one-dimensional integration problems with applications to linear light sources. ACM Trans. Graph. 20, 4 (Oct.), 232--279. Google Scholar
Digital Library
- Öztireli, A. C., and Gross, M. 2012. Analysis and synthesis of point distributions based on pair correlation. ACM Trans. Graph. (Proc. SIGGRAPH Asia) 31, 6 (Nov.), 170:1--170:10. Google Scholar
Digital Library
- Pharr, M., and Humphreys, G. 2010. Physically Based Rendering, Second Edition: From Theory To Implementation, 2nd ed. Morgan Kaufmann Publishers Inc. Google Scholar
Digital Library
- Ramamoorthi, R., and Hanrahan, P. 2004. A signal-processing framework for reflection. ACM Trans. Graph. 23, 4 (Oct.), 1004--1042. Google Scholar
Digital Library
- Ramamoorthi, R., Anderson, J., Meyer, M., and Nowrouzezahrai, D. 2012. A theory of monte carlo visibility sampling. ACM Trans. Graph. 31, 5 (Sept.), 121:1--121:16. Google Scholar
Digital Library
- Ripley, B. 1977. Modelling spatial patterns. J. Roy. Statist. Soc. B 39, 172--212.Google Scholar
- Schlömer, T., and Deussen, O. 2011. Accurate spectral analysis of two-dimensional point sets. Journal of Graphics, GPU, and Game Tools 15, 3, 152--160.Google Scholar
Cross Ref
- Shirley, P. 1991. Discrepancy as a quality measure for sampling distributions. In Proc. Eurographics '91, 183--194.Google Scholar
- Soler, C., Subr, K., Durand, F., Holzschuch, N., and Sillion, F. 2009. Fourier depth of field. ACM Trans. Graph. 28, 2 (May), 18:1--18:12. Google Scholar
Digital Library
- Subr, K., and Arvo, J. 2007. Statistical hypothesis testing for assessing Monte Carlo estimators: Applications to image synthesis. In Pacific Graphics 2007, 106--115. Google Scholar
Digital Library
- Wei, L.-Y., and Wang, R. 2011. Differential domain analysis for non-uniform sampling. ACM Trans. Graph. (Proc. SIGGRAPH) 30, 4, 50:1--50:10. Google Scholar
Digital Library
- Zhou, Y., Huang, H., Wei, L.-Y., and Wang, R. 2012. Point sampling with general noise spectrum. ACM Trans. Graph. (Proc. SIGGRAPH) 31, 4 (July), 76:1--76:11. Google Scholar
Digital Library
Index Terms
Fourier analysis of stochastic sampling strategies for assessing bias and variance in integration
Recommendations
Variance analysis for Monte Carlo integration
We propose a new spectral analysis of the variance in Monte Carlo integration, expressed in terms of the power spectra of the sampling pattern and the integrand involved. We build our framework in the Euclidean space using Fourier tools and on the ...
Antialiasing through stochastic sampling
Stochastic sampling techniques, in particular Poisson and fittered sampling, are developed and analyzed. These approaches allow the construction of alias-free approximations to continuous functions using discrete calculations. Stochastic sampling ...
Antialiasing through stochastic sampling
SIGGRAPH '85: Proceedings of the 12th annual conference on Computer graphics and interactive techniquesStochastic sampling techniques, in particular Poisson and fittered sampling, are developed and analyzed. These approaches allow the construction of alias-free approximations to continuous functions using discrete calculations. Stochastic sampling ...





Comments