Intrinsic values from a pixel to angle table of the camera

1 visualización (últimos 30 días)
Eli Sobolev
Eli Sobolev el 27 de Abr. de 2022
Respondida: Vaibhav el 27 de Dic. de 2023
Hi
I have pixel to angle excel (see example) - measured a cross beyond the hyperfocal distance.
From this i want to get all the intrinsic parametrs of the camera and use them.
including radial (k1,k2,k3) and all other distortions. and than store it for the camera parametrs to use on photos or Camera Lidar calibration.
Is it possible to use this instead of the chess board?

Respuestas (1)

Vaibhav
Vaibhav el 27 de Dic. de 2023
Hi Eli
It is my understanding that you would like to use pixel to angle measurements for camera calibration instead of chess board.
Calibrating a camera with pixel-to-angle measurements is unconventional and lacks the geometric features offered by a chessboard pattern. Yet, if the angles are accurately known and cover the entire field of view, it may be possible to estimate certain intrinsic parameters.
Below are the conceptual steps that can be considered for the calibration:
  1. Import Data: Load the pixel to angle data from the Excel file into MATLAB.
  2. Define Camera Model: Specify the pinhole camera model with unknown focal length, principal point, and skew. Include a distortion model with radial (k1, k2, k3) and tangential (p1, p2) distortion coefficients.
  3. Establish Relationships: Create a mathematical relationship between the pixel positions and the corresponding angles.
  4. Optimization: Provide initial guesses for the camera parameters. Define an error function that represents the difference between measured angles and model predictions. Use an optimization algorithm to adjust the parameters and minimize the error function.
  5. Validation: Test the accuracy of the estimated parameters against additional measured data.
  6. Save Parameters: Save the calibrated camera parameters for future use.
You can refer to the following MathWorks documentation links to know more about "cameraParameters" and "lsqnonlin":
Hope this helps!

Categorías

Más información sobre MATLAB Support Package for USB Webcams en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by