Osteo-NeT: An Automated System for Predicting Knee Osteoarthritis from X-ray Images Using Transfer-Learning-Based Neural Networks Approach
Abstract
:1. Introduction
- This paper suggests and analyzes automated diagnostic and classification methods for knee osteoarthritis, along with a comparison with single trained machine learning diagnostic methodologies.
- This paper analyzes the effectiveness of a neural network in the classification of knee osteoarthritis through relevant performance judgment metrics.
- This paper also investigates the various data augmentation techniques used to train a model with high predictive accuracy.
2. Previous Works
3. Methodology
3.1. Data Collection and Preprocessing
- Denoising: We applied image denoising techniques to remove noise from the X-ray images. This is important because X-ray images may have varying levels of noise due to factors such as the imaging equipment and patient movement during the scan. Noise can reduce the quality of the images, making it more difficult for the transfer learning model to accurately identify knee osteoarthritis. We applied the median filtering technique to remove noise from an X-ray image by replacing each pixel with the median value of its neighboring pixels. We applied a 2D median filter with a kernel with the size 5 × 5. This parameter determines the size of the sliding window used to compute the median value for each pixel. A larger kernel size, such as 5 × 5, provides more significant noise reduction but may also blur important details in the image compared to a smaller kernel size, such as 3 × 3. A 5 × 5 kernel size means that the filter considers a 5-pixel neighborhood around each pixel to compute the median value. The significance of applying a 2D median filter with a 5 × 5 kernel size lies in its increased ability to remove noise, such as salt-and-pepper noise, from X-ray images. However, due to the larger kernel size, there is a trade-off in terms of preserving the edges and fine details in the images. This can result in a smoother image that might lose some important features, but it is still found to be effective for transfer learning models.
- Image enhancement techniques: Image enhancement techniques were applied to improve the clarity and contrast of X-ray images. This makes it easier for the transfer learning model to identify subtle features of knee osteoarthritis, such as the narrowing of joint spaces or the presence of osteophytes. We used the histogram equalization technique, contrast stretching, sharpening filters, and Gaussian smoothing techniques to enhance the quality of images. Specifically, we used adaptive histogram equalization with the clip limit set to 2.0 and the title grid size set to 8 × 8. Adaptive histogram equalization computes the equalization locally in small regions (tiles) rather than globally for the entire image. This allows the method to adapt to local contrast variations, improving the overall image quality. The clip limit determines the maximum height of the local histogram that is used for equalization. Any histogram peaks higher than the clip limit will be “clipped”, and the excess intensity values will be redistributed uniformly among the other bins in the histogram. This helps in limiting the amplification of noise. A higher clip limit will allow more contrast enhancement, but it may also amplify noise. In our work, a clip limit of 2.0 was used, which means that the maximum height of the histogram is twice the average height. The tile grid size defines the number of rectangular regions (tiles) into which the image is divided for local equalization. Each tile is processed independently and then combined to form the final equalized image. Smaller tile sizes result in more localized equalization, better adapting to local contrast variations. However, smaller tiles may also cause visible boundaries between tiles in the final image. A larger tile size reduces this issue but may not capture local contrast variations as effectively. In our work, an 8 × 8 tile grid size was used, which means the image is divided into 64 equal-sized rectangular tiles for processing. Further, contrast stretching was performed by stretching the intensity ranges between the 1st and 99th percentiles of the original intensity range. This means that pixel values below the 1st percentile are set to the minimum intensity value (0), and the pixel values above the 99th percentile are set to the maximum intensity value (255 for an 8-bit image). This approach removes the extreme intensity values that could be caused by noise or artifacts, focusing on the more relevant intensity range that covers 98% of the pixel values in the image. It effectively redistributes the intensity values more uniformly across the available range, enhancing the contrast. After determining the 1% and 99% percentile values, the image is rescaled so that its intensity range spans from 0 to 255 (for an 8-bit image). This step ensures that the full range of intensity values is utilized, maximizing the contrast of the resulting image. For example, if the 1st percentile corresponds to an intensity value of 20 and the 99th percentile corresponds to an intensity value of 230, then the contrast stretching operation will rescale all pixel values proportionally, such that the pixel with the value of 20 becomes 0 and the pixel with the value of 230 becomes 255. To enhance the edges and fine details in an image and make the transfer learning model capable of identifying important features from an image, unsharp masking is performed. To perform unsharp masking, two parameters are defined, the radius and the amount. The radius parameter determines the size of the Gaussian blur kernel used to create the blurred image. A larger radius will result in more significant blur, which in turn will emphasize larger edges and features in the image during the unsharp masking process. In our model, we used a radius of 2, which means that the Gaussian blur kernel will consider a 2-pixel-radius neighborhood around each pixel to compute the blur. Another parameter used is “amount”. This parameter controls the degree of sharpening applied to the image. It is the scaling factor used to combine the original image with the difference between the original and blurred images. A higher amount value will result in more pronounced sharpening, while a lower value will result in a subtler effect. For our model, we used an amount value of 1.0, which means that the difference between the original and blurred images is added directly to the original image, resulting in a moderate level of sharpening. Finally, to reduce noise, a Gaussian filter is used, which is characterized by two parameters: kernel size and standard deviation. The kernel size determines the size of the filter applied to the image. A larger kernel size results in more significant blurring, while a smaller size preserves finer details. We used a kernel size of 5 × 5, which means that the filter considers a 5-pixel neighborhood around each pixel. Another parameter, called the standard deviation with sigma value 1, is used to control the spread of the Gaussian function used to compute the filter’s weights. A higher sigma value leads to more extensive blurring, while a lower value retains sharper edges. A sigma value of 1 indicates a moderate amount of blurring. Gaussian smoothing with these parameters helps reduce noise while preserving essential image features, which can improve the performance of transfer learning models.
- Transformation: In our work, image transformation techniques were applied to standardize and augment the X-ray images for better model training. Firstly, the images were resized to standard dimensions of 512 × 512 pixels, ensuring consistency across the dataset and enabling the transfer learning model to effectively process the images. The images are then divided into batches of 32, which helps optimize the training process by reducing the memory requirements and allowing the model to learn from multiple examples simultaneously. To further augment the dataset, image rotation and flipping techniques were employed. Image rotation involves rotating the X-ray images by a specific angle, such as 90, 180, or 270 degrees, generating new variations of the images that help the model generalize better to unseen data. Flipping the images, horizontally and vertically, also creates new variations, further enhancing the dataset’s diversity. These augmented images provide the transfer learning model with additional examples, enabling it to learn more robust features associated with knee osteoarthritis and improving its overall performance.
- Sampling: In this work, the sampling technique played a crucial role in selecting a representative subset of X-ray images for training the transfer learning model. Stratified sampling was employed to create a balanced dataset with respect to factors such as age, gender, and disease severity. Stratified sampling works by dividing the entire population of X-ray images into distinct groups, or strata, based on these factors. From each stratum, a proportional number of samples are randomly selected to ensure the adequate representation of all the groups in the final dataset. By using stratified sampling, the transfer learning model is trained on a diverse and representative set of examples, preventing any potential bias that could arise from an imbalanced dataset. This method ensures that the model is exposed to a broad range of cases, including different age groups, genders, and varying degrees of disease severity, which leads to more accurate and reliable predictions for different subgroups of patients. Overall, the application of stratified sampling contributes to a more robust and generalizable transfer learning model that can accurately predict knee osteoarthritis across various patient populations.
- Feature extraction: Feature extraction is carried out to identify the important features for the model to predict knee osteoarthritis. In this study, we used pretrained VGG16 [26] and ResNeT50 [27] models, which were trained on millions of natural images, to extract features from the knee X-ray images. By fine-tuning the VGG16 and ResNeT50 models on the knee X-ray images, the transfer learning model learns to identify the key features associated with knee osteoarthritis, such as joint space narrowing and osteophyte formation.
3.2. Model Architecture
3.3. Visualization Method
4. Results and Discussion
Algorithm 1: Adam Algorithm |
1. Initialize, and 1 2. for j = 1, …, J do 3. 4. 5. 6. end |
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Antico, M.; Sasazawa, F.; Dunnhofer, M.; Camps, S.M.; Jaiprakash, A.T.; Pandey, A.K.; Crawford, R.; Carneiro, G.; Fontanarosa, D. Deep learning-based femoral cartilage automatic segmentation in ultrasound imaging for guidance in robotic knee arthroscopy. Ultrasound Med. Biol. 2020, 46, 422–435. [Google Scholar] [CrossRef]
- van den Bosch, M.H. Osteoarthritis year in review 2020: Biology. Osteoarthr. Cartil. 2021, 29, 143–150. [Google Scholar] [CrossRef] [PubMed]
- Wikipedia Contributors. Osteoarthritis. Wikipedia. The Free Encyclopedia. Available online: https://en.wikipedia.org/w/index.php?title=Osteoarthritis&oldid=1110423149 (accessed on 21 September 2022).
- Donders, C.M.; Spaans, A.J.; Bessems, J.H.; van Bergen, C.J. Arthrocentesis, arthroscopy or arthrotomy for septic knee arthritis in children: A systematic review. J. Child. Orthop. 2021, 15, 48–54. [Google Scholar] [CrossRef] [PubMed]
- Radhamony, N.G.; Walkay, S.; Palaneer, S.; Hamadto, M. Predictors of failure after initial arthroscopic washout in septic arthritis of native knee joint-a retrospective analysis. Ann. Med. Surg. 2022, 74, 103269. [Google Scholar] [CrossRef] [PubMed]
- Jaffe, D.; Costales, T.; Jauregui, J.J.; Koenig, S.; Weir, T.B.; Greenwell, P.; Christian, M.; Henn, R.F., III. Current surgical practice for septic arthritis of the knee in the United States. J. Orthop. 2021, 25, 88–92. [Google Scholar] [CrossRef]
- Kokkotis, C.; Moustakidis, S.; Papageorgiou, E.; Giakas, G.; Tsaopoulos, D.E. Machine learning in knee osteoarthritis: A review. Osteoarthr. Cartil. Open 2020, 2, 100069. [Google Scholar] [CrossRef]
- Mohafez, H.; Sayed, H.; Hadizadeh, M.; Wee, L.K.; Ahmad, S.A. Detection of Knee Osteoarthritis and Prediction of Its Severity Using X-ray Image Analysis and Patients Assessment Data: A Hybrid Design. In Kuala Lumpur International Conference on Biomedical Engineering; Springer: Cham, Switerland, 2022; pp. 143–151. [Google Scholar]
- Saini, D.; Chand, T.; Chouhan, D.K.; Prakash, M. A comparative analysis of automatic classification and grading methods for knee osteoarthritis focussing on X-Ray images. Biocybern. Biomed. Eng. 2021, 41, 419–444. [Google Scholar] [CrossRef]
- Binvignat, M.; Pedoia, V.; Butte, A.J.; Louati, K.; Klatzmann, D.; Berenbaum, F.; Mariotti-Ferrandiz, E.; Sellam, J. Use of machine learning in osteoarthritis research: A systematic literature review. RMD Open 2022, 8, e001998. [Google Scholar] [CrossRef]
- Kumar, S.; Nagar, R.; Bhatnagar, S.; Vaddi, R.; Gupta, S.K.; Rashid, M.; Alkhalifah, T. Chest X ray and cough sample based deep learning framework for accurate diagnosis of COVID-19. Comput. Electr. Eng. 2022, 103, 108391. [Google Scholar] [CrossRef]
- Bonakdari, H.; Jamshidi, A.; Pelletier, J.P.; Abram, F.; Tardif, G.; Martel-Pelletier, J. A warning machine learning algorithm for early knee osteoarthritis structural progressor patient screening. Ther. Adv. Musculoskelet. Dis. 2021, 13, 1759720X21993254. [Google Scholar] [CrossRef]
- Brahim, A.; Jennane, R.; Riad, R.; Janvier, T.; Khedher, L.; Toumi, H.; Lespessailles, E. A decision support tool for early detection of knee OsteoArthritis using X-ray imaging and machine learning: Data from the OsteoArthritis Initiative. Comput. Med. Imaging Graph. 2019, 73, 11–18. [Google Scholar] [CrossRef] [PubMed]
- Jakaite, L.; Schetinin, V.; Hladůvka, J.; Minaev, S.; Ambia, A.; Krzanowski, W. Deep learning for early detection of pathological changes in x-ray bone microstructures: Case of osteoarthritis. Sci. Rep. 2021, 11, 2294. [Google Scholar] [CrossRef] [PubMed]
- Alexopoulos, A.; Hirvasniemi, J.; Tümer, N. Early detection of knee osteoarthritis using deep learning on knee magnetic resonance images. arXiv 2022, arXiv:2209.01192. [Google Scholar]
- Bayramoglu, N.; Nieminen, M.T.; Saarakkala, S. Machine learning based texture analysis of patella from X-rays for detecting patellofemoral osteoarthritis. Int. J. Med. Inform. 2022, 157, 104627. [Google Scholar] [CrossRef]
- Abdullah, S.S.; Rajasekaran, M.P. Automatic detection and classification of knee osteoarthritis using deep learning approach. La Radiol. Med. 2022, 127, 398–406. [Google Scholar] [CrossRef]
- Prabhakar, A.J.; Prabhu, S.; Agrawal, A.; Banerjee, S.; Joshua, A.M.; Kamat, Y.D.; Nath, G.; Sengupta, S. Use of Machine Learning for Early Detection of Knee Osteoarthritis and Quantifying Effectiveness of Treatment Using Force Platform. J. Sens. Actuator Netw. 2022, 11, 48. [Google Scholar] [CrossRef]
- Sayed, M.; Karthika, R.; Makena, V.K.K. Phono Arthrography for Early Detection of Osteoarthritis using Machine Learning. In Proceedings of the 2022 7th International Conference on Communication and Electronics Systems (ICCES), Coimbatore, India, 22–24 June 2022; pp. 1066–1072. [Google Scholar]
- Zebari, D.A.; Sadiq, S.S.; Sulaiman, D.M. Knee Osteoarthritis Detection Using Deep Feature Based on Convolutional Neural Network. In Proceedings of the 2022 International Conference on Computer Science and Software Engineering (CSASE), Duhok, Iraq, 15–17 March 2022; pp. 259–264. [Google Scholar]
- Sivakumari, T.; Vani, R. Implementation of AlexNet for Classification of Knee Osteoarthritis. In Proceedings of the 2022 7th International Conference on Communication and Electronics Systems (ICCES), Coimbatore, India, 22–24 June 2022; pp. 1405–1409. [Google Scholar]
- Hu, Y.; Tang, J.; Zhao, S.; Li, Y. Deep Learning-Based Multimodal 3 T MRI for the Diagnosis of Knee Osteoarthritis. Comput. Math. Methods Med. 2022, 2022, 7643487. [Google Scholar] [CrossRef]
- Yunus, U.; Amin, J.; Sharif, M.; Yasmin, M.; Kadry, S.; Krishnamoorthy, S. Recognition of Knee Osteoarthritis (KOA) Using YOLOv2 and Classification Based on Convolutional Neural Network. Life 2022, 12, 1126. [Google Scholar] [CrossRef]
- Kokkotis, C.; Ntakolia, C.; Moustakidis, S.; Giakas, G.; Tsaopoulos, D. Explainable machine learning for knee osteoarthritis diagnosis based on a novel fuzzy feature selection methodology. Phys. Eng. Sci. Med. 2022, 45, 219–229. [Google Scholar] [CrossRef]
- Teoh, Y.X.; Lai, K.W.; Usman, J.; Goh, S.L.; Mohafez, H.; Hasikin, K.; Qian, P.; Jiang, Y.; Zhang, Y.; Dhanalakshmi, S. Discovering Knee Osteoarthritis Imaging Features for Diagnosis and Prognosis: Review of Manual Imaging Grading and Machine Learning Approaches. J. Healthc. Eng. 2022, 2022, 4138666. [Google Scholar] [CrossRef]
- Simonyan, K.; Zisserman, A. Very deep convolutional networks for large-scale image recognition. arXiv 2014, arXiv:1409.1556. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar]
- Osteoarthritis Dataset. Available online: https://www.kaggle.com/datasets/samantabeginner/osteoarthritis-dataset/ (accessed on 19 September 2022).
- Talo, M.; Baloglu, U.B.; Yıldırım, Ö.; Acharya, U.R. Application of deep transfer learning for automated brain abnormality classification using MR images. Cogn. Syst. Res. 2019, 54, 176–188. [Google Scholar] [CrossRef]
- Valverde, J.M.; Imani, V.; Abdollahzadeh, A.; De Feo, R.; Prakash, M.; Ciszek, R.; Tohka, J. Transfer learning in magnetic resonance brain imaging: A systematic review. J. Imaging 2021, 7, 66. [Google Scholar] [CrossRef] [PubMed]
- Weiss, K.; Khoshgoftaar, T.M.; Wang, D. A survey of transfer learning. J. Big Data 2016, 3, 9. [Google Scholar] [CrossRef]
- Pan, S.J.; Yang, Q. A survey on transfer learning. IEEE Trans. Knowl. Data Eng. 2009, 22, 1345–1359. [Google Scholar] [CrossRef]
- Pacifici, F.; Del Frate, F. Automatic change detection in very high resolution images with pulse-coupled neural networks. IEEE Geosci. Remote Sens. Lett. 2009, 7, 58–62. [Google Scholar] [CrossRef]
- Sahinbas, K.; Catak, F.O. Transfer learning-based convolutional neural network for COVID-19 detection with X-ray images. In Data Science for COVID-19; Academic Press: Cambridge, MA, USA, 2021; pp. 451–466. [Google Scholar]
- Mohan, G.; Subashini, M.M. MRI based medical image analysis: Survey on brain tumor grade classification. Biomed. Signal Process. Control. 2018, 39, 139–161. [Google Scholar] [CrossRef]
- Yan, K.; Wang, X.; Lu, L.; Summers, R.M. Deeplesion: Automated deep mining, categorization and detection of significant radiology image findings using large-scale clinical lesion annotations. arXiv 2017, arXiv:1710.01766. [Google Scholar]
- Xia, X.; Xu, C.; Nan, B. Inception-v3 for flower classification. In Proceedings of the 2017 2nd International Conference on Image, Vision and Computing (ICIVC), Chengdu, China, 2–4 June 2017; pp. 783–787. [Google Scholar]
- Tan, M.; Le, Q. Efficientnet: Rethinking model scaling for convolutional neural networks. In Proceedings of the 36th International Conference on Machine Learning, Long Beach, CA, USA, 9–15 June 2019; pp. 6105–6114. [Google Scholar]
- Zhang, Z. Improved adam optimizer for deep neural networks. In Proceedings of the 2018 IEEE/ACM 26th International Symposium on Quality of Service (IWQoS), Banff, AB, Canada, 4–6 June 2018; pp. 1–2. [Google Scholar]
- Bock, S.; Goppold, J.; Weiß, M. An improvement of the convergence proof of the ADAM-Optimizer. arXiv 2018, arXiv:1804.10587. [Google Scholar]
- Bock, S.; Weiß, M. A proof of local convergence for the Adam optimizer. In Proceedings of the 2019 International Joint Conference on Neural Networks (IJCNN), Budapest, Hungary, 14–19 July 2019; pp. 1–8. [Google Scholar]
- Selvaraju, R.R.; Das, A.; Vedantam, R.; Cogswell, M.; Parikh, D.; Batra, D. Grad-CAM: Why did you say that? arXiv 2016, arXiv:1611.07450. [Google Scholar]
- Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 618–626. [Google Scholar]
- Srivastava, N.; Hinton, G.; Krizhevsky, A.; Sutskever, I.; Salakhutdinov, R. Dropout: A simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 2014, 15, 1929–1958. [Google Scholar]
- Ahmed, S.M.; Mstafa, R.J. Identifying Severity Grading of Knee Osteoarthritis from X-ray Images Using an Efficient Mixture of Deep Learning and Machine Learning Models. Diagnostics 2022, 12, 2939. [Google Scholar] [CrossRef] [PubMed]
- Tan, J.S.; Tippaya, S.; Binnie, T.; Davey, P.; Napier, K.; Caneiro, J.P.; Kent, P.; Smith, A.; O’Sullivan, P.; Campbell, A. Predicting knee joint kinematics from wearable sensor data in people with knee osteoarthritis and clinical considerations for future machine learning models. Sensors 2022, 22, 446. [Google Scholar] [CrossRef]
- Song, J.; Zhang, R. A novel computer-assisted diagnosis method of knee osteoarthritis based on multivariate information and deep learning model. Digit. Signal Process. 2023, 133, 103863. [Google Scholar] [CrossRef]
- Tiwari, A.; Poduval, M.; Bagaria, V. Evaluation of artificial intelligence models for osteoarthritis of the knee using deep learning algorithms for orthopedic radiographs. World J. Orthop. 2022, 13, 603. [Google Scholar] [CrossRef]
- Pongsakonpruttikul, N.; Angthong, C.; Kittichai, V.; Chuwongin, S.; Puengpipattrakul, P.; Thongpat, P.; Boonsang, S.; Tongloy, T. Artificial intelligence assistance in radiographic detection and classification of knee osteoarthritis and its severity: A cross-sectional diagnostic study. Eur. Rev. Med. Pharm. Sci. 2022, 26, 1549–1558. [Google Scholar]
- Lim, J.; Kim, J.; Cheon, S. A deep neural network-based method for early detection of osteoarthritis using statistical data. Int. J. Environ. Res. Public Health 2019, 16, 1281. [Google Scholar] [CrossRef]
- Bertoncelli, C.M.; Altamura, P.; Bagui, S.; Bagui, S.; Vieira, E.R.; Costantini, S.; Monticone, M.; Solla, F.; Bertoncelli, D. Predicting osteoarthritis in adults using statistical data mining and machine learning. Ther. Adv. Musculoskelet. Dis. 2022, 14, 1759720X221104935. [Google Scholar] [CrossRef]
- Cueva, J.H.; Castillo, D.; Espinós-Morató, H.; Durán, D.; Díaz, P.; Lakshminarayanan, V. Detection and Classification of Knee Osteoarthritis. Diagnostics 2022, 12, 2362. [Google Scholar] [CrossRef]
- Yang, J.; Ji, Q.; Ni, M.; Zhang, G.; Wang, Y. Automatic assessment of knee osteoarthritis severity in portable devices based on deep learning. J. Orthop. Surg. Res. 2022, 17, 1–8. [Google Scholar] [CrossRef] [PubMed]
- Chen, P. Knee Osteoarthritis Severity Grading Dataset. Available online: https://data.mendeley.com/datasets/56rmx5bjcr (accessed on 21 September 2022).
- Almuhammadi, W.S.; Agu, E.; King, J.; Franklin, P. OA-Pain-Sense: Machine Learning Prediction of Hip and Knee Osteoarthritis Pain from IMU Data. Informatics 2022, 9, 97. [Google Scholar] [CrossRef]
- Abdo, A.A.; El-Tarhouni, W.; Abdulsalam, A.F.; Altajori, A.B. Estimating the severity of knee osteoarthritis using Deep Convolutional Neural Network based on Contrast Limited Adaptive Histogram Equalization technique. In Proceedings of the 2022 International Conference on Engineering & MIS (ICEMIS), Istanbul, Turkey, 4–6 July 2022; pp. 1–6. [Google Scholar]
- Ahmed, H.A.; Mohammed, E.A. Detection and Classification of The Osteoarthritis in Knee Joint Using Transfer Learning with Convolutional Neural Networks (CNNs). Iraqi J. Sci. 2022, 63, 5058–5071. [Google Scholar] [CrossRef]
- Hawker, G.A.; Lohmander, L.S. What an earlier recognition of osteoarthritis can do for OA prevention. Osteoarthr. Cartil. 2021, 29, 1632–1634. [Google Scholar] [CrossRef] [PubMed]
- Goswami, A.D. Automatic Classification of the Severity of Knee Osteoarthritis Using Enhanced Image Sharpening and CNN. Appl. Sci. 2023, 13, 1658. [Google Scholar]
- Teo, J.C.; Khairuddin, I.M.; Razman, M.A.M.; Majeed, A.P.A.; Isa, W.H.M. Automated Detection of Knee Cartilage Region in X-ray Image. MEKATRONIKA 2022, 4, 104–109. [Google Scholar] [CrossRef]
- Patron, A.; Annala, L.; Lainiala, O.; Paloneva, J.; Äyrämö, S. An automatic method for assessing spiking of tibial tubercles associated with knee osteoarthritis. Diagnostics 2022, 12, 2603. [Google Scholar] [CrossRef]
Description | Number of Images |
---|---|
Training set | 2350 X-ray images |
Testing set | 845 X-ray images |
Validation set | 641 X-ray images |
Total images | 3836 X-ray images |
Parameter | Task Performed |
---|---|
Rotation_Range = 20 | It rotates images by angles between 0 and 20 degrees. |
Width_Shift_Range = 0.01 | It shifts the image along the X-axis by the input value. |
Height_Shift_Range = 0.01 | It vertically shifts the image by the input value. |
Horizontal_Flip = False | It stops the horizontal flipping of rows and columns. |
Vertical_Flip = False | It stops the vertical flipping of rows and columns. |
Precision | Recall | F-1 Score | Support | |
---|---|---|---|---|
Normal (0) | 0.94 | 0.78 | 0.85 | 210 |
Osteoarthritis (1) | 0.90 | 0.97 | 0.94 | 431 |
Macro Average | 0.92 | 0.88 | 0.89 | 641 |
Weighted Average | 0.91 | 0.91 | 0.91 | 641 |
Specificity = 0.97 |
Epochs | Loss | Accuracy | Validation Loss | Validation Accuracy |
---|---|---|---|---|
1/30 | 7.4912 | 0.7291 | 7.1074 | 0.4596 |
2/30 | 6.4551 | 0.8109 | 6.6875 | 0.4383 |
3/30 | 5.9190 | 0.8662 | 6.1840 | 0.6170 |
4/30 | 5.5223 | 0.8983 | 5.8450 | 0.6511 |
5/30 | 5.2077 | 0.9125 | 5.5006 | 0.7277 |
6/30 | 4.9329 | 0.9352 | 5.2639 | 0.7362 |
7/30 | 4.7257 | 0.9485 | 5.1072 | 0.7362 |
8/30 | 4.5274 | 0.9593 | 4.9531 | 0.7745 |
9/30 | 4.3915 | 0.9735 | 4.9955 | 0.7277 |
10/30 | 4.2561 | 0.9716 | 4.7379 | 0.7957 |
11/30 | 4.1487 | 0.9726 | 4.5431 | 0.8340 |
12/30 | 4.0387 | 0.9825 | 4.4185 | 0.8681 |
13/30 | 3.9491 | 0.9891 | 4.6264 | 0.7915 |
14/30 | 3.8583 | 0.9872 | 4.5093 | 0.7957 |
15/30 | 3.7755 | 0.9905 | 4.5681 | 0.7872 |
16/30 | 3.7012 | 0.9910 | 4.3396 | 0.8426 |
17/30 | 3.6342 | 0.9934 | 4.3579 | 0.8128 |
18/30 | 3.5685 | 0.9953 | 4.1970 | 0.8383 |
19/30 | 3.5088 | 0.9939 | 4.2251 | 0.8170 |
20/30 | 3.4371 | 0.9962 | 4.6567 | 0.7277 |
21/30 | 3.3787 | 0.9967 | 3.9780 | 0.8766 |
22/30 | 3.3227 | 0.9967 | 3.8515 | 0.8809 |
23/30 | 3.2670 | 0.9953 | 3.8776 | 0.8723 |
24/30 | 3.2060 | 0.9972 | 3.9987 | 0.8383 |
25/30 | 3.1530 | 0.9967 | 4.0305 | 0.8213 |
26/30 | 3.0979 | 0.9976 | 3.9723 | 0.8298 |
27/30 | 3.0439 | 0.9962 | 3.6168 | 0.8894 |
28/30 | 2.9908 | 0.9986 | 3.6642 | 0.8851 |
29/30 | 2.9383 | 0.9981 | 3.7275 | 0.8681 |
30/30 | 2.8906 | 1.0000 | 3.4289 | 0.9106 |
Precision | Recall | F-1 Score | Support | |
---|---|---|---|---|
Normal (0) | 0.99 | 0.77 | 0.87 | 220 |
Osteoarthritis (1) | 0.90 | 1.00 | 0.94 | 431 |
Macro Average | 0.94 | 0.89 | 0.91 | 651 |
Weighted Average | 0.93 | 0.92 | 0.92 | 651 |
Specificity = 0.99 |
Epochs | Loss | Accuracy | Validation Loss | Validation Accuracy |
---|---|---|---|---|
1/30 | 7.0904 | 0.7773 | 7.1538 | 0.4426 |
2/30 | 6.2619 | 0.8790 | 6.2547 | 0.8000 |
3/30 | 5.7947 | 0.8988 | 5.8836 | 0.7915 |
4/30 | 5.4136 | 0.9229 | 5.4863 | 0.8596 |
5/30 | 5.1099 | 0.9409 | 5.4320 | 0.7702 |
6/30 | 4.8678 | 0.9499 | 5.2968 | 0.7532 |
7/30 | 4.6622 | 0.9470 | 5.0469 | 0.7830 |
8/30 | 4.4578 | 0.9603 | 4.7299 | 0.8426 |
9/30 | 4.2779 | 0.9678 | 4.7181 | 0.7915 |
10/30 | 4.0964 | 0.9830 | 4.6857 | 0.7787 |
11/30 | 3.9562 | 0.9792 | 4.4714 | 0.7915 |
12/30 | 3.8029 | 0.9835 | 4.3791 | 0.7872 |
13/30 | 3.6892 | 0.9835 | 4.1811 | 0.8043 |
14/30 | 3.5528 | 0.9863 | 4.1319 | 0.7915 |
15/30 | 3.4316 | 0.9896 | 4.0257 | 0.8043 |
16/30 | 3.3145 | 0.9915 | 3.8679 | 0.8255 |
17/30 | 3.2210 | 0.9901 | 3.9060 | 0.7830 |
18/30 | 3.1180 | 0.9901 | 3.9950 | 0.7362 |
19/30 | 3.0159 | 0.9939 | 3.7447 | 0.7787 |
20/30 | 2.9354 | 0.9934 | 3.4696 | 0.8511 |
21/30 | 2.8475 | 0.9934 | 3.5507 | 0.8043 |
22/30 | 2.7621 | 0.9934 | 3.5520 | 0.7702 |
23/30 | 2.6778 | 0.9976 | 3.7049 | 0.7319 |
24/30 | 2.6019 | 0.9972 | 3.3205 | 0.8043 |
25/30 | 2.5302 | 0.9957 | 3.3010 | 0.8000 |
26/30 | 2.4616 | 0.9962 | 3.2117 | 0.8213 |
27/30 | 2.3962 | 0.9957 | 3.0944 | 0.8255 |
28/30 | 2.3287 | 0.9991 | 3.1601 | 0.8043 |
29/30 | 2.2744 | 0.9939 | 2.9850 | 0.8213 |
30/30 | 2.2146 | 0.9967 | 2.8387 | 0.8468 |
Precision | Recall | F-1 Score | Support | |
---|---|---|---|---|
Normal (0) | 0.98 | 0.74 | 0.84 | 220 |
Osteoarthritis (1) | 0.88 | 0.99 | 0.93 | 431 |
Macro Average | 0.93 | 0.86 | 0.89 | 651 |
Weighted Average | 0.91 | 0.91 | 0.90 | 651 |
Specificity = 0.99 |
Model | Training Accuracy (%) | Testing Accuracy (%) |
---|---|---|
Sequential CNN | 93.53 | 90.95 |
Pretrained VGG-16 | 99.11 | 92.17 |
Pretrained ResNeT-50 | 98.47 | 90.63 |
Authors | Work Performed | Disadvantages | Advantages |
---|---|---|---|
[45] | Two different models, machine learning and transfer learning, were used to detect knee osteoarthritis and classify them into subtypes based on severity grading. | Not very high detection and classification accuracy. It did not perform well in multi-class labeled samples. | Achieved an accuracy of 90.8% and performed well in binary-class label classification. |
[46] | A bi-directional LSTM model was used on data collected from 17 patients affected by knee osteoarthritis to estimate the flexion kinematics of joints. | This technique was not tested on a large dataset and is not very reliable for use in the real world. | This technique effectively predicts the kinematics for knee joint flexion during phases of walking in a small dataset. |
[47] | A computer-assisted detection and classification technique based on multivariate information and deep learning for knee osteoarthritis is suggested. | The accuracy decreased significantly from 93.6% to 84.2%, and the reliability of this technique in the real world is questionable. | This technique not only detects knee osteoarthritis but also grades the severity of knee arthritis in various classes. |
[48] | This study evaluated various deep learning techniques in detecting knee osteoarthritis. | The evaluation of the techniques is not stable, and the accuracy ranges from 54% to 93%. | Tested the efficacy of various deep learning techniques on a dataset of 2000 + knee X-ray images. |
[49] | A novel technique based on Yolo-V3 to detect and classify knee osteoarthritis from X-ray images. | The technique achieved a low detection and classification accuracy of 85% and 86.7%, respectively, when evaluated on different parameters. | The suggested technique achieved satisfactory performance in detecting early stages of knee osteoarthritis. |
[50] | The use of the phono-arthrography technique is suggested for detecting osteoarthritis. | The suggested technique is still under development, but initial results have shown great promise for the future diagnosis of osteoarthritis. | Initial results achieved better accuracy in the detection and classification of arthritis. |
[51] | The suggested technique evaluated the various risk factors associated with knee osteoarthritis in young adults using machine learning. | The suggested technique achieved low accuracy of 78%, 56%, and 71% respectively with different input features and 67.6%, 62.3%, and 71%, respectively, with the same input features when evaluating the risk factors. | This technique not only detected knee osteoarthritis but also evaluated the risk factors associated with it. |
[52] | The use of CNN was suggested for detecting knee osteoarthritis. | The suggested technique achieved an average multi-class accuracy of 61%, which is lower than that of other state-of-art techniques. | The suggested technique also performs classification of knee osteoarthritis in classes such as KL0, KL1, KL2, KL3, and KL4. |
[53] | The Kellgren–Lawrence technique, along with deep learning techniques, is used to detect and classify knee osteoarthritis. | The suggested technique achieved a higher accuracy but was tested only on a dataset of 697 patients, which is a small sample. | The model achieved an overall high accuracy of 97.7% in detecting and classifying knee osteoarthritis. |
This work | Transfer learning technique based on VGG-16, ResNeT-50, and CNN is suggested for detecting knee osteoarthritis from knee X-ray images. | The suggested technique was tested on a larger dataset and achieved an accuracy of 92.17%. | Although the suggested technique achieved high accuracy, it still has disadvantages such as model interpretability, bias correction, and regularization. |
References | Accuracy % |
---|---|
[49] | 85.7% and 86% on the dataset available at [54] using the Yolo V3 model |
[52] | 61% on the same dataset as [54] using a CNN |
[55] | 86.79% and 83.57%, respectively, on a dataset curated by the authors consisting of samples from knee osteoarthritis and hip osteoarthritis patients |
[56] | 85.50% on the osteoarthritis severity grading dataset and osteoarthritis initiative dataset by using a deep CNN model |
[57] | 91.51% on the dataset available at [54] using a transfer learning CNN model. |
[58] | 90.06% using Yolo V2 and the CNN technique; the dataset was collected by the authors on their own, and no specifications regarding the dataset were given. |
[59] | 89.29% using the same dataset available at [54] and using CNN |
[60] | 72% using the same dataset available at [54] and using CNN |
[61] | 71.33% by using an automated CNN technique on the dataset curated by the authors on their own. |
This Work | 92.17% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Alshamrani, H.A.; Rashid, M.; Alshamrani, S.S.; Alshehri, A.H.D. Osteo-NeT: An Automated System for Predicting Knee Osteoarthritis from X-ray Images Using Transfer-Learning-Based Neural Networks Approach. Healthcare 2023, 11, 1206. https://doi.org/10.3390/healthcare11091206
Alshamrani HA, Rashid M, Alshamrani SS, Alshehri AHD. Osteo-NeT: An Automated System for Predicting Knee Osteoarthritis from X-ray Images Using Transfer-Learning-Based Neural Networks Approach. Healthcare. 2023; 11(9):1206. https://doi.org/10.3390/healthcare11091206
Chicago/Turabian StyleAlshamrani, Hassan A., Mamoon Rashid, Sultan S. Alshamrani, and Ali H. D. Alshehri. 2023. "Osteo-NeT: An Automated System for Predicting Knee Osteoarthritis from X-ray Images Using Transfer-Learning-Based Neural Networks Approach" Healthcare 11, no. 9: 1206. https://doi.org/10.3390/healthcare11091206
APA StyleAlshamrani, H. A., Rashid, M., Alshamrani, S. S., & Alshehri, A. H. D. (2023). Osteo-NeT: An Automated System for Predicting Knee Osteoarthritis from X-ray Images Using Transfer-Learning-Based Neural Networks Approach. Healthcare, 11(9), 1206. https://doi.org/10.3390/healthcare11091206