How to get the camera viewpoint region point

2 次查看(过去 30 天)
If all point project to image plane, the visible point and the invisible point are mixed together. I only want 'blue region' of camera viewpoint region point by camera position and camera pinhole.
cylindrical object' code is showed as:
[rho,z]=meshgrid(0: 10*pi/180:2*pi, linspace(0,150,9)); r = 10; x=r*cos(rho); y=r*sin(rho); mesh(x,y,z)
I want to deletion the occlusion point. How to work? Could you offer the modify code? Could you offer matlab functions to perform this occlusion check. Thanks so much.
Project 3D into 2D image coordinates using a camera model
https://www.mathworks.com/matlabcentral/fileexchange/48752-project-3d-into-2d-image-coordinates-using-a-camera-model
  2 个评论
John BG
John BG 2017-1-19
I am not sure whether you want to calculate the points of the plane that the camera captures, or you want the coordinates of 3D points as seen from the camera.
In any case, the function you mention in the link in your question implements what is called the distortion correction or camera calibration. I calculates the distortion and corrects it
.
.
.
You can read more here
link supplied by same Mr Taylor in the help lines of his function.
Yung-Hsiang Chen
Yung-Hsiang Chen 2017-1-20
Thanks John BG. I want the coordinates of 3D points as "seen" from the camera. How to coding?

请先登录,再进行评论。

回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by