Projection of 3D world point into 2D image point

19 次查看(过去 30 天)
Good day,
I have problems in projecting the 3D world points into 2D image points using the camera matrix. I will greatly appreciate your help on this. I simply multiply the camera matrix (C) into 3D homogeneous coordinates (y=[y1 y2 y3 1]') associated to the occupied voxel of the visual hull to obtain x=[x1 x2 x3]'. After normalizing x, i get xn=[x1/x3 x2/x3]=[xn1 xn2]. Then given m=max( max(xn), min(xn) ), I linearly scale the obtained coordinates into the domain 1:64 to obtain the final pixel coordinates of xs=[63(xn(1)+m)/2m+1, 63(xn(2)+m)/2m+1]. Setting the obtained rounded coordinates of xs to one, the obtained image is not as expected
Second point is how to participate the orientation factor in this projection?
Thank you very much for your generous time and support.

回答(1 个)

Veera Kanmani
Veera Kanmani 2018-4-20
https://stackoverflow.com/questions/39447624/back-projecting-3d-world-point-to-new-view-image-plane

类别

Help CenterFile Exchange 中查找有关 Camera Views 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by