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 | |
---|---|---|---|---|
Discrepancy in Image Origin Values between 3D Slicer and SimpleITK | 10 | 292 | May 9, 2024 | |
Parsing CenterLine File (.vtk) | 2 | 358 | July 5, 2018 | |
Get a leftmost/rightmost coordinate with SimpleITK | 7 | 1181 | August 5, 2021 | |
How does 3D Slicer coordinates work? | 1 | 239 | July 11, 2019 | |
Changes to VTK polydata between 4.10 and 4.11 | 1 | 614 | April 27, 2021 |