2023 · DL · Published · PES

Kellgren-Lawrence knee grading

A deep learning model that reads a knee X-ray and grades how far osteoarthritis has progressed. It was also my final-year project.

Paper
Knee Osteoarthritis Prediction Driven by Deep Learning and the Kellgren-Lawrence Grading
Published
Proceedings on Engineering Sciences, ISSN 2620-2832, Vol. 05, No. 3 (2023), pp. 475–484
Authors
V. Vijaya Kishore, ShilpaSreya Batthala, Jithendra Varma Chamarthi, Chalambu Achyutasai, Subrahmanyam B.
DOI
10.24874/PES05.03.011 ↗
Received
1 December 2022
Accepted and published
7 May 2023
Project dates
December 2022 to April 2023
3,300knee X-ray images
5severity classes
95%training accuracy
87%maximum validation accuracy

The problem

Knee osteoarthritis gets worse over 10 to 15 years and is a major cause of activity restrictions in older people. Catching it early matters, because lost cartilage cannot be restored.

MRI shows the joint in 3D but is expensive and limited to large facilities, so X-ray is the practical screening tool. Reading the X-ray depends on the clinician: the Kellgren-Lawrence scale leaves room for judgement, and studies the paper cites put reliability between 0.67 and 0.73 even for the same reader.

The Kellgren-Lawrence classes in the data

The study used two sets of 1,650 images from a public knee X-ray dataset. Each set had this mix:

GradeClassImages per set
0Normal514
1Doubtful477
2Mild232
3Moderate221
4Severe206

The approach

  1. Prepare the images

    Load the dataset, then resize and normalise each X-ray to 224 × 224.

  2. Use a pre-trained network

    VGG16 with ImageNet weights extracts the features, using stacked 3 × 3 convolution layers and 2 × 2 max pooling.

  3. Classify

    Fully connected layers and SoftMax assign one of the five grades.

  4. Evaluate and save

    Plot accuracy and loss, then save the trained model.

Results

The paper reports a classification accuracy of more than 95%, with an average training accuracy of 95% and a maximum validation accuracy of 87%.

Tools

  • Python, Keras and TensorFlow for the model
  • scikit-learn for splitting the data
  • PIL, NumPy and pandas for image and data handling
  • Matplotlib for the evaluation graphs
  • Flask for the implementation

Where this sits in the story