Shape analysis on Lie groups and Homogeneous Manifolds with applications in computer animation

Similar documents
The Square Root Velocity Framework for Curves in a Homogeneous Space

Geodesic shooting on shape spaces

arxiv: v1 [math.dg] 31 Jul 2015

An Efficient Representation for Computing Geodesics Between n-dimensional Elastic Shapes

II. DIFFERENTIABLE MANIFOLDS. Washington Mio CENTER FOR APPLIED VISION AND IMAGING SCIENCES

DIFFERENTIAL GEOMETRY, LECTURE 16-17, JULY 14-17

Introduction to Algebraic and Geometric Topology Week 14

LECTURE 15: COMPLETENESS AND CONVEXITY

Chapter 3. Riemannian Manifolds - I. The subject of this thesis is to extend the combinatorial curve reconstruction approach to curves

Metrics on the space of shapes

Geodesic Equivalence in sub-riemannian Geometry

Hyperbolic Geometry on Geometric Surfaces

Riemannian Metrics on the Space of Solid Shapes

Chapter 14. Basics of The Differential Geometry of Surfaces. Introduction. Parameterized Surfaces. The First... Home Page. Title Page.

Kinematics. Chapter Multi-Body Systems

1 First and second variational formulas for area

Reading. Realistic Character Animation. Modeling Realistic Motion. Two Approaches

THEODORE VORONOV DIFFERENTIAL GEOMETRY. Spring 2009

Shape Analysis of Elastic Curves in Euclidean Spaces

LECTURE 16: CONJUGATE AND CUT POINTS

On isometries of Finsler manifolds

Metamorphoses for Pattern Matching

Variational inequalities for set-valued vector fields on Riemannian manifolds

B 1 = {B(x, r) x = (x 1, x 2 ) H, 0 < r < x 2 }. (a) Show that B = B 1 B 2 is a basis for a topology on X.

Shape Metrics Based on Elastic Deformations

Durham Research Online

Geodesic Shape Spaces of Surfaces of Genus Zero

Discriminative Direction for Kernel Classifiers

Distance to curves and surfaces in the Heisenberg group

Differential Geometry Exercises

CALCULUS ON MANIFOLDS. 1. Riemannian manifolds Recall that for any smooth manifold M, dim M = n, the union T M =

Preconditioned space-time boundary element methods for the heat equation

Affine invariant Fourier descriptors

ANALYTIC DEFINITIONS FOR HYPERBOLIC OBJECTS. 0. Introduction

Smooth Dynamics 2. Problem Set Nr. 1. Instructor: Submitted by: Prof. Wilkinson Clark Butler. University of Chicago Winter 2013

AFFINE IMAGES OF RIEMANNIAN MANIFOLDS

Invariant Nonholonomic Riemannian Structures on Three-Dimensional Lie Groups

BIHARMONIC WAVE MAPS INTO SPHERES

The Karcher Mean of Points on SO n

Loos Symmetric Cones. Jimmie Lawson Louisiana State University. July, 2018

EXPOSITORY NOTES ON DISTRIBUTION THEORY, FALL 2018

Vectors. January 13, 2013

A sampling theory for compact sets

Study guide for Exam 1. by William H. Meeks III October 26, 2012

A LOWER BOUND ON THE SUBRIEMANNIAN DISTANCE FOR HÖLDER DISTRIBUTIONS

arxiv: v3 [math.dg] 16 Oct 2016

MSMS Basilio Bona DAUIN PoliTo

Some aspects of the Geodesic flow

Deforming conformal metrics with negative Bakry-Émery Ricci Tensor on manifolds with boundary

Bredon, Introduction to compact transformation groups, Academic Press

Optimisation on Manifolds

Comparison for infinitesimal automorphisms. of parabolic geometries

Trajectory-tracking control of a planar 3-RRR parallel manipulator

CS 468. Differential Geometry for Computer Science. Lecture 17 Surface Deformation

Introduction to Teichmüller Spaces

Sub-Riemannian geometry in groups of diffeomorphisms and shape spaces

A CONSTRUCTION OF TRANSVERSE SUBMANIFOLDS

Uniqueness of the Fisher Rao metric on the space of smooth densities

Review of Lagrangian Mechanics and Reduction

Information geometry for bivariate distribution control

William P. Thurston. The Geometry and Topology of Three-Manifolds

Non-linear Dimensionality Reduction

LECTURE 10: THE PARALLEL TRANSPORT

Inextensible Flows of Curves in Lie Groups

Welcome to Copenhagen!

Distances, volumes, and integration

Optimal Polynomial Admissible Meshes on the Closure of C 1,1 Bounded Domains

arxiv:math/ v1 [math.dg] 23 Dec 2001

A motion planner for nonholonomic mobile robots

Wave equation on manifolds and finite speed of propagation

A Riemannian Framework for Denoising Diffusion Tensor Images

Geodesics on Shape Spaces with Bounded Variation and Sobolev Metrics

A simplicial gauge theory on spacetime

Isodiametric problem in Carnot groups

SPHERES IN THE CURVE COMPLEX

L19: Fredholm theory. where E u = u T X and J u = Formally, J-holomorphic curves are just 1

Isometries ( ) Dr. Emanuele Rodolà Matthias Vestner Room , Informatik IX

On the exponential map on Riemannian polyhedra by Monica Alice Aprodu. Abstract

4.7 The Levi-Civita connection and parallel transport

Introduction to Differential Geometry

You Are How You Walk: Gait Recognition from Motion Capture Data

13 Path Planning Cubic Path P 2 P 1. θ 2

GEOMETRY OF THE FISHER RAO METRIC ON THE SPACE OF SMOOTH DENSITIES ON A COMPACT MANIFOLD

STATISTICAL ANALYSIS OF SHAPES OF 2D CURVES, 3D CURVES & FACIAL SURFACES. Anuj Srivastava

1. Geometry of the unit tangent bundle

Impulsive Control of Lagrangian Systems and Locomotion in Fluids. Alberto Bressan

Minimizing properties of geodesics and convex neighborhoods

Chordal cubic spline interpolation is fourth order accurate

From the Heisenberg group to Carnot groups

Index theory on manifolds with corners: Generalized Gauss-Bonnet formulas

A CHARACTERIZATION OF WARPED PRODUCT PSEUDO-SLANT SUBMANIFOLDS IN NEARLY COSYMPLECTIC MANIFOLDS

Continuous Functions on Metric Spaces

LECTURE 15-16: PROPER ACTIONS AND ORBIT SPACES

ON THE FOLIATION OF SPACE-TIME BY CONSTANT MEAN CURVATURE HYPERSURFACES

On the existence of isoperimetric extremals of rotation and the fundamental equations of rotary diffeomorphisms

G-code and PH curves in CNC Manufacturing

A Variational Model for Data Fitting on Manifolds by Minimizing the Acceleration of a Bézier Curve

An Introduction to the Stolz-Teichner Program

Pseudo-Poincaré Inequalities and Applications to Sobolev Inequalities

Transcription:

Shape analysis on Lie groups and Homogeneous Manifolds with applications in computer animation Department of Mathematical Sciences, NTNU, Trondheim, Norway joint work with Markus Eslitzbichler and Alexander Schmeding Geometric Numerical Integration Oberwolfach, March 21st 2016

Outline Analysis of shapes in vector spaces. Character animation and skeletal animation. Analysis of shapes on Lie groups. Applications in: curve blending, projection from open curves to closed curves, and distances between curves. Examples in computer animation.

Analysis of shapes Shapes are unparametrized curves in a vector space or on a manifold.

Analysis of shapes Shapes are unparametrized curves in a vector space or on a manifold. Example: object recognition, objects can be represented by their contours, i.e. closed planar curves.

Analysis of shapes Shapes are unparametrized curves in a vector space or on a manifold. Example: object recognition, objects can be represented by their contours, i.e. closed planar curves. Image recognition: a tennis player a tennis racket and a ball.

Shapes Shapes are unparametrized curves in a vector space or on a manifold. Definition of shapes via an equivalence relation: let I R an interval, consider P = Imm(I, M) = {c C (I, M) ċ(t) 0}, P is called pre-shape space (an infinite dimensional manifold). Let c 0, c 1 P then c 0 c 1 ϕ c 0 = c 1 ϕ with ϕ Diff + (I) a orientation preserving diffeomorphism on I

Shapes Shapes are unparametrized curves in a vector space or on a manifold. Definition of shapes via an equivalence relation: let I R an interval, consider P = Imm(I, M) = {c C (I, M) ċ(t) 0}, P is called pre-shape space (an infinite dimensional manifold). Let c 0, c 1 P then c 0 c 1 ϕ c 0 = c 1 ϕ with ϕ Diff + (I) a orientation preserving diffeomorphism on I shape: [c 0 ]

Shapes Shapes are unparametrized curves in a vector space or on a manifold. Definition of shapes via an equivalence relation: let I R an interval, consider P = Imm(I, M) = {c C (I, M) ċ(t) 0}, P is called pre-shape space (an infinite dimensional manifold). Let c 0, c 1 P then c 0 c 1 ϕ c 0 = c 1 ϕ with ϕ Diff + (I) a orientation preserving diffeomorphism on I shape: Shape space: [c 0 ] S = Imm(I, M)/

Reparametrization invariance of shapes Let Diff + (I) = {ϕ C (I, I) ϕ (t) > 0} be the set of smooth, orientation preserving, invertible maps. Open curves. I = [0, 1] 1 1 1 sin(t) 0.5 phi(t) 0.5 sin(phi(t)) 0.5 0 0.6 0.8 1 cos(t) 0 0 0.5 1 t 0 0.6 0.8 1 cos(phi(t)) (cos(t), sin(t)), ϕ t 3 4 t2 + t, (cos(ϕ(t)), sin(ϕ(t))) 4

Reparametrization invariance of shapes Let Diff + (I) = {ϕ C (I, I) ϕ (t) > 0} be the set of smooth, orientation preserving, invertible maps. Open curves. I = [0, 1] 1 1 1 sin(t) 0.5 phi(t) 0.5 sin(phi(t)) 0.5 0 0.6 0.8 1 cos(t) 0 0 0.5 1 t 0 0.6 0.8 1 cos(phi(t)) (cos(t), sin(t)), ϕ t 3 4 t2 + t, (cos(ϕ(t)), sin(ϕ(t))) 4 Closed curves. Diff + (S 1 ) = {ϕ C (S 1, S 1 ) ϕ (t) > 0} 2π 0 0 2π

Distance function on S Applications often require a distance function to measure similarities between shapes. Let d P be a distance function on P (on parametrized curves) then Distance on S: d S ([c 0 ], [c 1 ]) = inf d P (c 0, c 1 ϕ). ϕ Diff + (I) But we need also to check that d S is well defined, i.e. is independent on the choice of representatives c 0 for [c 0 ] and c 1 for [c 1 ].

Distance function on S Applications often require a distance function to measure similarities between shapes. Let d P be a distance function on P (on parametrized curves) then Distance on S: d S ([c 0 ], [c 1 ]) = inf d P (c 0, c 1 ϕ). ϕ Diff + (I) But we need also to check that d S is well defined, i.e. is independent on the choice of representatives c 0 for [c 0 ] and c 1 for [c 1 ]. Computational methods for d S : gradient flows dynamic programming

Distance on P d P (c 0, c 1 ) it is usually obtained by defining a Riemannian metric on the infinite dimensional manifold P of parametrized curves: G c T c P T c P R and taking the length of the geodesic α between c 0 P and c 1 P wrt G c, i.e. d P (c 0, c 1 ) = length(α(c 0, c 1 )) α(c 0, c 1 ) is the shortest path between c 0 and c 1 wrt G c We will proceed differently and use the SRV transform R P C, with C a vector space where we can (and will) use the L 2 metric.

Virtual characters and skeletal animation Virtual character: a closed surface in R 3 (triangle mesh). Motions of characters via skeletal animation approach. Skeleton consisting of bones connected by joints.

Virtual characters and skeletal animation Virtual character: a closed surface in R 3 (triangle mesh). Motions of characters via skeletal animation approach. Skeleton consisting of bones connected by joints.

Virtual characters and skeletal animation Virtual character: a closed surface in R 3 (triangle mesh). Motions of characters via skeletal animation approach. Skeleton consisting of bones connected by joints. The coordinates of the vertices of the triangle mesh are specified in a coordinate system aligned with the bone. In the animation the movement of the vertices is determined by the bones.

Character animation and skeletal animation Skeleton: rooted tree made of bones and joints. Configuration space J = SE(3) n or J = SO(3) n (for human caracters). Character s pose specified by assigning values to the degrees of freedom. Animation: α [a, b] J, a curve on J, [a, b] interval of time. Motion capturing (recording curves on J ). right fingers right wrist right thumb Motion manipulation consider entire animations as shapes belonging to S. Figure: Skeleton: each node corresponds to a Q(t) SO(3) right hand right radius right humerus left toes left foot left tibia rright clavicle left femur left hipjoint head upperneck lowerneck thorax upperback lowerback root right hipjoint left clavicle right femur left humerus right tibia right foot right toes left radius left thumb left wrist left hand left fingers

Motion capturing Generating the data: α [a, b] J, a curve on J = SO(3) n motion capturing with and without markers

Shape analysis on Lie groups: spaces and metrics P = Imm(I, G) smooth functions with first derivative 0 S = Imm(I, G)/Diff + (I) shape space

Shape analysis on Lie groups: spaces and metrics P = Imm(I, G) smooth functions with first derivative 0 S = Imm(I, G)/Diff + (I) shape space Plan: we aim to obtain a distance function on S by d S ([c 0 ], [c 1 ]) = with d P a distance on P. inf d P (c 0, c 1 ϕ) (1) ϕ Diff + (I)

Shape analysis on Lie groups: spaces and metrics P = Imm(I, G) smooth functions with first derivative 0 S = Imm(I, G)/Diff + (I) shape space Plan: we aim to obtain a distance function on S by d S ([c 0 ], [c 1 ]) = with d P a distance on P. inf d P (c 0, c 1 ϕ) (1) ϕ Diff + (I) Definition. We say d P is a reparametrization invariant distance function on P iff d P (c 0, c 1 ) = d P (c 0 ϕ, c 1 ϕ) ϕ Diff + (I). (2) Proposition If d P is a reparametrization invariant distance function on P then d S ([c 0 ], [c 1 ]) as defined in (1) is independent of the choice of representatives of [c 0 ] and [c 1 ].

Tools to work with curves on G C (I, G) is an infinite dimensional Lie group, C (I, g) infinite dimensional Lie algebra

Tools to work with curves on G C (I, G) is an infinite dimensional Lie group, C (I, g) infinite dimensional Lie algebra The evolution operator of a regular (e.g. finite dimensional) Lie group G with Lie algebra g: Evol C (I, g) C (I, G) = {c C (I, G) c(0) = e} Evol(q)(t) = c(t), where c t = R c(t) (q(t)), c(0) = e, is a diffeomorphism. Evol C (I, g) C (I, G)

Tools to work with curves on G C (I, G) is an infinite dimensional Lie group, C (I, g) infinite dimensional Lie algebra The evolution operator of a regular (e.g. finite dimensional) Lie group G with Lie algebra g: Evol C (I, g) C (I, G) = {c C (I, G) c(0) = e} Evol(q)(t) = c(t), where c t = R c(t) (q(t)), c(0) = e, Evol C (I, g) C (I, G) is a diffeomorphism. The inverse of the evolution operator is the so called right logarithmic derivative δ r C (I, G) C (I, g), δ r g = R 1 g (ġ). H. Glöckner, arxiv:1502.05795v3, March 2015. A. Kriegl and P. W. Michor, The convenient setting of global analysis.

SRVT for curves on G and distance on P SRVT: square root velocity transform. Let, be a right-invariant metric on G and the induced norm on tangent spaces, R {c Imm(I, G) c(0) = e} {v C (I, g) v(t) 0} δ r c q(t) = R(c)(t) = δr c = R 1 c(t) (ċ(t)) ċ(t) with inverse R 1 {v C (I, g) v(t) 0} {c Imm(I, G) c(0) = e}, R 1 (q)(t) = Evol(q q ) = c(t).

SRVT for curves on G and distance on P SRVT: square root velocity transform. Let, be a right-invariant metric on G and the induced norm on tangent spaces, R {c Imm(I, G) c(0) = e} {v C (I, g) v(t) 0} δ r c q(t) = R(c)(t) = δr c = R 1 c(t) (ċ(t)) ċ(t) with inverse R 1 {v C (I, g) v(t) 0} {c Imm(I, G) c(0) = e}, R 1 (q)(t) = Evol(q q ) = c(t). Reparametrization invariant distance on P 1 d P (c 0, c 1 ) = d L 2(R(c 0 ), R(c 1 )) = ( q 0 (t) q 1 (t) 2 2 dt) I Proposition d P is reparametrization invariant. Distance on S d S ([c 0 ], [c 1 ]) = inf ( q 0 (t) q 1 (t) 2 dt) ϕ Diff + (I) I 1 2

Connections to the elastic metric Elastic metric on P = Imm(I, G). Using the right invariant metric, on G we can define where G T P T P R G c (h, k) = I [a 2 D s h, v D s k, v ] ds (tangential) (normal) + I [b 2 ( D s h D s h, v v 2 D s k D s k, v v 2 )] ds, here the integration is with respect to arc-length, ds = c (t) dt, and v = c (t) c (t), D sh = h(t(s)) 1 h = s c (t) t. A family of Sobolev type metrics of order one.

Connections to the elastic metric Assume I = [0, 1], R Imm(I, G) C (I, g) Theorem The pullback of the L 2 inner product on C (I, g) to P = Imm(I, G), by the SRV transform R is the elastic metric G c (h, h) = I D s h D s h, v v 2 + 1 4 D sh, v 2 ds, and D s h = ḣ ċ, v = ċ ċ. D s denotes differentiation with respect to arc length, v is the unit tangent vector of c and ds denotes integration with respect to arc length. For computational purposes, we can transform the curves with R and then use the L 2 metric.

Interpolation of curves (motion blending) Motion blending on G Geodesic paths α [0, 1] P between two parametrized curves on the Lie group G: c = α(0, t), d = α(1, t) we get (visually convincing) deformations from c to d α(x, t) = R 1 ((1 x)r(c) + x R(d))(t).

Original curves Reparametrized No reparam. Reparametrized

Obstacle example (motion blending) Elastic reparam. Feature reparam. SO(3) no reparam. t SO(3) reparam.

Closed curves Using SRVT R, we can identify curves c P = Imm(I, G) with R(c) C (I, g) Open curves C o = R(Imm(I, G))

Closed curves Using SRVT R, we can identify curves c P = Imm(I, G) with R(c) C (I, g) Open curves C o = R(Imm(I, G)) = {q C (I, g) q 0}

Closed curves Using SRVT R, we can identify curves c P = Imm(I, G) with R(c) C (I, g) Open curves Closed curves C o = R(Imm(I, G)) = {q C (I, g) q 0} C c = R({c Imm(I, G) c(0) = c(1) = e}) C c = r 1 (e), r = ev 1 Evol sc, r C o G ev 1 is the evaluation operator evaluating a curve at t = 1, while sc is the map sc(q) = q q, and we notice that r(q) = R 1 (q)(1). Theorem C c is a submanifold of finite codimension of C (I, g)

Curve closing Projection from C o onto C c by means of a constrained minimization problem 1 min q C c 2 q q 0, q 0 C o Instead of minimizing the distance from closed curves to q 0 we minimize the closure constraint:

Curve closing Projection from C o onto C c by means of a constrained minimization problem 1 min q C c 2 q q 0, q 0 C o Instead of minimizing the distance from closed curves to q 0 we minimize the closure constraint: Measuring closedness. Consider φ C o R φ(q) = 1 2 log(r(q)) 2, r = ev 1 Evol sc and φ(q) = 0 q C c

Projection on the space of closed curves Theorem T q φ(f ) = grad(φ)(q), f L2 = I grad(φ)(q), f dx, The gradient vector field wrt the L 2 inner product is where grad(φ)(q) = q α(q) + α(q), α(q) = Ad T c(q) 1 AdT r(q) (log(r(q))) C (I, g) c(q) = R 1 (q) C (I, G) r(q) = R 1 (q)(1) G. q q, (3) q Projection form C o to C c : Gradient flow u τ = grad(φ)(u), u(t, 0) = q(t).

Discrete curves: piecewise continuous in G c based on discrete points { c i = c(θ i )} n i=0 c(t) = n 1 k=0 χ [θk,θ k+1 )(t) exp ( t θ k log( c k+1 c k 1 θ k+1 θ )) c k, (4) k where χ is the characteristic function. SRV transform: q = R( c) piecewise constant function in g: q = { q i } n 1 i=0 q i = η i ηi, η i = log( c i+1 c 1 i ), θ i+1 θ i. The inverse SRV transform: c = R 1 ( q): c i+1 = exp ( q i q i (θ i+1 θ i )) c i

Numerical algorithms Curve reparametrization Applying a reparametrization ϕ Diff(I) to the discrete curve c gives c with { c i } n i=0 : c i = c j exp(s log( c j+1 c 1 j )), s = ϕ(θ i) θ j θ j+1 θ j, i = 0,..., n, where j is an index such that θ j ϕ(θ i ) < θ j+1. Note that c 0 = c 0 and c n = c n Curve interpolation [0, 1] P P P with interpolation parameter s. Curve closing in SO(3) (s, c 0, c 1 ) R 1 ((1 s)r( c 0 ) + sr( c 1 )), grad(φ)(q) = q c log(c(1))c T + c log(c(1))c T, q q q, (5) c = R 1 (q) ū k+1 = ū k α k grad(φ)(ū k ), where every ū k is a discrete curve as defined above, i.e., ū k = {ūi k}n i=0.

Jumping example (closure of curves)

Handspring example (closure of curves) Original Discontinuities t Closed t

Curve closure: experiments Original Closed Figure: Discontinuities in the handspring animation.

Curve closing Original Closed t t Figure: Application of closing algorithm to a cartwheel animation.

References E. Celledoni, M. Eslitzbichler ans A. Scmeding, Shape analysis on Lie groups with applications in computer animation, arxiv:1506.00783. M. Eslitzbichler, Modelling character motions on infinite-dimensional manifolds, The Visual Computer, 2014. M. Bauer, M. Eslitzbichler, M. Grasmair, Landmark-Guided Elastic Shape Analysis of Human Character Motions, to appear, 2015. M. Bauer, M. Bruveris, S. Marsland, and P.W. Michor, Constructing reparametrization invariant metrics on spaces of plane curves, arxiv, 2012. Carnegie-Mellon. Carnegie-Mellon Mocap Database, 2003. H. Glöckner. Regularity properties of infinite-dimensional Lie groups, and semiregularity. arxiv:1208.0715 [math], August 2012. A. Kriegl and P. W. Michor. Regular infinite dimensional Lie groups. Journal of Lie Theory, 7:61 99, 1997. A. Srivastava, E. Klassen, S.H. Joshi, and I.H. Jermyn. Shape Analysis of Elastic Curves in Euclidean Spaces. IEEE Transactions on Pattern Analysis and Machine Intelligence, 33(7): 1415 1428, July 2011. Thank you for listening.