# Crop volume to a single slice

**URL:** <https://discourse.slicer.org/t/crop-volume-to-a-single-slice/4483>\
**Category:** Support\
**Created:** [October 22, 2018, 3:41am UTC](https://discourse.slicer.org/t/crop-volume-to-a-single-slice/4483 "2018-10-22T03:41:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![melsha3rawy](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@melsha3rawy](https://discourse.slicer.org/u/melsha3rawy)\
**Post date:** [October 22, 2018, 3:41am UTC](https://discourse.slicer.org/t/crop-volume-to-a-single-slice/4483/1 "2018-10-22T03:41:47Z")

</div>

Operating system: win10 64bit  
Slicer version:4.10  
Expected behavior: NA  
Actual behavior: can I crop one slice (dicom) to get a specific feature.

---

<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:** [October 22, 2018, 3:43am UTC](https://discourse.slicer.org/t/crop-volume-to-a-single-slice/4483/2 "2018-10-22T03:43:00Z")

</div>

> [@melsha3rawy](#):
>
> can I crop one slice (dicom) to get a specific feature

I don’t know how this relates to the topic title (template matching), but you can crop a volume using Crop volume module.

---

<div class="post-metadata">

**Author:** ![melsha3rawy](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@melsha3rawy](https://discourse.slicer.org/u/melsha3rawy)\
**Post date:** [October 22, 2018, 5:29pm UTC](https://discourse.slicer.org/t/crop-volume-to-a-single-slice/4483/3 "2018-10-22T17:29:31Z")

</div>

i would like to crop only one slice then I will use it as a template later in matching the same feature in other slices, sorry for confusing title

---

<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:** [October 22, 2018, 10:53pm UTC](https://discourse.slicer.org/t/crop-volume-to-a-single-slice/4483/4 "2018-10-22T22:53:35Z")

</div>

You’ll get inaccurate 3D alignment if you only use a single 2D slice for alignment of images.

You can fully automatically align two images of different patients (either rigidly or using warping transform) using SlicerElastix extension. _General registration (BRAINS)_ module that is bundled with Slicer may be usable, too, but usually it requires more parameter tweaking.

If you prefer not to do intensity-based registration then you can align images based on anatomical landmarks using _Landmark registration_ module or SlicerIGT extension’s _Fiducial registration wizard_ module.
