How to creat 3D image by stacking multiple 2D image in Matlab?

조회 수: 58 (최근 30일)
Shyam Yadav
Shyam Yadav 2020년 8월 20일
댓글: Shyam Yadav 2020년 9월 21일
I have 3, 2D Image file (RGB) with same dimensions. I want to creat a 3D image by stacking of these 2D image but I dont know which code I should use. I tried some codes suggested here but could not get any image. Please suggest me how to solve this. Your help would be appreciated.
  댓글 수: 1
Prabhan Purwar
Prabhan Purwar 2020년 8월 25일
Could you please elaborate upon codes you have tried along with attachments.

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

답변 (1개)

Prabhan Purwar
Prabhan Purwar 2020년 8월 28일
Hi,
Kindly make use of cat function to create a 3d image from 2d images as shown.
Only valid for Images that are already reconstructed by the CT Instrument.
In the case of 2D Images that are projection of volume along different angles will require filtered back-projection reconstruction (radon) process to build the 3D image.
image3d = cat(3, slice1, slice2, slice3, slice4);
In order to Visualize the created Image make use of implay(array3d) to view different slices at different Instances. Make use of the following code to visualize a volume in 3D.
Kindly go through following links for reference:
Thanks
  댓글 수: 1
Shyam Yadav
Shyam Yadav 2020년 9월 21일
Dear Prabhan, Thank you very much for your answer, but my question is, I have captured 2D images (Suppose 3, 2D images) which is not by CT Instrument. These 2D images also has information of z axis. Now I need to convert 2D image in 3D image which can show information of all three axis. Now I want to do mathematical operation between these 3D images so that I can go for stacking of images obtained after mathematical operation.
Can you help me to provide some references for this kind of problem? Any suggestion from your side will be highly appreciated.

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

카테고리

Help CenterFile Exchange에서 3-D Volumetric Image Processing에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by