The invention provides a method for key point detection and angle measurement of an anterior X-
ray image of an
ankle joint, and belongs to the technical field of
image processing. According to the method, an anterior X-
ray image of an
ankle joint is collected, a standard
data set is constructed, and the
data set is utilized to
train a key point detection network. The method comprises the following steps: firstly, carrying out
standardization processing on an anterior X-
ray image of an
ankle joint, and training a key point detection model by utilizing an
annotation data set; then, the trained model is applied to a new X-ray image, and detection results of 12 key points are obtained through prediction of the model. And finally, based on a key point detection result, combining a mathematical
algorithm and an
image processing technology to calculate the following angles: a
tibia lateral malleolus angle, a
tibia medial malleolus angle, a
tibia articular surface angle, a tibia ankle acupoint angle, a tibia ankle angle, a fibular ankle angle, a talus inclination angle, a medial and
lateral malleolus angle and a tibia talus angle. The method can provide an accurate diagnosis basis for clinicians, helps orthopedists to quickly evaluate the
health condition of the ankle joint, remarkably improves the accuracy and efficiency of angle measurement, and reduces manual
operation time and errors. The method has wide application prospects in the fields of ankle
joint injury assessment,
treatment effect monitoring and the like.