Clear Filters
Clear Filters

How can I create a 3D figure out of a serie of masks?

5 views (last 30 days)
Hello!
I have segmentented a series of consecutive 2D MRI images and stored the masks in a cell array. Now I would like to be able to visualize a 3D representation of the volume segmentated.
Each mask contains the area of the slice that I need to visualize. I also know the value of the spacing between the slices. I don´t know how I could achieve this so any help is apreciated.
Thank you in advance.

Answers (1)

Image Analyst
Image Analyst on 24 Nov 2022
I don't know why you chose to use a cell array. Are you just trying to make it more difficult?
Have you tried volshow?
  1 Comment
María Pérez Fernández
María Pérez Fernández on 24 Nov 2022
I used a cell array because I needed it that way for previous operations, but I could now change it to something else if that makes it easier.
The data sotored in the array are just binary masks which contains the ROI that I´m interested in. Would volshow work with that kind of data? I have tried it and I could not make it work, but maybe I am not using the function correctly.

Sign in to comment.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!