# How to process only few slices of a 3D dicom image

**URL:** <https://discourse.itk.org/t/how-to-process-only-few-slices-of-a-3d-dicom-image/2233>\
**Category:** Engineering\
**Tags:** dicom\
**Created:** [September 9, 2019, 2:07am UTC](https://discourse.itk.org/t/how-to-process-only-few-slices-of-a-3d-dicom-image/2233 "2019-09-09T02:07:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Jigabytes](https://discourse.itk.org/user_avatar/discourse.itk.org/jigabytes/32/967_2.png) [@Jigabytes](https://discourse.itk.org/u/Jigabytes)\
**Post date:** [September 9, 2019, 2:07am UTC](https://discourse.itk.org/t/how-to-process-only-few-slices-of-a-3d-dicom-image/2233/1 "2019-09-09T02:07:56Z")

</div>

Hi All,

I have a use case where given a 3D dicom image, I wish to apply for the filters only on selected slices. For example if 3D image has depth of 52 slices I want to apply Segmentation filters only from slice number 20 to slice number 30. How can I create an image out of these 10 slices so that I can apply Segmentation only on new image created out of these 10 slices image.

Thanks,  
Jiten

---

_[View the full topic](https://discourse.itk.org/t/how-to-process-only-few-slices-of-a-3d-dicom-image/2233)._
