I am a physicist and have recently started to orient in data science. I came an idea to calculate the angle for the valgus deformation from an x-ray image (attachment). All I did for the moment is to read image and apply some filters to find edges in the image by using Python. I still could not figure out how to draw such lines based on each bone position to estimate the valgus angle. I wonder if SimpleITK is a tool to help me out for that purpose and if so I would appreciate of any information.