Skip to content

In collaboration with Dr. Liang Zhan and the 2022 Hillman Academy. This study implements a Dense Dense U-Net, a convolutional neural network, to segment hand x-rays using K-Means clusters as ground truths. A Support Vector Regression model utilizes produced segmentations to predict bone age with greater speed, precision and accuracy as radiologists

Notifications You must be signed in to change notification settings

pjukalkar24/bone_age_assessment

Repository files navigation

Unsupervised Pediatric Bone Age Assessment through U-Net and K-Means X-Ray Segmentation

Preetam S. Jukalkar, Xiyao Fu, Dr. Liang Zhan2
South Fayette High School, McDonald, PA; University of Pittsburgh Hillman Cancer Center Academy, Pittsburgh, PA

Abstract

To perform BAA, x-ray images must first be segmented to reduce noise and complexity; semantic (supervised) segmentation has delivered promising results2 in predicting bone age. However, current approaches to BAA often utilize supervised convolutional neural networks2,3,4 (CNNs) which, while capable of outperforming radiologists, are limited by data concerns. CNNs require annotated segmentations, labeled by hand pixel-by-pixel as 0 or 1 based on relevance2. To combat this problem of “expensive” and at times unavailable data, our proposed architecture aims to utilize a small yet varied dataset without any need for perfectly annotated segmentations. The proposed architecture is able to use existing x-ray datasets in unique ways, automatically creating data in the form of rough, flawed segmentations from which the neural network can learn to achieve desirable results. By utilizing existing data in unique ways and capitalizing on available resources, the horizons of biomedical imaging can be expanded to include unsupervised learning, which has been largely ignored in favor of semantic segmentation. This study proposes the use of a Dense-Dense U-Net with K-Means derived ground truths to alleviate the need for extensive expert-labelled data while preserving state-of-the-art (SOTA) accuracy in segmentation task.

Running this Repository

Dependencies

Pandas, Numpy, CV2, SKImage, MatPlotLib, TensorFlow, SKLearn

Information

Data augmentation, full pipeline, and K-Means clustering does not need to be run. Results are reproducible with seed 42 and stored in folders in repository.
UNET_FINAL does not need to be run. Model weights are stored in FINAL_UNET_MODEL.h5.
BoneAgeAssessment must be run to view results.

File Breakdown

Data

data --> train, test, validation --> unprocessed x-ray images
pipeline_outputs --> data --> train, test, validation --> processed x-ray images from FullPipeline.ipynb
kmeans_segm --> data --> k-means clustered x-ray images
BoneAge.csv --> image number, corresponding bone age, and gender

Data Pre-Processing

DataAugmentation.ipynb --> Introduces noise and randomness to x-ray imaging to mimic differences in x-ray technology across hospitals
FullPipeline.ipynb --> Completes all pre-processing for x-ray images for input
KMeans.ipynb --> Applies K-Means clustering to all x-ray images in training set to be used as pseudo ground truths

Proposed Model

UNET_FINAL.ipynb --> Runs DDU-Net training for the task of image segmentation *WARNING: CPU runtime >5 hours*
BoneAgeAssessment.ipynb --> Runs SVR, DF, Boosting, and NN models to predict bone age

Model Weights

DDUNET_train.h5 --> original model weights with standard loss
DDUNET_train_custom_loss[_2].h5 --> model weights with proposed loss
FINAL_UNET_MODEL.h5 --> model weights for proposed model and loss w/ optimal hyperparameters

Logs

logs, logs_ddunet, logs_ddunet_custom_loss[_2], logs_dice --> loss during u-net training to be used with tensorboard

References

Satoh M. Bone age: assessment methods and clinical applications. Clin Pediatr Endocrinol. 2015;143-152 doi:10.1297/cpe.24.143
Xiaoying P, Yizhe Z, Hao C , De W, Chen Z , and Zhi W. Fully Automated Bone Age Assessment on Large-Scale Hand X-Ray Dataset. International Journal of Biomedical Imaging; 2020
Fan J, Wing W, and Tieyong Z. DDUNet: Dense Dense U-Net with Applications in Image Denoising. Department of Mathematics, The Chinese University of Hong Kong; 2021
Ian P, Grayson B, Simukayi M, Derek M, Carrie R, David S, and Rama A. Rethinking Greulich and Pyle: A Deep Learning Approach to Pediatric Bone Age Assessment Using Pediatric Trauma Hand Radiographs. Radiology: Artificial Intelligence 2020 2:4


Special thank you to the University of Pittsburgh, UPMC, the 2022 Hillman Academy, Dr. David Boone, Steven Jones, Dr. Liang Zhan, Mr. Xiyao Fu, and the Center for Artificail Intelligence Innovation in Medical Imaging at the University of Pittsburgh.

About

In collaboration with Dr. Liang Zhan and the 2022 Hillman Academy. This study implements a Dense Dense U-Net, a convolutional neural network, to segment hand x-rays using K-Means clusters as ground truths. A Support Vector Regression model utilizes produced segmentations to predict bone age with greater speed, precision and accuracy as radiologists

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published