# removing segments of MRI 3D model

**URL:** https://discourse.vtk.org/t/removing-segments-of-mri-3d-model/2550
**Category:** Support
**Created:** [February 5, 2020, 3:06pm UTC](https://discourse.vtk.org/t/removing-segments-of-mri-3d-model/2550 "2020-02-05T15:06:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Tracy\_Nk](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/t/90ced4/32.png) [@Tracy\_Nk](https://discourse.vtk.org/u/Tracy_Nk)
#### Post date: [February 5, 2020, 3:06pm UTC](https://discourse.vtk.org/t/removing-segments-of-mri-3d-model/2550/1 "2020-02-05T15:06:36Z")

</div>

Hi, I’m aware that I can use VTK to get a 3D visualisation of an MRI DICOM data set, however, my next goal is to be able to remove parts of the 3D brain model so that I can focus on and only see a specific part of the brain. Is this something I can do using VTK only or will I have to use ITK also? Thank you.

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [February 5, 2020, 3:46pm UTC](https://discourse.vtk.org/t/removing-segments-of-mri-3d-model/2550/2 "2020-02-05T15:46:10Z")

</div>

VTK can do blank out parts of an image using a stencil or use a mask to hide certain parts of an image during volume rendering.

Your main task will be to define that stencil/mask, which is more an application-level feature than a library feature. See for example how it is done in 3D Slicer:
