There is an example in the script repository that draws the principal axes using ROI markup. It should not be hard to modify it to use lines instead.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
New Segment Statistics: Oriented Bounding Box, Diameter and More | 6 | 2525 | November 27, 2023 | |
Slice-by-slice statistics | 5 | 945 | December 2, 2019 | |
Why is SegmentStatistics slower in Python console? | 1 | 125 | July 1, 2024 | |
How to programmatically export data from segment statistics? | 3 | 912 | May 4, 2021 | |
Cylinder fitting | 14 | 1028 | March 23, 2022 |