How to get the camera viewpoint region point

2 views (last 30 days)
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 Comments
John BG
John BG on 19 Jan 2017
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 on 20 Jan 2017
Thanks John BG. I want the coordinates of 3D points as "seen" from the camera. How to coding?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!