convert 2D image to 3D image please
Ältere Kommentare anzeigen
please how can I plot a 3D image using a 2D image. Please I need the code thankyou
2 Kommentare
Sai Bhargav Avula
am 30 Okt. 2019
Can you some more details like the number of slices you have or what assumptions can be considered while converting
kay christopher
am 30 Okt. 2019
Bearbeitet: kay christopher
am 30 Okt. 2019
Antworten (2)
Sai Bhargav Avula
am 30 Okt. 2019
0 Stimmen
Hi,
This thread might help you <https://www.mathworks.com/matlabcentral/answers/31647-how-to-convert-2d-image-into-3d>
1 Kommentar
kay christopher
am 30 Okt. 2019
Sai Bhargav Avula
am 31 Okt. 2019
Since you have a single image of the bubble to get the 3D volume, you need to stack them together.
One way to stack them is as following
Image3D = repmat(Image2D, 1, 1, NumberOfLayers);
If you can get different images then you can use
Image3D = cat(3, Image2D1, Image2D2, Image2D3, ...);
1 Kommentar
kay christopher
am 31 Okt. 2019
Kategorien
Mehr zu Image Arithmetic finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!