Fuzzy Difference Equations in Diagnoses of Glaucoma from Retinal Images Using Deep Learning

2024-01-20 13:02DorathyPremaKavithaFrancisRajSandeepKautishAbdulazizAlmazyadKaramSallamandAliWagdyMohamed

D.Dorathy Prema Kavitha ,L.Francis Raj ,Sandeep Kautish ,Abdulaziz S.Almazyad ,Karam M.Sallam and Ali Wagdy Mohamed

1Department of Mathematics,Voorhees College,Vellore,Tamil Nadu,India

2Chandigarh Group of Colleges,Jhanjeri,Mohali,Punjab,India

3Department of Computer Engineering,College of Computer and Information Sciences,King Saud University,P.O.Box 51178,Riyadh,11543,Saudi Arabia

4Faculty of Science and Technology,School of IT and Systems,University of Canberra,Canberra,Australia

5Operations Research Department,Faculty of Graduate Studies for Statistical Research,Cairo University,Giza,12613,Egypt

6Applied Science Research Center,Applied Science Private University,Amman,11937,Jordan

ABSTRACT The intuitive fuzzy set has found important application in decision-making and machine learning.To enrich and utilize the intuitive fuzzy set,this study designed and developed a deep neural network-based glaucoma eye detection using fuzzy difference equations in the domain where the retinal images converge.Retinal image detections are categorized as normal eye recognition,suspected glaucomatous eye recognition,and glaucomatous eye recognition.Fuzzy degrees associated with weighted values are calculated to determine the level of concentration between the fuzzy partition and the retinal images.The proposed model was used to diagnose glaucoma using retinal images and involved utilizing the Convolutional Neural Network(CNN)and deep learning to identify the fuzzy weighted regularization between images.This methodology was used to clarify the input images and make them adequate for the process of glaucoma detection.The objective of this study was to propose a novel approach to the early diagnosis of glaucoma using the Fuzzy Expert System(FES)and Fuzzy differential equation(FDE).The intensities of the different regions in the images and their respective peak levels were determined.Once the peak regions were identified,the recurrence relationships among those peaks were then measured.Image partitioning was done due to varying degrees of similar and dissimilar concentrations in the image.Similar and dissimilar concentration levels and spatial frequency generated a threshold image from the combined fuzzy matrix and FDE.This distinguished between a normal and abnormal eye condition,thus detecting patients with glaucomatous eyes.

KEYWORDS Convolutional Neural Network(CNN);glaucomatous eyes;fuzzy difference equation;intuitive fuzzy sets;image segmentation;retinal images

1 Introduction

Glaucoma occurs due to damage to the nerve that connects the eye to the brain,known as the optic nerve.Glaucoma is one of the silent disorders that human beings can get without previous physical signs or symptoms.Tjandrasa et al.[1]assumed that individuals with glaucoma could lose their optic nerve tissues which could lead to losing their vision.Unfortunately,there is no cure for a glaucomatous eye.With that being said,early discovery of the glaucomatous eye can slow down the damage to the optic nerve which can fortunately save the affected individual’s vision.The Cup to Disk Ratio(CDR)is the primary tool used to check whether the individual is at hazard for glaucoma or not.The CDR and ISNT (inferior (I)>superior (S)>nasal (N)>temporal (T)) are the two key diagnostic tools used to evaluate the Optic Nerve Head (ONH).The CDR is a rule that was developed through manual estimation by an ophthalmologist.Despite its benefits,manually monitoring ONH adjustment is a time-consuming process.Since the early diagnosis of this disease is necessary to prevent vision loss,numerous efforts have been made to the programmed discovery of glaucoma at an early stage.Apart from this,optimized medical-aided diagnosis and treatment were analyzed by Zhang et al.[2].

This paper is structured as follows Section 2 provides a literature review of what has been previously done in this field of research.Section 3 discusses the concepts of intuitive fuzzy sets.Section 4 outlines the approach used in retinal image enhancement using fuzzy concepts and the implementation through CNN.This section also analyzes fuzzy manipulation and defuzzification techniques related to CDR.Section 5 deals with fuzzy image segmentation which is used to integrate all the detected regions and partition the image based on similar and dissimilar concentration levels.Spatial frequency fuzzy metric concepts are also discussed for generating a threshold image.In Section 6,numerical illustrations and the various results that were obtained are analyzed.

2 Literature Review

Haubecker et al.[3] proposed a neuro-fuzzy inference system to detect glaucoma using higherorder spectra(HOS)and discrete wavelet transform(DWT)which was based on the criterion of diffuse expulsion.The proposed system was tested on a series of actual ophthalmic images of normal and glaucomatous cases.The most important parameters were then extracted,after having recognized the elliptical form of both the optic disc and boundary.After extracting the highlights,a factual analysis was performed on the partitioned separation.Finally,Dehghani et al.[4]proposed an assortment of algorithmic rules based on fuzzy logic approaches to determine the condition of the patient’s eye.The condition of the eye was then distinguished into three categories including normal,mild glaucoma,and direct/severe glaucoma.Naik et al.suggested a fuzzy set theory-based image enhancement method on HSV(hue,saturation,value)images by applying Gaussian distribution on S and V parameters[5].

The optic disc cup and the parameters of the optic plate were used in the assessment of the glaucoma clutter.Fard et al.[6] utilized a Support Vector Machine (SVM) when calculating the Fcut done through the use of random mass transformation.Among the various detection techniques,background image-based detection of the retina plays an important role as it was subjected to noninvasive detection methods.Then,they made the categorization after selecting the shape.Detecting glaucoma disorder could be achieved by determining the shape of the retina and checking various medical characteristics of the eyes,such as measurements of the thickness of the retinal nerve fiber layer,the relationship between the edge and the disc,the optic disc and the head of the nerve.Rahman et al.[7]investigated the distinct techniques of glaucoma detection using retinal base images.Sharma et al.[8]studied retinal blood vessel segmentation like glaucomatous eye image segmentation.

Soltani et al.[9] predicted glaucoma in the early stage by identifying several characteristics of glaucoma which could be represented as(i)open-tangent glaucoma,(ii)closed-angle Glaucoma,(iii)normal-tension glaucoma,and(iv)connective glaucoma.Welfer et al.[10]tested tonometry(measures the pressure within the eye),ophthalmoscopy (inside the fundus of the eye and other structures),perimetry(systematic calculation of the visual field),gonioscopy(anatomical angle developed between the eye’s cornea and iris)and pachymetry(measures the thickness of the eye’s cornea)and noted that these tests need to be conducted to detect glaucoma.Recently,the detection of glaucoma has been achieved using Random-Forest classifiers with a 91% accuracy.Blurred convergence of inbreeding glaucoma was used to locate the optical resolution in the retinal frame.A test for glaucoma was performed using a digital eye camera to check for optical coherence tomography(OCT),measurement of intraocular pressure (IOP),and evaluations of optic nerve hypoplasia (ONH),retinal nerve fiber layer(RNFL),and visual field defects[11].

The SVM is a supervised machine learning algorithm that can be used for both classification and regression challenges which can be utilized in the process of glaucoma detection[12].This method is based on the adaptive threshold and it improves the image quality by removing the noises in the image.On retinal images,Li et al.[13,14]and Vostatek et al.[15]proposed vessel segmentation and amplitude estimation utilizing large-scale production of matching filtered responses.

Gour et al.[16] reported an approach to detect the order of glaucoma using eye-based images.This was done through a computerized diagnostic system that was used to find the malformation present in the fundus images.Fraz et al.[17]developed the method of perceiving glaucoma progression using Heidelberg Retinal Tomography(HRT)images.Fuzzy differential equations(FDE)along with intuitionistic fuzzy sets (IFS) are used to develop reliable traffic management systems and shift scheduling for supporting an automatic transmission along with artificial intelligence(AI).In robotics,FDE brings changes in the navigational directions to avoid the obstacle.Furthermore,it can be used in finding the difference between the crossover rate and mutation rate in the genetic algorithmic optimization process.

3 Intuitive Fuzzy Set(IFS)

For a fixed setX1,the fuzzy set ofA1is defined as

μ(x):X1→[0,1]defines the minimum and maximum degrees of the elementx∈X1to the setA1.For a fixed setX1,an IFS ofA1is an optimal identifier and it is classified as

Here,Eqs.(1) and (2) are used to identify the max-min ((y)) and min-max ((y)) values of membership and non-membership functions.The difference between max-min and min-max was measured through the fuzzy difference equation by Alamin et al.[18].The relationship between symptoms and disease is classified in the following manner:

S1={s1,s2,...,sm}

D1={d1,d2,...,dn}

P1={p1,p2,...,pq}

whereS,D,andPare the finite sets of symptoms,type of disease,and patients,respectively.Fuzzy Relations(FR)are defined asQ1andR1in Eqs.(3)and(4),respectively:

whereμQ1(p,s)indicates the degree to which symptoms appear inpatientpand(p,s)indicates the degree to which symptoms do not appear inpatientp.Similarly,(s,d)indicates the degree to which symptoms confirm diseasedand(s,d) indicates the degree to which symptoms do not confirm diseased.CompositionT1of the IFR’sR1andQ1(T1=R1Q1)describes the patient’spistatus in terms ofP1toD1.Glaucoma diagnosis was accomplished by utilizing a Convolutional Neural Network(CNN)which was used to classify glaucomatous and non-glaucomatous cases and this classification was made by the fuzzy difference Eq.(19).The proposed algorithm took an eye image as its input and assigned the values of membership function to relate its weights and biases using optimization function through deep learning [19].Then,the CNN carefully separated and differentiated the eye images from one another [20].This included for example differentiating an image with early stage of a glaucomatous eye from a glaucomatous eye where the case is more severe.This helped to enter deeply as

Based on the max-min consensus convergence algorithm,each stage was iteratively updated according to its weighted average together with its minimum and maximum stages from early stage to glaucomatous eyes[21].

FromQ1toR1,a new IFRT1measurement could be calculated for which,in general,the patient’s diagnosis was labelledpfor any type of diseased,to satisfy the following:

It was also applied to the three aforementioned categories,including glaucomatous,suspected to be glaucomatous,and non-glaucomatous[22].This new measureT1interprets the highest levels of association and the lowest degree of non-association of symptoms,as well as the lowest levels of the intuitionistic index in diagnoses.If almost equal values are obtained for a different diagnosis inT1,in this case,the minimal intuitionistic index is considered[23].

3.1 Image Enhancement Using Fuzzy

Some numerical specifications were required to enhance the image.Here,we considered the main CDR,optic nerve head,and area of optic nerve values.In general,CDR ranged from 0.26 to 0.5 mm.The average optic nerve head diameter varied from 1.2 to 2.5 mm.The area of the optic nerve head in mm2was calculated using Eq.(6):

The predicted retinal image’s cup to disc values for average vertical CDR ranged from 0.541(±0.226) to 0.593 (±0.187) for average horizontal CDR.The retinal image’s cup to disc values for suspected glaucoma ranged from 0.657(±0.149)for vertical CDR to 0.681(±0.0715)for horizontal CDR.For glaucomatous eyes,the vertical CDR range was 0.776(±0.250),and the horizontal CDR was 0.797(±0.143)as shown in Table 1.

Table 1: CDR Ratio for various eye conditions

Let us consider a retinal imageI1of dimensionM1×N1(used to calculate CDR value)and intensity range from 0 toL1-1,defined as

whereμij(x)denotes the degrees of the membership function,with the dimensionM1×N1of imageI1.The membership function(x)for imageI1could be determined as

wherexij∈I1.xmaxis the maximum intensity of the horizontal view of the retinal imageI1·xminis the minimum intensity of the vertical view of retinal imageI1.

3.2 Fuzzy Difference Equation Computation to Detect Glaucoma in Retinal Images

The first step for fuzzy computation of the retinal imageI1is to break the set of normalized concentration levels which was calculated using Eq.(10) into three fuzzy partition setsas normal eyes,suspicious (may have glaucomatous) eyes,and glaucomatous eyes,respectively.The partitioned sets of membership functions were represented aswere defined using Eq.(11),and expressed through FDE as follows:

The membership degrees of the three fuzzy sets(three images to be analyzed)described by using Eqs.(12)-(14) must be added and equated with one in accordance with the partition definition.Consequently,the fuzzy degrees of belonging together with the weighted values(x) of the concentration level between the series of fuzzy partitions of the concentration levels(x)must satisfy the following three-layered deep learning condition:

Then,an instruction parameterθ∈ [0,1] was considered to calculate the fuzzy weighted regularization between the images.The three sets (layers) of calibrated weighted fuzzy partitions utilized a deep learning optimized function and the attenuation parameterθ∈[0,1]was represented as follows:

The fuzzy degrees of belonging,together with the weighted values(x) whose concentration level between the series of fuzzy partitions of concentration levels(x) andp2,must satisfy the following conditions:

Now,the fuzzy weighted regularization could be calculated for the second image using the attenuation parameterθ∈[0,1]:

Similarly,the fuzzy degrees of belonging together,along with the weighted values(x)of the concentration level between the series of fuzzy partitions of the concentration levels(x)forp3,must satisfy the following condition:

The three sets of calibrated weighted fuzzy partitions that use the attenuation parameterθ∈[0,1]are represented as follows:

After changing the membership degree,the membership gradation for the sets(x),p={0,1,2}could be estimated.Rearranging forfrom Eq.(14):

A similar approach was taken to obtain,as follows:

The valueΛcould be added from the modified fuzzy partition sets using Eqs.(20) and (21) as follows:

A similar approach was followed forp2andp3.Fig.1 depicts the proposed deep neural network algorithm which was used in classifying the eye condition according to the interval [0,1].The convergence of the FDE was ensured based on its initial conditions(consistency and stability)as well as its threshold values,as given by Rajchakit et al.[24].

Figure 1:Proposed CNN algorithm for classifying glaucomatous eyes

The selection of the new and modified degree of membership for each fuzzy series of the three partitions based on(x)that was estimated using Eqs.(20)-(21)results in[25].

Eq.(24)provided a basis for the membership degrees(x)that fit the imageI1.

3.3 Fuzzy Difference Equation Manipulation and Defuzzification

Fuzzy manipulation functions were obtained by using Eq.(20) to improve the contrast of the retinal image.

The enhanced retinal images represented for each of the three images bywas achieved by defuzzification of the degree of intensification of membership(x)from Eq.(25)as follows:

4 Image Segmentation Using Fuzzy Differential Equations

Fuzzy integrals based on the method of combining a fuzzy image region with different fuzzy characteristics have been used in nonlinear image processing(region,edge detection,histogram,and analyzer)for segmentation.These are used to recursively combine the regions based on the maximum and minimum fuzzy integral[26].The goal of integrating the regions is to combine the fuzzy targets,and evidence of the fuzzy measurement is reflected in the image regions.The proposed retinal image processing algorithm is shown in Fig.2 and the implementation of the proposed algorithm was achieved as depicted in Figs.3-5.

LetX1={x1,x2,...,xn}be a compilation of data sources,a fuzzy measure is a function of the real valueμdefined asμIi:2x→[0,1]in the set of the familywhich is used to segment the images.The fuzzy density measure isμδand it can be measured as

The calculation of fuzzy integral for image segmentation in Eq.(22),δrepresents the characteristics of the image as there are different intensities for the various regions[27].The proposed algorithm is used to measure the fuzziness and the fuzzy integral to connect different regions of partitioning with similar and dissimilar concentration levels.

Figure 2:Algorithm for retinal image processing

Figure 3:Normal eyes:Edge detection and histogram of histogram equalized image

Figure 4:Early-stage glaucomatous eyes:Edge detection and histogram of histogram equalized image

Figure 5:Glaucomatous eyes:Edge detection and histogram of histogram equalized image

4.1 Fuzzy Differential Equations’Calculations

The predictable three fuzzy partitions sets were defined as.The resultant membership degrees of this fuzzy partitions set include.These partition sets contained different concentration levels with their own membership degree.Edge detection,contour detection,and histogram analyzer were used in these three groups of partitions and defined a set of objectives that enclosed the merged information.Three values of fuzzy density were then estimated using the three segments of(x)and the variableswherep1={0,1,2}as follows:

The three fuzzy density values were estimated to be{g0,g1,g2}based on the following conditions:

Now,the characteristic of imageδcould be obtained using the three characterized fuzzy densities{g0,g1,g2} for the measurement of the Sugeno-type inference.Replacing the values of {a0,a1,a2} in Eq.(20),and solving the quadratic equation,we get

Therefore,any of the skills in the set of measures(x),p1={0,1,2}in Eq.(16)must be used to estimate the value ofδ.Since{g0,g1,g2}andδare now known based on the fuzzy measurement,the tests on the fuzzy densities could be calculated using the following equations:

After measuring the fuzzy density in the set of {a0,a1,a2},the measurable functionh(x) is calculated as follows:

The above three equations must satisfyh(x0)≥h(x1)≥h(x2)condition.Finally,the set of fuzzy density and the measurable functionh(x)satisfyingh(x0)≥h(x1)≥h(x2)could be used in the fuzzy integral set and then the performance could be determined using Eq.(21),as follows:

4.2 Defuzzification

5 Results and Discussion

According to the proposed algorithm,which is illustrated in Figs.1 and 2,the following were applied to the sample images.Canny edge detection,histogram equalized images,histogram of original images,and histogram of histogram equalized images were classified for normal eyes,early-stage glaucomatous eyes,and glaucomatous eyes as shown in Figs.3-5.

To assess objective improvement,we used the fuzzy spatial frequency metric along with a canny edge detector to analyze the execution of the proposed strategy towards the parameters of the area of the disc of the age group of 30-40-year-olds and 41-50-year-olds.The corresponding disc diameters(both horizontal and vertical discs),temporal inferior,temporal superior,and nasal were taken as parameters.Sample data for 20 individuals were analyzed and the results are presented in Table 2 and illustrated in Fig.6.

Table 2: Optic disc measurements of 20 samples

Figure 6: Mean,standard deviation,and standard error of optic disc measurements of 20 samples describing their mean,standard deviation and standard error

In general,according to the algorithm of retinal image processing which was shown in Fig.2,the spatial recurrence was assessed based on the standard level of visual clarity.When the spatial recurrence was determined to be a high value,which indicated better vision,

whereRrepresents the row frequency (a horizontal measurement of CDR) andCrepresents the frequency column (a vertical measurement of CDR),M×Nis defined by the matrixwhich is used to calculate the CDR value and the corresponding standard error as follows:

Thus,Eqs.(37)-(39) along with Eqs.(24)-(26) could be used to categorize the eye condition of the patient.The validation of this categorization was then validated through hypothetical medical information,such as optic disc area,disc diameter,and neuroretinal rim values.Row and column frequencies were also used to obtain and classify the range of the region of convergence of the retinal images.

6 Conclusions

A novel approach for the detection of a glaucomatous eye using intuitive fuzzy sets with membership and non-membership functions was discussed in this study.This was accomplished by utilizing intuitive fuzzy(optimal classifier)sets in the region of convergence of the partitioned retinal images.Fuzzy degrees and fuzzy weighted values were then used as the concentration level in the retinal images.Once the concentration levels of the retinal images were found,the image was then classified as normal eyes,suspected glaucomatous eyes,or glaucomatous eyes.The measurement of the concentration level and checking for similarities in different regions of the images generated a threshold image from the combined fuzzy matrix along with the spatial frequency fuzzy metric which led to the precise classification of the eye condition.Canny edge detection,a histogram equalized image,a histogram of original images and a histogram of histogram equalized images were classified for normal eyes,early-stage glaucomatous eyes,and glaucomatous eyes.These techniques were assorted through the proposed deep learning algorithm using the Convolutional Neural Network.Based on this analysis,the intuitionistic fuzzy sets were carried out on a similar pattern identifier envisaged by models of human perception.

Acknowledgement:The authors express their appreciation to King Saud University for funding the publication of this research through the Researchers Supporting Program (RSPD2023R809),King Saud University,Riyadh,Saudi Arabia.

Funding Statement:This research was funded by the Researchers Supporting Program at King Saud University(RSPD2023R809),Riyadh,Saudi Arabia.

Author Contributions:Dorathy Prema Kavitha,L.Francis Raj,Sandeep Kautish and Abdulaziz S.Almazyad conceived of the presented idea.D.Dorathy Prema Kavitha and L.Francis Raj developed the theory and performed the computations.Sandeep Kautish,Abdulaziz S.Almazyad,Karam M.Sallam,and Ali Wagdy Mohamed verified the analytical methods.Sandeep Kautish,Abdulaziz S.Almazyad encouraged D.Dorathy Prema Kavitha and L.Francis Raj to investigate the proposed method and supervised the findings of this work.All authors discussed the results,contributed to,and approved the final manuscript.

Availability of Data and Materials:Not applicable.

Conflicts of Interest:The authors declare that they have no conflicts of interest to report regarding the present study.