Flattening via Multi- Dimensional Scaling Ron Kimmel Computer Science Department Geometric Image Processing Lab Technion-Israel Institute of Technology
qOn isometric surfaces and bending invariant signatures. qMulti-dimensional scaling techniques: uClassical. uLeast squares. uFast. qSurface classification: experimental results. Outline
Matching Surfaces qProblem: Given 2D surfaces, define a measure of their similarity. qClassical techniques: uFind a rigid transformation that maximizes some measure. uMatch key points on the surface. uCompare local or semi-differential invariants, e.g. matching graphs.
qIsometric surface matching via bending invariant signatures: uMap the surface into a small Euclidean space, in which isometric surfaces transform to similar (rigid) surfaces. qAdvantages: uHandle (somewhat) non-rigid objects. uA global operation, does not rely on selected key points or local invariants. Bending Invariant Signatures
Bending invariant signatures Basic Concept Input – a surface in 3D Extract from [D] coordinates in an m dimensional Euclidean space via Multi-Dimensional Scaling (MDS). Output – A 2D surface embedded in in R (for some small m) i j ij Compute geodesic distance matrix [D] between each pair of vertices δ = geodesic_distance(vertex,vertex ) [D] = δ m
Fast Marching on Surfaces Source point Euclidean Distance Geodesic Distance
Multi-Dimensional Scaling qMDS is a family of methods that map similarity measurements among objects, to points in a small dimensional Euclidean space. qThe graphic display of the similarity measurements provided by MDS enables to explore the geometric structure of the data. Stress = Σ( δ - d ) ij 2 ΣδΣδ MDS Dissimilarity measures coordinates in m-dimensional Euclidean Space Stress Function
A simple example London0 2. Stockholm Lisbon Madrid Paris Amsterdam Berlin Prague Rome Dublin x Y Stockholm London Dublin Lisbon Amsterdam Paris Prague Berlin Rome Madrid Stockholm London Dublin Lisbon Amsterdam Paris Prague Berlin Rome Madrid Stockholm London Dublin Lisbon Amsterdam Paris Prague Berlin Rome Madrid Rotation Reflection
Flattening via MDS qCompute geodesic distances between pairs of points. qConstruct a square distance matrix of geodesic distances^2. qFind the coordinates in the plane via multi- dimensional scaling. The simplest is `classical scaling’. qUse the flattened coordinates for utexturing the surface, while preserving the texture features. Zigelman, Kimmel, Kiryati, IEEE TVCG 2002 Grossmann, Kiryati, Kimmel, IEEE TPAMI 2002 uBending invariant surface matching Elad (Elbaz), Kimmel CVPR
Flattening
Distances - comparison
Texture Mapping
Fattening via MDS: 3D Original Fast Classical Least Squares Original Fast Least Squares Classical
Fattening via MDS: 3D Original Fast Classical Least Squares Original Fast Least Squares Classical
Input Surfaces
Bending Invariant Signatures Elad, Kimmel, CVPR’2001 ?
Bending Invariant Signatures ? Elad, Kimmel, CVPR’2001
Bending Invariant Signatures ? Elad, Kimmel, CVPR’2001
Bending Invariant Signatures Elad, Kimmel, CVPR’2001
Bending Invariant Signatures Elad, Kimmel, CVPR’2001
Bending Invariant Signatures 3 Original surfaces Canonical surfaces in R Elad, Kimmel, CVPR’2001
CC C C A A A A D DD D B B B B E E E E F F F F C E C C B A D E E E B C A B D B F D A D F A F F Bending Invariant Clustering q2 nd moments based MDS for clustering Original surfaces Canonical forms *A=human body *B=hand *C=paper *D=hat *E=dog *F=giraffe Elad, Kimmel, CVPR’2001
Classical Scaling Young et al Given n points in, denote Define coordinates vector The Euclidean distance between 2 points:
Define the `centering’ matrix where Let the matrix We have that and also Thus, Classical Scaling
The coordinates are related to by Thus the operation is also called `double centering’. Applying SVD, we can compute where and the coordinates can be extracted as If we choose to take only part of the eignstructure, then, our approximation minimizes the Frobenius norm
MDS Matlab code for 2D flattening Zigelman, Kimmel, Kiryati IEEE TVCG 2002
Classical Scaling The eigenvalues are the 2 nd order moments of the flattened surface, since by definition all the cross 2 nd order moments vanish by the unitarity of U, thus `flattening’.
Conclusions qA method for bending invariant signatures qBased on: uFast marching on surfaces uMDS LS/Classical/Fast uResults: uTexture mapping uBending invariant signatures uClassification of isometric surfaces.
Least Squares MDS qStandard optimization approach to solve the minimization problem of the stress cost function. qSolved via ‘scaling by maximizing convex function’ (SAMCOF) algorithm. qStarting with a random solution and iteratively minimizing another stress function, which satisfies. ƒ (x,z) ≥ ƒ (x) for x ≠ z and ƒ (z,z) = ƒ (z) qThe complexity is O(n ). qConverges to the optimal solution. 2
Fast MDS qThe fast MDS: heuristic efficient technique O(mn). qWorks recursively by generating a new dimension at each step, Providing m-dimensional coordinates after m recursion steps. qProject the vertices on a selected ‘line’. uFirst, the algorithm selects the Farthest two vertices. uNext, all other vertices are projected On that line using the cosine law. uNext step is to project all items to An (n-1) hyper plane (H) that is Perpendicular to the line that Connects those vertices. uGenerate a new distance matrix. uRepeat the last three steps m times.