MATLAB Answers

Stacking 2D images to form 3D stack and viewing it in a volumetric manner

5 views (last 30 days)
Anand P
Anand P on 5 Jun 2019
I want to stack four 2D images (so that the stack becomes 3D) and view the 3D stack. Can someone provide me with the corresponding code to stack and view it in a volumetric manner?

  0 Comments

Sign in to comment.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 5 Jun 2019
If the images are gray, you can check here for multidimentinal arrays. Regarding view, you can Displays 3D images slice by slice.

  2 Comments

Anand P
Anand P on 5 Jun 2019
Thanks for the reply. I intend to view it in a volumetric manner (not slice by slice). Is there any inbuilt function or code ?
Bjorn Gustavsson
Bjorn Gustavsson on 5 Jun 2019
I've had some (mixed) success with the slice function and alpha-mapping, making a large number of slices each slice rather transparent, sometimes reduced transparency for larger values work better than constant transparency. Also have a look at the file exchange.
HTH

Sign in to comment.

Sign in to answer this question.