Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
高级会员
注册日期: 2019-11-21
帖子: 3,006
声望力: 66 ![]() |
![]()
我有一个从磁盘加载的图像作为纹理,以及一个具有相应深度的相同大小的矩阵d。
如何使用surf将图像显示为3D模型?只需服用 surf(depthMatrix, img); 自从以来并没有给出很好的结果
![]() 回答: 您可以使用纹理映射在表面上显示图像,如下所示: surf(depthMatrix,img,... %# depthMatrix is z data, img is an image 'FaceColor','texturemap',... %# Use texture mapping 'EdgeColor','none'); %# Turn off edge coloring 并解决您的3点:
更多&回答... |
![]() |
![]() |