Clear Filters
Clear Filters

Computing camera positions and angles from multiple images of the same surface

6 views (last 30 days)
Say I have 10 images of the same surface from the same camera in different positions.
I want to get the positions of the cameras to calculate the angles between them so the (0,0,0) of axis are in the center of the photographed surface.

Answers (1)

VINAYAK LUHA
VINAYAK LUHA on 4 Dec 2023
Edited: VINAYAK LUHA on 4 Dec 2023
Hi Itamar,
I understand that you have captured multiple images of a surface from a camera positioned at different locations, and you aim to determine the positions of the cameras and subsequently calculate the angles between them.
Here's a high-level general overview of the steps to calculate angles between the camera positions:
  1. Determine the intrinsic camera parameters (such as focal length, principal point, and distortion coefficients) and extrinsic camera parameters (position and orientation in 3D space) by a process called camera calibration.
  2. Register the images to a common coordinate system. This involves finding correspondences between points in the images and using these correspondences to estimate the transformation that aligns the images.
  3. Next, with the camera calibrated and images registered, you can compute the angles between the cameras based on their respective positions and orientations in 3D space.
Further, refer to following documentations for more explanation about the above mentioned steps -
  1. https://www.mathworks.com/help/vision/feature-detection-and-extraction.html
  2. https://www.mathworks.com/help/vision/camera-calibration.html
Hope this helps you in finding the angles between the different camera positions.
Regards,
Vinayak Luha

Community Treasure Hunt

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

Start Hunting!