MATLAB Answers

convert 2D image to 3D image please

36 ビュー (過去 30 日間)
kay christopher
kay christopher 2019 年 10 月 30 日
コメント済み: kay christopher 2019 年 10 月 31 日
please how can I plot a 3D image using a 2D image. Please I need the code thankyou

  2 件のコメント

Sai Bhargav Avula
Sai Bhargav Avula 2019 年 10 月 30 日
Can you some more details like the number of slices you have or what assumptions can be considered while converting
kay christopher
kay christopher 2019 年 10 月 30 日
it just a 2D photo of a bubble in a micro-channel I want to plot in 3D to extract the volum of the bubble thank you so much for your assistance.

サインイン to comment.

回答 (2 件)

Sai Bhargav Avula
Sai Bhargav Avula 2019 年 10 月 30 日

  1 件のコメント

kay christopher
kay christopher 2019 年 10 月 30 日
thankyou sir, but there is no code in the answer it is not explicit

サインイン to comment.


Sai Bhargav Avula
Sai Bhargav Avula 2019 年 10 月 31 日
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 件のコメント

kay christopher
kay christopher 2019 年 10 月 31 日
it is giving me another plot wish is notthing to do with my picture. please can you send me the full code at 7christopherkay@gmail.com.

サインイン to comment.

サインイン してこの質問に回答します。

タグ

製品


Translated by