How to create 3D plot from 2D image

6 vues (au cours des 30 derniers jours)
agung pratama
agung pratama le 22 Juil 2020
Réponse apportée : Rahul il y a environ 19 heures
Hello, if I want to create a 3D plot from the 2D image what should I do?
Am I just need a single 2D image or more?
Is there anyone have a code to generate 3D plot from 2D image?
I have a project to measure the height of the bending plate from the 2D image,
Please help me, I'm really a newbie in Matlab

Réponses (1)

Rahul
Rahul il y a environ 19 heures
In order to create a 3D plot from a single 2D image, one approach can be to consider the depth of the image to be obtained by the intensity of the image. Functions like 'surf', 'mesh', 'plot3' can be used to create 3d plots.
Another approach can be to concatenate different layers of the 2D image using 'cat' function to eventually obtain a 3D image and then plot it. This is also mentioned in the following MATLAB Answer:
The below File exchange submission can also be considered to display the 3D Image:
Please refer the following MathWorks documentations to know more:

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by