Presentation is loading. Please wait.

Presentation is loading. Please wait.

GPU-Accelerated Surface Denoising and Morphing with LBM Scheme Ye Zhao Kent State University, Ohio.

Similar presentations


Presentation on theme: "GPU-Accelerated Surface Denoising and Morphing with LBM Scheme Ye Zhao Kent State University, Ohio."— Presentation transcript:

1 GPU-Accelerated Surface Denoising and Morphing with LBM Scheme Ye Zhao Kent State University, Ohio

2 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Introduction A parallel numerical scheme for shape modeling applications –Local and explicit computation –Easy for programming –Straightforward GPU acceleration Modified from initially-designed fluid solver –Lattice Boltzmann method –Used in non-fluid applications Smoothing and morphing examples

3 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Previous Work: LBM in Computer Graphics Natural phenomena with fluids –Fluid Flows (Wei 04) –Smoke and fire (Wei03, Zhao03) –Ink dispersion (Chu 05) –Liquid mixture (Wang 06) –More … Non-fluids –Lighting (Geist 04) –Diffusion phenomena (Zhao 07)

4 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Previous Work: Denoising and Morphing Most smoothing techniques propose energy functions defined by the normal or curvature properties, and perform the constrained energy minimization –Explicit integration (Taubin 95) –Implicit fairing (Desbrun 99) Shape interpolation –With distance field (Payne 92, Cohen-Or 98) –Level set scheme (Breen and Whitaker 01, Museth 02, Lefohn 04) –PDE surface (Du and Qin 05) –Laplacian and Poisson based methods (Lipman 04, Sorkine 04, Xu 05, Yu 04)

5 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Background: Lattice Boltzmann Method A promising numerical scheme for simulating fluid dynamics Microscopic operations with essential physics Macroscopic averaged properties obey the Navier-Stokes equations Clear statistical physics background Easy implementation of complex boundaries Fully parallel algorithm

6 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM LBM: Microscopic Dynamics Microscopic particles inside fluids Fictitious particles moving along lattice links

7 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Lattice Structure

8 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Lattice Boltzmann Equation –f i : probability distribution function of particle populations on each link –e i : direction vector of each link –Ω i : Collision between particles Recover the Navier-Stokes equation –At the limit of low Mach number flows Discretize Boltzmann equation on discrete moving directions i (1988)

9 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM LBM Computation Collision: modeled as a relaxation process –τ represents the relaxation time –BGK model (1954) for equilibrium Streaming along a link to a neighbor

10 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Macroscopic Properties Density, velocity and viscosity Easily computed from packet distribution and link vectors Add body force

11 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM LBM for Non-fluids Applications Actually LBM is a special numerical solver for partial differential equations (PDE) PDEs are widely used in graphics and visualization applications –Image processing –Surface processing –Volume graphics and visualization Pros: –LBM is easy to implement both CPU and GPU –Flexible and easy to modify its scheme –Computational speed very fast with hardware acceleration

12 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Diffusion PDE with LBM For fluid dynamics –BGK equilibrium model For diffusion only, we use

13 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Recover Diffusion Equation Chapman-Enskog expansion, ε represents a small expansion parameter (Knudsen number) Use this and Taylor expansion on LBM equation

14 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Recover Diffusion Equation We get expanded equation : Summation on expanded equation over i Diffusion tensor defined by lattice structure

15 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM LBM for PDEs For a particular 3D lattice structure we obtain Model the Laplace equation Model the Poisson equation with the similar procedure by using function h as the body force in the LBM scheme

16 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Previous Results: Image Pixel densities used as the computing primitive in the LBM scheme Image merging

17 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Previous Results: Volume Voxel density as the computing primitive in the LBM scheme

18 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Process the Surface Option 1: use voxelization algorithm to generate volume data from the surface, then apply volume processing with LBM –Implemented in our previous work –Not easy to apply shape interpolation Option 2: implicitly represent the shape as distance field, then directly use the distance as the computing primitive in the LBM We use the distance field LBM in this paper

19 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Distance Field LBM Distance field Using distance in the LBM, replacing with the curvature The LBM computation with distance field simulates mean curvature flow for surface smoothing

20 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Surface Denoising In smoothing, can be defined by the curvature for anisotropic denoising

21 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Surface Denoising

22 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Surface Denoising

23 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Surface Morphing Extends our approach to the surface smoothing, we add the external expansion term to the level-set model By define body force in the LBM scheme For morphing, we define the force by the difference between the target shape and the morphing shape

24 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Surface Morphing

25 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Movie

26 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Surface Morphing

27 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Movie

28 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM GPU Acceleration Graphics processing units (GPU) –Low price –Powerful parallel machine –Booming growth rate on speed –Industry-supported continuing development Ideal general-purpose applications –Large data sets –High parallelism –Minimal dependencies between data elements The LBM algorithm is very amenable and easy to accelerate with simple and straightforward mapping

29 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Computation on GPU Texture Images Fragment Processing Fragments Fragment w/ Colors Graphics: Data Numerical Calculation Fragments Results Computation:

30 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Our Performance We extend previous LBM fluid solver on GPU to this project Modification overload is minimal Performance measured on –CPU: Intel Core2 6300 with 3.25 GB RAM –GPU: Nvidia Geforce 8800GTX with 768MB texture memory

31 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Discussion Easy solution to some PDEs in the cellular- automata originated updating rules –Nonlinear operations are implicitly implemented in its collision operation, avoiding complex numerical computations; Good programmability in implementing the core LBM algorithm –With a few lines of codes and a short coding time Straightforward mapping to GPUs for achieving great performance of simulation.

32 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Discussion Distance field generation is a bottleneck in the preprocessing Accuracy determined by the resolution of the lattice for the Eulerian approach –High accuracy increases memory consumption Quality of the resulting surfaces also defined by –Simulation resolution –Rendering method from the implicit representation

33 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Discussion GPU memory size is limited but improving very fast Multiple GPUs may be used for extremely- large data Adaptive and “Narrow-band” simulation may be used for the advanced LBM scheme

34 Ye ZhaoGPU-Accelerated Surface Denoising and Morphing with LBM Thank You! Questions?


Download ppt "GPU-Accelerated Surface Denoising and Morphing with LBM Scheme Ye Zhao Kent State University, Ohio."

Similar presentations


Ads by Google