In the Rigid Kingdom Alexander Bronstein, Michael Bronstein

Slides:



Advertisements
Similar presentations
Principal Component Analysis Based on L1-Norm Maximization Nojun Kwak IEEE Transactions on Pattern Analysis and Machine Intelligence, 2008.
Advertisements

Surface normals and principal component analysis (PCA)
PCA + SVD.
3D Shape Histograms for Similarity Search and Classification in Spatial Databases. Mihael Ankerst,Gabi Kastenmuller, Hans-Peter-Kriegel,Thomas Seidl Univ.
Topology-Invariant Similarity and Diffusion Geometry
Isometry-Invariant Similarity
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Discrete geometry Lecture 2 1 © Alexander & Michael Bronstein
Slides by Olga Sorkine, Tel Aviv University. 2 The plan today Singular Value Decomposition  Basic intuition  Formal definition  Applications.
Reverse Engineering Niloy J. Mitra.
Registration of two scanned range images using k-d tree accelerated ICP algorithm By Xiaodong Yan Dec
Multidimensional scaling
Numerical Optimization
Isometry invariant similarity
Principal Component Analysis
1 Numerical geometry of non-rigid shapes Lecture I – Introduction Numerical geometry of shapes Lecture I – Introduction non-rigid Michael Bronstein.
Iterative closest point algorithms
3D Geometry for Computer Graphics
Reflective Symmetry Detection in 3 Dimensions
1 GEOMETRIE Geometrie in der Technik H. Pottmann TU Wien SS 2007.
Numerical geometry of objects
Motion Analysis (contd.) Slides are from RPI Registration Class.
1 Bronstein 2 and Kimmel Extrinsic and intrinsic similarity of nonrigid shapes Michael M. Bronstein Department of Computer Science Technion – Israel Institute.
Dimensional reduction, PCA
Correspondence & Symmetry
Uncalibrated Geometry & Stratification Sastry and Yang
1 Numerical geometry of non-rigid shapes Spectral Methods Tutorial. Spectral Methods Tutorial 6 © Maks Ovsjanikov tosca.cs.technion.ac.il/book Numerical.
Niloy J. Mitra1, Natasha Gelfand1, Helmut Pottmann2, Leonidas J
Spectral Embedding Alexander Bronstein, Michael Bronstein
Numerical geometry of non-rigid shapes
Lecture 4 Unsupervised Learning Clustering & Dimensionality Reduction
1 Numerical geometry of non-rigid shapes In the Rigid Kingdom In the Rigid Kingdom Lecture 4 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
Basic Concepts and Definitions Vector and Function Space. A finite or an infinite dimensional linear vector/function space described with set of non-unique.
1 Bronstein, Bronstein, and Kimmel Joint extrinsic and intrinsic similarity of non-rigid shapes Rock, paper, and scissors Joint extrinsic and intrinsic.
Unsupervised Learning
Non-Euclidean Embedding
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
3D Geometry for Computer Graphics
3D Geometry for Computer Graphics
1 Numerical Geometry of Non-Rigid Shapes Invariant shape similarity Invariant shape similarity © Alexander & Michael Bronstein, © Michael Bronstein,
1 Numerical geometry of non-rigid shapes Non-Euclidean Embedding Non-Euclidean Embedding Lecture 6 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
CS 485/685 Computer Vision Face Recognition Using Principal Components Analysis (PCA) M. Turk, A. Pentland, "Eigenfaces for Recognition", Journal of Cognitive.
SVD(Singular Value Decomposition) and Its Applications
Summarized by Soo-Jin Kim
CSE554AlignmentSlide 1 CSE 554 Lecture 8: Alignment Fall 2014.
Presented By Wanchen Lu 2/25/2013
CSE554Laplacian DeformationSlide 1 CSE 554 Lecture 8: Laplacian Deformation Fall 2012.
Alignment Introduction Notes courtesy of Funk et al., SIGGRAPH 2004.
Machine Vision for Robots
Shape Matching for Model Alignment 3D Scan Matching and Registration, Part I ICCV 2005 Short Course Michael Kazhdan Johns Hopkins University.
Alignment and Matching
CSE554AlignmentSlide 1 CSE 554 Lecture 5: Alignment Fall 2011.
Expression-invariant Face Recognition using Geodesic Distance Isometries Kerry Widder A Review of ‘Robust expression-invariant face recognition from partially.
Shape Analysis and Retrieval Statistical Shape Descriptors Notes courtesy of Funk et al., SIGGRAPH 2004.
Axial Flip Invariance and Fast Exhaustive Searching with Wavelets Matthew Bolitho.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
Parameter estimation. 2D homography Given a set of (x i,x i ’), compute H (x i ’=Hx i ) 3D to 2D camera projection Given a set of (X i,x i ), compute.
CSE554AlignmentSlide 1 CSE 554 Lecture 8: Alignment Fall 2013.
A Flexible New Technique for Camera Calibration Zhengyou Zhang Sung Huh CSPS 643 Individual Presentation 1 February 25,
Methods for 3D Shape Matching and Retrieval
Signal & Weight Vector Spaces
1 Overview representing region in 2 ways in terms of its external characteristics (its boundary)  focus on shape characteristics in terms of its internal.
CENG 789 – Digital Geometry Processing 07- Rigid-Body Alignment Asst. Prof. Yusuf Sahillioğlu Computer Eng. Dept,, Turkey.
CSE 554 Lecture 8: Alignment
LECTURE 10: DISCRIMINANT ANALYSIS
Spectral Methods Tutorial 6 1 © Maks Ovsjanikov
Parameter estimation class 5
Multivariate Analysis: Theory and Geometric Interpretation
Feature space tansformation methods
LECTURE 09: DISCRIMINANT ANALYSIS
Presentation transcript:

In the Rigid Kingdom Alexander Bronstein, Michael Bronstein ...He had Cinderella sit down, and, putting the slipper to her foot, he found that it went on very easily, fitting her as if it had been made of wax. C. Perrault, Cinderella In the Rigid Kingdom Alexander Bronstein, Michael Bronstein © 2008 All rights reserved. Web: tosca.cs.technion.ac.il

Imagine a glamorous ball…

A fairy tale shape similarity problem

Extrinsic shape similarity Given two shapes and , find the degree of their incongruence. Compare and as subsets of the Euclidean space . Invariance to rigid motion: rotation, translation, (reflection): is a rotation matrix, is a translation vector

How to get rid of Euclidean isometries? How to remove translation and rotation ambiguity? Find some “canonical” placement of the shape in . Extrinsic centroid (a.k.a. center of mass, or center of gravity): Set to resolve translation ambiguity. Three degrees of freedom remaining…

How to get rid of the rotation ambiguity? Find the direction in which the surface has maximum extent. Maximize variance of projection of onto is the covariance matrix Second-order geometric moments of : is the first principal direction

How to get rid of the rotation ambiguity? Project on the plane orthogonal to . Repeat the process to find second and third principal directions .

Canonical basis span a canonical orthogonal basis for in .

How to get rid of the rotation ambiguity? Direction maximizing = largest eigenvector of . and correspond to the second and third eigenvectors of . admits unitary diagonalization . Setting aligns with the standard basis axes . Principal component analysis (PCA), a.k.a. Karhunen-Loéve transform (KLT), or Hotelling transform. Bottom line: the transformation brings the shape into a canonical configuration in .

Second-order geometric moments Eigenvalues of are second-order moments of . In the canonical basis, mixed moments vanish. Ratio describe eccentricity of . Magnitudes of express shape scale.

Higher-order geometric moments Second-order moments allow some discrimination. Use higher-order moments gives more discrimination. -th order moment Computed in the canonical basis. Invariant to rigid motion. Signature of moments A fingerprint of the extrinsic geometry of .

A signal decomposition intuition Moments are decomposition coefficients in the monomial basis is a Dirac delta function for and elsewhere. span .

A signal decomposition intuition uniquely identify a shape (up to a rigid motion). can be reconstructed exactly from is the bi-orthonormal basis, i.e. The monomial basis is not orthogonal. The bi-orthonormal basis is ugly, but we do not need to reconstruct .

Truncated signatures of moments Compute the truncated moment signature Construct a moments distance function, e.g. A distance function on the shape of spaces. Quantifies the extrinsic dissimilarity of and .

Moments distance is small for nearly congruent and . is large for strongly non-congruent and . If and are truly congruent, . However, does not imply that and are congruent (unless ). Which shapes are indistinguishable by ? Ideally, congruent at a coarse resolution (“low frequency”) and differing in fine details (“high frequency”). Degree of coarseness is controlled by the moments order . Geometric moments do not satisfy this requirement.

Other moments Instead of the monomial basis, other bases can be chosen Fourier basis Spherical harmonics, Zernike polynomials, wavelets, etc, etc.

Moments of joy, moments of sorrow Shape similarity is translated to similarity of moment signatures. Comparison of moments signatures is fast (e.g. Euclidean distance). Sorrow: Do not allow for partial similarity!

Iterative closest point (ICP) algorithms Given two shapes and , find the best rigid motion bringing as close as possible to : is some shape-to-shape distance. Minimum = extrinsic dissimilarity of and . Minimizer = best rigid alignment between and . ICP is a family of algorithms differing in The choice of the shape-to-shape distance. The choice of the numerical minimization algorithm.

Shape-to-shape distance The Hausdorff distance is the distance between a point and the shape . is the distance between a point and

Shape-to-shape distance A non-symmetric version is preferred to allow for partial similarity The (max-min) formulation is sensitive to outliers. Use the variant is a point-to-shape distance. Different possibilities to define .

Point-to-point distance Treat as a cloud of points. Find the closest point to on . Define the distance as

Point-to-plane distance Treat as a plane, and define the point-to-plane distance is the normal to the surface at point . Can be approximated as

Second-order point-to-shape distance Point-to-plane distance is a first-order approximation of the true point-to-shape distance. Construct a second-order approximation are the principal curvature radii at . are the principal directions. is the signed distance to the closest point.

Second-order point-to-shape distance The second-order distance approximant may become negative for some values of . Use a non-negative quadratic approximant

Second-order point-to-shape distance “Near-field” case – point-to-plane distance “Far-field” case – point-to-point distance

Second-order point-to-shape distance Second-order distance generalizes the point-to-point and the point-to- plane distances. Gives more accurate alignment between shapes. Requires principal curvatures and directions (second-order quantities).

Iterative closest point algorithm Initialize Find the closest point correspondence Minimize the misalignment between corresponding points Update Iterate until convergence…

Closest points How to find closest points efficiently? Straightforward complexity: number of points on , number of points on . divides the space into Voronoi cells Given a query point , determine to which cell it belongs.

Closest points

Approximate nearest neighbors To reduce search complexity, approximate Voronoi cells. Use binary space partition trees (e.g. kd-trees or octrees). Approximate nearest neighbor search complexity: .

Best alignment Given two sets and of corresponding points. Find best alignment A numerical minimization algorithm can be used. For some point-to-shape distances, a closed-form solution exists.

MATLAB® intermezzo Iterative closest point algorithm

Until convergence… ICP should find the solution of Instead, it solves Correspondence fixed to instead of . Not guaranteed to produce a monotonically decreasing sequence of values of . Not guaranteed to converge!

Enter numerical optimization Treat as a numerical minimization problem. Express the distance terms as a quadratic function is a 3×3 symmetric positive definite matrix, is 3×1 vector, and is a scalar.

Local quadratic approximant Point-to-point distance: Point-to-plane distance:

Local quadratic approximant Minimize over . Dependence of and on might be complicated. For small motion , hence

Minimization variables is required to be unitary (orthonormal). Enforcing orthonormality is cumbersome. Minimization w.r.t. to the rotation angles involves nonlinear functions. Under small motion assumption, Linearize rotation matrix

Let Newton be! Linearized rotation yields a quadratic objective w.r.t . Use a Newton step to find the steepest descent direction. Approximation is valid only for small steps. Use Armijo rule to find a fractional step ensuring sufficient decrease of objective function. What is a fractional step?

Fractional step Let be a small transformation, which applied times gives . is a rotation by . Hence

Iterative closest point algorithm revisited Initialize Find closest point correspondence Construct local quadratic approximant of Find Newton direction Use Armijo rule to find such that Update Iterate until convergence…

Iterative closest point algorithm revisited Coefficients of the quadratic approximant can be computed on demand using efficient nearest neighbor search. Alternative: approximate the values of in the space using a space partition tree.

Summary and suggested reading Rigid shape similarity R. C. Veltkamp and M. Hagedoorn, Shape similarity measures, properties, and constructions, (2001). Moment-based shape descriptors R. J. Prokop and A. P. Reeves, A survey of moment-based techniques for unoccluded object representation and recognition, Graphical Models and Image Processing 54 (1992), no. 5, 438–460. D. Zhang and G. Lu, Review of shape representation and description techniques, Pattern Recognition 37 (2004), 1–19. Signal decomposition and reconstruction insights M. Elad, P. Milanfar, and G. H. Golub, Shape from moments-an estimation theory perspective, IEEE Trans. Signal Processing 52 (2004), no. 7, 1814–1829. Partial shape similarity More on partial similarity in upcoming lectures…

Summary and suggested reading Iterative closest point algorithms S. Rusinkiewicz and M. Levoy, Efficient variants of the ICP algorithm, Proc. 3D Digital Imaging and Modeling (2001), 145–152. Point-to-shape distances: point-to-point, point-to-plane, second-order. Fast and approximate nearest neighbor search S. Arya and D. M. Mount, Approximate nearest neighbor searching, Proc. 4th ACM-SIAM Symposium on Discrete Algorithms (1993), 271–280. Convergence of ICP E. Ezra, M. Sharir, and A. Efrat, On the ICP algorithm, Proc. Symp. Computational Geometry (2006), 95–104. D. Arthur and S. Vassilvitskii, Worst-case and smoothed analysis of the ICP algorithm, with an application to the k-means method, Proc. Symp. Foundations of Computer Science (2006), 153–164.

Summary and suggested reading ICP from the point of view of numerical optimization N. J. Mitra, N. Gelfand, H. Pottmann, and L. Guibas, Registration of point cloud data from a geometric optimization perspective, Proc. Symp. Geometry Processing (SGP), 2004, pp. 23–32. ICP initialization and global optimality N. Gelfand, N. J. Mitra, L. Guibas, and H. Pottmann, Robust global registration, Proc. Symp. Geometry Processing (SGP) (2005). H. Li and R. Hartley, The 3D-3D registration problem revisited, Proc. ICCV, 2007.