# ROI clipping in arbitrary direction (new feature)

**URL:** <https://discourse.slicer.org/t/roi-clipping-in-arbitrary-direction-new-feature/1310>\
**Category:** Support\
**Created:** [October 27, 2017, 5:12pm UTC](https://discourse.slicer.org/t/roi-clipping-in-arbitrary-direction-new-feature/1310 "2017-10-27T17:12:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [October 27, 2017, 5:12pm UTC](https://discourse.slicer.org/t/roi-clipping-in-arbitrary-direction-new-feature/1310/1 "2017-10-27T17:12:43Z")

</div>

Hi,

I saw in the changelog under volume rendering, there is now a support for ROI clipping in arbitrary direction. I am testing the new stable version, and the crop box is not behaving any different than I am used to (i.e., it only expands and shrinks along the bounding box axes).  
Is this a different feature? How do I get that functionality?  
Thanks,  
M

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 27, 2017, 5:26pm UTC](https://discourse.slicer.org/t/roi-clipping-in-arbitrary-direction-new-feature/1310/2 "2017-10-27T17:26:59Z")

</div>

Hi Murat -

You can put the ROI in a transform:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/e/1e525eafc9fbeafc155972dde78d5ad19d2697b3.jpeg)

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [October 27, 2017, 5:29pm UTC](https://discourse.slicer.org/t/roi-clipping-in-arbitrary-direction-new-feature/1310/3 "2017-10-27T17:29:44Z")

</div>

Note you can alse enable interaction with the transform in the “Display” tab that lets you rotate/scale/translate the ROI box for the transform in the 3D view which should be really useful.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [October 27, 2017, 5:55pm UTC](https://discourse.slicer.org/t/roi-clipping-in-arbitrary-direction-new-feature/1310/4 "2017-10-27T17:55:53Z")

</div>

I did not know that. Very very cool. Though the handle bars and outline gets a bit confusing. I can’t seem to control the extents of the ROI within the DIsplay tab of the Transform module. But definitely very useful.

---

<div class="post-metadata">

**Author:** ![stevenagl12](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stevenagl12/32/3391_2.png) [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Post date:** [August 3, 2018, 2:17am UTC](https://discourse.slicer.org/t/roi-clipping-in-arbitrary-direction-new-feature/1310/5 "2018-08-03T02:17:02Z")

</div>

How do you do this in the latest nightly builds with the newest transforms module?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/7/778598a77ad6bdeb9bc193dcb1a6934a0f1972d6.png)

---

<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:** [August 3, 2018, 9:33am UTC](https://discourse.slicer.org/t/roi-clipping-in-arbitrary-direction-new-feature/1310/6 "2018-08-03T09:33:01Z")

</div>

You can only apply linear transforms to an ROI node.

---

<div class="post-metadata">

**Author:** ![stevenagl12](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stevenagl12/32/3391_2.png) [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Post date:** [August 3, 2018, 11:58am UTC](https://discourse.slicer.org/t/roi-clipping-in-arbitrary-direction-new-feature/1310/7 "2018-08-03T11:58:53Z")

</div>

Yes, but how can you apply them now as before you could see the angle of rotation to be applied, but I don’t see that anymore?

---

<div class="post-metadata">

**Author:** ![stevenagl12](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stevenagl12/32/3391_2.png) [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Post date:** [August 3, 2018, 2:26pm UTC](https://discourse.slicer.org/t/roi-clipping-in-arbitrary-direction-new-feature/1310/8 "2018-08-03T14:26:15Z")

</div>

I apologize, my laptop had an old version of the nightly build and wasn’t working correctly. How do you reformat the off center cropped volume so that you can display it as if it’s in the normal cube format when you cropped it at an angle?

---

<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:** [August 3, 2018, 5:39pm UTC](https://discourse.slicer.org/t/roi-clipping-in-arbitrary-direction-new-feature/1310/9 "2018-08-03T17:39:24Z")

</div>

Click on “Rotate to volume plane” button in the slice controller widget to align slice view with image axes.

Also, if you use a recent nightly version then in Segment Editor module you can see a warning button next to the master volume selector in case of non-image-axis-aligned slice views - clicking the button aligns the slice views.
