Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2020;31(2):175-183.
doi: 10.5606/ehc.2020.72163. Epub 2020 Mar 26.

Femoral neck fracture detection in X-ray images using deep learning and genetic algorithm approaches

Affiliations

Femoral neck fracture detection in X-ray images using deep learning and genetic algorithm approaches

Salih Beyaz et al. Jt Dis Relat Surg. 2020.

Abstract

Objectives: This study aims to detect frontal pelvic radiograph femoral neck fracture using deep learning techniques.

Patients and methods: This retrospective study was conducted between January 2013 and January 2018. A total of 234 frontal pelvic X-ray images collected from 65 patients (32 males, 33 females; mean age 74.9 years; range, 33 to 89 years) were augmented to 2106 images to achieve a satisfactory dataset. A total of 1,341 images were fractured femoral necks while 765 were non-fractured ones. The proposed convolutional neural network (CNN) architecture contained five blocks, each containing a convolutional layer, batch normalization layer, rectified linear unit, and maximum pooling layer. After the last block, a dropout layer existed with a probability of 0.5. The last three layers of the architecture were a fully connected layer of two classes, a softmax layer and a classification layer that computes cross entropy loss. The training process was terminated after 50 epochs and an Adam Optimizer was used. Learning rate was dropped by a factor of 0.5 on every five epochs. To reduce overfitting, regularization term was added to the weights of the loss function. The training process was repeated for pixel sizes 50x50, 100x100, 200x200, and 400x400. The genetic algorithm (GA) approach was employed to optimize the hyperparameters of the CNN architecture and to minimize the error after testing the model created by the CNN architecture in the training phase.

Results: Performance in terms of sensitivity, specificity, accuracy, F1 score, and Cohen's kappa coefficient were evaluated using five- fold cross validation tests. Best performance was obtained when cropped images were rescaled to 50x50 pixels. The kappa metric showed more reliable classifier performance when 50x50 pixels image size was used to feed the CNN. The classifier performance was more reliable according to other image sizes. Sensitivity and specificity rates were computed to be 83% and 73%, respectively. With the inclusion of the GA, this rate increased by 1.6%. The detection rate of fractured bones was found to be 83%. A kappa coefficient of 55% was obtained, indicating an acceptable agreement.

Conclusion: This experimental study utilized deep learning techniques in the detection of bone fractures in radiography. Although the dataset was unbalanced, the results can be considered promising. It was observed that use of smaller image size decreases computational cost and provides better results according to evaluation metrics.

PubMed Disclaimer

Conflict of interest statement

Conflict of Interest: The authors declared no conflicts of interest with respect to the authorship and/or publication of this article.

Figures

Figure 1
Figure 1. Sample images from augmented dataset.
Figure 2
Figure 2. General framework. CNN: Convolutional neural network.
Figure 3
Figure 3. Proposed convolutional neural network architecture.
Figure 4
Figure 4. Chromosome representation in genetic algorithm.
Figure 5
Figure 5. Crossover operation in genetic algorithm.
Figure 6
Figure 6. Effect of genetic algorithm on performance metrics. GA: Genetic algorithm.
Figure 7
Figure 7. Confusion matrices with and without genetic algorithm. GA: Genetic algorithm.

References

    1. Atik OŞ. There is an association between sarcopenia, osteoporosis, and the risk of hip fracture. Eklem Hastalik Cerrahisi. 2019;30:1–1. - PubMed
    1. Bozkurt HH, Tokgöz MA, Yapar A, Atik OŞ. What is the importance of canal-to-diaphysis ratio on osteoporosis- related hip fractures. Eklem Hastalik Cerrahisi. 2019;30:296–300. - PubMed
    1. Leslie WD, O’Donnell S, Jean S, Lagacé C, Walsh P, Bancej C, et al. Trends in hip fracture rates in Canada. JAMA. 2009;302:883–889. - PubMed
    1. Lewiecki EM, Wright NC, Curtis JR, Siris E, Gagel RF, Saag KG, et al. Hip fracture trends in the United States, 2002 to 2015. Osteoporos Int. 2018;29:717–722. - PubMed
    1. Bozkurt HH, Atik OŞ, Tokgöz MA. Can distal radius or vertebra fractures due to low-energy trauma be a harbinger of a hip fracture. Eklem Hastalik Cerrahisi. 2018;29:100–103. - PubMed

LinkOut - more resources