# Is it possible to resample a volume along a different set of axes?

**URL:** <https://discourse.slicer.org/t/is-it-possible-to-resample-a-volume-along-a-different-set-of-axes/21860>\
**Category:** Support\
**Created:** [February 8, 2022, 10:55pm UTC](https://discourse.slicer.org/t/is-it-possible-to-resample-a-volume-along-a-different-set-of-axes/21860 "2022-02-08T22:55:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MJJ](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@MJJ](https://discourse.slicer.org/u/MJJ)\
**Post date:** [February 8, 2022, 10:55pm UTC](https://discourse.slicer.org/t/is-it-possible-to-resample-a-volume-along-a-different-set-of-axes/21860/1 "2022-02-08T22:55:53Z")

</div>

I have a scalar volume.  
I want to resample this volume along a different set of axes using linear interpolation.  
Is this possible?  
If so, how?

I’ve looked into using `slicer.modules.resamplescalarvolume` but I can’t seem to figure out how to use it to get what I need.

---

<div class="post-metadata">

**Author:** ![mikebind](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Post date:** [February 9, 2022, 12:30am UTC](https://discourse.slicer.org/t/is-it-possible-to-resample-a-volume-along-a-different-set-of-axes/21860/2 "2022-02-09T00:30:22Z")

</div>

The “Crop Volume” module allows resampling as well as cropping. The rectilinear ROI you specify defines the output image volume’s spatial extent and its orientation. You can apply a transform to the ROI to rotate it with respect to the original image volume, or, if you are using a more recent preview release of Slicer, you can use the interactive markups ROI control handles for better manual control of the orientation.
