![](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.
2 ビュー (過去 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 で Point Cloud Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!