Spectral bases for 3D shapes representation. Spectral bases – reminder Last week we spoke of Fourier analysis  1D sine/cosine bases for signals:

Slides:



Advertisements
Similar presentations
I/O and Space-Efficient Path Traversal in Planar Graphs Craig Dillabaugh, Carleton University Meng He, University of Waterloo Anil Maheshwari, Carleton.
Advertisements

Informatik 4 Lab 1. Laboratory Exercise Overview 1. Define size of 20 radius vectors 2. DCT transformation 3. Create Microsoft Excel spreadsheet 4. Create.
3D Geometry for Computer Graphics
Least-squares Meshes Olga Sorkine and Daniel Cohen-Or Tel-Aviv University SMI 2004.
INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS, ICT '09. TAREK OUNI WALID AYEDI MOHAMED ABID NATIONAL ENGINEERING SCHOOL OF SFAX New Low Complexity.
Face Recognition Face Recognition Using Eigenfaces K.RAMNATH BITS - PILANI.
High-Pass Quantization for Mesh Encoding Olga Sorkine, Daniel Cohen-Or, Sivan Toledo Eurographics Symposium on Geometry Processing, Aachen 2003.
MATHIEU GAUTHIER PIERRE POULIN LIGUM, DEPT. I.R.O. UNIVERSITÉ DE MONTRÉAL GRAPHICS INTERFACE 2009 Preserving Sharp Edges in Geometry Images.
Watermarking 3D Polygonal Meshes in the Mesh Spectral Domain Ryutarou Ohbuchi, Shigeo Takahashi, Takahiko Miyazawa, Akio Mukaiyama.
School of Computing Science Simon Fraser University
Computer Graphics Recitation 6. 2 Motivation – Image compression What linear combination of 8x8 basis signals produces an 8x8 block in the image?
Computer Graphics Recitation 7. 2 Motivation – Image compression What linear combination of 8x8 basis signals produces an 8x8 block in the image?
Max-Plank Institut für Informatik systematic error parallelogram rule polygonal rules exact prediction Geometry Prediction for High Degree Polygons Martin.
Fourier Transform Analytic geometry gives a coordinate system for describing geometric objects. Fourier transform gives a coordinate system for functions.
Wavelet Based Image Coding. [2] Construction of Haar functions Unique decomposition of integer k  (p, q) – k = 0, …, N-1 with N = 2 n, 0
Chapter 9 Graph algorithms Lec 21 Dec 1, Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
1 Computer Science 631 Lecture 3: Morphing, Sampling Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
SWE 423: Multimedia Systems Chapter 7: Data Compression (3)
CS :: Fall 2003 MPEG-1 Video (Part 1) Ketan Mayer-Patel.
Fourier Analysis Without Tears : Computational Photography Alexei Efros, CMU, Fall 2005 Somewhere in Cinque Terre, May 2005.
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
3D Geometry for Computer Graphics
1 Computer Science 631 Lecture 4: Wavelets Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Wavelet-based Coding And its application in JPEG2000 Monia Ghobadi CSC561 project
T.Sharon-A.Frank 1 Multimedia Image Compression 2 T.Sharon-A.Frank Coding Techniques – Hybrid.
SWE 423: Multimedia Systems Chapter 7: Data Compression (5)
5. 1 JPEG “ JPEG ” is Joint Photographic Experts Group. compresses pictures which don't have sharp changes e.g. landscape pictures. May lose some of the.
Lossy Compression Based on spatial redundancy Measure of spatial redundancy: 2D covariance Cov X (i,j)=  2 e -  (i*i+j*j) Vertical correlation   
CS559-Computer Graphics Copyright Stephen Chenney Image File Formats How big is the image? –All files in some way store width and height How is the image.
Introduction to JPEG Alireza Shafaei ( ) Fall 2005.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 8 – JPEG Compression (Part 3) Klara Nahrstedt Spring 2012.
Computer Graphics Group Tobias Weyand Mesh-Based Inverse Kinematics Sumner et al 2005 presented by Tobias Weyand.
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Klara Nahrstedt Spring 2011
Prof. Amr Goneid Department of Computer Science & Engineering
Computer Graphics Some slides courtesy of Pierre Alliez and Craig Gotsman Texture mapping and parameterization.
All-Frequency Shadows Using Non-linear Wavelet Lighting Approximation Ren Ng Stanford Ravi Ramamoorthi Columbia SIGGRAPH 2003 Pat Hanrahan Stanford.
SVD Data Compression: Application to 3D MHD Magnetic Field Data Diego del-Castillo-Negrete Steve Hirshman Ed d’Azevedo ORNL ORNL-PPPL LDRD Meeting ORNL.
Huffman Code and Data Decomposition Pranav Shah CS157B.
Spectral Compression of Mesh Geometry (Karni and Gotsman 2000) Presenter: Eric Lorimer.
1 Wavelets on Surfaces By Samson Timoner May 8, 2002 (picture from “Wavelets on Irregular Point Sets”) In partial fulfillment of the “Area Exam” doctoral.
Vertices, Edges and Faces By Jordan Diamond. Vertices In geometry, a vertices is a special kind of point which describes the corners or intersections.
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
HOW JEPG WORKS Presented by: Hao Zhong For 6111 Advanced Algorithm Course.
CS654: Digital Image Analysis
Robust Watermarking of 3D Mesh Models. Introduction in this paper, it proposes an algorithm that extracts 2D image from the 3D model and embed watermark.
Copy-Paste Forgery Detection Exposing Digital Forgeries by Detecting Duplicated Image Regions (A. Popescu and H. Farid) Detection of Copy-Move Forgery.
Introduction to JPEG m Akram Ben Ahmed
Image hole-filling. Agenda Project 2: Will be up tomorrow Due in 2 weeks Fourier – finish up Hole-filling (texture synthesis) Image blending.
Mesh Segmentation via Spectral Embedding and Contour Analysis Speaker: Min Meng
IS502:M ULTIMEDIA D ESIGN FOR I NFORMATION S YSTEM M ULTIMEDIA OF D ATA C OMPRESSION Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny.
Signal Prediction and Transformation Trac D. Tran ECE Department The Johns Hopkins University Baltimore MD
Singular Value Decomposition and its applications
JPEG Compression What is JPEG? Motivation
Algorithms in the Real World
Digital Image Processing Lecture 21: Lossy Compression
Wavelets : Introduction and Examples
Morphing and Shape Processing
Data Compression.
Image Pyramids and Applications
Fourier Transform Analytic geometry gives a coordinate system for describing geometric objects. Fourier transform gives a coordinate system for functions.
Fourier Transform Analytic geometry gives a coordinate system for describing geometric objects. Fourier transform gives a coordinate system for functions.
Image Coding and Compression
Fourier Analysis Without Tears
Wavelet-based Compression of 3D Mesh Sequences
Fourier Transform Analytic geometry gives a coordinate system for describing geometric objects. Fourier transform gives a coordinate system for functions.
 = N  N matrix multiplication N = 3 matrix N = 3 matrix N = 3 matrix
Review and Importance CS 111.
Presentation transcript:

Spectral bases for 3D shapes representation

Spectral bases – reminder Last week we spoke of Fourier analysis  1D sine/cosine bases for signals:

Spectral bases – reminder Last week we spoke of Fourier analysis  2D bases for 2D signals (images)

How about 3D shapes? Problem: general 3D shapes cannot be described as height functions Height function, regularly sampled above a 2D domain General 3D shapes

Irregular meshes In graphics, shapes are mostly represented by triangle meshes

Irregular meshes In graphics, shapes are mostly represented by triangle meshes Geometry: Vertex coordinates (x 1, y 1, z 1 ) (x 2, y 2, z 2 )... (x n, y n, z n ) Connectivity: List of triangles (i 1, j 1, k 1 ) (i 2, j 2, k 2 )... (i m, j m, k m )

Irregular meshes In graphics, shapes are mostly represented by triangle meshes  The connectivity (the graph) can be very efficiently encoded About 2 bits per vertex only  The geometry (x,y,z) is heavy! When stored naively, at least 12 bits per coordinate are needed, i.e. 36 bits per vertex

How to define efficient bases? Extension of the 2D DCT basis to a general (irregular) mesh DCT???

Basis shapes We need a collection of basis functions  First basis functions will be very smooth, slowly-varying  Last basis functions will be high-frequency, oscillating We will represent our shape (mesh geometry) as a linear combination of the basis functions We will induce the basis functions from the mesh connectivity!  We assume that the connectivity is known to the decoder side (it is transferred first)

The Mesh Laplacian operator Measures the local smoothness at each mesh vertex

Laplacian operator in matrix form L matrix

Laplacian matrix L is constructed based on the connectivity alone So, if the decoder got the connectivity first, it can construct L

Spectral bases L is a symmetric n  n matrix Perform spectral analysis of L ! L = T 1 2 n Basis vectorsFrequencies, sorted in ascending order

How to represent our mesh geometry in the spectral basis? X, Y, Z  R n. Decompose in the spectral basis:

How to represent our mesh geometry in the spectral basis? Decompose the mesh geometry in the spectral basis: The first components are low-frequency The last components are high-frequency

The spectral basis First functions are smooth and slow, last oscillate a lot horse connectivity spectral basis of L = the DCT basis chain connectivity 2 nd basis function 10 th basis function 100 th basis function

Why this works? Low-frequency basis vectors are smooth and slowly-varying:  The first basis vector:  It is the smoothest possible function (Laplacian is constant zero on it)

Why this works? Low-frequency basis vectors are smooth and slowly-varying:  The first basis vector:  Lb 1 = 0 because all the rows of L sum to zero

Why this works? Low-frequency basis vectors are smooth and slowly-varying:  The following basis vectors: The frequency is small  the Laplacian operator gives small values  the shape of the function is smooth

Why this works? High-frequency basis vectors are non- smooth, oscillating: The frequency is large  the Laplacian operator gives large values  the shape of the function is less smooth!

Geometry compression As in JPEG compression, drop the high-frequency components!

Geometry compression Increasing number of participating basis vectors. The less coefficients are dropped, the less shape information is lost

Technical algorithm The encoding side:  Compute the spectral bases from mesh connectivity  Represent the shape geometry in the spectral basis and decide how many coeffs. to leave (K)  Store the connectivity and the K non-zero coefficients The decoding side:  Compute the first K spectral bases from the connectivity  Combine them using the K received coefficients and get the shape

Challenges and trade-offs Performing spectral decomposition of a large matrix ( n>1000 ) is prohibitively expensive ( O(n 3 ) )  Today’s meshes come with 50,000 and more vertices  We don’t want the decompressor to work forever! Solution: like in JPEG, work on small blocks:

Challenges and trade-offs As in JPEG, blocking artifacts appear for low bit rates, because the compression is lossy (too much information is lost)

Further info “Spectral Mesh Compression”, Zachi Karni and Craig Gotsman, ACM SIGGRAPH “3D Mesh compression using fixed spectral bases”, Z. Karni and C. Gotsman, Graphics Interface,

See you next time