3d reconstruction from single 2d image ?
1 次查看(过去 30 天)
显示 更早的评论
hello mathworkers can someone help me i have a .ppm image and i want to create 3d mesh (get x, y, z values)
0 个评论
回答(1 个)
Walter Roberson
2018-4-24
im = imread('cameraman.tif');
[X,Y] = ndgrid(1:size(im,2), 1:size(im,1));
mesh(X,Y,im)
view([70 69])
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!