Instructions:
- The goal of the assignment is to familiarize you to the process ofcamera calibration and the critical role it plays in using any measurements of the world from images.
- Make sure that the assignment that you submit is your own work. Any breach of this rule could result in serious actions including an F grade in the course.
- The experiments and report writing takes time. Start your work early and do not wait till the deadline.
- Make sure your files can be opened. Corrupted files will not be entertained.
- You can use C/C++, Python or Matlab for this. However, you are expected to implement it yourselves and not use an existing implementation.
Tasks:
This assignment requires you to implement and compare the two camera calibration techniques. We would also like to test the quality of the parameters estimated from these calibration methods. You are expected to do the following:
Direct Linear Transform
- For the given image calib-object.jpg using any 20-30 different points on different planes and perform the Direct Linear Transform (DLT) based calibration as discussed in class. Report the projection matrix, camera matrix, rotation matrix and projection center. Note that you need to manually estimate the image co-ordinates of the given world points and refer to calib-object-legend.jpg for world measurements. Each chessblock is 28X28 mm.
- Implement the RANSAC based variant of the above calibration method and report your observations.
- Repeat the above experiments after correcting for radial distortion. Estimate the radial distortion parameters from the straight lines in the image. What do you observe regarding the resulting parameters?
Zhangs Method
- Use checkerboard images JPG IMG5470.JPG and perform camera calibration using Zhangs Method. You can use the available OpenCV or Matlab implementation.
- Using the estimated camera parameters compute the image points and overlay a wireframe over the actual image of chessboard using straight lines between the computed points. Refer to example-wireframe.png for reference. What do you observe about the overlay? Note that do not use the image points found using the cvFindChessboardCorners for wireframe overlay. Size of each square on checkerboard 29mmX29mm
- What is the image of the world origin, given the calibration matrix? Does this result bear out in your observations?
Hands on
Select a camera that you would like to use for the assignments. Note that you might be using this camera for future assignments also.
- Perform the above calibration methods using the images taken by your camera. Use the calibration object for which you can measure the world co-ordinates for DLT and printed checkerboard pattern for Zhangs Method.
- Vary the focus of your phone and comment on the results.
Write a detailed report of your findings and results as mentioned in the previous steps, and submit it as a pdf file. You should also include your code and images that you acquired for the experiments at the end of the pdf file.
Reviews
There are no reviews yet.