https://github.com/hritik5102/camera-calibration-using-matlab
Calibration of the camera using checker-board finding camera parameter using MATLAB
https://github.com/hritik5102/camera-calibration-using-matlab
camera-calibration lens-distortion matlab matlab-gui matlab-image-processing-toolbox matlab-script reprojection-error simulink-toolbox
Last synced: 3 months ago
JSON representation
Calibration of the camera using checker-board finding camera parameter using MATLAB
- Host: GitHub
- URL: https://github.com/hritik5102/camera-calibration-using-matlab
- Owner: hritik5102
- Created: 2019-06-07T05:53:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-22T20:28:28.000Z (almost 5 years ago)
- Last Synced: 2025-03-30T22:29:41.236Z (6 months ago)
- Topics: camera-calibration, lens-distortion, matlab, matlab-gui, matlab-image-processing-toolbox, matlab-script, reprojection-error, simulink-toolbox
- Size: 3.89 MB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Camera-Calibration-using-MATLAB
Calibration of the camera using checker-board finding camera parameter using MATLABObjective is to find a distance from the camera to the reference object which is fixed.
We use camera calibration app to find a focal length of the camera
# Characteristics inside the camera
1) Intrinsic parameter – focal length , lens distortion coefficient , pixel scaling after knowing these parameter we can map real world distance into pixel , improve image quality.2) Extrinsic parameter – camera’s location in space in relation to fixed object .
3) We take 20-25 images of checkerboard with different orientation and give size of square in mm
4) We can specify radial distortion coefficient and also compute a tangential distortion when lense and camera sensors are not in parallel5) Find the reprojection error – which difference between points detected over the image and points reprojected back into the image using the camera parameter which we just calculated .
6) We can also apply threshold to get minimum reprojection error and we can visualize from which angle we have taken the images .
7) We change distorted image into undistorted image by removing lens distortion to get optimal result .
8) When you are satisfied with calibration accuracy u can directly Export Camera Parameters or Export Matlab Script.
9) After finding the focal length, move your camera both closer and farther away from the object. Then apply the triangle similarity to determine the distance of the object to the camera i.e
D = (W*F)/P
W = object width
F = focal length
P = apparent width in pixels### output
![]()