convert 2D image to 3D image please

조회 수: 99 (최근 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일
편집: 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.

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

답변 (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

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


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.

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by