creating best fit planes and best fit sphere

(Claudia Zindl) #1

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

Hi,
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!

Claudia

(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): https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Fit_slice_plane_to_markup_fiducials

You can manually define/visualize a sphere as shown here:
https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Manipulating_objects_in_the_slice_viewer
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.