Next Article in Journal
Isolation of Cell-Free miRNA from Biological Fluids: Influencing Factors and Methods
Next Article in Special Issue
Role of Contrast-Enhanced Ultrasound (CEUS) in Native Kidney Pathology: Limits and Fields of Action
Previous Article in Journal
The Role of Molecular Imaging in a Muscle-Invasive Bladder Cancer Patient: A Narrative Review in the Era of Multimodality Treatment
Previous Article in Special Issue
Correlation of Kidney Size on Computed Tomography with GFR, Creatinine and HbA1C for an Accurate Diagnosis of Patients with Diabetes and/or Chronic Kidney Disease
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Classification of Chronic Kidney Disease in Sonography Using the GLCM and Artificial Neural Network

Department of Radiological Science, Graduate School, Catholic University of Pusan, 57 Oryun-daero, Geumjeong-gu, Busan 46252, Korea
*
Author to whom correspondence should be addressed.
Diagnostics 2021, 11(5), 864; https://doi.org/10.3390/diagnostics11050864
Submission received: 22 April 2021 / Revised: 6 May 2021 / Accepted: 10 May 2021 / Published: 11 May 2021
(This article belongs to the Special Issue Imaging in Kidney Disease)

Abstract

:
Chronic kidney disease (CKD) can be treated if it is detected early, but as the disease progresses, recovery becomes impossible. Eventually, renal replacement therapy such as transplantation or dialysis is necessary. Ultrasound is a test method with which to diagnose kidney cancer, inflammatory disease, nodular disease, chronic kidney disease, etc. It is used to determine the degree of inflammation using information such as the kidney size and internal echo characteristics. The degree of the progression of chronic kidney disease in the current clinical trial is based on the value of the glomerular filtration rate. However, changes in the degree of inflammation and disease can even be observed with ultrasound. In this study, from a total of 741 images, 251 normal kidney images, 328 mild and moderate CKD images, and 162 severe CKD images were tested. In order to diagnose CKD in clinical practice, three ROIs were set: the cortex of the kidney, the boundary between the cortex and medulla, and the medulla, which are areas examined to obtain information from ultrasound images. Parameters were extracted from each ROI using the GLCM algorithm, which is widely used in ultrasound image analysis. When each parameter was extracted from the three areas, a total of 57 GLCM parameters were extracted. Finally, a total of 58 parameters were used by adding information on the size of the kidney, which is important for the diagnosis of chronic kidney disease. The artificial neural network (ANN) was composed of 58 input parameters, 10 hidden layers, and 3 output layers (normal, mild and moderate CKD, and severe CKD). Using the ANN model, the final classification rate was 95.4%, the epoch needed for training was 38 times, and the misclassification rate was 4.6%.

1. Introduction

Chronic kidney disease (CKD) is increasing with the aging of the population and the increase in chronic diseases. In many countries, it is a concerning health problem causing a high prevalence and incidence of stroke, heart disease, and complications such as diabetes and infection, as well as increases in medical expenses [1,2]. Chronic kidney disease is used as a general term that refers to kidney damage for more than 3 months or a continuous decrease in kidney function regardless of the cause. It is a disease that increases the risk of cardiocerebrovascular disease and is accompanied by kidney failure and various complications [3,4]. The following definition of chronic kidney disease is widely used by the National Kidney Foundation (NKF): “if the kidney damage, such as proteinuria, hematuria, or pathological abnormality, or glomerular filtration rate is less than 60 mL/min/1.73 m2 and lasts for more than 3 months” [5]. Chronic kidney disease has various causes and pathological findings, but clinically, it can be confirmed relatively simply through a urine test to detect proteinuria and a blood test to estimate the glomerular filtration rate. In the clinical field, the stage of chronic kidney disease is divided into five stages from stage 1 to stage 5 according to the estimated glomerular filtration rate for diagnosis and treatment of patients. Chronic kidney disease can be said to be a relatively common chronic disease, but compared with other chronic diseases such as high blood pressure and diabetes, the general public’s awareness is not high [6]. Because it can be easily diagnosed through a relatively simple test, early diagnosis can slow the progression of the disease through early treatment. However, because the symptoms are not clear, the disease is often diagnosed after a long period of time, leading to kidney failure or even death due to complications such as cardiocerebrovascular disease. In general, chronic kidney disease continues to progress once it occurs. However, early diagnosis can slow the decline in kidney function and recover from chronic kidney disease [7].
Ultrasound, which is one of the methods for diagnosing chronic kidney disease, is very important for checking if the kidney function is decreased due to other reasons, such as the size and morphology of the kidney [8].
The GLCM algorithm, which extracts feature points by emphasizing spatial characteristics in such ultrasound images, is widely used in ultrasound image analysis by using the correlation between the current pixel and the brightness value of its neighboring pixels [9].
The automatic detection of diseases using images such as ultrasound graphics via computational methods has been of great importance in recent years, especially after the creation of computer-aided diagnosis systems (CADs) [10,11].
Artificial neural networks (ANNs) are usually employed to formulate statistical models for computer analysis. An artificial neural network (ANN) or a simple neural network (NN) is a computational structure based on the functioning of biological neurons. Networks of this type have the ability to learn and recognize patterns based on input information and use these patterns to predict future information by extrapolating the learned data. These neural networks consist of small processing units called neurons connected with one another in groups called layers; the common neural network has at least one input layer, one hidden layer, and one output layer [12].
In this paper, various parameters were obtained by applying the GLCM algorithm to ultrasound images classified as normal kidney images, mild and moderate CKD images, and severe CKD images. Chronic kidney disease was classified by applying an artificial neural network using GLCM parameters and kidney size. The purpose of this study is to classify chronic kidney disease into three categories to determine whether early diagnosis of chronic kidney disease is possible.

2. Materials and Methods

2.1. Subjects and Data Acquisition

From January 2015 to December 2017, the experiment was performed using ultrasound images of volunteers who visited the hospital for medical examination at R Hospital in Yangsan, Gyeong-sang-nam-do, and patients diagnosed with CKD.
Table 1 shows the clinical characteristics of subjects. A total of 741 ultrasound images were used, including 251 normal images, 328 mild and moderate CKD images, and 162 severe CKD images, classified by the medical doctor. Radiologists classified the experimental images into those of mild and moderate CKD patients and severe CKD patients by reading, and cases with kidney cancer, renal cysts, and congenital diseases of the kidney were excluded from the experiment [13].
Regarding the experimental equipment, an RS80A (Samsung Medison, Seoul, Korea) ultrasound device was used, and the image conditions were acquired with a gain of 50, dynamic range of 56, frame average of 8, power of 95, and general frequency. All tests were conducted under voluntary participation and were approved by the Institutional Review Board (IRB) of the Catholic University of Busan (CUPIRB-2017-023).
Table 1 shows the information on the age, sex, eGFR, hypertension, and diabetes of the test subjects.

2.2. Experimental Method

The region of interest (ROI) was set in the ultrasound image of the kidney, and the result was calculated using MATLAB 2016a (MathWorks Inc., Natick, MA, USA). The ROI was selected by setting the cortical region, the boundary region between the cortex and medulla, and the medulla region. In the ultrasound image, the characteristics of the normal kidney are in the shape of an oval composed of the renal cortex, which shows low echo compared to the liver, and the renal sinus, which shows high echo. The boundary between the cortex and the renal sinus is clear, and a high echo in the center is visible. On the other hand, in the kidney that is continuously damaged, the ultrasonic echo of the renal cortex increases due to fibrosis. As a result, the boundary between the brightened renal cortex and the renal cortex is unclearly observed. In addition, due to the decline in function, the size decreases, and kidney atrophy is observed [14]. Because these features are used in the diagnosis of chronic kidney disease, the ROI area was set to 50 × 50 and set to 3 locations. The following figure shows the normal, moderate, and severe ultrasound images of 872 × 1280 resolution used in this study. Figure 1 shows normal, mild and moderate and severe CKD ultrasound images.
Figure 2 shows the overall block diagram of this experiment.
Histogram equalization and range filter preprocessing were performed on the original ultrasound image. Histogram equalization can improve the quality of an image by making the distribution of light and dark in the image uniform [15]. The range filter can cause the noise reduction effect by highlighting the boundary of the image [16]. After preprocessing was performed, feature parameters were extracted by applying the GLCM algorithm. A total of 19 parameters were extracted from each of the three regions of the cortex, the boundary between the cortex and medulla, and the medulla, and, finally, the size information was combined to determine a total of 58 input parameters.
An artificial neural network with 10 hidden layers was constructed, and the output was designed to be classified into three types: normal, mild and moderate CKD, and severe CKD.

2.3. Gray-Level Co-Occurrence Matrix (GLCM)

The GLCM [17], a texture descriptor, is used to compute the second-order statistical features from normal and CKD images. Considering an image I with a size of M × N and Ng number of distinct gray levels, the variations of texture are calculated by using the gray tone spatial dependence matrix p (i, j), where the pixels are separated with a distance d at the i-th and j-th gray levels. In this present work, four angles (0°, 45°, 90°, and 135°) with a pixel distance of 1 were considered. The second-order statistical features (autocorrelation, contrast, correlation, cluster prominence, cluster shade, dissimilarity, energy, entropy, homogeneity, maximum probability, sum of squares variance, sum average, sum variance, sum entropy, difference variance, difference entropy, information measure of correlation 1, information measure of correlation 2, and inverse difference (INV)) were calculated using the GLCM. Figure 3a shows the result implemented using MATLAB to obtain GLCM parameters. If you select the ROI area and run, it is saved as an Excel file, as shown in Figure 3b.
Table 3 shows the parameters that can be extracted when calculating the GLCM using an ROI image. Table 1 shows the variables and notation used to compute texture features that are the parameters of the GLCM.
We used the equations in Table 3 that are based on second-order statistical values, obtaining 19 values for each image, corresponding to 19 different texture descriptors. These calculations were performed using the operations indicated in Table 1 for each position p (i, j) of the GLCM and adding all of the values from the GLCM. Prior to obtaining these features, a few simple calculations are needed. μ i , μ j and σ i , σ j correspond to the mean and standard deviation, respectively, of i and j. p x ( i ) is the marginal probability of i in p x , and p y ( j ) is the marginal probability of j in p y . HX is the entropy of p x , and HY is the entropy of p y . These values were calculated using Table 2 [18].

2.4. Artificial Neural Network (ANN)

The ANN is an element of machine learning that has currently become significant in research and development. The concept of machine learning is the ability of a computer to understand the structure of data using a mathematical or statistical model. The foundation of an ANN is made up of a single layer of input, process, and output elements. As a result, from a very basic concept of an information processing cycle, ANN then performs a complex mathematical formulation in order to produce an optimum result for any dataset or problem segment [19].
Figure 4 shows the block diagram of the neural network used in this experiment. ROI was selected from 3 locations for feature detection in the original image.
ROI was selected from the cortex, the boundary between the cortex and medulla, and the medulla. The size of the kidney, which is a very important factor in the diagnosis of chronic kidney disease, was selected as a feature parameter. As a result of the GLCM calculation, 19 parameters were extracted from each of the cortex regions; that is, the boundary between the cortex and medulla and the medulla (Table 3). In addition, by adding the size of the kidney as a parameter, the input layer consisted of a total of 58 nodes. After passing through 10 hidden layers, the output layer was classified into three types: normal, mild and moderate CKD, and severe CKD.

3. Results

The implementation of image preprocessing, the GLCM algorithm, and the artificial neural network was carried out using MATLAB R2016a. This tool provides a user-friendly interface and has many inbuilt functions, so it is easy to implement algorithms in it. Windows 10 (64 bit) with a 3.60 GHz Intel i9 processor and 64 GB of RAM was used for this study.
Figure 5 shows the result of setting three ROIs in the original image.
Figure 6 shows the results of applying histogram equalization to the ROI area during the pretreatment process.
After the preprocessing of US images, texture statistical features were extracted using the GLCM algorithm. Means of features were obtained using the GLCM relative to four different orientations that were calculated. Table 4, Table 5, Table 6 and Table 7 display the GLCM results of the cortex, the boundary between the cortex and medulla, and the medulla, respectively. Table 7 shows the size of the kidney that is normal and that with mild and moderate CKD and severe CKD.
Figure 7 shows the result of the ANN consisting of 64 inputs, 10 hidden layers, and 3 outputs. In the Figure 7a, the training result was 95.6%, the validation result was 97.3%, and the test result was 85.7%. The implemented modeling has an error of 0.030511 as shown in Figure 7b. Using this ANN model, the final classification rate was 95.4%. Figure 8 shows the ROC curve for the results.

4. Discussion

Worldwide, the number of patients with chronic kidney disease is increasing at a tremendous rate. Chronic kidney disease is particularly commonly observed in conjunction with diabetes, high blood pressure, and old age, but Korea has recently become an aging society, and the number of patients with high blood pressure and diabetes has increased due to the Westernized lifestyle; additionally, about 10% of the adult population suffers from chronic kidney disease and is 60 years old or older. The incidence of chronic kidney disease is increasing rapidly. This phenomenon means that the number of patients who need dialysis or a kidney transplant due to chronic kidney disease is also increased, and when the number of patients with end-stage renal failure increases, a huge loss is inevitable in terms of both the social and national contexts as well as in individual patients and families [2].
Looking at the studies for diagnosing chronic kidney disease, the 2017 Igbinedion [20] study and the 2020 Prashanth [21] study determined the CKD stage using creatinine levels and eGFR, which are common diagnostic criteria in clinical practice. In 2013, Dijana et al. [8] diagnosed kidney disease by measuring kidney size according to kidney function and anthropometric characteristics. There was a significant correlation between all measured kidney dimensions, volume, parenchymal thickness, and serum creatinine. In 2020, Priyanke et al. [22] conducted a study to extract feature parameters from the kidney by applying the GLCM and PCA to ultrasound images. This study focuses on the preprocessing process and how feature parameters can be extracted from the kidney. In 2019, Kuo et al. [23] used the transfer learning technique, integrating the powerful ResNet model pretrained on an ImageNet dataset in neural network architecture, to predict kidney function based on 4505 kidney ultrasound images labeled using eGFRs derived from serum creatinine concentrations. Since the mid–late 2000s, many studies have started to apply machine learning and deep learning to medical images for diagnosis.
In this study, the cortex of the kidney, the boundary between the cortex and medulla, and the medulla were set as ROIs for diagnosing chronic kidney disease on ultrasound images. Parameters were extracted from each ROI region using the GLCM algorithm, which is widely used in ultrasound image analysis. The parameters are autocorrelation, contrast, correlation, cluster prominence, cluster shade, dissimilarity, energy, entropy, homogeneity, maximum probability, sum of squares variance, sum average, sum variance, sum entropy, difference variance, difference entropy, information measure of correlation 1, information measure of correlation 2, and inverse difference (INV). When each parameter was extracted from three areas, a total of 57 GLCM parameters were extracted. Finally, a total of 58 parameters were used by adding information on the size of the kidney, which is important for the diagnosis of chronic kidney disease. A total of 58 input parameters were tested by constructing an ANN, which is a machine learning method. Input parameters were set to 58, and the hidden layer was set to 10. Because 10 or more hidden layers showed no effect on the classification rate, the experiment was conducted with 10 hidden layers. The three outputs to be classified were normal, mild and moderate CKD, and severe CKD. It is thought that the classification rate of the result to be classified was increased by using all 58 input parameters. The classification accuracy was 95.4%, the epoch needed for training was 38 times, and the misclassification rate was 4.6%. In this experiment, three types of conditions were classified, namely, normal, mild and moderate CKD, and severe CKD, but a further detailed classification of disease states is required. In addition, the experiment was conducted by acquiring 741 data items, which is due to the fact that the amount of data is not large; thus, the machine learning method was selected. When a large amount of data is acquired, we plan to apply the deep learning method after acquiring more data. In order to actually use it clinically, it is necessary to diversify the types of classification. After making the implemented result available to the ultrasonic equipment, it needs to be upgraded through feedback from the sonographer.

5. Conclusions

Chronic kidney disease can be treated if it is detected early, but as the disease progresses, recovery becomes impossible. Eventually, renal replacement therapy such as transplantation or dialysis must be used. In other words, it is crucial to detect and treat chronic kidney disease in the early stages. Ultrasound is a test method for diagnosing kidney cancer, inflammatory disease, nodular disease, chronic kidney disease, etc., and is used to check information on the degree of inflammation using information such as kidney size and internal echo characteristics.
In this study, ultrasound images, including 251 normal kidney images, 328 mild and moderate kidney disease images, and 162 severe renal kidney images, were used in 741 cases. In order to diagnose chronic kidney disease in clinical practice, three ROIs were set, namely, the cortex of the kidney, the boundary between the cortex and medulla, and the medulla, which are areas examined to obtain information from ultrasound images. Parameters were extracted from each ROI using the GLCM algorithm, which is widely used in ultrasound image analysis. When each parameter was extracted from the three areas, a total of 57 GLCM parameters were extracted. Finally, a total of 58 parameters were used by adding information on the size of the kidney, which is important for the diagnosis of chronic kidney disease. The ANN was composed of 58 input parameters, 10 hidden layers, and 3 output layers (normal, mild and moderate CKD, and severe CKD). Using the ANN model, the final classification rate was 95.4%, the epoch needed for training was 38 times, and the misclassification rate was 4.6%. It is believed that this experiment can be used as a basis for implementing an automatic diagnosis system in the area of diagnosing chronic kidney disease using ultrasound images. In addition, the use of experimental results is thought to play an important role in clinical decision making, including early diagnosis and treatment of chronic kidney disease.

Author Contributions

Conceptualization, D.-H.K. and S.-Y.Y.; methodology, D.-H.K.; software, S.-Y.Y.; validation, D.-H.K. and S.-Y.Y.; formal analysis, D.-H.K. and S.-Y.Y.; investigation, D.-H.K. and S.-Y.Y.; resources, D.-H.K.; data curation, and S.-Y.Y.; writing—original draft preparation, S.-Y.Y.; writing—review and editing, S.-Y.Y.; visualization, S.-Y.Y.; supervision, S.-Y.Y.; project administration, S.-Y.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study was conducted according to the guidelines of the Declaration of Helsinki, and approved by the Institutional Review Board (IRB) of the Catholic University of Busan (CUPIRB-2017-023) on 22 March 2017.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data are not publicly available due to privacy.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Irina, L.; Flávio, R.; Idalina, B.; Rui, A.; Luís, B.; Alice, S.S. New Potential Biomarkers for Chronic Kidney Disease Management—A Review of the Literature. Int. J. Mol. Sci. 2021, 22, 43. [Google Scholar]
  2. Couser, W.G.; Remuzzi, G.; Mendis, S.; Tonelli, M. The contribution of chronic kidney disease to the global burden of major noncommunicable diseases. Kidney Int. 2011, 80, 1258–1270. [Google Scholar] [CrossRef] [Green Version]
  3. Cañadas-Garre, M.; Anderson, K.; McGoldrick, J.; Maxwell, A.P.; McKnight, A.J. Proteomic and metabolomic approaches in the search for biomarkers in chronic kidney disease. J. Proteom. 2019, 193, 93–122. [Google Scholar] [CrossRef] [Green Version]
  4. Lovey, A.S.; Eckardt, K.U.; Tsukamoto, Y.; Levin, A.; Coresh, J.; Rossert, J.; de Zeeuw, D.; Hostetter, T.H.; Lameire, N.; Eknoyan, G. Definition and classification of chronic kidney disease: A position statement from Kidney Disease: Improving Global Outcomes(KDIGO). Kidney Int. 2005, 67, 2089–2100. [Google Scholar] [CrossRef] [Green Version]
  5. Komenda, P.; Rigatto, C.; Tangri, N. Screening strategies for unrecognized CKD. Clin. J. Am. Soc. Nephrol. 2016, 11, 925–927. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Lee, H.S.; Jang, H.B.; Yoo, M.G.; Park, S.I.; Lee, H.J. Amino Acid Metabolites Associated with Chronic Kidney Disease: An Eight-Year Follow-Up Korean Epidemiology Study. Biomedicines 2020, 8, 222. [Google Scholar] [CrossRef]
  7. Hewadikaram, D.; Bandara, M.; Pattividana, A.N.; Jayaweera, H. A novel ultrasound technique to detect early chronic kidney disease. F1000Research 2019, 7, 448. [Google Scholar] [CrossRef] [PubMed]
  8. Jovanovic, D.; Gasic, B.; Pavlovic, S.; Naumovic, R. Correlation of kidney size with kidney function and anthropometric parameters in healthy subjects and patients with chronic kidney diseases. Ren. Fail. 2013, 35, 896–900. [Google Scholar] [CrossRef]
  9. Gao, S.; Peng, Y.; Guo, H.; Liu, W.; Gao, T.; Xu, Y.; Tang, X. Texture analysis and classification of ultrasound liver images. Biome. Mater. Eng. 2014, 24, 1209–1216. [Google Scholar] [CrossRef] [PubMed]
  10. Saleem, Z.R. Methods Used in Computer-Aided Diagnosis for Breast Cancer Detection Using Mammograms: A Review. J. Healthc. Eng. 2020, 2020, 9162464. [Google Scholar]
  11. Fujita, H.; You, J.; Li, Q.; Arimura, H. State-of-the-Art of Computer-Aided Detection/Diagnosis (CAD). In Proceedings of the ICMB 2010, Hong Kong, China, 28–30 June 2010; Volume 6165, pp. 296–305. [Google Scholar]
  12. Jang, J.S.R.; Sun, C.T.; Mizutani, E. Neuro-Fuzzy and Soft Computing—A Computational Approach to Learning and Machine Intelligence. IEEE Trans. Autom. Control 1997, 42, 1482–1484. [Google Scholar] [CrossRef]
  13. Abbiss, H.; Maker, G.L.; Trengove, R.D. Metabolomics approaches for the diagnosis and understanding of kidney diseases. Metabolites 2019, 9, 34. [Google Scholar] [CrossRef] [Green Version]
  14. Hansen, K.L.; Nielsen, M.B.; Ewertsen, C. Ultrasonography of the Kidney: A Pictorial Review. Diagnostics 2016, 6, 2. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Singh, P.; Mukundan, R.; De Ryke, R. Feature Enhancement in Medical Ultrasound Videos Using Contrast-Limited Adaptive Histogram Equalization. J. Digit. Imaging 2020, 33, 273–285. [Google Scholar] [CrossRef] [PubMed]
  16. Jassim, F.A. Image Denoising Using Interquartile Range Filter with Local Averaging. Int. J. Soft Comput. Eng. 2013, 2, 424–428. [Google Scholar]
  17. Haralick, R.M.; Dinstein, I.; Shanmugamm, K. Textural features for image classification. IEEE Trans. Syst. Man Cybern. 1973, 3, 610–621. [Google Scholar] [CrossRef] [Green Version]
  18. Tommy, L.; Patrik, B.; Thomas, A.; Tufve, N.; Anders, G. Gray-level invariant Haralick texture features. PLoS ONE 2019, 14, e0212110. [Google Scholar]
  19. Farizawani, A.G.; Puteh, M.; Marina, Y.; Rivaie, A. A review of artificial neural network learning rule based on multiple variant of conjugate gradient approaches. J. Phys. Conf. Ser. 2020, 1529, 022040. [Google Scholar] [CrossRef]
  20. Igbinedion, B.O.; Okaka, E. Chronic Kidney Disease: Sonographic/Clinical Findings at the University of Benin Teaching Hospital. Ann. Biomed. Sci. 2017, 16, 60–69. [Google Scholar]
  21. Prashanth, K.S.; Ravi, N.; Chandrashekar, H.M. Sonographic Grading of Renal Parenchymal Changes and its Comparision with Estimated Glomerular Filtration Rate (EGFR) Using Modified Diet in Renal Disease Formula. Int. J. Contemp. Med. Surg. Radiol. 2020, 5, B13–B16. [Google Scholar]
  22. Priyanka; Kumar, D. Feature Extraction and Selection of kidney Ultrasound Images Using GLCM and PCA. Procedia Comput. Sci. 2020, 167, 1722–1731. [Google Scholar] [CrossRef]
  23. Kuo, C.C.; Chang, C.M.; Liu, K.T.; Lin, W.K.; Chiang, H.Y.; Chung, C.W.; Ho, M.R.; Sun, P.R.; Yang, R.L.; Chen, K.T. Automation of the kidney function prediction and classification through ultrasound-based kidney imaging using deep learning. NPJ Digit. Med. 2019, 2, 29. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Original images.
Figure 1. Original images.
Diagnostics 11 00864 g001
Figure 2. Total block diagram of image processing.
Figure 2. Total block diagram of image processing.
Diagnostics 11 00864 g002
Figure 3. Program implementation.
Figure 3. Program implementation.
Diagnostics 11 00864 g003
Figure 4. Output classification based on the ANN model.
Figure 4. Output classification based on the ANN model.
Diagnostics 11 00864 g004
Figure 5. Selection of ROI.
Figure 5. Selection of ROI.
Diagnostics 11 00864 g005
Figure 6. The results of preprocessing: (a) histogram equalization; (b) range filter.
Figure 6. The results of preprocessing: (a) histogram equalization; (b) range filter.
Diagnostics 11 00864 g006
Figure 7. The results of the ANN.
Figure 7. The results of the ANN.
Diagnostics 11 00864 g007
Figure 8. ROC curve of the results.
Figure 8. ROC curve of the results.
Diagnostics 11 00864 g008
Table 1. Clinical characteristics.
Table 1. Clinical characteristics.
Class
(Number)
Range of AgeNumberGenderNumbereGFRHyper.
(Number)
Diabetes
(Number)
Normal
(251)
30–4582F102105 ± 16.77482
55–65107
M149
65–7062
Mild & Moderate
(328)
45–5543F12540 ± 9.7328328
55–65179
M203
65–70 106
Severe
(162)
55–6095F674 ± 4.2162162
60–7067M95
Table 2. Variables and notations used to compute the texture features.
Table 2. Variables and notations used to compute the texture features.
NotationDefinition
x (i, j)Element i, j in the GLCM
NNumber of gray levels
p (i, j) x ( i , j ) i = 1 N j = 1 N x ( i , j )
p x ( i ) j = 1 N p ( i , j )
p y ( j ) i = 1 N p ( i , j )
μ x i = 1 N i · p x ( i )
μ y j = 1 N j · p y ( j )
σ x 2 i = 1 N ( i μ x ) 2 · p x ( i )
σ y 2 j = 1 N ( j μ y ) 2 · p y ( i )
p x + y ( k ) i = N j = 1   N   k = i + j p ( i , j )
p x y ( k ) i = N j = 1   N   k = | i j | p ( i , j )
μ x + y k = 2 2 N k · p x + y ( k )
μ x y k = 0 N 1 k · p x y ( k )
HX i = 1 N p x ( i ) · log p x ( i )
HY i = 1 N p y ( i ) · log p y ( i )
HXY i = 1 N j = 1 N p ( i , j ) · log p ( i , j )
HXY1 i = 1 N j = 1 N p ( i , j ) · log [ p x ( i ) · p y ( j ) ]
HXY2 i = 1 N j = 1 N p x ( i ) · p y ( j ) · log [ p x ( i ) · p y ( j ) ]
Table 3. Parameters of the GLCM.
Table 3. Parameters of the GLCM.
ParameterFormula
Autocorrelation i = 1 N j = 1 N ( i ) ( j ) p ( i , j )
Contrast i = 1 N j = 1 N ( i j ) 2 p ( i , j )
Correlation i = 1 N j = 1 N ( i μ x ) ( j μ y ) p ( i , j ) σ x σ y
Cluster prominence i = 1 N j = 1 N ( i + j 2 μ ) 3 p ( i , j )
Cluster shade i = 1 N j = 1 N ( i + j 2 μ ) 4 p ( i , j )
Dissimilarity i = 1 N j = 1 N | i j | p ( i , j )
Energy i = 1 N j = 1 N ( p ( i , j ) ) 2
Entropy i = 1 N j = 1 N p ( i , j ) log ( p ( i , j ) )
Homogeneity i = 1 N j = 1 N p ( i , j ) 1 + ( i j ) 2
Maximum probability max ( i j ) p ( i , j )
Sum of squares i = 1 N j = 1 N ( i μ ) 2 p ( i , j )
Sum average i = 2 2 N i P x + y ( i )
Sum variance i = 2 2 N ( i μ x + y ) 2 P x + y ( i )
Sum entropy i = 2 2 N P x + y ( i ) log p x + y ( i )
Difference variance i = 1 N ( k μ x y ) 2 p x y ( i )
Difference entropy i = 1 N p x y ( i ) log ( p x y ( i ) )
Information measure of correlation 1 H X Y H X Y 1 max ( H X , H Y )
Information measure of correlation 2 1 exp [ 2 ( H X Y 2 H X Y ) ]
Inverse difference (INV) i = 1 N j = 2 N p ( i , j ) 1 + | i j |
Table 4. Values of GLCM features of the cortex (mean ± STD).
Table 4. Values of GLCM features of the cortex (mean ± STD).
VariableNormalMild & Mod. CKDSevere CKD
Autocorrelation2.40 ± 1.066.13 ± 2.887.59 ± 2.73
Contrast0.15 ± 0.070.17 ± 0.060.18 ± 0.04
Correlation0.62 ± 0.140.66 ± 0.130.77 ± 0.07
Cluster prominence4.55 ± 13.165.75 ± 9.199.08 ± 7.12
Cluster shade0.81 ± 1.900.75 ± 1.461.31 ± 1.13
Dissimilarity0.15 ± 0.070.17 ± 0.060.18 ± 0.04
Energy0.52 ± 0.200.44 ± 0.160.35 ± 0.10
Entropy0.99 ± 0.391.21 ± 0.351.44 ± 0.26
Homogeneity0.92 ± 0.0360.91 ± 0.030.90 ± 0.02
Maximum probability2.43 ± 1.076.16 ± 2.787.58 ± 2.71
Sum of squares variance2.92 ± 0.664.73 ± 1.145.30 ± 0.94
Sum average5.18 ± 2.5315.35 ± 7.7818.10 ± 7.39
Sum variance0.89 ± 0.341.09 ± 0.311.32 ± 0.24
Sum entropy0.15 ± 0.070.17 ± 0.060.18 ± 0.04
Difference variance0.40 ± 0.1440.45 ± 0.100.47 ± 0.07
Difference entropy−0.32 ± 0.13−0.35 ± 0.10−0.43 ± 0.07
Information measure of correlation 10.54 ± 0.150.62 ± 0.140.73 ± 0.08
Information measure of correlation 20.98 ± 0.0080.98 ± 0.0060.98 ± 0.005
Inverse difference (INV)1.00 ± 0.0011.00 ± 0.00091.00 ± 0.0007
Table 5. Values of GLCM features of the boundary between the cortex and medulla (mean ± STD).
Table 5. Values of GLCM features of the boundary between the cortex and medulla (mean ± STD).
VariableNormalMild & Mod. CKDSevere CKD
Autocorrelation6.60 ± 2.439.05 ± 3.1310.36 ± 3.78
Contrast0.20 ± 0.070.20 ± 0.050.21 ± 0.05
Correlation0.88 ± 0.050.82 ± 0.090.75 ± 0.10
Cluster prominence45.43 ± 40.1921.83 ± 24.019.42 ± 8.02
Cluster shade3.88 ± 4.372.11 ± 3.350.86 ± 1.23
Dissimilarity0.20 ± 0.050.20 ± 0.050.21 ± 0.05
Energy0.25 ± 0.110.28 ± 0.090.31 ± 0.07
tropy1.80 ± 0.281.66 ± 0.291.54 ± 0.25
Homogeneity0.90 ± 0.030.90 ± 0.020.90 ± 0.02
Maximum probability6.65 ± 2.429.06 ± 3.1210.35 ± 3.80
Sum of squares variance4.70 ± 0.925.72 ± 1.076.22 ± 1.16
Sum average13.58 ± 5.8621.20 ± 8.4826.00 ± 10.77
Sum variance1.66 ± 0.261.52 ± 0.271.40 ± 0.23
Sum entropy0.20 ± 0.050.20 ± 0.050.21 ± 0.05
Difference variance0.48 ± 0.100.49 ± 0.070.51 ± 0.07
Difference entropy−0.55 ± 0.12−0.49 ± 0.10−0.41 ± 0.10
Information measure of correlation 10.86 ± 0.060.80 ± 0.090.73 ± 0.09
Information measure of correlation 20.98 ± 0.0051.00 ± 0.0060.98 ± 0.005
Inverse difference (INV)1.00 ± 0.00081.00 ± 0.00081.00 ± 0.0008
Table 6. Values of GLCM features of the medulla (mean ± STD).
Table 6. Values of GLCM features of the medulla (mean ± STD).
VariableNormalMild & Mod. CKDSevere CKD
Autocorrelation11.76 ± 3.3912.17 ± 3.1413.23 ± 4.48
Contrast0.28 ± 0.050.22 ± 0.040.23 ± 0.05
Correlation0.74 ± 0.090.70 ± 0.110.71 ± 0.09
Cluster prominence17.34 ± 16.036.56 ± 4.638.38 ± 8.90
Cluster shade0.69 ± 1.390.21 ± 0.900.38 ± 1.31
Dissimilarity0.27 ± 0.0450.22 ± 0.040.23 ± 0.04
Energy0.25 ± 0.0830.32 ± 0.080.32 ± 0.09
Entropy1.80 ± 0.321.51 ± 0.201.53 ± 0.26
Homogeneity0.86 ± 0.021.00 ± 0.020.89 ± 0.02
Maximum Probability11.77 ± 3.3912.18 ± 3.1513.22 ± 4.47
Sum of squares variance6.64 ± 0.996.83 ± 0.907.09 ± 1.18
Sum average28.46 ± 9.5932.15 ± 9.1635.27 ± 13.52
Sum variance1.60 ± 0.291.35 ± 0.191.38 ± 0.23
Sum entropy0.28 ± 0.050.22 ± 0.040.23 ± 0.05
Difference variance0.59 ± 0.060.52 ± 0.050.53 ± 0.06
Difference entropy−0.37 ± 0.07−0.35 ± 0.09−0.35 ± 0.08
Information measure of correlation 10.73 ± 0.100.68 ± 0.110.69 ± 0.09
Information measure of correlation 20.97 ± 0.0050.98 ± 0.0040.97 ± 0.005
Inverse difference (INV)1.00 ± 0.00071.00 ± 0.00061.00 ± 0.0007
Table 7. The size of the normal kidney and that with mild and moderate CKD and severe CKD (mean ± STD).
Table 7. The size of the normal kidney and that with mild and moderate CKD and severe CKD (mean ± STD).
VariableNormalMild & Mod. CKDSevere CKD
Size11.7 ± 0.469.14 ± 2.007.07 ± 1.70
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kim, D.-H.; Ye, S.-Y. Classification of Chronic Kidney Disease in Sonography Using the GLCM and Artificial Neural Network. Diagnostics 2021, 11, 864. https://doi.org/10.3390/diagnostics11050864

AMA Style

Kim D-H, Ye S-Y. Classification of Chronic Kidney Disease in Sonography Using the GLCM and Artificial Neural Network. Diagnostics. 2021; 11(5):864. https://doi.org/10.3390/diagnostics11050864

Chicago/Turabian Style

Kim, Dong-Hyun, and Soo-Young Ye. 2021. "Classification of Chronic Kidney Disease in Sonography Using the GLCM and Artificial Neural Network" Diagnostics 11, no. 5: 864. https://doi.org/10.3390/diagnostics11050864

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop