Week 8 - Image stitching Flashcards
What is Panorama stitching
An application of SIFT
taking different images with different rotations and stitch them together
What is the issue with just directly stitching two images
There will be illumination changes eg dark corners that will show up
What is the first step of image stitching
Finding corresponding points
What is image alignment
Fitting a model M to a transformation between pairs of features (matches) in two images
Find transformation T that minimises
Σresidual (T(xi),x’i)
residual = residual errors
xi is the set of points
2D transformation models: Euclidean
translation + rotation
2D transformation models: Affine
translation + rotation + scaling + shear
(shear = stretching
eg rectangle to rhombus)
2D transformation models: Similarity
translation + rotation + scaling
2D transformation models: projective
homography
includes out of plane rotations
what is x,y in a grayscale function
the domain
what is the pixel intensity I in the grayscale function
the range
What does filtering/convolution do in terms of pixels
changes the pixel values (range)
G(x) = h{F(x)}
What does warping do in terms of pixels
changes the pixel locations (domain)
G(x) = F(h{x})
What are examples of global warping/transformation
translation
rotation
scaling and aspect
affine
perspective
barrel
What is transformation T
A coordinate changing machine
p’ = T(p)
What does it mean when T is global
is the same for any point p (applied to all)
can be described by just a few numbers (parameters)
What is uniform scaling
same scaling for each components
S = 2x2 = [sx 0 0 sy]
What is Rotation matrix around θ
2x2 = [cosθ -sinθ sinθ cosθ]
How do we represent translation in matrix form
Not possible
translation is not a linear operation on 2D coordinates
What are all 2D linear transformations a combination of (4 types)
scale
rotation
shear
mirror
what are the properties of linear transformations
■ Origin maps to origin
■ Lines map to lines
■ Parallel lines remain parallel
■ Ratios are preserved
■ Closed under composition
What is Closed under composition
apply multiple linear transformations successively by multiplying the transformation matrices then applying
What are homogeneous coordinates
represent 2d point with a 3d vector up to a defined scale
move from 2d to 3d
(x,y,w)
how to convert back from homogeneous coordinates
(x, y,w) -> (x/w, y/w)
What are basic affine transformations
scale
shear
translation
2d in-plane rotation