Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

An image processing algorithm to estimate bone

mineral density using digital X-ray images


Shiyana Sherief Khan, Archana S Jayan and Sharmila Nageswaran*
School of Electronics Engineering
VIT University
Vellore, Tamil Nadu, India
*sharmila.n@vit.ac.in

Abstract— The main idea of this paper is to test and validate an It is with the aim to eliminate the above two drawbacks that an
image processing algorithm that estimates the bone mineral image processing algorithm was tested that estimates the
density from digital X-ray (both real-time and open source)
images itself. This method can reduce cost; reduce the time for BMD from a digital X-ray image itself using MATLAB
detecting the patient status and also it is a non-invasive method. software. This method can reduce cost; reduce the time for
detecting the patient status and also it is a non-invasive
Keywords- Bone mineral density, Specific bone density, Matlab,
method.
Region of interest, GUI.

I. INTRODUCTION II. BACKGROUND

Bone mineral density (BMD) is a measure of bone density, Bone mineral density (BMD) gives a value of the average
reflecting the strength of bones as represented by calcium distribution of bone mineral at the site of interest, i.e., the areal
content. The BMD test detects osteopenia (mild bone loss, density. It is indicative of many diseases mainly osteoporosis
usually without symptoms) and osteoporosis (more severe which has been defined as ‘a disease characterized by low
bone loss, which may cause symptoms). Osteoporosis is a bone mass and micro architectural deterioration of bone tissue,
medical condition in which the bones become brittle and leading to enhanced bone fragility and a consequent increase
fragile from loss of tissue, typically as a result of hormonal in fracture risk’ (WHO-1994). BMD is calculated in the most
changes, or deficiency of calcium or vitamin D whereas precise way by DEXA scanning, DXA scanning, etc. Though
osteopenia is a medical condition in which the protein and DEXA scanning is more efficient in calculating BMD and
mineral content of bone tissue is reduced, but less severely requires a lower dose of X-ray beam energy, it is more
than in osteoporosis. expensive than X-ray and is often a second test followed by an
X-ray scan.
In the current scenario, bone mineral density is mainly
measured using the device named Bone Densitometer, which
It would, therefore, be useful if one could estimate the same
uses lower dose of X-rays to obtain the image to calculate the
from digital X-ray images itself avoiding the time taken to
BMD level. The cost for this particular test is high and mostly
conduct DEXA scanning. Moreover, the expenses could also
the patient has to undergo X-Ray test before bone
be reduced. The aim of this project is to estimate the Bone
densitometer scanning to identify whether the patient is
Mineral Density of digital X-ray images using MATLAB
detected with osteoporosis. In these cases the patient gets
software by providing an efficient, effective and reliable
exposed to X-ray radiation twice and the time consumed
method, to reduce time consumption and to reduce cost.
becomes more.

978-1-5090-3239-6/17/$31.00©2017IEEE
An image processing algorithm was tested using MATLAB The BMD value obtained from the MATLAB code is later on
software. It was initially tested with open source images and compared with the DEXA report for the validation process.
then later validated with real-time images obtained from
Chettinad Hospital, Chennai. This code has been tested mainly
on five regions: metacarpals, proximal humerus, proximal
femur, lumbar spine and patella. Precise results were obtained
for all the regions except patella as real-time image of an where t = Cortical thickness,

osteopenic/osteoporotic patella could not be obtained. When W= Outer diameter,

the BMD values obtained using digital X-ray images were VPA= Volume per Area and

compared with those of DEXA scan, satisfactory results were BMD= Bone Mineral Density

obtained ie patients detected with osteoporosis or osteopenia V. DESIGN APPROACH


were correctly determined with the code used in this work.
The data collected from the hospital as X-ray images and
DEXA scan reports is used in the project for comparative
III. OBJECTIVE
study. The X-ray images include patients suspected with
The objective is to identify whether a patient is normal or osteoporosis, osteopenia and normal person. The collected
osteoporotic or osteopenic based on the BMD value obtained images were resized to the dimension 200*200 pixels before
from the image processing algorithm and to compare the same the pre-processing. Pre-processing includes cropping of the
with the BMD value obtained from bone densitometer of the image for ROI and filtering of the same using average filter.
same patient. Image enhancement was initially performed and later on
eliminated from pre-processing techniques, since it was
IV. PROJECT DESCRIPTION
proved that the intensity of the image directly co-relate with
BMD is calculated in the most precise way by DEXA bone mineral density [6]. BDM report of patients suspected
scanning which uses lower dose of x-rays. There are no with osteoporosis and osteopenia were collected. A
special methods available now to identify the patients detected comparative study between the BMD values obtained from the
with osteoporosis from x-ray images itself. Moreover the cost image processing code and from BDM report of same patient
for the DEXA scan is much higher than the x-ray test. was done.
This image processing code helps to estimate the Bone
VI. DEMONSTRATION
Mineral Density from the digital x-ray image itself. The
collected image is initially re-sized to a fixed pixel dimension Region: Proximal Femur (Patient with osteoporosis)
and is then loaded to the MATLAB software. The re-sized
image then undergoes pre-processing which include cropping
of the image for ROI and filtering the same in order to remove
noise and other unwanted disturbances. After pre-processing, a
graph plotting intensity vs. distance is obtained. The outer Fig. 1: X-ray image of Patient

diameter and the thickness of the region is calculated from the The image of proximal femur obtained from hospital will be
graph and is substituted in the formula to initially obtain the initially loaded to the MATLAB software to do image
volume per area (VPA). It is then substituted to obtain the processing and further to calculate BMD. Fig. 1 shows the
BMD value based on which the patient status is confirmed. image before filtering and other pre-processing techniques.
After loading the image, it will be converted to gray scale
image.

Fig. 5: Final result displays the patient status


The final output will be displayed on the command window
Fig. 2: Cropped image for ROI
from which the patient status is confirmed.
The interest region of image will be cropped which is then
used in consecutive steps in measuring the bone mineral VII. RESULTS
density. The region of interest here is the shaft of the proximal
TABLE 1: SUMMARY O F RESULTS
femur. Fig. 2 shows the cropped image.
S. Region Specific BMD Patient
No. density, ρ value Status
(g/cm3) (g/cm2)
1. Metacarpals 1.2 3.63561 Normal
2. Metacarpals 1.2 0.544768 Osteoporosis
3. Proximal Humerus 0.255±0.091 1.7397 Normal
4. Proximal Humerus 0.255±0.091 0.478918 Osteoporosis
5. Proximal Femur 0.35±0.19 1.27608 Normal
Fig. 3: Filtered image using average filter
6. Proximal Femur 0.35±0.19 0.764249 Osteoporosis
The cropped image will undergo average filtering process in
7. Proximal Femur 0.35±0.19 0.887669 Osteopenia
order to remove noise and other unwanted disturbances in the 8. Lumbar Spine 0.242±0.096 1.20718 Normal
image. Fig. 3 shows the filtered image. 9. Lumbar Spine 0.242±0.096 0.97714 Osteopenia
10. Patella 0.731±0.222 7.13309 Normal

TABLE 2: C OMPARISON O F RESULTS


Intensity

S. Region Ag DEXA Scan MATLAB Code


No. e BMD Patient BMD Patient
value Status value Status
(g/cm2) (g/cm2)
1) Proximal 85 0.490 Osteoporosis 0.764249 Osteoporosis
Fig. 4: Result after using ‘improfile’ command
Femur
The ‘improfile’ command will be used to obtain the profile
(ROI:
graph. The figure will show the intensity of image according Shaft)
to the number of pixels. Fig. 4 shows the profile graph. The 2) Lumbar 63 0.877 Osteopenia 0.97714 Osteopenia

parameters such as diameter and thickness of shaft needed in Spine


(ROI:
the equation will be measured from the profile figure.
L2-L4)
VIII. CONCLUSION [2] M S Kavitha, Akira Asano, AkiraTaguchi, Takio Kurita and Mitsuhiro
Sanada. BMC Med Imaging. Diagnosis of osteoporosis from dental panoramic
Table 1 shows the summary of observations wherein 10 X-ray radiographs using the support vector machine method in a computer-aided
system.(2012)
images were tested on the code out of which 7 were real-time http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3269982
and 3 were open source. The patient status has been [3] A. El Maghraoui, C. Roux . QJM: An international journal of medicine.
DXA scanning in clinical practice (2008)
determined according to the BMD value obtained for each. http://qjmed.oxfordjournals.org/content/101/8/605

[4] Lim SherEe Dennis . Detection of Femur Fractures in X-ray Images using
The code works well on four regions: metacarpals, proximal Intensity Gradient Maps (2004)
http://www.comp.nus.edu.sg/~leowwk/hyp/limsheree.pdf
humerus, proximal femur and lumbar spine.
[5] AartiJagdishRaheja . Automated Analysis Of Metacarpal Cortical
Thickness in Hand Radiographs (2008)
https://etd.ohiolink.edu/rws_etd/document/get/wright1229953773/inline
Table 2 gives a comparison of the results wherein one can
[6] Andrzej Materka, PiotrCichy, Jerzy Tuliszkiewicz . Texture Analysis of
clearly see that the patient status is accurately determined in X-ray Images For Detection Of Changes in Bone Mass and Structure.(2000)
http://www.eletel.p.lodz.pl/programy/cost/pdf_3.pdf
both cases even though the BMD value slightly differs. This
[7] J.T. Pramudito, S. Soegijoko, T.R. Mengko, F.I. Muchtadi, R.G.
proves the code to be useful in further experimentation to be Wachjudi. Journal of Biomedical & Pharmaceutical Engineering 1:1 45-51
used as an alternative to bone densitometer scan for detecting ISSN: 1793-4532. Trabecular Pattern Analysis of Proximal Femur
Radiographs for Osteoporosis Detection. (2007)
patients with osteoporosis. http://www3.ntu.edu.sg/bmerc/contents/JBPE/J001/JBPE%201(1);%2045-
51.pdf

[8] Journal of Osteoporosis 06/2010 . International Center for Orthopedic


In computer science, a graphical user interface or GUI is a Advancement, (2010)
Surgery.https://www.researchgate.net/publication/47430062_Bone_Density_a
type of interface that allows users to interact with electronic nd_Cortical_Thickness_in_Normal_Osteopenic_and_Osteoporotic_Sacra

devices through graphical icons and visual indicators such as [9] Richards AM, Coleman NW, Knight TA, Belkoff SM, Mears SC . US
National Library of Medicine National Institutes of Health. Bone density and
secondary notation, as opposed to text-based interfaces, typed cortical thickness in normal, osteopenic, and osteoporotic sacra (2010)
http://www.ncbi.nlm.nih.gov/pubmed/20948574
command labels or text navigation. Further work would be to
create a GUI to make it user-friendly and interactive so that it [10] Hertel R .US National Library of Medicine National Institutes of Health.
Fractures of the proximal humerus in osteoporotic (2005)
further decreases the time taken to execute the code. bone.http://www.ncbi.nlm.nih.gov/pubmed/15526090

[11] G. Lowet, P. Ruegsegger, H. Weinens, A. Meunier. Bone Research in


REFERENCES Biomechanics. Pages 157-168, (1997)
https://books.google.co.in/books?id=roHyMLGr5lYC
[1] Isador H. Lieberman, MD, MBA, FRCSC. Anatomy of Osteoporosis
(2015)
http://www.spineuniverse.com/conditions/osteoporosis/anatomy-osteoporosis

You might also like