Compute object distance in Image

1 view (last 30 days)
VaL V6
VaL V6 on 26 Jun 2019
Answered: KSSV on 1 Jun 2020
HI,
I would know if any Matlab function allows me to compute the planar distance of an object from the camera.
In practice I want to replicate a navigation stadimeter, I want to estimate the distance of a ship from my camera.
As input to the function I can give:
  • camera matrix (intrinsic, estrinsic, field of view,...)
  • ship height
The problem would be trivial if the ship was exactly in the center of the image but my goal is to estimate the ships distance even in they are not centered (i.e. the camera is moving for waves).
Thanks
  1 Comment
Shoaib
Shoaib on 1 Jun 2020
If you find a solution, please let me know as well.

Sign in to comment.

Answers (1)

KSSV
KSSV on 1 Jun 2020

Categories

Find more on MATLAB Support Package for IP Cameras 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!