Transformations and Image Alignment Flashcards
What’s the difference between image filtering and image warping?
Image filtering: changing the range of the image
Image warping: changing the domain of the image
Parametric/Global Warping
Translation, rotation or aspect ratio change.
Global warping is done by taking a function that takes each pixel from the original image as input and maps it to its location in the new image
Affine transformation
Any transformation that occurs with a 3x3 matrix where the last 3 entries in the matrix are [0 0 1]
What property of linear transformations changes when we use affine transfomation
The origin no longer always maps to the origin
Homography
A 3x3 non-affine matrix i.e. the last row = [a b 1]
What can we do with homographies that we can’t do with affine transformation
Projective warps - parallel lines are no longer always parallel and ratios are not preserves
Forward Warping
If a pixel lands in a non-integer location after a transformation, all neighboring pixels “contribute” to the value of the pixel. This can still result in holes
Inverse Warping
Given a pixel location in I’, get the corresponding pixel location from T’(I’(x’, y’)) and use that color