PG 2011 Pacific Graphics 2011 The 19th Pacific Conference on Computer Graphics and Applications (Pacific Graphics 2011) will be held on September 21 to.

Slides:



Advertisements
Similar presentations
All-Frequency PRT for Glossy Objects Xinguo Liu, Peter-Pike Sloan, Heung-Yeung Shum, John Snyder Microsoft.
Advertisements

Spherical Convolution in Computer Graphics and Vision Ravi Ramamoorthi Columbia Vision and Graphics Center Columbia University SIAM Imaging Science Conference:
Spherical Harmonic Lighting of Wavelength-dependent Phenomena Clifford Lindsay, Emmanuel Agu Worcester Polytechnic Institute (USA)
K Means Clustering , Nearest Cluster and Gaussian Mixture
Rendering with Environment Maps Jaroslav Křivánek, KSVI, MFF UK
Clustering Geometric Data Streams Jiří Skála Ivana Kolingerová ZČU/FAV/KIV2007.
VLSH: Voronoi-based Locality Sensitive Hashing Sung-eui Yoon Authors: Lin Loi, Jae-Pil Heo, Junghwan Lee, and Sung-Eui Yoon KAIST
Precomputed Local Radiance Transfer for Real-time Lighting Design Anders Wang Kristensen Tomas Akenine-Moller Henrik Wann Jensen SIGGRAPH ‘05 Presented.
Real-Time Rendering Paper Presentation Imperfect Shadow Maps for Efficient Computation of Indirect Illumination T. Ritschel T. Grosch M. H. Kim H.-P. Seidel.
Texture Synthesis Tiantian Liu. Definition Texture – Texture refers to the properties held and sensations caused by the external surface of objects received.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 18: Precomputation-Based Real-Time Rendering Ravi Ramamoorthi
© University of Minnesota Data Mining for the Discovery of Ocean Climate Indices 1 CSci 8980: Data Mining (Fall 2002) Vipin Kumar Army High Performance.
1 Compression and Real-time Rendering of Measured BTFs using local-PCA Mueller, Meseth, Klein Bonn University Computer Graphics Group.
Prénom Nom Document Analysis: Data Analysis and Clustering Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
Direct-to-Indirect Transfer for Cinematic Relighting Milos Hasan (Cornell University) Fabio Pellacini (Dartmouth College) Kavita Bala (Cornell University)
Jiaping Wang 1 Peiran Ren 1,3 Minmin Gong 1 John Snyder 2 Baining Guo 1,3 1 Microsoft Research Asia 2 Microsoft Research 3 Tsinghua University.
Exploiting Temporal Coherence for Incremental All-Frequency Relighting Ryan OverbeckRavi Ramamoorthi Aner Ben-ArtziEitan Grinspun Columbia University Ng.
Real-Time High Quality Rendering COMS 6160 [Fall 2004], Lecture 3 Overview of Course Content
Matrix Row-Column Sampling for the Many-Light Problem Miloš Hašan (Cornell University) Fabio Pellacini (Dartmouth College) Kavita Bala (Cornell University)
Active Appearance Models Computer examples A. Torralba T. F. Cootes, C.J. Taylor, G. J. Edwards M. B. Stegmann.
A Constraint Generation Approach to Learning Stable Linear Dynamical Systems Sajid M. Siddiqi Byron Boots Geoffrey J. Gordon Carnegie Mellon University.
A Theory of Locally Low Dimensional Light Transport Dhruv Mahajan (Columbia University) Ira Kemelmacher-Shlizerman (Weizmann Institute) Ravi Ramamoorthi.
K-means Clustering. What is clustering? Why would we want to cluster? How would you determine clusters? How can you do this efficiently?
FLANN Fast Library for Approximate Nearest Neighbors
Computer Vision James Hays, Brown
Pre-computed Radiance Transfer Jaroslav Křivánek, KSVI, MFF UK
Enhancing Tensor Subspace Learning by Element Rearrangement
CSE 185 Introduction to Computer Vision Pattern Recognition.
ICheat: A Representation for Artistic Control of Cinematic Lighting Juraj ObertJaroslav Křivánek Daniel Sýkora Fabio Pellacini Sumanta Pattanaik
Computer Graphics Laboratory, Hiroshima City University All images are compressed.
CSIE Dept., National Taiwan Univ., Taiwan
Apache Mahout. Mahout Introduction Machine Learning Clustering K-means Canopy Clustering Fuzzy K-Means Conclusion.
Real-time Shading with Filtered Importance Sampling Jaroslav Křivánek Czech Technical University in Prague Mark Colbert University of Central Florida.
View-Dependent Precomputed Light Transport Using Nonlinear Gaussian Function Approximations Paul Green 1 Jan Kautz 1 Wojciech Matusik 2 Frédo Durand 1.
All-Frequency Shadows Using Non-linear Wavelet Lighting Approximation Ren Ng Stanford Ravi Ramamoorthi Columbia SIGGRAPH 2003 Pat Hanrahan Stanford.
1 Implicit Visibility and Antiradiance for Interactive Global Illumination Carsten Dachsbacher 1, Marc Stamminger 2, George Drettakis 1, Frédo Durand 3.
Real-time Indirect Lighting Using Clustering Visibility Zhao, Tobias, Thorsten, Jan* *University College London.
Characteristic Point Maps Hongzhi Wu Julie Dorsey Holly Rushmeier (presented by Patrick Paczkowski) Computer Graphics Lab Yale University.
IIIT Hyderabad Scalable Clustering using Multiple GPUs K Wasif Mohiuddin P J Narayanan Center for Visual Information Technology International Institute.
Bahman Bahmani Stanford University
Exploit of Online Social Networks with Community-Based Graph Semi-Supervised Learning Mingzhen Mo and Irwin King Department of Computer Science and Engineering.
Fast Approximation to Spherical Harmonics Rotation Sumanta Pattanaik University of Central Florida Kadi Bouatouch IRISA / INRIA Rennes Jaroslav Křivánek.
Fast Approximation to Spherical Harmonics Rotation
Intelligent Database Systems Lab 國立雲林科技大學 National Yunlin University of Science and Technology A k-mean clustering algorithm for mixed numeric and categorical.
Project 11: Determining the Intrinsic Dimensionality of a Distribution Okke Formsma, Nicolas Roussis and Per Løwenborg.
Project 11: Determining the Intrinsic Dimensionality of a Distribution Okke Formsma, Nicolas Roussis and Per Løwenborg.
Adrian Jarabo, Hongzhi Wu, Julie Dorsey,
Prototype Classification Methods Fu Chang Institute of Information Science Academia Sinica ext. 1819
K-Means clustering accelerated algorithms using the triangle inequality Ottawa-Carleton Institute for Computer Science Alejandra Ornelas Barajas School.
Precomputed Radiance Transfer Field for Rendering Interreflections in Dynamic Scenes Minhao Pan, Rui Wang, Xinguo Liu, Qunsheng Peng and Hujun Bao State.
Chapter 13 (Prototype Methods and Nearest-Neighbors )
Non-Linear Kernel-Based Precomputed Light Transport Paul Green MIT Jan Kautz MIT Wojciech Matusik MIT Frédo Durand MIT Henrik Wann Jensen UCSD.
Lloyd Algorithm K-Means Clustering. Gene Expression Susumu Ohno: whole genome duplications The expression of genes can be measured over time. Identifying.
Circuit Simulation using Matrix Exponential Method Shih-Hung Weng, Quan Chen and Chung-Kuan Cheng CSE Department, UC San Diego, CA Contact:
Radiance Cache Splatting: A GPU-Friendly Global Illumination Algorithm P. Gautron J. Křivánek K. Bouatouch S. Pattanaik.
Given a set of data points as input Randomly assign each point to one of the k clusters Repeat until convergence – Calculate model of each of the k clusters.
All-Frequency Shadows Using Non-linear Wavelet Lighting Approximation Ren Ng Stanford Ravi Ramamoorthi Columbia Pat Hanrahan Stanford.
Light Animation with Precomputed Light Paths on the GPU László Szécsi, TU Budapest László Szirmay-Kalos, TU Budapest Mateu Sbert, U of Girona.
Toward Real-Time Global Illumination. Global Illumination == Offline? Ray Tracing and Radiosity are inherently slow. Speedup possible by: –Brute-force:
Toward Real-Time Global Illumination. Project Ideas Distributed ray tracing Extension of the radiosity assignment Translucency (subsurface scattering)
Machine Learning Lecture 4: Unsupervised Learning (clustering) 1.
Accelerating K-Means Clustering with Parallel Implementations and GPU Computing Janki Bhimani Miriam Leeser Ningfang Mi
Semi-Supervised Clustering
Real-Time Soft Shadows with Adaptive Light Source Sampling
Multiplying Matrices GSE Accelerated Pre-Calculus Keeper 2.
Fu-Chung Huang Ravi Ramamoorthi University of California, Berkeley
network of simple neuron-like computing elements
EM Algorithm and its Applications
GEARS: A General and Efficient Algorithm for Rendering Shadows
Presentation transcript:

PG 2011 Pacific Graphics 2011 The 19th Pacific Conference on Computer Graphics and Applications (Pacific Graphics 2011) will be held on September 21 to 23, 2011 in Kaohsiung, Taiwan. Improving Performance and Accuracy of Local PCA V. Gassenbauer, J. Křivánek, K. Bouatouch, C. Bouville, M. Ribardière University of Rennes 1, France, and Charles University, Czech Republic

Pacific Graphics | 25 Kaohsiung, Taiwan Need to compress large data set Objective Precomputed Radiance Transfer (PRT) Bidirectional Texture Function (BTF) compression Image courtesy of Hongzhi Wu

Pacific Graphics | 25 Kaohsiung, Taiwan Relighting as a matrix-vector multiply Matrix T(x, ω i ) - Billions of elements Infeasible multiplication Compression (wavelet, Local PCA) Precomputed Radiance Transfer

Pacific Graphics | 25 Kaohsiung, Taiwan Precomputation-based rendering Related Work [Sloan et al. 02,03] Low-freq shadows, inter-reflections [Xu et al. 08] Dynamic scene, BRDF editing [Liu et al. 04], [Huang et al. 10] High-freq shadows, inter-reflections Still use slow and inaccurate LPCA !

Pacific Graphics | 25 Kaohsiung, Taiwan BTF compression [Müller et al. 03], [Filip et al. 09] Related Work Simpler LPCA: k-means problem Better performance [Phillips 02], [Elkan 03], [Hamerly10] Better accuracy [Arthur et al. 07], [Kanugo et al. 02]

Pacific Graphics | 25 Kaohsiung, Taiwan Input High-dimensional points (rows of T) Number of clusters k Compression Problem Output Find k clusters – i.e. low-dimensional subspaces x 13 x 14 x 104 x 960

Pacific Graphics | 25 Kaohsiung, Taiwan Guess k clusters (i.e. subs.) Initialize by randomly selected centers LPCA – The Algorithm Assign each point to the nearest cluster Update PCA in the cluster Repeat until convergence Generate seeds Classification Update Until converge

Pacific Graphics | 25 Kaohsiung, Taiwan Motivation Inaccurate Inefficient For each point compute distance to all clusters a i Prone to get stuck in a local optimum x a1a1 a2a2 akak Generate seeds Classification Update Until converge

Pacific Graphics | 25 Kaohsiung, Taiwan Our Contribution Inaccurate Inefficient For each point compute distance to all clusters a i Prone to get stuck in a local optimum SortMeans++ x a1a1 a2a2 akak SortCluster LPCA (SC-LPCA) Generate seeds Classification Update Until converge

Pacific Graphics | 25 Kaohsiung, Taiwan Improving Performance SortCluster-LPCA (SC-LPCA) Improving Accuracy SortMeans++ Results Outline

Pacific Graphics | 25 Kaohsiung, Taiwan If d(c a,c b ) ≥ 2d(x,c a ) ∆- inequality [Phillips 02] Accelerated k-means x d(c a,c b ) d(x,c b ) d(x,c a ) cbcb caca → d(x,c b ) ≥ d(x,c a ) → d(x,c b ) not necessary to compute !

Pacific Graphics | 25 Kaohsiung, Taiwan How does it work ? We know: potentially nearest cluster to x We know: Distances of other cluster w.r.t. c a Check d(c a,c b ) ≥ 2d(x,c a ) Compute d(x,c a ) Compute d(x,c b ) caca cbcbc x Check d(c a,c c ) ≥ d(x,c a )+d(x,c b ) c b becomes a new nearest cluster

Pacific Graphics | 25 Kaohsiung, Taiwan Our Contribution: From k-means to LPCA x caca cbcb d(c a,c b ) d(x,c b ) x d(x,ab)d(x,ab) d(x,ab)d(x,ab) d(aa,ab)d(aa,ab) abab a k-meansLPCA Piecewise reconstruction Piecewise reconstruction in low-dimensional subspaces

Pacific Graphics | 25 Kaohsiung, Taiwan Distance between subspaces d(a a,a b ) = inf { ║p - q║; p in a a, q in a b } ∆-inequality for LPCA a abab x d(x,ab)d(x,ab) d(x,ab)d(x,ab) d(aa,ab)d(aa,ab) ∆-inequality for subspaces If d(a a,a b ) ≥ 2d(x,a b ) → d(x,a b ) ≥ d(x,a b ) → d(x,a b ) not necessary to compute !

Pacific Graphics | 25 Kaohsiung, Taiwan Our SortCluster-LPCA When assigning x Start from a j Proceed a i in increasing order of distances w.r.t. a j Check ∆-inequality For all a i precompute Distances to each others Ordering Precompute distances Generate seeds Classification Update Until converge using ∆-ineq.

Pacific Graphics | 25 Kaohsiung, Taiwan Improving Performance SortCluster-LPCA (SC-LPCA) Improving Accuracy SortMeans++ Results Outline

Pacific Graphics | 25 Kaohsiung, Taiwan Observation Error comes from poor selections of cluster centers LPCA Accuracy LPCA prone to stuck in local optimum

Pacific Graphics | 25 Kaohsiung, Taiwan Some heuristic Farthest first [Hochbaum et al. 85] Sum based [Hašan et al. 06] k-means++ [Arthur and Vassil. 07] … Our approach: SortMeans++ Based on k-means++ Faster Generation of Seeds Generate seeds Classification Update Until converge Precompute distances using ∆-ineq.

Pacific Graphics | 25 Kaohsiung, Taiwan Select initial seeds Our SortMeans++ Select 1 st seed at random Take 2 nd seed with probability equal distances Recluster using ∆-inequality Take 3 rd seed with probability equal distances Recluster …

Pacific Graphics | 25 Kaohsiung, Taiwan Improving Performance SortCluster-LPCA (SC-LPCA) Improving Accuracy SortMeans++ Results Outline

Pacific Graphics | 25 Kaohsiung, Taiwan Evaluate method with different parameters Scalability with the subspace dimension Results More than 5x speed-up

Pacific Graphics | 25 Kaohsiung, Taiwan Did several iterations of (SC)LPCA up to 24 basis Overall Performance ModelVertices [#]LPCASC-LPCASpeed UpPRT Horse 67.6k3h 48m11m20.3x22.5 s Dragon 57.5k3h 1m28m6.4x25.5 s Buddha 85.2k4h 38m50m5.6x31.6 s Disney 106.3k5h 50m1h 8m5.1x46.5 s

Pacific Graphics | 25 Kaohsiung, Taiwan Latency and accuracy of seeding algs: Improving Accuracy Our SortMeans++ Generally lowest error & fast Improve performance of SC-LPCA !

Pacific Graphics | 25 Kaohsiung, Taiwan SC-LPCA (accelerated LPCA) Avoid unnecessary distance comp. Speed-up of 5 to 20 on our PRT data Without changing output ! Conclusion Improve accuracy (SortMeans++) More accurate data approximation Future work Test on other CG data GPU acceleration Generate seeds Classification Update Until converge Precompute distances using ∆-ineq. SortMeans++

Pacific Graphics | 25 Kaohsiung, Taiwan SC-LPCA speed-up of about only 1.5x Reason: Small number of subspaces BTF Compression Try several data sets

Pacific Graphics | 25 Kaohsiung, Taiwan Acknowledgement European Community Marie Curie Fellowship PIOF-GA Ministry of Education, Czech Republic Research program LC Anonymous reviewers The End Thank You for your attention