# Is it possible to perform this kind of slicing (attached below) for 3D data generated from multiple slices?

**URL:** <https://discourse.slicer.org/t/is-it-possible-to-perform-this-kind-of-slicing-attached-below-for-3d-data-generated-from-multiple-slices/21937>\
**Category:** Support\
**Created:** [February 12, 2022, 5:13pm UTC](https://discourse.slicer.org/t/is-it-possible-to-perform-this-kind-of-slicing-attached-below-for-3d-data-generated-from-multiple-slices/21937 "2022-02-12T17:13:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hdyk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hdyk/32/14278_2.png) [@hdyk](https://discourse.slicer.org/u/hdyk)\
**Post date:** [February 12, 2022, 5:13pm UTC](https://discourse.slicer.org/t/is-it-possible-to-perform-this-kind-of-slicing-attached-below-for-3d-data-generated-from-multiple-slices/21937/1 "2022-02-12T17:13:00Z")

</div>

Hello.  
I am creating a 3D dataset from multiple slices I obtained from measurement. The generated 3D dataset has a shape similar to a ball.

I was able to slice the dataset and see the inside in X and Y direction.

My question is, is it possible to perform this kind of slicing as shown by image below?  
If it is possible could anyone please share any reference I can refer to?

Because I would like to put the final result for demonstration purpose.

Thank you.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/5/65dcd9c4278fa77a98febdc515740e74b3d780d1.jpeg)

---

<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:** [February 12, 2022, 5:28pm UTC](https://discourse.slicer.org/t/is-it-possible-to-perform-this-kind-of-slicing-attached-below-for-3d-data-generated-from-multiple-slices/21937/2 "2022-02-12T17:28:21Z")

</div>

Yes, this is supported, see example here:

> [@Hide data inside ROI when Volume Rendering](https://discourse.slicer.org/t/hide-data-inside-roi-when-volume-rendering/118/7):
>
> Also note that you can get almost the same result by showing slice views (with thresholding enabled for the volume, to remove black borders) and a skin surface model (slice clipping enabled to be able to see inside the head). Example ([download the scene from here](https://1drv.ms/u/s!Arm_AFxB9yqHr5BI0Hag1rewSdETWg)):

[![](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/1X/e6d24c90190c1e4315521adc7bae274d303e861e.gif) ](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/1X/e6d24c90190c1e4315521adc7bae274d303e861e.gif)

---

<div class="post-metadata">

**Author:** ![hdyk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hdyk/32/14278_2.png) [@hdyk](https://discourse.slicer.org/u/hdyk)\
**Post date:** [February 13, 2022, 5:59am UTC](https://discourse.slicer.org/t/is-it-possible-to-perform-this-kind-of-slicing-attached-below-for-3d-data-generated-from-multiple-slices/21937/3 "2022-02-13T05:59:32Z")

</div>

Thank you for your kind answer, Mr. Lassoan.  
It is exactly what I would love to do.

However, when I clicked the apply button, I got a dark area inside the clipping box (which I thought that the area inside the box should be removed, as I attached here). Did I perhaps not do it correctly?

 ![Capture](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/2/d262572c33a75ae8638108ab57ff2dc040ab8718.png)

For your information, my input slices are RGB JPG images, because normally I would like to show the final result in color.

Thank you.

---

<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:** [February 13, 2022, 1:42pm UTC](https://discourse.slicer.org/t/is-it-possible-to-perform-this-kind-of-slicing-attached-below-for-3d-data-generated-from-multiple-slices/21937/4 "2022-02-13T13:42:15Z")

</div>

Crop volume module was not used in the example above. You can follow these steps instead’

- create a segment that defines the region within you want to show the structures, such as the skin, brain, or bone surface; in the example above the skin surface was segmented (Segment Editor module)
- show intersecting slices
  - use the segment to blank out the volume outside that region (Segment Editor module, Mask volume effect)
  - show the blanked out volume in slice views using thresholding (Volumes module)

- show clipped outer surface:
  - export the segment to a model (Data module, right-click on the segment)
  - enable slice clipping for that model (Models module)

Let us know if you need help with any of the steps.
