490 likes | 597 Views
3D Geometry Coding using Mixture Models and the Estimation Quantization Algorithm. Sridhar Lavu Masters Defense Electrical & Computer Engineering. DSP Group. September 2002. Rice University. 3D Surfaces. Video games Animations - Bug’s Life, Toy Story 2 3D object modeling - CAD
E N D
3D Geometry Coding usingMixture Models andthe Estimation Quantization Algorithm Sridhar Lavu Masters Defense Electrical & Computer Engineering DSP Group September 2002 Rice University
3D Surfaces • Video games • Animations - Bug’s Life, Toy Story 2 • 3D object modeling - CAD • e-commerce
3D Surfaces • Geometry, color, texture • 3D scanning • Polygon meshes • Problem - large data sets • Geometry compression 100,000 triangles
Contribution • 3D geometry coder • Multilevel representation • Normal meshes • EQ algorithm • Estimation-Quantization (EQ) • Local context information • RD optimization
Related Work • Zerotree coder for the wavelet coefficients of normal meshes • RD optimization based quantization algorithm for the wavelet coefficients of meshes
Outline • 3D surface data • Multilevel representation • Normal meshes • Wavelet transform • EQ algorithm • Error metrics • Results
3D geometry data • Geometry • Polygon meshes • Geometry & connectivity Geometry 0.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.5 0.5 1.0 Connectivity 0 1 2 2 3 1 0 1 4 1 2 4 2 3 4 3 0 4
Multilevel Representations Original Coarse Multilevel triangular meshes Original Normal meshes
Normal meshes • Multilevel representation • Base mesh • Successively refine the mesh • Subdivision
Subdivision • Linear subdivision • Butterfly subdivision • Loop subdivision
Normal Meshes • Predict b and n • Find intersection • Store offset • 1 number per vertex
Wavelet Transforms • Irregular data • Lifting scheme – predict and update • Subdivision – predict step • Wavelet transforms • Butterfly wavelet transform • Loop wavelet transform
Wavelet Transforms and Normal Meshes Non-normal vertices Wavelet coefficients
Related Work - Zerotree Zerotrees Mesh zerotree coding Mesh zerotree Zerotree coding EQ coding
Review • Multilevel representations for meshes • Normal meshes • Wavelet transforms • Subdivision • Lifting • Related work - ZT based algorithm • Contribution – EQ based algorithm
3D EQ Coder • Local context information • Model for wavelet coefficients • Generalized Gaussian distribution • EQ Algorithm • Estimate Step • Quantize Step • RD Optimization
Wavelet Coefficient Model • Generalized Gaussian distribution
Wavelet Coefficient Model • Generalized Gaussian (GGD) • Shape Fixed at each level • Variance Local neighborhood • Mean Zero
EQ Algorithm • Scan the vertices • Estimate, quantize, encode • Estimate step - variance • Local neighborhood • Causal neighborhood • Quantized neighbors • Quantize step • Deadzone quantizer • RD optimization
EQ Algorithm (cont.) • RD optimization • Rate = -log(probability) • Distortion = MSE of coefficients • Entropy coding • Arithmetic coder
Normal vs. Tangential • Smooth surfaces • Global error contribution • Normal Higher • Tangential Lower • Precision • Normal Higher Lower l • Tangential Lower Higher l • Most tangential components are zero • Single quantizer per level
Summary of EQ Algorithm • Pick l • Determine ordering • Ordering of base triangles • Ordering inside each base triangle • Local causal neighborhood • Estimate s • Quantize using RD optimization • Normal vs. tangential
Performance Measure • Error metrics • MSE ? • Hausdorff distance • Min, max, mean, mean squared
Results • Metric - PSNR • Bits-per-vertex (bpv) • Reconstructed mesh vs. original mesh • Metro and MeshDev software tools
Results (Bounds) • Upper bound • Complete context • Lower bound • No context
Summary • Multilevel representations • Normal meshes • Wavelet transforms • GGD model • Local context based coder • EQ vs. ZT
Conclusion & Future Work • Conclusions • GGD model + EQ algorithm • 0.5 – 1 dB gain • Future work • Vertex based error for RD optimization • New algorithms • Space-Frequency quantization (SFQ)
Scaling Coefficients andConnectivity • Scaling coefficients • Vertices of base mesh • Uniform quantization • Connectivity • Semi-regular connectivity • Base mesh connectivity • TG Coder (lossless)
Lifting (Predict, Update) Forward Inverse
Lifting - Haar • Split • Predict • Update
EQ – Unpredictable sets • Empty causal neighborhood • Zero s estimate • Classify as unpredictable (U) set • Model U set as zero-mean GGD • Use a single s and n for U set
EQ – Threshold step • Iteration of E and Q steps • First iteration • Threshold coefficients • Partition U and P sets • Estimate s and n • Use estimates in next iteration