Presentation is loading. Please wait.

Presentation is loading. Please wait.

Multi-linear Systems and Invariant Theory

Similar presentations


Presentation on theme: "Multi-linear Systems and Invariant Theory"— Presentation transcript:

1 Multi-linear Systems and Invariant Theory
in the Context of Computer Vision and Graphics Class 2: Homography Tensors CS329 Stanford University Amnon Shashua Class 2 Class 2: Homography Tensors

2 Material We Will Cover Today
2D-2D mapping of a “dynamic” point configuration Primer on Tensor Products and Covariant-Contravariant conventions Homography Tensors and their properties Class 2

3 Homography Matrix  p’ p
4 points make a basis for the projective plane p’ p Stands for the family of 2D projective transformations between two fixed images induced by a plane in space Class 2

4 Mapping of the dynamic projective plane onto itself
(movie) Points are moving along straight-line trajectories while camera changes position Class 2

5 3 snapshots of a linearly moving point
(movie) Class 2

6 Multilinear relation between p,p’,p’’ and A,B
A,B are unknown Multilinear relation between p,p’,p’’ and A,B Class 2 Class 2: Homography Tensors

7 Tensor Products Combine Linear transformations in a way that “makes sense” Coefficients of a multilinear form are arranged as a mapping Class 2

8 Tensor Products Combine Linear transformations in a way that “makes sense” Coefficients of a multilinear form are arranged as a mapping Fundamental in Group theory: construct new representations by tensor product of old representations (chemistry, physics) Appears under different formalisms: Grassman Analysis Dual Algebra, Extensors, Geometric Algebra… Class 2

9 Example: dimV=dimW=dimU=3, the regular “cross product”
U,V,W are vector spaces is bilinear if Example: dimV=dimW=dimU=3, the regular “cross product” Class 2

10 Tensor Product: Definition
The tensor product of two vector spaces V,W is a vector space equipped with a bilinear map Which is universal: for any bilinear map There is unique linear map f from to U that takes to (linear) Class 2

11 Constructing Tensor Products
be a basis for V be a basis for W is a basis for Class 2

12 Combining Linear Maps (consequence of universal property)
The map sending to is bilinear There exists a unique linear map denoted by such that Class 2

13 Example What does look like? are the 4 basis elements Class 2

14 Class 2

15 Class 2

16 Recall: “outer product” Class 2

17 To conclude, we see that the “proper” combination of two
matrices A,B (the tensor product of A,B) is a new matrix whose entries are: This brings us to the index notations, described next. Class 2

18 Index Notations Goal: represent the operations of inner-product and outer-product A vector has super-script running index when it represents a point A vector has subscript running index when it represents a hyperplane Example: Represents a point in the projective plane Represents a line in the projective plane Class 2

19 is an object (2-valence tensor) whose entries are
An outer-product: is an object (2-valence tensor) whose entries are Note: this is the outer-product of two vectors: (rank-1 matrix) A general 2-valence tensor is a sum of rank-1 2-valence tensors Class 2

20 Are outer-products consisting of the same elements, but as a mapping
Likewise, Are outer-products consisting of the same elements, but as a mapping carry each a different meaning (described later). These are also called mixed tensors, where the super-script is called contra-variant index and the subscript is called covariant index. Class 2

21 The inner-product (contraction):
Summation rule: same index in contravariant and covariant positions are summed over. This is sometimes called the “Einstein summation convention”. Class 2

22 The inner-product (contraction):
Note: this is the familiar matrix-vectors multiplication: where the super-script j runs over the rows of the matrix Note: the 2-valence tensor maps points to points Class 2

23 Maps hyperplanes (lines in 2D) to hyperplanes
Likewise, Maps hyperplanes (lines in 2D) to hyperplanes Note: this is equivalent to We have seen in the past that if is a homography Then maps lines from view 1 to view 2 Let Colinear points, i.e. the points lie on the line With the index notations we get this property immediately! Class 2

24 Maps hyperplanes (lines in 2D) to hyperplanes
The complete list: Maps points to points Maps hyperplanes (lines in 2D) to hyperplanes Maps points to hyperplanes Maps hyperplanes to points Class 2

25 This is the matrix product
More Examples: runs over the rows This is the matrix product runs over the columns Must be a point Takes a point in first frame, a hyperplane in the second frame and produces a point in the third frame Must be a matrix (2-valence tensor) if u=(1,0,0…0) then this is a slice of the tensor. Class 2

26 Class 2

27 The Cross-product Tensor
q q p Class 2

28 The cross-product tensor is defined such that
Produces the matrix i.e., the entries are 1,-1,0 Class 2

29 Class 2

30 End of Primer on Tensors
Class 2

31 Multilinear relation between p,p’,p’’ and A,B
A,B are unknown Multilinear relation between p,p’,p’’ and A,B Class 2 Class 2: Homography Tensors

32 The position of symbols does not matter (only the indices)
Let index i run over view 1, index j over view 2 and index k over view 3 The position of symbols does not matter (only the indices) Class 2

33 as a mapping and its slices
From index structure l’’ must be a line. Because For every point along the straight line trajectory determined by p,p’ then the line l’’ must the projection of that trajectory. Class 2

34 For all pairs p,p’ on matching lines through
(a matrix) For all pairs p,p’ on matching lines through the fixed points and Class 2

35 Given E we obtain 6 linear equations to solve for A
With 2 slices, one can solve for A Class 2

36 Estimation of 26 matching triplets p,p’,p’’ arising from dynamic points provide A unique solution for the dual Htensor (each triplet provides one linear constraint). The 26 points must lie on at least 4 lines (in general position), where no more than 8 points on the first line, no more than 7 points on the second line, 6 on the third, and 5 on the fourth. (proof by principle of duality with Htensor). Class 2

37 Labeled Static Points 9 linear constraints on H Appears 3 times! But
7 linearly independent constraints on H 4 (labeled) static points are sufficient for solving for H Class 2

38 Unlabeled Static Points
What if all the measurements arise from static points without Prior knowledge that they are static? (unlabeled static) It is sufficient to consider A=B=I is a symmetric tensor, i.e. contains only 10 different groups 111,222,333,112,113,221,223,331,332,123 up to permutations. One needs at least 16 dynamic points in an unlabeled set Class 2

39 Mixed Labeled and Unlabeled Static Points
3 of the 7 constraints provided by a labeled static live in the 10’th dimensional subspace of unlabeled static points. If we have labeled static points, then we need dynamic points Class 2

40 Partly segmented scene
Known unknown moving static required Class 2 Class 2: Homography Tensors


Download ppt "Multi-linear Systems and Invariant Theory"

Similar presentations


Ads by Google