I am trying to make a bounding box based on a segmentation. I initially tried using SimpleITK and their LabelShapeStatisticsImageFilter class and their GetBoundingBox method to get some coordinates. When I tried doing the same thing in Slicer, the coordinates of the bounding box appears to be different. I understand their might be a difference in the coordinate system but I’m not fully understanding it even after reading the documentation. I just want to confirm that both outputs are essentially the same. Is there are a formula I should use to convert the outputs from the SimpleITK method to match the outputs of the Slicer method? Thank you again .
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Do you know how to convert real world coordination to image coordination? | 1 | 27 | February 17, 2025 | |
Get a leftmost/rightmost coordinate with SimpleITK | 7 | 1214 | August 5, 2021 | |
Converting 3D slicer obtained information into an oriented bounding box in Python (using simpleitk/vtk etc) | 0 | 146 | March 15, 2024 | |
OBB Not Aligned with Segmentde | 4 | 251 | November 11, 2023 | |
How can I convert the saved ROI points to voxel coordinates? | 0 | 243 | March 4, 2022 |