3d reconstruction from single 2d image ?

hello mathworkers can someone help me i have a .ppm image and i want to create 3d mesh (get x, y, z values)

답변 (1개)

Walter Roberson
Walter Roberson 2018년 4월 24일

0 개 추천

im = imread('cameraman.tif');
[X,Y] = ndgrid(1:size(im,2), 1:size(im,1));
mesh(X,Y,im)
view([70 69])

댓글 수: 1

Marwa Jabberi
Marwa Jabberi 2018년 4월 25일

thanks for answering but i ant to get z coordinate from 2d image (x,y) from 2d image to 3d mesh

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

질문:

2018년 4월 24일

댓글:

2018년 4월 25일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by