creating best fit planes and best fit sphere

Operating system: windows
Slicer version: 4.10.1
Expected behavior:
Actual behavior:

I am trying to calculate angles between planes (working with AnglePlane module) and need to create a plane where I cannot use just 3 landmarks but it needs to be a best fit plane of the acetabular rim to create the acetabular plane.

I am also trying to define the acetabulum using a best fit sphere.

Thanks so much for your help. This is great!


You can align slice plane with 3 landmark points by copy-pasting these few lines of code to Slicer’s Python interactor (menu: View / Python interactor): Documentation/Nightly/ScriptRepository - Slicer Wiki

You can manually define/visualize a sphere as shown here:
You may be able to register a sphere by creating a sphere and segmenting the acetabulum and use Segment Registration module to automatically align them.

2 posts were merged into an existing topic: Please some help about making best fit sphere of humeral head