JCDR - Register at Journal of Clinical and Diagnostic Research
Journal of Clinical and Diagnostic Research, ISSN - 0973 - 709X
Public Health Section DOI : 10.7860/JCDR/2018/36254.11951
Year : 2018 | Month : Aug | Volume : 12 | Issue : 08 Full Version Page : LC10 - LC14

Histogram Based Synovitis Scoring System Using Ultrasound Images of Rheumatoid Arthritis

RJ Hemalatha1, V Vijayabaskarin2

1 Research Scholar, Department of Biomedical Engineering, Sathyabama University, Chennai, Tamil Nadu, India.
2 Professor and Head, Department of Telecommunication Engineering, Sathya Bama University, Chennai, Tamil Nadu, India.


NAME, ADDRESS, E-MAIL ID OF THE CORRESPONDING AUTHOR: Dr. V Vijayabaskar, Professor and Head, Department of Telecommunication Engineering, Sathya Bama University, Chennai-600119, Tamil Nadu, India.
E-mail: hodbiomedical@velsuniv.ac.in
Abstract

Introduction

The gray scale Ultrasound (US) imaging aids in assessing activity of Rheumatoid arthritis condition through classification of synovitis and is able to estimate the disease progression. The gray shades in the synovial region help in identifying the disease condition.

Aim

To grade rheumatoid arthritis based on the severity of the disease condition using histogram analysis.

Materials and Methods

A total of 276 ultrasound gray scale images of the arthritis affected finger joints from MEDUSA database were evaluated. The image was preprocessed using filtering to remove speckle noise and the quality was enhanced using CLAHE technique. The region of interest (synovial region) was analysed using histogram and the respective histogram features were obtained. Based on the histogram analysis the images were graded into different grades. The histogram analysis was applied to reference image (annotation done by medical expert). A comparative study between the reference images and test images were performed.

Results

Based on the histogram analysis the images were graded into Grade 0- no disease, Grade 1- less severity, Grade 2- moderate, Grade 3- more severity. The performance of the histogram method on reference and test image was compared. Using the histogram analysis, 93% sensitivity, specificity of 94% and an accuracy of 93.5% were achieved.

Conclusion

Ultrasound image of synovial thickness is an important tool in identifying early stages of rheumatoid arthritis. The histogram based scoring approach gives gray level variations in US image. Based on this mean, median and standard deviations are calculated. Average value of all these parameters was very high for Grade 0, and very low for Grade 3. The outcome of suggested system demonstrates effective and satisfactory performance for different set of synovitis images of RA patients; which would be helpful for early diagnosis of the disease.

Keywords

Introduction

The most chronic inflammatory arthropathy worldwide is Rheumatoid Arthritis (RA). According to National Health Interview Survey (NHIS) survey 15% of world population is suffering from arthritis [1]. In India 4 to 6% of population (mostly women) over the age of 50 are affected by this disorder. Even children up to 17 years of age are affected by RA. It is the third most common type of arthritis [2]. RA progression may lead to functional disorders due to joint deformation if left untreated. Therefore, early diagnosis of the disease is helpful to prevent joint damages by initiating the treatment at an early stage. The primary rheumatoid arthritis signs include: joint swelling, stiffness, pain and redness [3,4].

The clinical signs are observed via physical inspection, Blood test and imaging techniques like X-ray, MRI, CT and ultrasound. The technological advancement in imaging modalities has reported that MRI shows good response in detection of RA, but need more acquisition time and the procedure is expensive. It can be avoided by ultrasound imaging modality. Out of all, Ultrasound (US) imaging is most preferred due to low cost, less harmful and ease of availability [5,6].

The gray scale ultrasound imaging aids in assessing activity of disease condition through classification of synovitis and able to estimate synovial proliferation, initial synovitis or an existing one, degree of effusion and even signaling the abnormality stage [7]. The variation of gray shades in ultrasound image represents soft tissues, bone and synovial region.

In the search for literature, few works were found which utilized histogram as a tool to detect, analyse and measure different musculoskeletal diseases in different imaging modalities. To quote a few, the work by Mendonça JA states the usage of colour histogram for assessing the joint damages, Stachowiak GW et al., used histogram as a tool to detect and predict osteoarthritis in knee [8,9]. In 2017, Chandran S used histogram to identify knee attrition in MRI images [10]. Tiulpin A et al., have localized the joint region automatically using histogram [11]. Gornale SS et al., determined osteoarthritis using histogram and SVM [12].

The main aim of this study was to apply histogram as a technique to classify the synovial region into different grades like Grade 0, Grade 1, Grade 2 and Grade 3 based on the severity of the disease.

The classification using histogram as a single tool is not specified in the literature, true to our knowledge. There is literature where histogram along with other technique was used for classification.

Materials and Methods

In this study data was used from the MEDUSA database which has 273 gray scale ultrasound images. The images in the dataset contain finger joints with different severity of rheumatoid arthritis. The MEDUSA database is obtained from Pol-Nor/204256/16/2013 which is a funded project from Norway Grants in the Polish-Norwegian Research Programme operated by the National Centre for Research and Development [13,14]. The dataset has annotated images in which the anatomical features like bone, joints and synovium are marked by a medical expert and test images (raw images without any annotations).

The methodology comprises of the following steps. First is Preprocessing and image enhancement where the speckle noise in the ultrasound image is removed by applying different filtering functions and the filtered image is further enhanced using Contrast Limited Adaptive Histogram Equalization (CLAHE) algorithm. Histogram analysis and feature extraction is performed to classify the images into different grades. All these steps were applied to annotated images and test images and a final comparison analysis was performed between these images. The flowchart is shown in [Table/Fig-1].

Process flow diagram.

ROI: Region of interest

Preprocessing

The preprocessing is the elementary and primary stage in image processing. The preprocessing section comprises both filtering and contrast enhancement. In ultrasound imaging the quality of the images are limited by speckle noise which is multiplicative in nature. The echogenic areas in ultrasound have granular appearance due to speckle which affects the visual observation and interpretation of the image [15,16].

Image filtering helps in filtering the noises present in the image. Different filters such as median, average, Gaussian, wiener and adaptive median filter are applied to US images. Median filter is a nonlinear filter which calculates median value of nearby pixels and replaces each pixel with that value. This filtering technique has merit that it eliminates noise and mean while preserve edges where as Gaussian is a linear filter which removes noise but does not preserve the image details. The average filter is one of the simplest filtering methods which replace each pixel with average value of nearby pixel. Adaptive median is advanced version of median filter. Wiener filter is efficient in additive noise reduction [17]. By comparing all the filters based on PSNR (signal to noise ratio) value Wiener filter is best suited to remove speckle noise from US images. After noise removal the contrast of the image is enhanced using Contrast Limited Adaptive Histogram Equalization (CLAHE) method for better visual appearance and further analysis [18]. Using contour segmentation, the region of interest was extracted. Further histogram was applied to the extracted region.

Histogram

Histogram of an image shows frequency of intensity values of pixels. Histogram is graphical illustration of tonal delivery in an image and provides information about each tonal value. In a histogram the right side of horizontal axis indicates pure white areas; middle indicates grey and left indicates black or dark areas. Thus, histogram for very bright image has data points on right side and vice versa. In ultrasound arthritis image histogram represents number of occurrence of gray levels in synovitis region against gray level values of the image [19,20]. Histogram provides summary of intensities in particular area and understanding related to brightness and contrasts of synovial region, joint and bone. In the study, histogram was applied to reference image (images annotated by medical expert) and the test image images without annotation, the features extracted was compared for grading the image.

Histogram Features

Features such as mean, median and standard deviation were extracted from the histogram.

Performance Index

The results were evaluated by means of performance measures such as accuracy, specificity and sensitivity. These measures can be calculated on the basis of False Positive - are the negative results that were incorrectly labeled as positive (FP), False Negative- the positive results that were mislabeled as negative (FN), True Positive- the positive results that were correctly labeled by the classifier (TP) and True Negative- the negative results that were correctly labeled by the classifier (TN). Sensitivity indicates proportion of true positive- TP rate, while specificity indicates proportion of true negative – TN rate. Accuracy is percentage of correctly classified instances. Using the following formula Sensitivity, Specificity and Accuracy was calculated.

Sensitivity = TP/ (FN+TP) *100%

Specificity = TN/ (FP+TN) *100%

Accuracy = (TN+TP)/ (TN+TP+FN+FP)*100 %

Results

Preprocessing Results

The US images are more prone to speckle noise and of low contrast thereby preprocessing section plays significant role in image processing. Different types of filters such as mean, median, adaptive median and wiener are applied over the image data set. The performance of the filters are analysed by calculating PSNR value as shown in [Table/Fig-2]. The wiener filter provides promising results compared to other filters.

PSNR analysis for different filters.

CLAHE contrast enhancement technique was applied to US image after Wiener filtering as shown in [Table/Fig-3]. It enhances contrast of synovitis region and the quality of the image is improved.

US image after filtering and contrast enhancement.

Histogram Analysis

The histogram was applied to the preprocessed image and the respective histograms are shown in [Table/Fig-4]. The vertical axis indicates number of pixels and horizontal axis indicates tonal variations. The histogram is varying for different grades where Grade 0 has data points on right side and Grade 3 has data points on left side. This analysis leads to the conclusion that brightness of synovitis region gets reduced from Grade 0 to Grade 3.

US image and histogram for synovial thickness.

The yellow colour arrow shows the synovial region. The histogram for respective grades is shown. In each histogram the scale ranges from 0 to L (255). For grade 0 the histogram shows the distribution of pixels is more in the higher range. When the grade increases the distribution of pixel moves towards 0 range (lower level). This represents the severity of the disease.

The histogram feature parameters such as mean, median and standard deviation were calculated to identify the variation in different grades. The average values of histogram features are as shown in [Table/Fig-5]. Mean, median and standard deviation values are plotted for both annotated and test US images. The calculated features were almost matching for both datasets.

Histogram Average values for annotated and test US grey scale images.

GradeAnnotated US imagesTest US images
MeanMedianStandard DeviationMeanMedianStandard Deviation
GRADE 01481482715215030
GRADE 1717222727023
GRADE 2253116233018
GRADE 3161610141812

The mean value for different grades are shown in [Table/Fig-6]. For each grades mean variations are explained. Almost all images in particular grade have peculiar characteristics and mean value. Grade 0 shows high mean value compared to all and Grade 3 have low mean value. The mean value is exponentially decreasing from Grade 0 to Grade 1. The obtained mean ranges for Grade 0 is 190-102. Grade 1: 91-56, Grade 2 : 28-17, Grade 3: 16-12.

Mean value comparison for differrent grades.

The median values were also calculated for different grades as shown in [Table/Fig-7]. These values ranges for Grade 0 is 185-102, Grade 1: 91-56, Grade 2: 35-25, Grade 3: 20-15. The above results shows that median is also a factor in synovitis scoring because it is varrying specifically for different grades. Grade 3 shows very low median value and indicates severe case of arthritis, but Grade 0 have high median values which is most probably taken as normal.

Median value comparison for differrent grades.

[Table/Fig-8] shows standard deviation comparison for various grades. Dissimilar synovitis images are checked for analysis and observed that standard deviation is less for Grade 3. The obtained outcomes are, Grade 0: 32- 27, Grade 1: 26-17, Grade2: 22-15, Grade 3: 14-10.

Standard Deviation value comparison for differrent grades.

Perfomance Evaluation

The perfomance of suggested system was evaluated by applying it on both annotated and test dataset. [Table/Fig-9] shows confusion matrix of system, in which TP, TN, FP and FN are calculated. The system provides 94% TP rate and 93% TN rate. The perfomance measures such as accuracy, specificity and sensitivity are obtained from the confusion matrix. The accuracy of system is 93.5%, specificity is 94% and sensitivity is 93%.

Confusion Matrix for proposed system.

ActualPredicted
PositiveNegative
PositiveTrue Positive (TP)94 %False Positive (FP)6%
NegativeFalse Negative (FN)7 %True Negative (TN)93 %

Discussion

Compared to other imaging modalities, several studies have showed that ultrasound is a useful and safe imaging modality for assessing the abnormalities in the musculoskeletal diseases. The musculoskeletal ultrasound is extensively used for investigating the rheumatoid arthritis. US has more advantages like being safe, cost-effective and well received by patients. In future this technology has the potential to be used for diagnosing and monitoring the musculoskeletal diseases.

The assessment of the disease condition is based on the scoring system using histogram technique. Histogram reveals the distribution of the intensity levels in the region of interest. It has the potential to differentiate the inflammatory changes in the synovial region. There are several scoring techniques to grade the synovitis. Histogram is not only used for grading but it is used as segmentation tool, feature descriptor by calculating the gradients which is (HOG- histogram oriented gradients)

In the study, by Chandran S on Identification of Knee Bone Attritions in a DICOM MRI Using Histogram oriented gradients, Histogram Oriented Gradients (HOG) model was used for segmenting knee bone attritions in the MRI DICOM image. The proposed model has used HOG as a segmentation tool for extracting the knee bone attrition [10]. A similar technique (HOG) was used by Tiulpin A et al., to describe the knee joint shape features in a radiographic image. The author has combined HOG and SVM based scoring to localize joint area in plain radiographs [11].

In the study by Mendonça JA, a colour histogram was used to evaluate the structural damages in hand and knee joints [8]. The results of the colour histogram was not significantly correlating with the results of gray scale imaging. In 2016 Stachowiak GW has used X ray images to predict osteoarthritis in knee and hand [9].

Nakayama T et al., used histogram as an analysing tool for muscle CT images in patients with Duchenne muscular dystrophy. The peaks in the histogram showed a clear shift from muscle to fat region. Nakayama T et al., concluded that, procedure may be used as a simple method to evaluate fat substitution and motor disability of patients with Duchenne muscular dystrophy using CT [20].

Yang ZX et al., worked on feasibility of histogram analysis of susceptibility-weighted MRI for staging of liver fibrosis states that Susceptibility-Weighted Imaging (SWI) histogram analysis holds promise to provide a noninvasive quantitative method for staging liver fibrosis in patients with Chronic Liver Disease (CLDs). The histogram-derived parameters on susceptibility-weighted images (in particular, variance) as potentially useful biomarkers for predicting stages of liver fibrosis [21].

The previous works showed that histogram has been used as a technique to grade, segment, and as a feature descriptor. The histogram was applied to different modality of images like radiographs, MRI, CT for different disease conditions in different organs. In the present study the histogram as single tool to grade the synovial region of the finger joint affected by rheumatoid arthritis in ultrasound images was used. With a simple technology approach the images were graded based on the degree of inflammation in the joint region.

Limitation

The musculoskeletal ultrasound scanning system includes high degree of operatory dependency which highly affects the quality of the images obtained. This in turn leads to issues in acquiring and interpreting scans. As the MSUS involves high frequency sound waves for imaging the musculoskeletal details at a depth of more than 5 cm cannot be captured. This becomes a disadvantage for imaging deeply seated joints in obese patients. In clinical practice there is a possibility for intermachine variability issue which is not addressed in the current study. This issue mainly prevails in multicenter trials as the quality of machines varies. This can be minimized by examining the patients with same equipment.

Conclusion

Ultrasound image of synovial thickness is an important tool in identifying early stages of rheumatoid arthritis. The thickening is different for various stages of disease. An effective scoring system can aid in diagnosis of RA. The proposed system, first preprocess the synovitis image using different filtering techniques, compared and observed that wiener shows better performance. The histogram based scoring approach gives gray level variations in US image. Based on this mean, median and standard deviations are calculated. Average value of all these parameters are very high in case of Grade 0 (which indicates normal) and very low for Grade 3. The outcome of suggested system demonstrates effective and satisfactory performance for different set of synovitis images of RA patients. The performance evaluation of system shows 93.5% accuracy results, 94% specificity and 93% sensitivity which imply the system can be applicable in early detection of RA.

References

[1]Bone US, Decade J, The burden of musculoskeletal diseases in the United States 2008 Rosemont, ILAmerican Academy of Orthopaedic Surgeons  [Google Scholar]

[2]Islam SM, Purnat TD, Phuong NT, Mwingira U, Schacht K, Fröschl G, Non-Communicable Diseases (NCDs) in developing countries: a symposium report Globalization and Health 2014 10(1):8110.1186/s12992-014-0081-925498459  [Google Scholar]  [CrossRef]  [PubMed]

[3]Combe B, Early rheumatoid arthritis: strategies for prevention and management Best Practice & Research Clinical Rheumatology 2007 21(1):27-42.10.1016/j.berh.2006.08.01117350542  [Google Scholar]  [CrossRef]  [PubMed]

[4]Chokkalingam SP, Komathy K, Intelligent assistive methods for diagnosis of rheumatoid arthritis using histogram smoothing and feature extraction of bone images World Academy of Science, Engineering and Technology International Journal of Computer Information Systems and Control Engineering 2014 8(5):834-43.  [Google Scholar]

[5]Martins N, Sultan MS, Veiga D, Ferreira M, Coimbra M, Joint capsule segmentation in ultrasound images of the metacarpophalangeal joint using a split and merge approach InBiomedical & Health Informatics (BHI), 2018 IEEE EMBS International Conference on 2018 Mar 4 (pp. 243-246). IEEE 10.1109/BHI.2018.8333414  [Google Scholar]  [CrossRef]

[6]Hemalatha RJ, Vijayabaskar V, Medical image segmentation algorithm for ultrasound images, biomedicine International Journal of Biomedical Sciences 2017 37(01):002-007.  [Google Scholar]

[7]Brown AK, Quinn MA, Karim Z, Conaghan PG, Peterfy CG, Hensor E, Presence of significant synovitis in rheumatoid arthritis patients with disease-modifying antirheumatic drug–induced clinical remission: evidence from an imaging study may explain structural progression Arthritis & Rheumatology 2006 54(12):3761-73.10.1002/art.2219017133543  [Google Scholar]  [CrossRef]  [PubMed]

[8]Mendonça JA, Ultrasound colour histogram assessment allows better view of echotexture damage Revista Brasileira De Reumatologia 2017 57(1):88-91.10.1016/j.rbr.2014.12.016  [Google Scholar]  [CrossRef]

[9]Stachowiak GW, Wolski M, Woloszynski T, Podsiadlo P, Detection and prediction of osteoarthritis in knee and hand joints based on the X-ray image analysis Biosurface and Biotribology 2016 2(4):162-72.10.1016/j.bsbt.2016.11.004  [Google Scholar]  [CrossRef]

[10]Chandran S, Identification of knee bone attritions in a DICOM MRI using histogram oriented gradients International Journal of Advances in Electronics and Computer Science 2017 4(9):43  [Google Scholar]

[11]Tiulpin A, Thevenot J, Rahtu E, Saarakkala S, A novel method for automatic localization of joint area on knee plain radiographs InScandinavian Conference on Image Analysis. SCIA 2017 :290-301.10.1007/978-3-319-59129-2_25  [Google Scholar]  [CrossRef]

[12]Gornale SS, Patravali PU, Marathe KS, Hiremath PS, Determination of osteoarthritis using histogram of oriented gradients and multiclass SVM International Journal of Image, Graphics & Signal Processing 2017 9(12)10.5815/ijigsp.2017.12.05  [Google Scholar]  [CrossRef]

[13]Radlak K, Radlak N, Smolka B, Automatic detection of bones based on the confidence map for rheumatoid arthritis analysis Computational Vision and Medical Image Processing V 2015 Oct 19 :215-20.10.1201/b19241-36  [Google Scholar]  [CrossRef]

[14]Mielnik P, Fojcik M, Segen J, Kulbacki M, A Novel Method of Synovitis Stratification in Ultrasound Using Machine Learning Algorithms: Results From Clinical Validation of the MEDUSA Project Ultrasound in Medicine & Biology 2018 44(2):489-94.10.1016/j.ultrasmedbio.2017.10.00529195752  [Google Scholar]  [CrossRef]  [PubMed]

[15]Hemalatha RJ, Vijayabaskar V, Despeckling filter evaluation using image quality metrics and coefficient of variation. In: Bhattacharyya P, Sastry H, Marriboyina V, Sharma R Smart and Innovative Trends in Next Generation Computing Technologies. NGCT 2017. Communications in Computer and Information Science, Springer 2018 828(65)10.1007/978-981-10-8660-1_65  [Google Scholar]  [CrossRef]

[16]Burckhardt CB, Speckle in ultrasound B-mode scans IEEE Transactions on Sonics and Ultrasonics 1978 25(1):01-06.10.1109/T-SU.1978.30978  [Google Scholar]  [CrossRef]

[17]Hoshyar AN, Al-Jumaily A, Hoshyar AN, Comparing the performance of various filters on skin cancer images Procedia Computer Science 2014 42:32-37.10.1016/j.procs.2014.11.030  [Google Scholar]  [CrossRef]

[18]Gupta S, Kaur Y, Review of different local and global contrast enhancement techniques for a digital image International Journal of Computer Applications 2014 100(18):18-23.10.5120/17625-8384  [Google Scholar]  [CrossRef]

[19]Marinozzi F, Bini F, Marinozzi A, Zuppante F, De Paolis A, Pecci R, Bedini R, Technique for bone volume measurement from human femur head samples by classification of micro-CT image histograms Annali Dell’istituto Superiore Di Sanita 2013 49(3):300-05.  [Google Scholar]

[20]Nakayama T, Kuru S, Kawai M, Analysis using histograms of muscle CT images in patients with Duchenne muscular dystrophy BMJ Case Reports 2013 2013:bcr201300930110.1136/bcr-2013-00930123729708  [Google Scholar]  [CrossRef]  [PubMed]

[21]Yang ZX, Liang HY, Hu XX, Huang YQ, Ding Y, Yang S, Feasibility of histogram analysis of susceptibility-weighted MRI for staging of liver fibrosis Diagnostic and Interventional Radiology 2016 22(4):30110.5152/dir.2016.1528427113421  [Google Scholar]  [CrossRef]  [PubMed]