5周1

image.png

Image Warping

  1. Specifying where every pixel goes (mapping)

    image.png

  2. Computing colors at destination pixels (resampling)

    image.png

Two Options

  1. Forward mapping

    image.png

  2. Reverse mapping

    image.png

  3. which is better? Tradeoffs discussed later today…

Parametric Mappings

Scale by factor:  x = factor * u  y = factor * v

Rotate by 𝜃 degrees:  x = u cos 𝜃 – v sin 𝜃  y = u sin 𝜃 + v cos 𝜃

image.png

Shear in X by factor:  x = u + factor * v  y = v

Shear in Y by factor:  x = u  y = v + factor * u

image.png

Point & line Correspondence Mappings

Mappings implied by correspondences:

image.png

image.png