![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1613661/image.gif)
How to get projected depth values from camera toolbar while displaying a 3D mesh.
1 次查看(过去 30 天)
显示 更早的评论
Hi all, Suppose I have a 3D triangular mesh with some 'V' vertices and 'F' faces, 'V' contains 'XYZ' elements of the vertices, now using this 'Toolbox Graph', I am able to view my mesh nicely , by plot_mesh(V,F). https://in.mathworks.com/matlabcentral/fileexchange/5355-toolbox-graph Now I know that it uses camera toolbar of matlab to plot and show things , I can maximize , rotate etc and can set the view matrix manually and get a desired projective or orthographic view of the object.
I am still struggling on how to get the visible projection of the object in form of a depth image, More specifically something like raw depth map of the object (like simulating kinect [do not want actual simulation and noise modelling]), when viewed from an angle.
Any help will be highly appreciated. Thanks :)
0 个评论
回答(1 个)
George Abrahams
2024-2-10
Hi @Gaurav. My 3D Rendering Toolbox on File Exchange will easily handle this. For example, you can see the toolbox generating a depth map in the figure below. It does, however, only currently handle perspective projection.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1613661/image.gif)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Kinect For Windows Sensor 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!