# Linking slice views to cropped volume rendering

**URL:** <https://discourse.slicer.org/t/linking-slice-views-to-cropped-volume-rendering/32931>\
**Category:** Support\
**Tags:** segmentation, volume-rendering\
**Created:** [November 21, 2023, 5:35pm UTC](https://discourse.slicer.org/t/linking-slice-views-to-cropped-volume-rendering/32931 "2023-11-21T17:35:39Z")\
**Posts on this page:** 3\
**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:** [November 21, 2023, 5:35pm UTC](https://discourse.slicer.org/t/linking-slice-views-to-cropped-volume-rendering/32931/1 "2023-11-21T17:35:39Z")

</div>

I am playing with this excellent zebrafish embryo dataset [Dryad | Data – Computational 3D histological phenotyping of whole zebrafish by X-ray histotomography (datadryad.org)](https://datadryad.org/stash/dataset/doi:10.5061/dryad.4nb12g2)

I can do nice surface visualization with volume rendering, but when I try to display internal detail, it is less than ideal and I am having a hard time finding a good property to give me the full detail I am seeing in the slice views.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/2/629d974dea1f1a4ea810a666d2a8ec7a49eb82e1.jpeg)

One way to deal with is to display the current slice view and line that up with the cropping ROI.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/9/79732122f003f6c5ee6d53c2823536d1732ef67e.jpeg)

But then every time I have to move the ROI, I have to spend time to find a way to line that up with the matching slice. How slice is displayed in 3D is also depends on the FOV is 2D viewer (e.g., if you zoom in too far, then 3D gets cut.)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/b/cbce332c27adb4a36ab9a781ea0540b6b5f38931.jpeg)

Is there a better way of achieving this visualization, and still maintain the ease of use of cropping in volume rendering.

---

<div class="post-metadata">

**Author:** ![ebrahim](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ebrahim/32/13403_2.png) [@ebrahim](https://discourse.slicer.org/u/ebrahim)\
**Post date:** [November 21, 2023, 6:31pm UTC](https://discourse.slicer.org/t/linking-slice-views-to-cropped-volume-rendering/32931/2 "2023-11-21T18:31:34Z")

</div>

Reminds me of what was being discussed [here](https://discourse.slicer.org/t/rendering-mri-volume-using-python-from-nii-file/)

It would be pretty nice to have a way of linking slice views and volume cropping!

---

<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:** [November 21, 2023, 7:00pm UTC](https://discourse.slicer.org/t/linking-slice-views-to-cropped-volume-rendering/32931/3 "2023-11-21T19:00:54Z")

</div>

Agreed, that would be a nice view mode. Probably not terribly hard to implement. It would be very easy to do a python hack if you need something quick, but a bit harder to make something that is cleanly integrated.
