# How to crop and save a cropped volume as one file?

**URL:** <https://discourse.slicer.org/t/how-to-crop-and-save-a-cropped-volume-as-one-file/1654>\
**Category:** Support\
**Created:** [December 12, 2017, 10:17pm UTC](https://discourse.slicer.org/t/how-to-crop-and-save-a-cropped-volume-as-one-file/1654 "2017-12-12T22:17:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichelODU](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@MichelODU](https://discourse.slicer.org/u/MichelODU)\
**Post date:** [December 12, 2017, 10:17pm UTC](https://discourse.slicer.org/t/how-to-crop-and-save-a-cropped-volume-as-one-file/1654/1 "2017-12-12T22:17:36Z")

</div>

Hello,

I have a really large DICOM dataset of a spine surgery patient, and I would like to crop it as well as save the cropped volume as a single mhd or nrrd file. When I try to do this, it produces a nrrd file for the first few slices, and each of them is massive (looks like a bug). I am trying to save in voxel format rather interpolating format… Is it possible to use Slicer that way to save a single volumetric file?

Btw, my problem with landmarks turns out to be that Slicer considers the orientation of the image axes while my deformable surface model program doesn’t (not an IJK vs RAS issue). I need to save it as a file format such as mhd that does not preserve the axes orientation, then acquire the landmarks with that volume.

Best wishes,

Michel

---

<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 12, 2017, 10:39pm UTC](https://discourse.slicer.org/t/how-to-crop-and-save-a-cropped-volume-as-one-file/1654/2 "2017-12-12T22:39:10Z")

</div>

> [@MichelODU](#):
>
> really large DICOM dataset of a spine surgery patient

Is it a CT? What are the dimensions and voxel size?

> [@MichelODU](#):
>
> for the first few slices, and each of them is massive

Do you mean the slices are interpolated to a much finer resolution?

> [@MichelODU](#):
>
> Is it possible to use Slicer that way to save a single volumetric file

Yes. This is a very common task.

> [@MichelODU](#):
>
> Slicer considers the orientation of the image axes while my deformable surface model program doesn’t

Axis direction is just as important as image origin and spacing. It must be taken into account when processing an image. MetaIO image (mhd, mha), nrrd, nifti,… all store axis directions.
