Image Spaces. What might an image space be

Similar documents
Early Work by D Arcy Thompson

Apply change-of-basis formula to rewrite x as a linear combination of eigenvectors v j.

Chapter 1. Complex Numbers. Dr. Pulak Sahoo

Lecture Notes for Analysis Class

Fundamental Concepts: Surfaces and Curves

Math 508 Exam 2 Jerry L. Kazdan December 9, :00 10:20

CALCULUS BASIC SUMMER REVIEW

U8L1: Sec Equations of Lines in R 2

Orthogonal transformations

Complex Analysis Spring 2001 Homework I Solution

Chapter 2. Periodic points of toral. automorphisms. 2.1 General introduction

U8L1: Sec Equations of Lines in R 2

Problem Cosider the curve give parametrically as x = si t ad y = + cos t for» t» ß: (a) Describe the path this traverses: Where does it start (whe t =

Coordinate Systems. Things to think about:

We will conclude the chapter with the study a few methods and techniques which are useful

NBHM QUESTION 2007 Section 1 : Algebra Q1. Let G be a group of order n. Which of the following conditions imply that G is abelian?

A widely used display of protein shapes is based on the coordinates of the alpha carbons - - C α

10-701/ Machine Learning Mid-term Exam Solution

Most text will write ordinary derivatives using either Leibniz notation 2 3. y + 5y= e and y y. xx tt t

Machine Learning Theory Tübingen University, WS 2016/2017 Lecture 11

Machine Learning for Data Science (CS 4786)

The Method of Least Squares. To understand least squares fitting of data.

Analytic Continuation

Chimica Inorganica 3

Chapter Vectors

The Jordan Normal Form: A General Approach to Solving Homogeneous Linear Systems. Mike Raugh. March 20, 2005

Outline. Linear regression. Regularization functions. Polynomial curve fitting. Stochastic gradient descent for regression. MLE for regression

ALGEBRAIC GEOMETRY COURSE NOTES, LECTURE 5: SINGULARITIES.

Math 312 Lecture Notes One Dimensional Maps

CHAPTER 5. Theory and Solution Using Matrix Techniques

Linear regression. Daniel Hsu (COMS 4771) (y i x T i β)2 2πσ. 2 2σ 2. 1 n. (x T i β y i ) 2. 1 ˆβ arg min. β R n d

Linear Transformations

Fractal geometry extends classical geometry and is more fun too!

Lecture 7: Fourier Series and Complex Power Series

Math 61CM - Solutions to homework 3

PRACTICE FINAL/STUDY GUIDE SOLUTIONS

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

Notes #3 Sequences Limit Theorems Monotone and Subsequences Bolzano-WeierstraßTheorem Limsup & Liminf of Sequences Cauchy Sequences and Completeness

Representing transformations by matrices

A) is empty. B) is a finite set. C) can be a countably infinite set. D) can be an uncountable set.

PROPERTIES OF SQUARES

September 2012 C1 Note. C1 Notes (Edexcel) Copyright - For AS, A2 notes and IGCSE / GCSE worksheets 1

18.S096: Homework Problem Set 1 (revised)

STRAIGHT LINES & PLANES

Chapter 2 The Solution of Numerical Algebraic and Transcendental Equations

Castiel, Supernatural, Season 6, Episode 18

3 Balance equations ME338A CONTINUUM MECHANICS

Math Solutions to homework 6

10.1 Sequences. n term. We will deal a. a n or a n n. ( 1) n ( 1) n 1 2 ( 1) a =, 0 0,,,,, ln n. n an 2. n term.

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

Geometry of LS. LECTURE 3 GEOMETRY OF LS, PROPERTIES OF σ 2, PARTITIONED REGRESSION, GOODNESS OF FIT

Differentiable Convex Functions

Chapter 10: Power Series

Math 21C Brian Osserman Practice Exam 2

Two or more points can be used to describe a rigid body. This will eliminate the need to define rotational coordinates for the body!

Mathematical Foundations -1- Sets and Sequences. Sets and Sequences

Physics 324, Fall Dirac Notation. These notes were produced by David Kaplan for Phys. 324 in Autumn 2001.

} is said to be a Cauchy sequence provided the following condition is true.

Machine Learning for Data Science (CS 4786)

Review Problems 1. ICME and MS&E Refresher Course September 19, 2011 B = C = AB = A = A 2 = A 3... C 2 = C 3 = =

Efficient GMM LECTURE 12 GMM II

Lesson 10: Limits and Continuity

Vector Spaces and Vector Subspaces. Remarks. Euclidean Space

AP Calculus BC Review Applications of Derivatives (Chapter 4) and f,

Introduction to Machine Learning DIS10

Ray-triangle intersection

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled

Chapter 4. Fourier Series

Regn. No. North Delhi : 33-35, Mall Road, G.T.B. Nagar (Opp. Metro Gate No. 3), Delhi-09, Ph: ,

ES.182A Topic 40 Notes Jeremy Orloff

Beurling Integers: Part 2

Homework 2. Show that if h is a bounded sesquilinear form on the Hilbert spaces X and Y, then h has the representation

MATH 1A FINAL (7:00 PM VERSION) SOLUTION. (Last edited December 25, 2013 at 9:14pm.)

Notes on iteration and Newton s method. Iteration

Algebra of Least Squares

Definition 4.2. (a) A sequence {x n } in a Banach space X is a basis for X if. unique scalars a n (x) such that x = n. a n (x) x n. (4.

, then cv V. Differential Equations Elements of Lineaer Algebra Name: Consider the differential equation. and y2 cos( kx)

5.1 Review of Singular Value Decomposition (SVD)

Expectation and Variance of a random variable

Linear Classifiers III

MATH 320: Probability and Statistics 9. Estimation and Testing of Parameters. Readings: Pruim, Chapter 4

6. Kalman filter implementation for linear algebraic equations. Karhunen-Loeve decomposition

Continuous Functions

Lecture XVI - Lifting of paths and homotopies

Real Numbers R ) - LUB(B) may or may not belong to B. (Ex; B= { y: y = 1 x, - Note that A B LUB( A) LUB( B)

MATH 10550, EXAM 3 SOLUTIONS

Correlation Regression

Optimally Sparse SVMs

The type of limit that is used to find TANGENTS and VELOCITIES gives rise to the central idea in DIFFERENTIAL CALCULUS, the DERIVATIVE.

Upper bound for ropelength of pretzel knots

THE SOLUTION OF NONLINEAR EQUATIONS f( x ) = 0.

Calculus I Practice Test Problems for Chapter 5 Page 1 of 9

6.3 Testing Series With Positive Terms

In algebra one spends much time finding common denominators and thus simplifying rational expressions. For example:

R is a scalar defined as follows:

Infinite Sequences and Series

Vector Quantization: a Limiting Case of EM

Inverse Matrix. A meaning that matrix B is an inverse of matrix A.

Linear Regression Demystified

Introduction to Optimization Techniques

Transcription:

Image Spaces What might a image space be Map each image to a poit i a space Defie a distace betwee two poits i that space Mabe also a shortest path (morph) We have alread see a simple versio of this, i which each -piel image is mapped to a poit i R^, ad Euclidea distace is used Also, we ve cosidered liear subspaces (Eigefaces, Fisherfaces) Each poit is mapped to earest locatio o the subspace Shortest path i R^ is just liear iterpolatio of the images, which does t seem like the right morph What is shortest path with Eigefaces?

Riemaia Maifold More geeral otio of a image space Ca have differet topolog tha Euclidea space Ca represet o-liear subsets of images (more o this is a few weeks) Ca provide more geeral sese of distaces Maifold A smooth maifold of dimesio m is a locall compact Hausdorff space M together with the followig collectio of data (heceforth called atlas or smooth structure) cosistig of: A ope cover {U i } of M Cotiuous ijective maps F i : U i ->R m (called charts or local coordiates) such that: if U U 0 the trasitio map j i Ψ Ψ i is smooth j : Ψ i m ( U U ) R Ψ ( U U ) i j j i j R Lectures o the Geometr of Maifolds b Nicolaescu m

Maifold - iformal A maifold is: A set (collectio of images) with the usual topological properties (eg, ot discrete) A mappig from the eighborhood of each poit to Euclidea space of fied dimesio So that these mappigs fit together smoothl Eample: the surface of a sphere Eample: a surface that is topologicall a sphere The defiitio implies: At a poit o the maifold, we ca costruct a taget space Riema Maifold A Riema Maifold is a pair (M,g) cosistig of a smooth maifold M ad a metric g o the taget budle, ie a smooth smmetric positive defiite tesor field o M g is called a Riema metric o M The taget budle is (iformall) the collectio of taget spaces of M 3

Riema Maifold - ituitio We defie a local distace o the maifold At a poit, for a directio we move i, there is a local distace defied This distace is locall liear If we defie the distace for m orthogoal directios, the distace i a other directio is a liear combiatio of these Eample: a surface i Euclidea space that is topologicall a sphere with the usual Euclidea distace Geodesic Aalogous to lies, geodesics are shortest paths betwee poits Shortest paths locall, but ot globall For a two poits ver close together o the geodesic, it is the shortest path Eample: o a sphere, a two poits are coected b two geodesic paths, alog two directios of the great circle coectig them 4

Wh maifolds? Seems like correct mathematical otio of a image space with distaces Geeralit greater tha Euclidea space Image space ma be topologicall like a sphere, ot like R Offers much more fleible distaces Kedall s shape space Two sets of D poits Mostl we assume there eists a correct oeto-oe correspodece Ad this correspodece is give This is ver atural i morphometrics, where poits are measured ad labeled I visio we must solve for correspodece Net class we ll look at papers that do this 5

Shape Space What is shape? Qualities of poits that do t deped o traslatio, rotatio or scale So describe poits idepedet of similarit trasformatio Remove traslatio Simplest wa, traslate so poit is at origi, the remove poit oe More elegat, traslate ceter of mass to origi, remove a poit Scale so that sum Xi ^ = Resultig set of poits is called pre-shape Pre because we have t removed rotatio et Notatio:, U ad X deote sets of ormalized poits Poits called Xi ad Ui, with coordiates (i,i), (ui, vi) Pre-shape If we started with poits, we ow have - so that: sum i^ + i^ = So we ca thik of these coordiates as lig o a uit hpersphere i (-)- dimesioal space 6

Shape If we cosider all possible rotatios of a set of ormalized poits, these trace out a closed, D curve i pre-shape space Distaces betwee shapes ca be thought of as distaces betwee these curves Notice that to compute distace, without loss of geeralit we ca assume that oe set of poits (U) does ot rotate, sice rotatig both poit sets b the same amout does t chage distaces Procrustes Distaces Full Procrustes Distace D F mi(s, ) U sxr() That is, we fid a scalig ad rotatio of X that miimizes the euclidea distace to U (R() meas rotate b ) Partial Procrustes Distace D P mi() U XR() That is, rotate X to miimize the euclidea distace to U Procrustes Distace ρ Rotate X to miimize the geodesic distace o the sphere from X to U 7

8 Liear Pose Solvig We ca liearl fid optimal similarit trasformatio that matches X to U (ie, miimize sum AXi-Ui ^, where A is a similarit trasformatio This is asmmetric betwee X ad U I same wa we ca liearl compute Full Procrustes Distace This is smmetric Leads immediatel to other procrustes distaces Liear Pose: D rotatio, traslatio ad scale si, cos with cos si si cos s b s a t a b t b a t t s v v v u u u = = = Notice a ad b ca take o a values Equatios liear i a, b, traslatio Solve eactl with poits, or overcostraied sstem with more s a b a s = + = cos

Similarit Matchig Give poit sets X ad U, compare b fidig similarit trasformatio A that miimizes AX-U X = poits X, X U = poits U U Fid A to miimize sum AXi Ui ^ This is just a straightforward, liear problem Takig derivatives with respect to four ukows of A gives four liear equatios i four ukows Issues with this approach It is asmmetric Ok whe comparig a model to a image Not so sesible for comparig two shapes 9

0 Note that we ow also kow how to calculate the Full Procrustes Distace This is just a least-squares solutio to the overcostraied problem: = a b b a s v v v u u u cos si si cos It is ot obvious that Full Procrustes is smmetric Give two poits o the hpersphere, we ca draw the plae cotaiig these poits ad the origi D F ρ D P ρ Procrustes Distaces is ρ D P = si ( ρ/) D F = si ρ These are all mootoic i ρ So the same choice of rotatio miimizes all three D F is eas to compute, others are eas to compute from D F

Wh Procrustes Distace? Procrustes distace is most atural Our ituitio is that give two objects, we ca produce a sequece of itermediate objects o a straight lie betwee them, so the distace betwee the two objects is the sum of the distaces betwee itermediate objects This requires a geodesic Taget Space Ca compute a hperplae taget to the hpersphere at a poit i preshape space Project all poits oto that plae All distaces Euclidea Average shape eas to fid This is reasoable whe all shapes similar I this case, all distaces are similar too Note that whe ρ is small, ρ, si(ρ /), si(ρ) are all similar

Trouve ad Youes Image space is the space of all images To get a maifold, we must describe a taget space, that gives a cost to small image chages Normal Euclidea distace i this space allows itesit of a poit to chage, with a cost = square of the chage T&Y also allow image to deform, with a cost based o the smoothess of deformatio Ituitio A B With Euclidea distace, d(a,b) = d(a,c) But B seems much more similar to A, because the are related b a small deformatio C

Local Cost Let v be a deformatio This is a diffeomorphism (smooth, cotiuous oe-to-oe trasformatio) We might be iterested i o-smooth deformatios, but these are ot as ice mathematicall I(v()) is the deformed image We ca t epect two images to be idetical up to a deformatio So, add cost J()-I(v()) Use Euclidea orm here Total cost also requires a orm o v, a vector field (see paper) v ( ) I( v( ) ) v L g mi λ J + Taget Space This assigs a cost to a combiatio of deformatio ad itesit chage However, we eed a cost for chages i the image A image chage is cosistet with a deformatio + some itesit chage Ie, there are a ifiite umber of was to create a image chage We defie the cost of the image chage to be the ifium of all of these This defies a image maifold 3

Geodesics We have defied a local cost o ifiitesimal image chages For ti chages, we ca miimize over deformatios fairl easil, because everthig is liear To fid the distace betwee two images, we must compute a geodesic path betwee them This also gives us a morph betwee them Computig geodesics Gradiet descet Start with some path betwee images, discretizig time Path is represeted b discrete represetatio over deformatio at each time Durrlema describes use of kerels here Ad b chages i itesit at each time Compute derivatives ad miimize path Lots of variables, but this ca work i practice Geodesic shootig Geodesic path is etirel determied b iitial chage Pick some chage, calculate path, measure distace to target image, ad correct 4

Eample of Geodesic 5