Lab-2
Occlusion detection
Given are two aerial images (IMG1.png, IMG2.png) of an airport parking bay. These images were cap- tured using two cameras placed at different locations and at different instants of time but overlooking the same area. It is known that the images are related by an in-plane rotation and translation.
The following point correspondences are given:
Correspondence 1
2
IMG1 (x, y) (29, 124) (157, 372)
IMG2 (x, y) (93, 248) (328, 399)
Determine the changes in IMG2 with respect to IMG1.
NOTE: Use bilinear interpolation during target-to-source mapping.
NOTE: Co-ordinate convention followed to represent the above points (same as the standard Python convention),
1. Origin (0,0) at top left corner of the image 2. x-axis = along the rows of the image
3. y-axis = along the columns of the image
1

