3d reconstruction from single 2d image ?
3 views (last 30 days)
Show older comments
hello mathworkers can someone help me i have a .ppm image and i want to create 3d mesh (get x, y, z values)
0 Comments
Answers (1)
Walter Roberson
on 24 Apr 2018
im = imread('cameraman.tif');
[X,Y] = ndgrid(1:size(im,2), 1:size(im,1));
mesh(X,Y,im)
view([70 69])
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!