Given an image you are asked to estimate the projection matrices of a camera (in the imaging system). For estimating the projection matrix develop an interactive interface, which can perform the following operations on an image.
- Compute the pixel coordinate of a point in an
- Compute the length in pixels between two image
- Compute the vanishing point of two parallel lines (in real world) as identified by the
- Prepare a data file with saved correspondences of image pixel coordinates and real world
Using the above tool and also other associated functions as you need, form the projection matrices (they are different!) of the following two images with the information related to the world coordinates specified with it.
- Name of the image:”Helipad.jpg”
Information of world coordinates: Consider the height of the vertical pillars is of 2 meters, separated by a distance of 4 meters, and width of the road including thickness of both the white borders is 1.5 meters.
- Name of the image: “Palace.jpg”
Assume it is a case of affine projection, implying images of parallel lines are also parallel in the image.
Information of world coordinates: Use a plausible world coordinate system by assuming the walls parallel of XZ and YZplanes.
- Find intrinsic and extrinsic parameters for both the camera
- Consider the pentagonal artwork attached at the left wall (in the bottom part of the image) showing sketches of sword and shield and having a red Replace all the small windows shown at the topmost part of the walls by this artwork.
- Interactive tool on various measurement: 20
- Solving the projection matrix for “Helipad.jpg”: 15
- Solving the projection matrix of “Palace.jpg”: 15
- Intrinsic and extrinsic parameters: 20
- Replacement of windows by pentagonal artwork in “Palace.jpg”:
Bonus: Quality of solution