what is the mathematics involved behind "pointsToWorld" command?

What is the formula which converts image points to world points using "pointsToWorld" command?

Answers (1)

Hi Mohit,
The function pointsToWorld is under a class named cameraParameters. You can refer to the code provided in the class to understand the mathematics involved behind converting co-ordinates in an image to world co-ordinates. You can execute the following command to see the class definition --
>> edit cameraParameters.m
Additionally, the function can also be accessed from MATLAB Command Prompt by executing the following command -
>> edit cameraParameters.pointsToWorld
Regards.

2 Comments

Thank You! for your answer, I saw this code and I was thinking that if there is any published paper on this method because in this code nowhere calculation/formulas are shown. Also, so many unknown functions (to me) are used in this script.
Since R2020a, you can do
>> edit pointsToWorld

Sign in to comment.

Asked:

on 19 Aug 2016

Edited:

on 16 Aug 2020

Community Treasure Hunt

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

Start Hunting!