COMP4173 25S Homework Assignment 2
Lecture 3: Processing in Spatial Domain
1. The following sub-problems about affine transformation is based on the following assumptions:
a. The output image employs the same coordinate system as the input image.
b. The dimensions of the output image are identical to those of the input image (pixels that fall outside the image boundaries are not displayed).
Please write the expression for (x', y'), the coordinates of (x, y) after transformation, based on the given conditions; add the necessary auxiliary lines and labels to the provided image, and give a detailed derivation process.
1.1 Rotation
1.2 Translation
1.3 Shear (horizontal)
1.4 Shear (vertical)
2. Given a 3 × 3 image, use bilinear interpolation to enlarge it to a 4 × 6 image. [Calculate by hand. Detailed steps must be given.]
142
|
87
|
213
|
56
|
199
|
34
|
178
|
22
|
245
|