# Issue of hollow shell while creating cardiac segmentation

**URL:** <https://discourse.slicer.org/t/issue-of-hollow-shell-while-creating-cardiac-segmentation/9590>\
**Category:** Support\
**Created:** [December 23, 2019, 1:44pm UTC](https://discourse.slicer.org/t/issue-of-hollow-shell-while-creating-cardiac-segmentation/9590 "2019-12-23T13:44:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarvpriya1985](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sarvpriya1985/32/4094_2.png) [@sarvpriya1985](https://discourse.slicer.org/u/sarvpriya1985)\
**Post date:** [December 23, 2019, 1:44pm UTC](https://discourse.slicer.org/t/issue-of-hollow-shell-while-creating-cardiac-segmentation/9590/1 "2019-12-23T13:44:02Z")

</div>

Hi everyone,

After creating hollow shell (2mm) in cardiac segmentation, when I visualize the structures in virtual reality- The wall appears double-shelled and is not easily understandable and somehow obscures the internal anatomy. Is there any way to prevent that double wall appearance after hollowing. On the slice view, it only appears as a single wall and I don’t see any space bewteen the shell layers. I am attaching a screenshot of slice layer and video of virtual reality view here.

Thanks,  
Sarv ![Capture](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/8/88a2d8b09834fbc009a064393a2be8f5e907a2e0.jpeg) [Double shell view virtual reality](https://www.dropbox.com/s/5r63hmgj2gef2mo/VIDEO.mp4?dl=0)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 23, 2019, 2:28pm UTC](https://discourse.slicer.org/t/issue-of-hollow-shell-while-creating-cardiac-segmentation/9590/2 "2019-12-23T14:28:29Z")

</div>

Since in virtual reality it is very easy to clip the model with the headset, you don’t need to hollow out the segments. In virtual reality, probably the best is to show the structures as simple solid closed surfaces (without hollowing).

---

<div class="post-metadata">

**Author:** ![sarvpriya1985](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sarvpriya1985/32/4094_2.png) [@sarvpriya1985](https://discourse.slicer.org/u/sarvpriya1985)\
**Post date:** [December 23, 2019, 2:51pm UTC](https://discourse.slicer.org/t/issue-of-hollow-shell-while-creating-cardiac-segmentation/9590/3 "2019-12-23T14:51:29Z")

</div>

Thanks for replying Andras. I tried that too (like without hollowing). The issue I faced in that was that there would be a “barrier” kind of appearance at the site of true defects like septal defects or going from right atrium to right ventricle. To avoid that I hollowed the heart. Is there any way to avoid this double-shell appearance. I was hoping once we create a shell, it is a solid shell, so as not to distort the anatomy. Any way around to get rid of these.

Thanks,  
Sarv

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 23, 2019, 5:35pm UTC](https://discourse.slicer.org/t/issue-of-hollow-shell-while-creating-cardiac-segmentation/9590/4 "2019-12-23T17:35:19Z")

</div>

That’s true, with solid blobs, you’ll have boundaries between surfaces. One solution would be to extract a single surface and color it using scalars (you can set scalars of a mesh from volume using “Probe volume with model” volume).

Another option is to use volume rendering. However, colored volume rendering usually does not produce very smooth surfaces. Multi-volume rendering would work nicely, but multi-volume rendering implementation in VTK is incomplete.

---

<div class="post-metadata">

**Author:** ![sarvpriya1985](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sarvpriya1985/32/4094_2.png) [@sarvpriya1985](https://discourse.slicer.org/u/sarvpriya1985)\
**Post date:** [December 23, 2019, 5:58pm UTC](https://discourse.slicer.org/t/issue-of-hollow-shell-while-creating-cardiac-segmentation/9590/5 "2019-12-23T17:58:04Z")

</div>

Thanks Andras. I agree that those solid blobs obscure easy visualization of defects. Based on your suggestion, I have few questions.

1. When you say extract a singe surface-Does that mean via threshold segmentation?.
2. Color using scalar-I haven’t used this before. Is there any link/tutorial of this being used before in other applications just to get an idea.
3. Probe volume with model volume- For this, do I need to first convert the segmentation into model.  
Thanks again,  
Sarv

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 23, 2019, 7:25pm UTC](https://discourse.slicer.org/t/issue-of-hollow-shell-while-creating-cardiac-segmentation/9590/6 "2019-12-23T19:25:49Z")

</div>

> [@sarvpriya1985](#):
>
> When you say extract a singe surface-Does that mean via threshold segmentation?

I mean that you could segment the blood pool as one segment and export that to model.

> [@sarvpriya1985](#):
>
> Color using scalar-I haven’t used this before. Is there any link/tutorial of this being used before in other applications just to get an idea.

It may have been described in tutorials, but it’s just going to Models module, Scalars section, and choosing a scalar array and a colormap.

> [@sarvpriya1985](#):
>
> Probe volume with model volume- For this, do I need to first convert the segmentation into model

Probe volume with model module takes two input nodes: a volume node (labelmap volume exported from segmentation) and a model (blood pool exported as a model from segmentation).

---

<div class="post-metadata">

**Author:** ![sarvpriya1985](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sarvpriya1985/32/4094_2.png) [@sarvpriya1985](https://discourse.slicer.org/u/sarvpriya1985)\
**Post date:** [December 24, 2019, 3:38pm UTC](https://discourse.slicer.org/t/issue-of-hollow-shell-while-creating-cardiac-segmentation/9590/7 "2019-12-24T15:38:29Z")

</div>

Hi Andras,

I tried using probe model module but i am not sure what information i am getting to use to color different parts of one segment. I am attaching screenshot of what i got from that module and when i used it in models module.

 ![Capture](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/5/45e77aeb1febe94df215b857b1172e1276e74b65.jpeg) ![Capture2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/0/f062a92cec6a482eb628283cc3cf68184d47a5a2.jpeg)

Also, while looking for some discussion in slicer forum for the same, I caame across this thread" coloring in VR view"-The solution given is confusing and not very clear. [https://discourse.slicer.org/t/colorize-model-for-vr/6299](https://discourse.slicer.org/t/colorize-model-for-vr/6299).  
Would appreciate further directions.

Thanks,  
Sarv
