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

6 次查看(过去 30 天)
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.

回答(1 个)

Image Analyst
Image Analyst 2022-11-24
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 个评论
María Pérez Fernández
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.

请先登录,再进行评论。

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by