Operating system : Win10 x64:
Slicer version : 4.11.20200930
I’m a medical doctor and fairly new to the slicer 3d application, I am trying to calculate the angles between oriented bounding boxes created with the python code here Documentation/Nightly/ScriptRepository - Slicer Wiki
I tried to use the segment statistics module for this task but cannot fully understand how to use the data provided. What i need is a simple solution like the angle planes module since i’ll be dealing with huge amount of calculations. Thanks for your patience…
obb_direction_ras_x, obb_direction_ras_y, and obb_direction_ras_z are vectors specifying direction of coordinate system axes. You can get angles between vectors using standard vector math, but you can also use convenience functions in VTK, for example:
Thank you for quick reply. I have managed to measure the vector angles as you described but was unable to produce accurate reproducible results. I need to measure a specific angle for each OBB like this one