Hi, I am trying to create an annotation ROI that is the size of the bounding box using python. I’m envisioning two main steps but I can’t quite figure out how to do all of it (in python).
- Adjust the 3D bounding box to be the smallest box around everything in the scene (similar to the reposition button)
- Create an annotationROI that matches the dimensions and position of the bounding box.
I know there is code in the script repository for the reposition button but getting the dimensions of the bounding box is the biggest challenge for me right now. Any help would be appreciated. Thanks!