필터 지우기
필터 지우기

Transforming 2D image coordinates to 3D world coordinates

조회 수: 20 (최근 30일)
Dekel Mashiach
Dekel Mashiach 2022년 5월 10일
편집: Matt J 2022년 5월 11일
Hey, I'm trying to convrte from 2d image to 3d real world coordinates. The image I attached has the opposite ratio, from 3D to 2D does anyone know how to make the relationship I am looking for?

답변 (2개)

Matt J
Matt J 2022년 5월 10일
편집: Matt J 2022년 5월 10일
The inversion is not unique, but if you don't care which of the infinite choices there are for the 3D point, one possibility is,
X3d=pinv(P)*[x;y;1];
X3d=X3d(1:3)/X3d(4)
  댓글 수: 2
Dekel Mashiach
Dekel Mashiach 2022년 5월 10일
I have pixel in an image and I want to convrte it to 3D worlsd coordinates
Matt J
Matt J 2022년 5월 11일
편집: Matt J 2022년 5월 11일
Yes, that was clear, and that is what I have given you.
However, it is a many-to-one inverse problem. There are many 3D points that correspond to the same image pixel, and my solution represents one of an infinite number of choices.

댓글을 달려면 로그인하십시오.


Matt J
Matt J 2022년 5월 11일
편집: Matt J 2022년 5월 11일
If you have pixel coordinates of a 3D point imaged by two cameras, you can use the triangulate command to triangulate the 3D locations,

카테고리

Help CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by