# Access volume rendering result

**URL:** <https://discourse.slicer.org/t/access-volume-rendering-result/24945>\
**Category:** Support\
**Tags:** python\
**Created:** [August 27, 2022, 2:34pm UTC](https://discourse.slicer.org/t/access-volume-rendering-result/24945 "2022-08-27T14:34:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muhammed\_Fatih\_Talu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muhammed_fatih_talu/32/14646_2.png) [@Muhammed\_Fatih\_Talu](https://discourse.slicer.org/u/Muhammed_Fatih_Talu)\
**Post date:** [August 27, 2022, 2:34pm UTC](https://discourse.slicer.org/t/access-volume-rendering-result/24945/1 "2022-08-27T14:34:40Z")

</div>

Using the volume rendering tool, I can view the brain vascular tree more clearly.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/2/02a766eb633c5a642f044bec3416ebbef1bb464b.jpeg)  
However, I want to access this output from within the Python code. Just like a segmentation node. So how can I get the rendering result? Can I transfer to a standalone node?

---

<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 27, 2022, 10:28pm UTC](https://discourse.slicer.org/t/access-volume-rendering-result/24945/2 "2022-08-27T22:28:31Z")

</div>

You can capture the image rendered in the 3D view as shown in this [example in the script repository](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#capture-3d-view-into-png-file-with-transparent-background).

---

<div class="post-metadata">

**Author:** ![Muhammed\_Fatih\_Talu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muhammed_fatih_talu/32/14646_2.png) [@Muhammed\_Fatih\_Talu](https://discourse.slicer.org/u/Muhammed_Fatih_Talu)\
**Post date:** [September 18, 2022, 2:11pm UTC](https://discourse.slicer.org/t/access-volume-rendering-result/24945/3 "2022-09-18T14:11:59Z")

</div>

Thanks.  
But my goal is not to export the rendering result to a 2d image file. I’m trying to get brain vessels in 3d. I think the most convenient way is to use “Scalar Opacity Mapping” under the “Volume Rendering” tool. A wonderful vascular tree information can be extracted. However, I want to assign this manuel rendering result to a 3d variable (or a node variable, 3d dijital matrix variable) and use it within the program.
