1 Introduction

Iridology is the diagnostic approach that reads the iris, the coloured part eye and to determine the condition of any part of the body. It is a science and practice, which helps to reveal the location of inflammation, weaknesses, and strength. The intensity levels or irregularities of body parts affected by illness are simultaneously stored and recorded in the iris. This can be used as guideline for diagnosing various disorders. The treatment given to the patients are quite expensive, the damage caused remains unknown for long time. By using of symptoms shown by the organs on the iris, diagnosing can be done through the iris of the eye. Any changes and imbalances found in organs of human body are stored in the iris of the eye. In this study, the project is expected to categorize by utilizing detection of the edge and segmentation of mining. The features are extracted from images of iris using white Gaussian filters which are then used as a feature descriptor.

These descriptors count the occurrences of gradient orientation and magnitude in localized portions of an image. When the image of the iris is obtained, firstly the image of the eye must be separated and then changes the iris image to grey scaled image, finally the image is standardized by employing adaptive histogram. Later it is converted into rectangular shape and then assembling the HMM (Hidden Markov Module) images of eyes related to the kidneys, the final step is to diagnose the edge image of the iris HMM. Later it is converted to binary imagery for calculating the extent wound in the image of the iris HMM.

  • Collecting Database of the iris-based kidney disease (Trained and Tested database).

  • Image pre-processing converting the iris image from RGB to Gray.

  • A Caney edge filter is used to remove the noises from the iris image.

  • Image segmentation: it separates the objects from the image background.

  • HMM Algorithm used to recognize the kidney disease by analysing iris patterns.

The paper consists of:

  1. 1.

    Survey of the kidney problem related papers and the comparison of the existing and the proposed system.

  2. 2.

    Methodology of the Proposed System.

  3. 3.

    Various algorithms used in the system.

  4. 4.

    Results and Conclusion.

2 Literature survey

In this literature survey we have referred ten different journal papers. The below all paragraphs will briefly describe the techniques, methodology, working principles and used algorithms.

The scanned images are obtained from CT scanner is used for detecting and identifying the damage in the kidney. These results come up with an accurate detail regarding the amount of damage in their positions in various medical proposals. The tests which are conducted manually and traditionally for the medical purpose are more time consuming and also it increases labour cost. In recent days, diagnosing the damages using CT scan as become a most main task for clinical diagnosis. For the development and improving efficiency of medical of medical testing, CADD (Computer Aided Diagnosis) is required. By combining four IOU thresholds of cascade RCNN, they implemented the two convolution of morphology and they changed the feature pyramid network in rapid RCNN [1].

Chronic kidney disease (CKD) is recognized as a global health problem because of its high mortality rate which include other disorders. There are no symptoms found in the early stage of CKD. Therefore, patients are ignorant of this disease. It diminishes the progression of this disease, in case patient can obtain time to time treatment from early diagnosis of CKD. Machine learning models, are efficiently benefits the medicos achieve their goal because of its speedy and precise recognition performance. For detecting CKD, a machine learning model was proposed. The incomplete values and missing values can be filled by using the KNN algorithm. The six machine learning algorithms can be applied, once the missing datasets are filled efficiently [2].

It is possible to know the condition of inner organs by scanning the iris such as kidneys, heart and other organs by looking at the iris tissue [2, 3, 5, 6, and 7]. They referred a chart that was introduced by the Dr. Bernard Jensen. The chart contains various broken tissue pattern with abnormal organ conditions. Since various nerves are connected to iris from various organs of body broken tissue in the iris represents the condition of specific organ in the human body. This broken tissue is represented by a pattern or mark or just changing the color of the iris. The one who had kidney problem or lost the kidney prior to this examination, did not exhibit any broken tissue in the respective iris was one of drawback from this research [3].

In the eye, numerous nerves are connected to iris from various organs of body. Each and every part of the body is connected with iris of eye. By examining region of interest (ROI) on the iris, shows which part of the body is facing problems. Iridology has become the main framework in the body, because of its attributes present in the iris. Excluding rest part of the eyes, the whole iris is considered to this study. The images are classified based on broken tissue, colour gradation and few other qualities. Patients diagnosed having broken tissue, to draw out the properties Watershed technique is utilized. Since Coronae has straight forwardness qualities, any video or photographic equipment can be used to capture the iris image. In order to detect the image of the iris whether it has broken tissue or any other properties on the ROI of iris, supervised machine learning algorithm (SVM) is utilized to detection [4].

When the kidney functionalities get lost after several months or years due to CKD, Chronic Kidney Disease (CKD) gradually gets progressed. It cannot be able to detect, unless Kidney losses its functionalities up to twenty-five percent. Since there is no symptom are shown initially, the patient cannot be able to recognize his renal or kidney failure. CKD data sets are built by utilizing wrapper and filter techniques. This method has their own evaluator individually. To perform filter technique, CFsSubsetEval and FilterSubsetsEval a good search engine is utilized”. For wrapper technique, among ClassifierSubsetsEval and WrapperSubsetEval a good search engine is utilized [5].

The convenient diagnosis system cannot be able to replace by iris diagnosis system, however, it utilized as screening level diagnosis, and it helps the medicos. Since image acquisition is first stage the iris diagnosis, the image quality, accuracy, illumination, duration needed for image capturing and diagnosis of iris system are all depending on it. The important step of iris diagnosis system localization technique. The localization procedure takes more time when compared to other procedures. By resizing and reducing the size of the image are made to control the localization time [6].

In this approach, cropping of the iris image is required. To get accurate results and successful cutting, capture of higher clarity image of iris is required. Here, the very first step is Converting RGB to Gray image, then this image is being filtered to remove the noise in the image. Next step is feature extracting, where the pupil part of the eye is being removed from iris. In the third step the image is being converted into rectangular image and the rectangular image is being converted into a binary image. At the end the image is being compared with the Iridology chart to detect the disease [7].

The condition of internal organs of human body is predicted using human iris. On recognizing color of the iris and its patterns, then it is compared with the Iridology chart. The Iridology chart, divide the iris plane into several segments, where each segment is connected to an internal organ. This approach is depending on three procedures: 1) Iris recognition, 2) Extraction, 3) dark/white regional localization. By comparing the iris pattern with the Iridology chart, it is possible to generate the diagnosis [8].

The Iris is the greenish-yellow area around the pupil. The outer white area is called the sclera and the central clear part is known as the cornea. Iris is a component of the nervous system and the combined cluster of millions of nerve endings and impulses. The overall process is carried out to get the correct approximate of disease by analysing the iris image. A Gabor filler algorithm is needed in feature extraction. All the features which are required should be extracted, checked clearly [9].

Kidney disease is an issue in society because of its increasing in levels of morbidity and mortality. Through clinical analysis potential discovery of kidney disease or its absence is needed for clinical trials and medical studies. One of the hurdles is to store samples from patients with the known conditions related to the kidney in medical bio repositories. Combination of pathological results with the description of discharge summaries and billing codes [10].

They introduced two co-primary Composite cardio vascular outcomes. Among those first one was nonfatal myocardial infarction with the composite endpoint, cardiovascular causes like stroke, or death. And the second one was revascularization procedure with composite of any of these events such as hospitalization for heart failure, incident diabetes, hypoglycemia, weight, and cancers [11].

The two in-house of feasibility fuzzy classifier, fuzzy rule-building expert system (FuRES) and fuzzy optimal associative memory (FOAM), for detecting the patients with chronic kidney disease is explored. The chronic kidney disease data is employed in this task were used from UCI ML repository. The composite data samples are generated by adding different levels of proportional noise to gauge the robustness of the two fuzzy approaches. Initially, eleven levels of proportional noises were added to each numeric attribute of the training samples and prediction sets one after another, and then these simulated training and prediction data samples were combined into couples. Hence, a grid of 121 classes of simulated data samples was created, and classifications rates for these 121 couples were compared. Nextly, the execution of two fuzzy classifiers using the simulated data samples, in which eleven levels of noise were randomly distributed to each numeric attribute, were compared and the average prediction rates of FuRES and FOAM were 98.1 ± 0.5% and 97.2 ± 1.2%, respectively, with 200 bootstrap Latin partitions. FuRES and FOAM both demonstrates good very powerful and yielded high prediction rates when the training set contained some added proportional noise, while FuRES had better power and strong than FOAM specifically when the training data samples and prediction sets each contained similar levels of noise. The result showed in this research indicate that FuRES and FOAM both performed satisfactorily for the recognition of CKD patients, and the FuRES classifier was more robust than FOAM with a better tolerance to deviations in measured data. The employment of fused data samples from original and composite data samples for building classification prototypes would be a promising approach for the diagnosing of other disorders as well as Chronic kidney disease diagnostic classification [12].

Intelligent Iris-based Chronic Kidney Identification System (ICKIS) is an early stage while using an artificial intelligence iridology and algorithm. Here they have used an iris image of a human as input and a deep neural network-based algorithm, in order to determine whether or not the person has a kidney problem. They have used a GPU based distributed computing machine for the testing and training of the algorithm [13].

Chronic Kidney Disease is associated with age-related renal function decline accelerated in hyper tension, diabetes, obesity and primary renal disorders. Cardiovascular disease (CVD) is the primary cause of mortality and morbidity where Chronic Kidney Disease is considered as an advance of Cardiovascular Disease risk and a separate risk factor for Cardiovascular Disease events. Here CKD can classify into five stages using KDOQI guidelines using thresholds of eGFR within the Cardiovascular Disease range and structure renal evidence changes e.g., Proteinuria [14].

Leo Breiman proposed Random Forest, a fast, highly accurate, and noise-resistant classification method. Bagging and random feature selection are intertwined. The values of random vectors sampled independently impact every tree in the forest, and they all have the same distribution. The data set included 400 distinct patterns divided into two categories, each of which was defined by 24 different attributes. They utilised a technique known as tenfold cross validation, which is commonly used in machine learning techniques with a limited amount of data. The entire dataset is divided into ten 40-fold folds that are mutually exclusive in tenfold cross validation. The remaining one-fold is utilised for testing, while the other nine are used for training. The classification model is trained and assessed ten times. Three different statistical measures are used to evaluate the efficacy of the proposed data mining approaches. The three are total precision, F-measure, and overall classification accuracy [15]. The detailed Comparative analysis which includes methodology, pros and cons of existing techniques has been depicted in Table 1.

Table 1 Comparison analytics

3 Methodology

In the methodology, we have described the working flow of the project, the methodology contains the conversion of the image from .jpg, .png format to PGM (Portable Gray Map) to get more information about the image. And next to the image is converted to a grayscale image, and then the image goes under the filtering process so that the unwanted noises could remove, these noises may occur during capturing the image or while transferring from one device to another [16,17,18, 24]. After that, the edges are marked using the canny edge detection method and finally, the HMM (Hidden Markov Model) algorithm is used to obtain the results. The descriptive module diagrams is explained in the Fig. 1.

Fig. 1
figure 1

Methodology

Through the process of checking the iris pattern it is possible to know the condition of the kidney. The main concept is to combine the process of image manipulation and irido diagnosis and, in order to create a new medical operative method. This method is created by manipulating the image, where features extraction plays a major role. The image of iris is uploaded for pre-processing, where image quality is enhanced.

  1. A.

    Iris image database The trained data & tested data is stored in a database file, which is an iris image data base. The model (e.g., a neural net or a naive Bayes classifier) is trained on the training dataset using a supervised learning method. In practice, the training dataset often consists of pairs of an input vector (or scalar) and the corresponding output vector (or scalar), which is commonly denoted as the target (or label). The current model is run with the training dataset and produces a result, which is then compared with the target, for each input vector in the training dataset. Finally, the test dataset is a dataset used to provide an unbiased evaluation of a final model fit on the training dataset.

  2. B.

    Image pre-processing Discovering an iris in the data set, location of iris is found out using object detector. Cascade entity is a MATLAB method used for detecting the iris.

  3. C.

    RGB to grey image The iris images which are colored are taken from train and test database. These images are changed to Grey level to reduce to the price of calculation and storage space. Grayscale ranges as monochromatic shades from black to white. Therefore, a grayscale image contains only shades of gray and no other colours. By converting a colored image into grey image, we get only two-colour combination i.e., black and white, so that it is easy to such images for further stages (Fig. 2).

  4. D.

    Grayscale adjusted image In the normalization process, the image resolution is decrease in order to complete the operation. The unwanted part of the image that is generated is removed and quality of the image is increased to meet the specified resolution. Histogram equalization is used for optimizing the diversity of the picture (Fig. 3).

  5. E.

    Edge detection image To get the inner and outer plane of the iris edge detection operation is used. Here canny edge detector algorithm is used, which gives the boundaries of the iris image (Fig. 4).

    Canny edge detection is a multi-step algorithm that can detect edges with noise supressed at the same time.

  6. F.

    Grayscale images A grayscale image is a matrix of data whose values represented intensities within a certain scope. In MATLAB unique matrix is used to store a Grayscale image, where each unique value of the matrix corresponds to one pixel in the image.

  7. G.

    Iris detection and segmentation Data is used to detect iris and is segmented by applying feature extraction. When the iris is recognized it gets the form of the face by applying hog and Gabor filters. This percolate used boundary detection and direction values to obtain the facial structure by scanning the image

  8. H.

    Feature extraction Firstly, upload all the training picture and change every the RGB color to grayscale to get one sample in every single pixel. The white Gaussian filter is used as a feature descriptor which can be used to obtain features from images.

  9. I.

    SVM classification Supervised learning model in machine learning, firstly train a support vector machine, and then cross validate the classifier. Use the trained machine to classify (predict) new data. In addition, to obtain satisfactory predictive accuracy in trained model.

  10. J.

    HMM recognition Hidden Markov Model is a learning algorithm that inspect information used for separating and regression inspection. HMM is defined by a separating hyper plane. This Algorithm is the most important algorithm in the system. By analysing the size and shape of the iris image and by applying HMM algorithm it is possible to get the result of kidney condition. Train, and optionally cross validate, an HMM

Fig. 2
figure 2

Gray converted image

Fig. 3
figure 3

Gray scale adjusted image

Fig. 4
figure 4

Gray scale adjusted image

classifier using fitcHMM. The most common syntax is:

HMMModel=fitcHMM(X, Y, 'KernelFunction', 'rbf',...

'Standardize', true, 'ClassNames',{'negClass', 'posClass'});

The inputs are:

X—Matrix of predictor data, where each row is one observation, and each column is one predictor.

Y—Array of class labels with each row corresponding to the value of the corresponding row in X. Y can be a categorical, character, or string array, a logical or numeric vector, or a cell array of character vectors.

KernelFunction—The default value is 'linear' for two-class learning, which separates the data by a hyperplane. The value 'Gaussian' (or 'rbf') is the default for one-class learning, and specifies to use the Gaussian (or radial basis function) kernel. An important step to successfully train an HMM classifier is to choose an appropriate kernel function.

Standardize—Flag indicating whether the software should standardize the predictors before training the classifier.

ClassNames—Distinguishes between the negative and positive classes, or specifies which classes to include in the data. The negative class is the first element (or row of a character array), e.g., 'negClass', and the positive class is the second element (or row of a character array), e.g., 'posClass'. ClassNames must be the same data type as Y. It is good practice to specify the class names, especially if you are comparing the performance of different classifiers.

The resulting, trained model (HMMModel) contains the optimized parameters from the HMM algorithm, enabling you to classify new data.

  1. 1.

    Gaussian filter

    $$G\left( {x,y} \right) = \frac{1}{{2\pi \sigma^{2} }}e^{{ - \frac{{x^{2} + y^{2} }}{{2\sigma^{2} }}}}$$
    (1)

The Gaussian filter is used to remove the noises in the iris image.

  1. 2.

    Canny edge detection

    $$\text{BW} = \text{edge}\left( {\text{I}}, \, {\text{'canny'} } \right)$$
    (2)

The Canny edge detection is used to select the outer line of the iris image.

  1. 3.

    MM (Hidden Markov Model)

I. Transition probability:

$$P\left( y \right) = P(\left( {start} \right) \times \mathop \prod \limits_{i = 1}^{L - 1} P\left( {y_{i} } \right) \times P\left( {y_{L} } \right)$$
(3)

Transition Probability occurs within the Hidden Markov Model (HMM). It actually represents the probabilities of a specific state transition.

II. Emission probability:

$$P\left( y \right) = \mathop \prod \limits_{i = 1}^{L} P\left( {y_{i} } \right)$$
(4)

Emission Probabilities are the probabilities of an observation accurately representing the internal Hidden state of the model for that specific state transition. The Hidden Markov Model (HMM) is used to recognise the kidney condition by analysing the iris pattern of the eyes (Table 2).

Table 2 Comparison of various methods

4 Result analysis

An Efficient Approach to Nephrology through IRIS Recognition will detect the diseases that are related to kidney by considering the shape, size and patterns of the iris image and analysing presence of broken tissue, colour degradation of iris of eye. The approximate accuracy of the system is around 80%.

We have taken 100 different types of eye images where, 20 images are Diabetic related images, 20 images are stone kidney related images, 20 images are kidney fail related images, 20 images are chronic kidney failure related images and 20 images are normal eye images. The various case studies with iris graphs are depicted in Figs. 5, 6, 7 and 8 to show case various impairments.

Fig. 5
figure 5

Diabetics versus normal iris graph

Fig. 6
figure 6

Kidney stone versus normal iris graph

Fig. 7
figure 7

Kidney fail versus normal iris graph

Fig. 8
figure 8

Chronic kidney fail versus normal iris graph

Test case 1:

In the above test iris image, the bottom part of the iris, which indicates the kidney section, shows some broken tissue on it. Since it is not broken completely, but there are some broken lines in the iris. For those patients who have this kind of iris, their kidney problem condition is in the early stage. Hence it is diagnosed as diabetes.

Test case 2:

In the above test iris image, the bottom part of the iris, which indicates the kidney section, shows some broken tissue on it. In this type, the kidney section part is damaged almost half of the part. Those patients who have this kind of iris, their kidney problem condition is in the middle stage. They might have stones in their kidney.

Test case 3:

In the above test eye image, the bottom part of the iris, which means the kidney section that is damaged. In this type, the kidney section part is totally damaged. For those patients who have this kind of iris, their kidney problem condition is in the final stage. This kind of patient has kidney failure.

Test case 4:

In the above test iris image, in the bottom region of the iris, in this case the nerve which is connected from the kidney to the eye has damage at the eye end.

The above graph shows the classification of Iris images for the above test cases.100 test samples were classified where 43% are normal, 22% are diabetic, 15% are stone kidney, and 13% are kidney failure and 7% are chronic kidney failure (Fig. 9).

Fig. 9
figure 9

Classification of number of samples based on type of disease

5 Conclusion and future work

In this system, kidney problems are being detected by analysing the patterns of the iris in the eyes. Each and every nerve that connected to the inner organ are also has a connection to the eyes. Therefore, it is possible to understand the inner organ condition only by analysing the human eyes. Here, the nerve that is connected to the eyes and kidney is considered for the detection of kidney problems. The lower left side nerve for the left eye and the lower right side nerve for the right eye is considered to test the condition of the kidney. The HMM (Hidden Markov Model) is the main algorithm that helps to detect kidney problems. The future work is to implement this model to detect the other inner organ problems. Such as Condition of Stomach, heart state, Liver condition, Lung’s condition, Condition of the throat, thyroid problem, Small intestine, descend.

An Efficient Approach to Nephrology through IRIS Recognition will implement using Machine Learning and MATLAB. It is used to detect the various kidney problem by checking the iris image. Hence it is used as a real-world criterion for scanning kidney diseases based on iris images. Further study about the condition of the organ is done by checking out the iris images. The program is able to perform the process of classification of five samples of 100 data like Diabetic kidney recognition, stone kidney recognition, kidney failure, kidney chronic failure and kidney normal state (Table 3).

Table 3 Accuracy of the model for different types of kidney diseases