is there any possibility to mark the center of the femoral head? In planning softwares you can draw a circle around the contour of the femoral head, but i see no possibility to draw a circle and mark its center.
I am not sure how you define the contour of the femoral head, but if you are planning in 3D view, you can easily trace it via the closed curve markups tool and calculate its centroid.
We provide general tools in Slicer and you can easily handcraft your specialized tools using Python scripting. For example, you can specify a sphere using markups fiducials, either directly determining the optimal sphere from multiple points and/or manually positioning a sphere by adjusting a few control points.
Hello, I’m trying to apply your code to define my best-fit sphere. When I enter the code, I get the following error message:
“Traceback (most recent call last):
File “”, line 37, in
NameError: name ‘markups’ is not defined”
I’m not familiar with python, so I don’t know how to fix this. Could you help me out, please?
The code I applied was found on this webpage, under " Specify a sphere by multiple control points": Script repository — 3D Slicer documentation