# How to display the OBB of a nrrd file in 3d slicer?

**URL:** <https://discourse.slicer.org/t/how-to-display-the-obb-of-a-nrrd-file-in-3d-slicer/37891>\
**Category:** Support\
**Created:** [August 14, 2024, 4:08pm UTC](https://discourse.slicer.org/t/how-to-display-the-obb-of-a-nrrd-file-in-3d-slicer/37891 "2024-08-14T16:08:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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 15, 2024, 1:27pm UTC](https://discourse.slicer.org/t/how-to-display-the-obb-of-a-nrrd-file-in-3d-slicer/37891/4 "2024-08-15T13:27:15Z")

</div>

The topic of getting axis-aligned bounding boxes is discussed here:

> [@Get axis-aligned bounding boxes for segments](https://discourse.slicer.org/t/get-axis-aligned-bounding-boxes-for-segments/27795):
>
> I created a segmentation with some segments and want to get an axis-aligned bounding box for each segment. As far as i know, with the segment statistics module we can compute oriented bounding boxes, but i couldn’t find an option to get axis-aligned bounding boxes. I tried to get the segments as numpy arrays and use numpy functions to find the required values as suggested [here](https://discourse.slicer.org/t/python-script-to-get-axis-aligned-bounding-box/26227/5). But since i rotated the segments before, the segments do not match with the original scalar volume anymore. Do I need t…

---

_[View the full topic](https://discourse.slicer.org/t/how-to-display-the-obb-of-a-nrrd-file-in-3d-slicer/37891)._
