creating best fit planes and best fit sphere

(Claudia Zindl) #1

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!


(Andras Lasso) #2

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):

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.