Converting a system of coordinates

3 views (last 30 days)
Dekel Mashiach
Dekel Mashiach on 20 May 2022
Answered: Matt J on 20 May 2022
Hey, I'm doing a project on a vehicle that follows the route with the help of a camera. I'm trying to do a conversion from a camera lens axis system to a vehicle mass center axis system. I realized there are rotation and translation matrices I need to perform but I have a hard time getting started. I'd be happy if anyone can help me.

Answers (2)

Catalytic
Catalytic on 20 May 2022
Edited: Catalytic on 20 May 2022
You cannot do a 3D coordinate conversion from a single 2D camera measurement. You need at least 2 cameras. If you have 2 cameras, then you can start here -
  1 Comment
Dekel Mashiach
Dekel Mashiach on 20 May 2022
I'm already converted from 2D to 3D. I having a hard time about converting the pivot system from the camera to the center of mass of the vehicle.

Sign in to comment.


Matt J
Matt J on 20 May 2022
You need to measure the position of at least three non-colinear 3D points in both coordinate systems. Then, you can find the mapping between the two systems using, e.g.,

Categories

Find more on MATLAB Support Package for USB Webcams in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!