# Converting 3D slicer obtained information into an oriented bounding box in Python (using simpleitk/vtk etc)

**URL:** <https://discourse.slicer.org/t/converting-3d-slicer-obtained-information-into-an-oriented-bounding-box-in-python-using-simpleitk-vtk-etc/34902>\
**Category:** Development\
**Tags:** build, segmentation, python, 3d-model\
**Created:** [March 15, 2024, 6:24am UTC](https://discourse.slicer.org/t/converting-3d-slicer-obtained-information-into-an-oriented-bounding-box-in-python-using-simpleitk-vtk-etc/34902 "2024-03-15T06:24:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Poorvica\_Ramanand](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/poorvica_ramanand/32/69675_2.png) [@Poorvica\_Ramanand](https://discourse.slicer.org/u/Poorvica_Ramanand)\
**Post date:** [March 15, 2024, 6:24am UTC](https://discourse.slicer.org/t/converting-3d-slicer-obtained-information-into-an-oriented-bounding-box-in-python-using-simpleitk-vtk-etc/34902/1 "2024-03-15T06:24:36Z")

</div>

Greetings,

I have exported statistical values as below into a CSV file of the CT Liver Segmentation. I wish to convert this information into a bounding box for organs by loading on Python externally in Jupyter/Google Colab. How can I do so?

Uploading: Screenshot 2024-03-15 at 10.13.06 AM.png…
