Calculate Camera intrinsic parameter including intrinsic and distortion matrix using Chessboard Images
- Use a standard chessboard image for calibration. Typically, an 8x6 or 9x6 chessboard is used, where 8 and 9 are the number of squares along row and 6 is the number of square along column.Reference Image has 9 square along rows and 6 along columns.
- Ensure that the chessboard squares are of equal size and the image is clear and well-lit. You can use chessboard_creation script to create your own image.
- Print the chessboard pattern on paper and capture images of it using your camera from different angles. Sample images are stored in chessboard_image folder.
Code walkthrough and all the important steps are covered in camera_calibration.md
Calculate the undistorted, remapped images using the previously calculated Camera Matrix and Distortion Coefficients. The sample output is produced from undistorted script .
Here is the sample of input chessboard images, their corresponnding internal-vertices-drawn images and corresponding undistorted remapped images.