Image Alignment / Panorama Stitching - Week 8 Flashcards

1
Q

What is alignment for features?

A

Fitting a model to a transformation between pairs of features (matches) in two images

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the four 2D transformation models?

A

Euclidean (Translation + rotation)
Similarity (Translation + rotation + scale)
Affine (Translation + rotation + scale + shear)
Projective (Homography)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What makes a transformation T global?

A

It is the same for any point p
Can be described by just a few numbers (parameters)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

With what matrix can linear transformations be represented?

A

A 2x2 matrix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the linear transformations?

A

Scaling
Rotation
Shear
Mirror

Or any combination of the above

NOT transformation in 2D space

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the properties of linear transformations?

A

Origin maps to origin
Lines map to lines
Parallel lines remain parallel
Ratios are preserved
Closed under composition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How is the homogenous image coordinate [x, y, w] converted to cartesian coordinates?

A

[x, y, w] => (x/w, y/w)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How is 2D translation represented in 3x3 matrices?

A

[1 0 tx]
[0 1 ty]
[0 0 1]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an affine transformation?

A

Any transformation that can be represented with last row
[0 0 1]

Combinations of linear transformations and translations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the properties of affine transformations?

A

Origin does not necessarily map to origin

Lines maps to lines
Parallel lines remain parallel
Ratios are preserved
Closed under composition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When 3x3 matrix transformations are extended so any value can be changed, what are these types of transformations called?

A

Plane Projective Transformations - Homographies - Planar Perspective Maps

They map one plane to another through a point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the properties of homographies?

A
  • Origin does not necessarily map to origin
  • Lines map to lines
  • Parallel lines do not necessarily remain parallel
  • Ratios are not preserved
  • Closed under composition
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are inliers and outliers in feature matching?

A

Inliers are features that were matched correctly

Outliers are features that were incorrectly matched

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the idea behind RANSAC?

A

Find the line with the largest number of points that agree with the line (are within a small distance to the line) - also called inliers.

If the set of local feature matches contains a very high percentage of outliers:
All the inliers will agree with each other; the (hopefully) small number of outliers will (hopefully) disagree with eachother
- RANSAC only has guarantees if <50% of points are outliers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the RANSAC loop?

A
  1. Randomly select s sample matches
    - s == minimum sample size that lets you fit a transformation model
  2. Compute transformation from sample group
  3. Find inliers to this transformation
  4. If the number of inliers is sufficiently large, re-compute least-squares estimate of transformation on all the inliers
  5. Repeat N times
  6. Keep the transformation with the largest number of inliers

N is determined based on the number of outliers expected and the probability of success we’d like to guarantee
- Say 20% outliers and we want the correct answer with at least 99% probability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How can we compute a transformed image I2 from I1 given the coordinate transform (x’, y’) = T(x, y)

A

Forward warping or Inverse warping

17
Q

What is forward warping?

A

Send each pixel (x, y) to it’s corresponding position in the warped image.

What if a pixel “lands” between two pixels?
add “contribution” to several pixels, normalise later (splatting).

Splatting can still result in holes

18
Q

What is inverse warping?

A

Get each pixel g(x’, y’) from it’s corresponding location
(x, y) = T^-1(x, y) in f(x,y)

What if a pixel “lands” between two pixels?
Resample colour value from the interpolated (pre-filtered) source image

19
Q

What are the steps for creating panoramas?

A

Step 1: Detect Features
Step 2: Match Features
Step 3: Compute a homography using RANSAC
Step 4: Combine the images together (image blending)

20
Q

How does alpha blending work?

A

Ia = alphaI1 + (1-alpha)I2 for each pixel with 0 <= alpha <= 1

21
Q

In alpha blending what is the window size?

A

How alpha changes over time

22
Q

What properties should the alpha window have?

A

To avoid seams: window = size of largest prominent feature
To avoid ghosting: window <= 2*size of smallest prominent feature