<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Anshu on Medium]]></title>
        <description><![CDATA[Stories by Anshu on Medium]]></description>
        <link>https://medium.com/@anu2?source=rss-7b50553a7ac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JnLkThEX58aEgSxwlcqaQg.png</url>
            <title>Stories by Anshu on Medium</title>
            <link>https://medium.com/@anu2?source=rss-7b50553a7ac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 22:54:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anu2/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Development of a low-cost robotic waiter framework for achieving social distancing- Part 1]]></title>
            <link>https://anu2.medium.com/development-of-a-low-cost-robotic-waiter-framework-for-achieving-social-distancing-part-1-27c489d75cd5?source=rss-7b50553a7ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/27c489d75cd5</guid>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Anshu]]></dc:creator>
            <pubDate>Sat, 04 Jun 2022 10:09:55 GMT</pubDate>
            <atom:updated>2022-06-09T04:08:12.284Z</atom:updated>
            <content:encoded><![CDATA[<p>In recent years, the obsession with automation has grown in various industries. However, due to large impact of covid-19 acted as a catalyst which led to the desire gradually turning into the need for the people in the service industry.</p><p>In the healthcare industry, there is a need for service robots that can help reduce the spread of infection from patient to hospital staff due to direct contact. Hospital staff can focus on high priority tasks.</p><p>In the hospitality industry, there are multiple reasons to opt for automation after Covid-19. Due to the pandemic, many restaurant owners have suffered a lot after rebounding also. According to [1] there is a 30% decline in seated diners in restaurants globally due to measures like social distancing. Second, labour costs have gradually risen, and there is a labour shortage resulting from massive layoffs during the pandemic, which forced people to seek alternative employment. Third, because people are changing jobs more frequently in recent years, it is always difficult for restaurant owners to find and train new employees.</p><p>This project is about a low-cost serving robot framework (foronic alchemist 1.0) which can tackle the problem of costly as well as a shortage of labour in the service industry. This low-cost serving robot can also be deployed in hospitals for providing medicine and food to patients so as to avoid direct contact with patients. By using this framework restaurant will only need a couple of staff to assist the robot.</p><p>The use of the waiter robots is at its peak in restaurants in Asia. At a hotel in Shanghai, China they used waiter robots developed by Keenon Robotics. The staff used to place a packaged meal into a robotic waiter and then the robot entered the room with the covid patient and it makes a way to the room and makes an announcement to take the meal and they used this robot in hospitals also which eliminated the need for human-to-human contact [9]. In, Tokyo Japan in June 2021 in a café, they used real humanoid robots to serve food [10]. In Pizza Hut store in Seoul, South Korea, they are testing a robot waiter named Dilly Plate developed by Woowa Brothers Corp. so to include in future to make service more convenient. In Singapore, a seafood restaurant has deployed robots that cost $17,000 annually. In India also states like Tamil Nadu, Kerala, and Karnataka, Andhra Pradesh put thee humanoids in the restaurant to serve food [11] to give contactless services in COVID. Vo Nhu Thanh [2] designed and presented a solution that depends on the line following its motion. Line following algorithm is implemented on microcontroller PIC18F4550. The robot senses and traces the line to reach the desired table. The ultrasonic sensor is used in the solution for obstacle detection and the output from this sensor is responsible for stopping the motion before colliding and also capable speak simple sentences. Shruti BP et al [3] designed a solution that consists of an OLED screen, 4*4 keypad, and a WIFI module. Node MCU is deployed in the solution for WIFI controlling. Patrons can place their order using the keypad/ remote mounted on the body. Dheeraj Salgotra et al [4] presented an IoT-based, Semi-autonomous solution. They have used Arduino as a microcontroller and field mapping is avoid table confusion. Neeti Malik et al [5] demonstrated a solution which is a line following driver and IR sensor is deployed. An LCD screen is mounted on the body of the robot for order placement. RF technology is also used. Salmiya Afsheen et al [6] proposed a solution that consists of the LCD screen, keypad (4*3), and Bluetooth module for placing the order. Arduino atmega328p is used in this solution. IR sensor is used for obstacle detection purposes. Anjali M. Yelasange et al [7] developed a solution that uses raspberry pi as a microcontroller. An ultrasonic sensor is used for obstacle detection. The LCD screen is there to make the order. Tajima MD. Niamat Ullah Akhund et al [8] fabricated a solution that is capable of line following and obstacle avoidance. It uses RFID for figuring out the location to carry out the delivery. All the data is stored in the cloud database.</p><h4>Proposed Framework</h4><p>The proposed system was designed with variables like social distance and cost in mind, so even tiny restaurant operators may use it. With reference to figure 3 the client initially enters the restaurant and sits down, there is a QR code on the table that can be scanned which redirects to the Play Store. So, when a client initially enters the restaurant and sits down, there is a QR code on the table that can be scanned which redirects to the Play Store. Following that, you must download and register the app, provide information such as your phone number and table number, and then pay using UPI or card. The database contains all information regarding the customer’s order. The chef may also check the order details, prepare the order, and set the meal on the robot-supplied dish plate. The robot may then be controlled in two ways. The first is via the Blynk app, which requires the aid of restaurant workers to move using a joystick control. Second, it can be operated automatically utilising Line following, which may be utilised in a buffet system, and customers can stop the robot using RFID cards. After arriving at the location, the robot will welcome the client, the customer will receive the order, and the robot will return to the kitchen. Following that, a feedback form is delivered to the client, and its response is captured. Data analysis is performed on the feedback, and it is turned into relevant information using FP growth, which assists the restaurant in improving the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*tYn0rY9oKPxVUTnZlWoBKg.png" /><figcaption>Flowchart of the framework</figcaption></figure><p>In part 2 we will discuss the robot and its functionality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27c489d75cd5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Decade Review: On Diabetic Mellitus]]></title>
            <link>https://medium.com/codex/a-decade-review-on-diabetic-mellitus-3b6054916617?source=rss-7b50553a7ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b6054916617</guid>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[diabetic-retinopathy]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[diabetes]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Anshu]]></dc:creator>
            <pubDate>Mon, 17 Jan 2022 16:25:15 GMT</pubDate>
            <atom:updated>2022-01-17T16:48:49.937Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>1. INTRODUCTION</strong></h3><p>Diabetics mellitus is a chronic health condition and clinical syndrome of hyperglycaemia with glycosuria due to defects in insulin secretion, insulin action, or both [1–3]. There is metabolic disorder due to defects in insulin secretion, insulin action or both in carbohydrates, lipids, and proteins [1–3]. Uncontrolled diabetes can result in stupor, foot ulcers due to nerve damage in feet, reduce blood flow, diabetic coma, diabetic nephropathy, kidney failure, diabetic retinopathy and death from ketoacidosis or nonketotic hyperosmolar syndrome if not handled [1–2][4]. The global estimate of people getting affected by diabetes is increasing from 108 million in 1980 to 151 million in 2000 to 422 million in 2014 [4–5]. The global prevalence of diabetes increased from 4.7% in 1980 to 8.5% in 2014 for adults over 18 years of age. There was a rise of 5% in premature deaths due to diabetes between 2000 and 2016 [4]. The incidence of diabetes has risen more rapidly in low- and middle-income countries than in high-income countries, i.e., 80% of people diagnosed overall are from low- and middle-income countries. In 2016, there was 1.6 million estimated deaths recorded which were directly caused due to diabetes [4]. The IDF predicts that there will be 578 million diabetic patients in 2030 and rose to 700 million by 2045 [5].There has been knowledge of different forms of diabetes for many decades, but in the 1930s, Himsworth suggested that there are two phenotypes of diabetes, but in the 2nd WHO Expert Committee the classification proposed: type 1, type 2, gestational diabetes and other types of diabetes [3][9–11].Type 1 Diabetes (Insulin Dependent Diabetes Mellites) is caused due to cell — mediated autoimmune destruction of the β — cells [3]. Secondly, there are some genes which are more susceptible to T1DM for example human leukocyte antigen genes which have high risk of T1DM and environmental factors such as viruses serve as causes [12]. T1DM is more prominent in young people which accounts for more than 85% of all cases of diabetes in young people under 20 years of age worldwide. Cases of T1DM is increasing with an average rate of 3 to 4 % per annum. Type 2(Non-Insulin Dependent Diabetes Mellitus) is a condition that is chronic which account for approximately 90–95% of those with diabetes [14]. Increasing in age i.e., people are more likely to have T2DM after 40 years of age, over-weight as obesity account for 80–85% cumulative risk of developing T2DM [3], westernized lifestyle which changes in dietary patterns and the increasingly inactive lifestyles, family background, polycystic ovary syndrome, serious mental disorder, hypertension, hyperlipidemia are risk factors associated with T2DM [3][15]. Gestational Diabetes (GDM) is hyperglycemia which is 1st detected during gestation. The ethnicity which are more prone to GDM is African American, Asian, Hispanic, Alaska Native, Pacific Islander, or Native American [18]. 80 M live birth is affected by DM out of which 84% is affected by GDM [5]. Diagnosis of prediabetic state is when fasting glucose level is between 110–126 mg% and HbA1c is between 5.7–6.4% [17]. Successful DM management needs a balance approach of medication and lifestyle modification such as physical exercise, weight loss, alcohol and smoking avoidance[3][17]. There is an established diabetes self — management education for the care and management of diabetes [3]. To control diabetes, we need to do dietary management and lifestyle modification. Secondly, we can use oral hypoglycaemic agent such as Sulfonylureas, Meglitinides, Biguanides, Thiazolidinediones, α-Glucosidase inhibitors, DPP-4 inhibitors in high-risk situations for patients with type 2 diabetes that lowers blood sugar and can-do insulin therapy. [1][17].</p><p>Figure 1 shows that USA, China, Brazil, Germany, Japan, Mexico, France ,UK, Canada, Russia, Italy, Spain these 12 countries contribute to 80% of total health expenditure spend on diabetes in 2019.These countries are high income countries and have more developed health infrastructure .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*6YD_QV-MiucfcYUBiaOwiA.png" /><figcaption>Figure 1: Pareto chart of health expenditure on diabetes</figcaption></figure><p>So, from figure 2 we can see the percentage of people have undiagnosed diabetes so from this we can see that African and south Asia have high percentage of people undiagnosed and these countries are low income countries. So, for these countries we need a cost effective and early diagnosis way to find out diabetes so that people effected by diabetes can take necessary precaution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*OxA_Orn1houwSQORRo-i5Q.png" /><figcaption>Figure 2: Percentage of people undiagnosed in 2019</figcaption></figure><p>So, data mining has now become an effective method in this age of information to discovered a way in retrieving information from huge and diverse data. From this given figure 3 we can see the number of papers published in different publication on diabetes so we can see the amount of research going on in this field. Artificial intelligence and machine learning are changing our medical system and increasing the scope of diabetes treatment, leading to improved performance and providing us with a great opportunity in terms of future information available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*cyerKrIs1G7KCNVLw1ZWxg.png" /><figcaption>Figure 3: Number of Paper published from 2010–2021</figcaption></figure><h3><strong>2. Review</strong></h3><p>Diabetics have a long history that stretches back to antiquity physicians at ancient time have observed distinctive characteristics of diabetes and proposed several remedies. In 1550 BC a polyureic state was identified and discovered by Georg Ebers. The Hindu healthcare professionals, Charak and Sushrut, were among the first to identify the sweet taste of diabetic urine in the 5th century. Aretaeus uses the term “diabetes” extrapolated from the Greek word- syphon [5]. The first mention of hyperglycaemia was part of a paper written in 1776 by Matthew Dobson of Liverpool in that he found that the serum and urine of his diabetic patient tasted sweet [6]. Moreover, he evaporated the urine and it turn into a white cake that smells like brown sugar [5][7]. And then he concluded that the kidney-excreted sugar was not produced inside the organs but was present in the blood serum [5]. A trained surgeon, John Rollo, added the adjective “mellitus,” meaning honey. In the 19th century, he also developed the “animal diet” as a diabetes treatment. In 1815, French chemist Michel Chevreul proved that the sugar in diabetic urine was glucose. Between 1846 and 1848, Bernard worked on glycogenic action of the liver. The cause of diabetes was unidentified in the early 19th century. But in 1889, when Oskar Minkowski and Josef von Mering reported that the dog had serious diabetes caused by pancreatectomy [5][7]. Experiments performed by Minkowski and von Mering have shown that the pancreas is an internal secretion gland essential for glucose homeostasis maintenance [5][7]. Frederick Banting and John MacLeod were awarded the Nobel Prize in Medicine in 1923 for the discovery of insulin. Insulin was available widely in North America and Europe by October 1923[5]. In 1982 recombinant human insulin became available. In 1990 insulin pen delivery devices become popular [7].</p><p>Presently, with the adoption of AI and ML, it is proven asset to medical health care that can offer significant changes from early diagnosis to treatment in all fields of healthcare. Health monitoring software and smartphones technology have created opportunities for on-demand healthcare services. Now, the field of medicine is realising the value of AI-powered instruments and is believed that it will revolutionarily changes to every phase within the operation and distribution of healthcare. It is believed that US healthcare cost will able to slash annual costs by USD 150 billion in 2026 using AI technology [19]. Via continuous monitoring and coaching, AI-based technology will play an important role in helping individuals stay healthy and will ensure earlier diagnosis and so on. The healthcare market associated with AI is projected to expand steadily and hit USD 6.6 billion by 2021, corresponding to a compound annual growth rate of 40 % [19]. AI methodologies can be divided into three groups, based on the aims of the diabetes-related application: exploring and finding knowledge, learning to use information, and extracting information from conclusions [20].</p><p>In 2010,[21] introduced a technique which combines CBR and ontology to create a personalised diabetes care plan using artificial intelligence. But for better performance, a rich CRB case database is required. SMARTDIAB was used in [22] to help the tracking, management and care of T1DM patients by integrating various fields of database technology and data mining. They suggest a model in [23] in which they use a black box to intelligibly reflect the diagnostic decision of SVM and their accuracy comes of 94%. In 2011, paper [25] introduces a novel fuzzy expert method for the application of diabetes decision support. In paper [26] they presented a device which provides an accessible bolus calculator for the visually impaired which has a voice-based interface. In 2012, paper [28] suggested a diabetes prediction system based on ANN using a dataset of approximately 2,000 patients at the BMC hospital in Thailand. This study demonstrates that consumption, Smoking Factors are important features. A model is suggested in paper [29] that offers diabetes treatment on smart phones and has gone through clinical trials and has a positive feedback from the people. The information collected during the clinical trial was studied using data mining techniques and established acceptable medical associations between irregular blood glucose levels and patient symptoms and lifestyle behaviours. In 2013, paper [32] aims to automate the identification of Diabetes Mellitus with an accuracy rate of 92.8 percent using an insightful and efficient approach using the Neural Network. In 2014, paper [34] proposed a method with an accuracy of 99.82% which is based on facial block texture characteristics to detect diabetes using the Gabor filter then used KNN and SVM for classification. In 2015, paper [35] introduced a method that can efficiently discover the rules for predicting the risk level of patients with diabetes on the basis of health parameters using C45 and partial tree rules. In 2016, paper [37] propose an implementation of software tool which predict whether a person has diabetic or not using ANN with an accuracy of 81%. In 2017, paper [39] used Pima Indian Diabetes Dataset with 10 runs of 10-fold cross validation with an accuracy of 85.5% on which ERCT Algorithms is implemented. In 2018, paper [41] suggested a 5G-Smart Diabetes device that incorporates innovations for diabetes patients such as wearable, machine learning, and Big Data for sensing and analysis. In 2019, paper [44] used Pima Indians Diabetes data set and compare random forests with other machine learning methods and shows that random forest is giving better accuracy. In 2020, paper [45] used a dataset from Security Force Primary Health Care and proposed a model with an accuracy of 98% and shows that random forest classifier is better as compared to SVM. A paper [51] published in 2020 proposed a transfer learning-based CNN architecture on colour fundus to identify Diabetic Retinopathy groups and earned a Cohens Kappa score of 0. 8836.In 2020 paper [52] uses Gabor filter and ML techniques analysing and detecting diabetic retinopathy disease and get accuracy of 70.1516% and Weighted Average ROC values 0.862. Data mining-based diagnosis and prediction solutions in the field of glycaemic regulation for diabetes were discussed in paper [46] in 2021. In 2021, in paper [47], technologies such as photonics-based, machine learning, and conclusive physiological features were used and a diagnostic approach was developed to evaluate the skin abnormalities of people with diabetes at a very earlier level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*NtL8vdw5x_LAOrCPt0mAqQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*PTOniL-LdwqaC_J-9TNkog.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*bb5yshbHBO2rp3VKULFWCw.png" /><figcaption>Discussing various paper presented from 2010–2021 on diabetes</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*P9ZGr5Kbg2UrjePXBOY9NA.png" /></figure><p>Images of Diabetic retinopathy .</p><h3>3. REFERENCE</h3><p>[1] Chugh, A. C. A. S. N. (2015). Text Book of Clinical Medicine for Dental Students (4th ed.). Arya publications.</p><p>[2] <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4478580/">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4478580/</a></p><p>[3] Holt, Richard I. G., et al. Textbook of Diabetes. John Wiley &amp; Sons, 2017</p><p>[4] <a href="https://www.who.int/news-room/fact-sheets/detail/diabetes">https://www.who.int/news-room/fact-sheets/detail/diabetes</a></p><p>[5] <a href="https://www.diabetesatlas.org/en/">https://www.diabetesatlas.org/en/</a></p><p>[6] Dobson M . Experiments and observations on the urine in diabetes . Med Obs Inq 1776 ; 5 : 298–316 .</p><p>[7] <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4707300/">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4707300/</a></p><p>[8] World Health Organization (WHO) Expert Committee on Diabetes Mellitus . First Report: Technical Report Series 310 . Geneva : WHO , 1964 .</p><p>[9] World Health Organization (WHO) Expert Committee on Diabetes Mellitus . Second Report: Technical Report Series 646 . Geneva : WHO , 1980 .</p><p>[10] National Diabetes Data Group . Classifi cation and diagnosis of diabetes mellitus and other categories of glucose intolerance . Diabetes 1979 ; 28 : 1039–1057 .</p><p>[11] <a href="https://www.ncbi.nlm.nih.gov/books/NBK279119/">https://www.ncbi.nlm.nih.gov/books/NBK279119/</a></p><p>[12] <a href="https://www.cdc.gov/diabetes/basics/what-is-type-1-diabetes.html">https://www.cdc.gov/diabetes/basics/what-is-type-1-diabetes.html</a></p><p>[13] <a href="https://www.endocrineweb.com/conditions/type-1-diabetes/type-1-diabetes-risk-factors">https://www.endocrineweb.com/conditions/type-1-diabetes/type-1-diabetes-risk-factors</a></p><p>[14] <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2797383/">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2797383/</a></p><p>[15] <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3464757/">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3464757/</a></p><p>[16] <a href="https://www.diabetes.org/diabetes/gestational-diabetes/how-to-treat-gestational-diabetes#:~:text=Treatment%20for%20gestational%20diabetes%20aims,glucose%20testing%20and%20insulin%20injections">https://www.diabetes.org/diabetes/gestational-diabetes/how-to-treat-gestational-diabetes#:~:text=Treatment%20for%20gestational%20diabetes%20aims,glucose%20testing%20and%20insulin%20injections</a>.</p><p>[17] <a href="https://www.ncbi.nlm.nih.gov/books/NBK482386/">https://www.ncbi.nlm.nih.gov/books/NBK482386/</a></p><p>[18] <a href="https://www.webmd.com/diabetes/gestational-diabetes">https://www.webmd.com/diabetes/gestational-diabetes</a></p><p>[19] <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7325854/">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7325854/</a></p><p>[20] <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7273319/">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7273319/</a></p><p>[21] Jian-xun Chen, Shih-Li Su, &amp; Che-Ha Chang. (2010). <em>Diabetes care decision support system. 2010 2nd International Conference on Industrial and Information Systems.</em></p><p>[22] Mougiakakou, S. G., Bartsocas, C. S., Bozas, E., Chaniotakis, N., Iliopoulou, D., Kouris, I., … Nikita, K. S. (2010). <em>SMARTDIAB: A Communication and Information Technology Approach for the Intelligent Monitoring, Management and Follow-up of Type 1 Diabetes Patients. IEEE Transactions on Information Technology in Biomedicine, 14(3), 622–633.</em> doi:10.1109/titb.2009.2039711</p><p>[23] Barakat, N., Bradley, A. P., &amp; Barakat, M. N. H. (2010). <em>Intelligible Support Vector Machines for Diagnosis of Diabetes Mellitus. IEEE Transactions on Information Technology in Biomedicine, 14(4), 1114–1120.</em> doi:10.1109/titb.2009.2039485</p><p>[24] Jayalakshmi, T., &amp; Santhakumaran, A. (2010). <em>A Novel Classification Method for Diagnosis of Diabetes Mellitus Using Artificial Neural Networks. 2010 International Conference on Data Storage and Data Engineering.</em></p><p>[25] Chang-Shing Lee, &amp; Mei-Hui Wang. (2011). <em>A Fuzzy Expert System for Diabetes Decision Support Application. IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics), 41(1), 139–153.</em></p><p>[26] Radfar, M. H., Hamilton, M., &amp; Ming, A. (2011). A voice activated device for insulin dosage calculations for visually impaired diabetes. 2011 24th Canadian Conference on Electrical and Computer Engineering (CCECE).</p><p>[27] Al Jarullah, A. A. (2011). <em>Decision tree discovery for the diagnosis of type II diabetes. 2011 International Conference on Innovations in Information Technology.</em> doi:10.1109/innovations.2011.5893838</p><p>[28] Luangruangrong, W., Rodtook, A., &amp; Chimmanee, S. (2012). Study of Type 2 diabetes risk factors using neural network for Thai people and tuning neural network parameters. 2012 IEEE International Conference on Systems, Man, and Cybernetics (SMC).</p><p>[29] Tsai, I.-H., Lin, Y.-F., Yang, Y.-C., &amp; Tseng, V. S. (2012). A Mobile Framework for Personalized Diabetes Telecare. 2012 Conference on Technologies and Applications of Artificial Intelligence. doi:10.1109/taai.2012.13</p><p>[30] Phyo Phyo San, Sai Ho Ling, &amp; Nguyen, H. T. (2012). Intelligent detection of hypoglycemic episodes in children with type 1 diabetes using adaptive neural-fuzzy inference system. 2012 Annual International Conference of the IEEE Engineering in Medicine and Biology Society. doi:10.1109/embc.2012.6347440</p><p>[31] Dalakleidi, K. V., Zarkogianni, K., Karamanos, V. G., Thanopoulou, A. C., &amp; Nikita, K. S. (2013). A hybrid genetic algorithm for the selection of the critical features for risk prediction of cardiovascular complications in Type 2 Diabetes patients. 13th IEEE International Conference on BioInformatics and BioEngineering.</p><p>[32] Kumari, S., &amp; Singh, A. (2013). A data mining approach for the diagnosis of diabetes mellitus. 2013 7th International Conference on Intelligent Systems and Control (ISCO).</p><p>[33] Li, L. (2014). Diagnosis of Diabetes Using a Weight-Adjusted Voting Approach. 2014 IEEE International Conference on Bioinformatics and Bioengineering. doi:10.1109/bibe.2014.27</p><p>[34] Ting, S., &amp; Zhang, B. (2014). Diabetes Mellitus Detection Based on Facial Block Texture Features Using the Gabor Filter. 2014 IEEE 17th International Conference on Computational Science and Engineering. doi:10.1109/cse.2014.35</p><p>[35] Purushottam, Saxena, K., &amp; Sharma, R. (2015). <em>Diabetes mellitus prediction system evaluation using C4.5 rules and partial tree. 2015 4th International Conference on Reliability, Infocom Technologies and Optimization (ICRITO) (Trends and Future Directions).</em></p><p>[36] Han, L., Luo, S., Yu, J., Pan, L., &amp; Chen, S. (2015). Rule Extraction From Support Vector Machines Using Ensemble Learning Approach: An Application for Diagnosis of Diabetes. IEEE Journal of Biomedical and Health Informatics, 19(2), 728–734.</p><p>[37] Joshi, S., &amp; Borse, M. (2016). Detection and Prediction of Diabetes Mellitus Using Back-Propagation Neural Network. 2016 International Conference on Micro-Electronics and Telecommunication Engineering (ICMETE).</p><p>[38] Sumangali, K., Geetika, B. S. R., &amp; Ambarkar, H. (2016). A classifier based approach for early detection of diabetes mellitus. 2016 International Conference on Control, Instrumentation, Communication and Computational Technologies (ICCICCT).</p><p>[39] Vignesh, N. A., &amp; Amalarethinam, D. I. G. (2017). Rule Extraction for Diagnosis of Diabetes Mellitus Used for Enhancing Regular Covering Technique. 2017 World Congress on Computing and Communication Technologies (WCCCT).</p><p>[40] Vaishali, R., Sasikala, R., Ramasubbareddy, S., Remya, S., &amp; Nalluri, S. (2017). Genetic algorithm based feature selection and MOE Fuzzy classification algorithm on Pima Indians Diabetes dataset. 2017 International Conference on Computing Networking and Informatics (ICCNI). doi:10.1109/iccni.2017.8123815</p><p>[41] Chen, M., Yang, J., Zhou, J., Hao, Y., Zhang, J., &amp; Youn, C.-H. (2018). 5G-Smart Diabetes: Toward Personalized Diabetes Diagnosis with Healthcare Big Data Clouds. IEEE Communications Magazine, 56(4)</p><p>[42] Fatemidokht, H., &amp; Rafsanjani, M. K. (2018). Development of a hybrid neuro-fuzzy system as a diagnostic tool for Type 2 Diabetes Mellitus. 2018 6th Iranian Joint Congress on Fuzzy and Intelligent Systems (CFIS). doi:10.1109/cfis.2018.8336627</p><p>[43] Prabhu, P., &amp; Selvabharathi, S. (2019). Deep Belief Neural Network Model for Prediction of Diabetes Mellitus. 2019 3rd International Conference on Imaging, Signal Processing and Communication (ICISPC). doi:10.1109/icispc.2019.8935838</p><p>[44] Benbelkacem, S., &amp; Atmani, B. (2019). Random Forests for Diabetes Diagnosis. 2019 International Conference on Computer and Information Sciences (ICCIS).</p><p>[45] A. S. Alanazi and M. A. Mezher, “Using Machine Learning Algorithms For Prediction Of Diabetes Mellitus,” 2020 International Conference on Computing and Information Technology (ICCIT-1441), Tabuk, Saudi Arabia, 2020, pp. 1–3, doi: 10.1109/ICCIT-144147971.2020.9213708.</p><p>[46] F. A. Khan, K. Zeb, M. Alrakhami, A. Derhab and S. A. C. Bukhari, “Detection and Prediction of Diabetes using Data Mining: A Comprehensive Review,” in IEEE Access, doi: 10.1109/ACCESS.2021.3059343.</p><p>[47] V. Dremin et al., “Skin complications of diabetes mellitus revealed by polarized hyperspectral imaging and machine learning,” in IEEE Transactions on Medical Imaging, doi: 10.1109/TMI.2021.3049591.</p><p>[48] Hasan, M. K., Alam, M. A., Das, D., Hossain, E., &amp; Hasan, M. (2020). Diabetes Prediction Using Ensembling of Different Machine Learning Classifiers. IEEE Access, 1–1. doi:10.1109/access.2020.2989857</p><p>[49] N. H. Taz, A. Islam and I. Mahmud, “A Comparative Analysis of Ensemble Based Machine Learning Techniques for Diabetes Identification,” 2021 2nd International Conference on Robotics, Electrical and Signal Processing Techniques (ICREST), DHAKA, Bangladesh, 2021, pp. 1–6, doi: 10.1109/ICREST51555.2021.9331036.</p><p>[50] <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3491270/">https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3491270/</a></p><p>[51] Samanta, A., Saha, A., Satapathy, S. C., Fernandes, S. L., &amp; Zhang, Y.-D. (2020). Automated Detection of Diabetic Retinopathy using Convolutional Neural Networks on a Small Dataset. Pattern Recognition Letters. doi:10.1016/j.patrec.2020.04.026</p><p>[52] Vijayan T, Sangeetha M, A. Kumaravel, Karthik B,Gabor filter and machine learning based diabetic retinopathy analysis and detection,Microprocessors and Microsystems,2020,103353,ISSN 0141–9331,https://doi.org/10.1016/j.micpro.2020.103353.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b6054916617" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codex/a-decade-review-on-diabetic-mellitus-3b6054916617">A Decade Review: On Diabetic Mellitus</a> was originally published in <a href="https://medium.com/codex">CodeX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hive part 2]]></title>
            <link>https://anu2.medium.com/hive-part-2-3e521e200f30?source=rss-7b50553a7ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e521e200f30</guid>
            <category><![CDATA[hadoop-training]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[hive]]></category>
            <dc:creator><![CDATA[Anshu]]></dc:creator>
            <pubDate>Tue, 14 Sep 2021 15:00:54 GMT</pubDate>
            <atom:updated>2021-09-15T07:42:56.337Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5Pq1Pb2FgUAyaSciIizvEg.jpeg" /><figcaption><a href="https://www.linkedin.com/company/mlearning-ai/">MLearning.ai collaborates with over 500 researchers from 6 continents</a></figcaption></figure><h3>1. Hive Data Types</h3><p>Hive data types are categorized into numeric types, string types, misc types, and complex types. A list of Hive data types is given below.</p><h4>a. Numeric Types</h4><ul><li>TINYINT (1-byte signed integer, from -128 to 127)</li><li>SMALLINT (2-byte signed integer, from -32,768 to 32,767)</li><li>INT (4-byte signed integer, from -2,147,483,648 to 2,147,483,647)</li><li>BIGINT (8-byte signed integer, from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807)</li><li>FLOAT (4-byte single precision floating point number)</li><li>DOUBLE (8-byte double precision floating point number)</li><li>DECIMAL (Hive 0.13.0 introduced user definable precision and scale)</li></ul><h4>b. Date/Time Types</h4><ul><li>TIMESTAMP</li><li>DATE</li></ul><h4>c. String Types</h4><ul><li>STRING</li><li>VARCHAR</li><li>CHAR</li></ul><h4>d. Misc Types</h4><ul><li>BOOLEAN</li><li>BINARY</li></ul><h4>e. Complex Types</h4><ul><li><strong>arrays:</strong></li></ul><p>It is a collection of similar types of values that are indexable using zero-based integers.</p><ul><li><strong>maps:</strong></li></ul><p>It contains the key-value tuples where the fields are accessed using array notation.</p><ul><li><strong>structs:</strong></li></ul><p>a complex data type in Hive that can store a set of fields of different data types.</p><h3>2. Tables</h3><p>In Hive, we can create a table by using conventions similar to SQL. It supports a wide range of flexibility where the data files for tables are stored. It provides two types of table: -</p><p>- Internal table</p><p>- External table</p><h3>Internal Table</h3><p>The internal tables are also called managed tables as the lifecycle of their data is controlled by the Hive. By default, these tables are stored in a subdirectory under the directory defined by hive.metastore.warehouse.dir (i.e. /user/hive/warehouse). The internal tables are not flexible enough to share with other tools like Pig. If we try to drop the internal table, Hive deletes both table schema and data.</p><h3>External Table</h3><p>The external table allows us to create and access a table and data externally. The <strong>external</strong> keyword is used to specify the external table, whereas the <strong>location</strong> keyword is used to determine the location of loaded data.</p><p>As the table is external, the data is not present in the Hive directory. Therefore, if we try to drop the table, the metadata of the table will be deleted, but the data still exists.</p><h3>3. Partition</h3><p>The partitioning in Hive means dividing the table into some parts based on the values of a particular column like date, course, city or country. The advantage of partitioning is that since the data is stored in slices, the query response time becomes faster.</p><p>The partitioning in Hive can be executed in two ways -</p><p>- Static partitioning</p><p>- Dynamic partitioning</p><h3>i. Hive Static Partitioning</h3><p>- In static or manual partitioning, it is required to pass the values of partitioned columns manually while loading the data into the table. Hence, the data file doesn’t contain the partitioned columns.</p><p>- If you want to use the Static partition in the hive you should set property set <strong>hive.mapred.mode = strict</strong> This property set by default in hive-site.xml</p><p>- Static partition is in Strict Mode.</p><h3>ii. Hive Dynamic Partitioning</h3><p>Dynamic partitions provide us with flexibility and create partitions automatically depending on the data that we are inserting into the table.</p><p>To use DP we first need to enables :</p><p>- hive&gt; set hive.exec.dynamic.partition=true;</p><p>- hive&gt; set hive.exec.dynamic.partition.mode=nonstrict;</p><p>If you want to partition a number of columns but you don’t know how many columns then also dynamic partition is suitable.</p><h3>4. View</h3><p>Basically, Apache Hive View is similar to Hive tables, which are generated on the basis of requirements.</p><p>Use1: Filter Data</p><p>Use2: Reduce Complexity</p><h3>5. Bucket</h3><p>· Bucketing in the hive is the concept of breaking data down into ranges, which are known as buckets, to give extra structure to the data so it may be used for more efficient queries. The range for a bucket is determined by the hash value of one or more columns in the dataset</p><p>· We use the concept of bucketing when the partitioning is more difficult.</p><p>· Bucketing tables also can result in more efficient use of overall resources; memory utilization is low when the joins are done at the bucket level, instead of doing a full broadcast join of one of the tables. The greater the number of buckets, the less memory is needed — but too many buckets can create unneeded parallelism. It may take some experimenting at first, but eventually, you will figure out the ideal bucket count for highly efficient scans of the datasets.</p><p>·The concept of bucketing is based on the hashing technique.</p><p>Here, modules of the current column value and the number of required buckets is calculated (let say, F(x) % 3).</p><p>Now, based on the resulted value, the data is stored in the corresponding bucket.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e521e200f30" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hive Tutorial 1]]></title>
            <link>https://anu2.medium.com/hive-tutorial-1-1c4192389c02?source=rss-7b50553a7ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c4192389c02</guid>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[hiveproject]]></category>
            <category><![CDATA[big-data-analytics]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[hive]]></category>
            <dc:creator><![CDATA[Anshu]]></dc:creator>
            <pubDate>Wed, 14 Jul 2021 10:57:55 GMT</pubDate>
            <atom:updated>2021-07-14T11:01:51.206Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>1. Why we need a hive?</strong></h4><p>Before digging dip into Hive, we should know why we require it. So, it all started in the early ’90s when Facebook started and slowly the number of users increased. With time they had 1 billion users and with that, there was an increase in the data they have to process like it was around 1000 terabytes of data and 1 lakh queries and 500 photographs uploaded every day. So, this is a huge amount of data and we needed to process it.<br>So, the first thing everybody thought to use was “RDBMS” but RDBMS can’t handle such a huge amount of data and neither it was capable enough to process it. So, the second thing we can use is “HADOOP” it was capable enough to handle a huge amount of data but it is not easy to handle all the queries on Hadoop as we are required to know MAP-REDUCE and in Hadoop, processing query takes a lot of time. But all the software developer knows “SQL” so what Facebook has done it was combined HADOOP<br>and SQL. They have come with a solution to take the data handling capability of HADOOP and interface like SQL that was an origin of HIVE.<br>Thus, Hive was created to make it possible for analysts with strong SQL skills to run queries on the huge volume of data that Facebook has stored in HDFS.<br>It was developed at Facebook so that people who had experience in SQL would be able to work on querying datasets without actually learning new paradigms like MapReduce or new programming languages.</p><h4><strong>2. What is HIVE?</strong></h4><p>Apache Hive is a distributed, fault-tolerant data warehouse system that enables analytics at a massive scale. A data warehouse provides a central store of information that can easily be analysed to make<br>informed, data-driven decisions. Hive is built on top of Apache Hadoop, which is an open-source framework used to efficiently store<br>and process large datasets. As a result, Hive is closely integrated with Hadoop and is designed to work quickly on petabytes of data.</p><h4><strong>3. What is a data warehouse?</strong></h4><p>A data warehouse is a type of data management system that is designed to enable and support analytics. Data warehouses are solely intended to perform queries and analysis and often contain large amounts of historical data.<br>A data warehouse centralizes and consolidates large amounts of data from multiple sources. Its analytical capabilities allow organizations to derive valuable business insights from their data to improve decision-making.</p><h4><strong>4. Difference Between Hive and Hadoop?</strong></h4><p>Hive is a framework to process Big data Hive is an SQL Based tool that builds over Hadoop to process the data. Hadoop is meant for all types of data whether it is Structured, Unstructured or Semi-Structured. Hive can only process/query the structured data. Hadoop can understand Map Reduce only. It compiles languages with two main tasks: Mapper and Reducer. We can define tasks using Python or Java. Hive supports SQL like query language for interaction and data modelling i.e., HiveQL.</p><p>Hadoop have a Low level of abstraction and Hive is a high level of abstraction.<br>So, Hadoop provides high efficiency and Hive provides low efficiency as Map-Reduce is an integral part of Hadoop and Hive’s query first gets converted into Map Reduce then processed by Hadoop to query the data.<br>More lines of code need to be defined in Hadoop. Less number of lines of code is needed to execute a query in Hive that&#39;s why more Development time is required in Hadoop and Less Development time is in Hive.</p><h3><strong>5. Key Features of Hive</strong></h3><ol><li>Hive provides SQL-like declarative language, called HiveQL, which is used for expressing queries.</li><li>A variety of built-in functions for working with dates, strings, etc.</li><li>Easy ETL (extraction, transformation, and loading) of data.</li><li>Hive engine compiles these queries into Map-Reduce jobs to be executed on Hadoop.</li><li>In Hive, tables and databases are created first and then data is loaded into these tables.</li><li>Hive a data warehouse designed for managing and querying only structured data that is stored in tables.</li><li>While dealing with structured data, Map Reduce usability features like UDFs but Hive framework does.</li><li>Hive supports partition and buckets concepts for easy retrieval of data when the client executes the query.</li><li>A new and important component of Hive i.e., Meta store used for storing schema information.</li><li>Hive supports four file formats: TEXTFILE, SEQUENCE FILE, ORC, and RCFILE(Record Columnar File).</li></ol><h4>6. Hive Architecture</h4><p>A hive consists of 3 parts:<br><em>1. Hive Client<br>2. Hive Services<br>3. Hive Storage and Compute</em><br><strong>Hive Client:</strong><br>Hive allows writing applications in various languages, including Java, Python, and C++. It supports different types of clients such as: -<br> <strong><em>Thrift Server –</em></strong><br>It is a cross-language service provider platform that requests all those<br>programming languages that support Thrift. E.g. Most of the services in<br>Facebook is written in Thrift.<br><strong><em> JDBC Driver –</em></strong><br>It is used to establish a connection between hive and Java applications. The JDBC driver is present in the class <em>org.apache.Hadoop.hive.JDBC.HiveDriver.</em><br> <strong><em>ODBC Driver –</em></strong><br>It allows the applications that support the ODBC protocol to connect to Hive.</p><p><strong><em>Hive Services:</em></strong><br><strong><em>The following are the services provided by Hive: -</em></strong><br> <strong><em>Hive CLI </em></strong>— The Hive CLI (Command Line Interface) is a shell where we can execute Hive queries and commands.<br><strong><em> Hive Web User Interface </em></strong>— The Hive Web UI is just an alternative to Hive CLI. It<br>provides a web-based GUI for executing Hive queries and commands.<br> <strong><em>Hive Meta Store </em></strong>— It is a central repository that stores all the structure information of various tables and partitions in the warehouse.<br> <strong><em>Hive Server </em></strong>— It is referred to as Apache Thrift Server. It accepts the request from different clients and provides it to Hive Driver.</p><p><strong><em>Hive Driver —</em></strong> It receives queries from different sources like web UI, CLI, Thrift, and JDBC/ODBC driver. It transfers the queries to the compiler.<br><strong><em> Hive Compiler </em></strong>— The purpose of the compiler is to parse the query and perform semantic analysis on the different query blocks and expressions. It converts HiveQL statements into MapReduce jobs.<br> <strong><em>Hive Execution Engine —</em></strong> Optimizer generates the logical plan in the form of DAG of map-reduce tasks and HDFS tasks. In the end, the execution engine executes the incoming tasks in the order of their dependencies.<br><strong><em>Hive Storage and Compute — </em></strong>Hive services such as Meta store, File system, and Job Client, in turn, communicates with Hive storage and performs the following actions. Metadata information of tables created in Hive is stored in Hive “Meta storage database”. All Hive implementations need a meta store service, where it stores metadata. It is implemented using tables in a relational database. Query results and data loaded in the tables are going to be stored in the Hadoop cluster on HDFS.</p><h4><strong><em>7. Job Execution in Hive</em></strong></h4><p>The data flow in Hive behaves in the following pattern: <br>1. Interface of the Hive such as Command-Line or Web user interface delivers query to the<br>driver to execute.<br>2. The driver is interacting with the Compiler for getting the plan. (Here plan refers to a query<br>execution) process and its related metadata information gathering<br>3. The compiler creates the plan for a job to be executed. Compiler communicating with Meta<br>store for getting metadata request<br>4. Meta store sends metadata information back to compiler<br>5. Compiler communicating with Driver with the proposed plan to execute the query<br>6. Driver Sending execution plans to Execution engine</p><p>7. Execution Engine (EE) acts as a bridge between Hive and Hadoop to process the query. For DFS operations.EE should first contact Name Node and then to Data nodes to get the values stored in tables.<br>EE is going to fetch desired records from Data Nodes. The actual data of tables<br>reside in the data node only. While from Name Node it only fetches the metadata information for the query.<br>It collects actual data from data nodes related to the mentioned query<br>Execution Engine (EE) communicates bi-directionally with Meta store present in Hive to perform DDL (Data Definition Language) operations. Here DDL operations like CREATE, DROP and ALTERING tables and databases are done. Meta store will store information about database names, table names and column names only. It will fetch data related to the query mentioned. Execution Engine (EE) in turn communicates with Hadoop daemons such as Name node, Data nodes, and job tracker to execute the query on top of the Hadoop file system</p><p>8. Fetching results from driver<br>9. Sending results to the Execution engine. Once the results fetched from data nodes to the EE, it will send results back to the driver and UI or CLI<br>Hive Continuously in contact with the Hadoop file system and its daemons via the Execution engine.</p><h4><strong>8. Different modes of Hive</strong></h4><p>Hive can operate in two modes depending on the size of data nodes in Hadoop.<br><strong><em>1. Local mode<br>2. Map-reduce mode</em></strong><br><strong><em>When to use Local mode:</em></strong><br> If the Hadoop installed under pseudo mode with having one data node we use Hive in this mode. If the data size is smaller in terms of limited to the single local machine, we can use this mode the processing will be very fast on smaller data sets present in the local machine<br><strong><em>When to use Map reduce mode:</em></strong><br> If Hadoop is having multiple data nodes and data is distributed across the different nodes, we use Hive in this mode. It will perform on a large number of data sets and query going to execute in a parallel way Processing of large data sets with better performance can be achieved through this model.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c4192389c02" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Effect of Orientation and Illumination on Facial Recognition System]]></title>
            <link>https://anu2.medium.com/effect-of-orientation-and-illumination-on-facial-recognition-system-cc234ab22431?source=rss-7b50553a7ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc234ab22431</guid>
            <category><![CDATA[illumination]]></category>
            <category><![CDATA[face]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[facial-recognition]]></category>
            <dc:creator><![CDATA[Anshu]]></dc:creator>
            <pubDate>Wed, 21 Apr 2021 03:22:04 GMT</pubDate>
            <atom:updated>2021-04-22T11:56:02.147Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TGG3sqBujlN9b3RTPXazdA.jpeg" /><figcaption><a href="https://www.hicetnunc.xyz/objkt/41700">a photo of light and mask // generated by art.MLearning.ai</a></figcaption></figure><h4>Effect of changing orientation on Facial Recognition System</h4><p>Facial features vigorously change with illumination and direction, leading to increased false rejection as well as false acceptance and we can’t store images of the same person at a different angle and illumination. If we do this then we will be led to overloading of database [1].75% of the authentication of the facial recognition system fails due to the change of orientation of the test face image then from the stored image [1]. So, we need some feature that is invariant to the change in orientation.</p><p>In [2] they selected 9 feature points that have the property of angle invariance, which are 2 eyeballs, 4 near and far corners of eyes, the midpoint of nostrils and 2 mouth corners. They have chosen the operator SUSAN to extract the edge and corner points of the local feature area. In [3] it takes multiple images at different angle maintaining the distance between camera and subject and with the same illumination. Here, the range of rotation is considered from -60 to +60.and 12 PCA is used. Euclidean distance was used for matching similarity but registered and testing image. Angle feature vector contains 6 elements. In [4] they have considered the nose as the localizing component on the face. The nose tip corresponds to the brightest Gray level. The features that they have considered are eye lip distance, eye nose distance, nose lip distance, angle eye lip, angle eye nose and angle nose lip. In[5] Locally Linear Regression is predicting the frontal image of the non-frontal face image, Fisher Linear Discriminant Analysis does the recognition of faces with Principal Component Analysis (PCA) used for dimensionality reduction of the face image before the recognition.</p><p>In [1] the approach was to store multiple pose image features in a single trained MLP so that both storage and searching for intermediate angles are efficient and there is no overloading of the database. Geometrical features are fragile to angle variation so they used a subset of geometrical features to express the pose. Their goal was to extract angle features at low computational complexity. To identify the important features of the face it uses a 2 filters minimum value filter and binarization. They used 3 points the left and right eye locations and the middle of the mouth. The distances between them and the slope of the lines connecting them are used as elements of the feature vector so there were 12 elements five distances and four gradients of lines in the angle feature vector which was the input of the MLP. For Image feature extraction they used IDA. NN was used as a mapping function. As there were 12 angle features so 12 input nodes are present in this model and 16 hidden units and 8 output unit equal to no image feature extracted by using IDA. They used separate MLP for every individual and for training images they have taken images of every individual at orientation angle from -50 to +50 degrees at an interval of 5 degrees. They have 21 training images out of with 11 are taken at orientation −50, −40, −30, −20, −10, 0, +10, +20, +30, +40, and +50. And 10 at the orientation of angles −45, −35, −25, and so forth. So, good generalization is obtained. This results in a good false-acceptance rate (FAR) as well as for false-rejection rate (FRR). In [6] a classifier fusion of frontal face classifier and profile face classifier is designed in the DP-Adaboost algorithm to detect a multi-angle face. An improved horizontal differential projection method is presented in the DP-Adaboost algorithm to remove false faces in the detected results.</p><p><strong>Effect of changing Illumination on Facial Recognition System</strong></p><p>Many techniques were introduced to solve illumination problems such as the illumination cones method [7]and 9 D linear subspace [8] but they require a large amount of data and knowledge of the light source. So, to resolve this issue region-based image proposing method [9] was introduced. Some illumination normalization methods were also introduced such as multiscale retinex [10], wavelet-based normalization technique (WA) [11], and DCT-based normalization technique [12]. In [13] an illumination Normalization method called the Mean Estimation method was introduced. In this Illumination, the component is removed by subtracting the mean estimation from the original image. In order to standardize the overall grey level of different facial images, a ratio matrix of the quotient image and its modulus mean value is obtained. As the Gray value of facial organs is less than the facial skin, postprocessing is practised on the images so that there is a focus on facial texture for face recognition. This method was giving us good results. This paper[14] introduced illumination normalization technique uses histogram normalization method that increases the contrast of the image by changing the values of the original pixels as PCA and LDA are sensitive to lighting and the property of LDA is violated by changing the pixels value of face images. In [15] the method is based on the bidimensional empirical mode decomposition and it uses a gradient faces algorithm to process face image under varying lighting. The two IMFs of the face image was decomposed in the logarithm domain. And then, the gradient faces were adopted to enhance the high-frequency component of face images after reconstruction. The PCA is used to extract facial feature and the KNN classifier based on cosine distance is used to classify. In [16] histogram equalization, Gradient faces and Weber– face methods is used to normalize the illumination of the face images and feature extraction is done by using centre–symmetric local binary pattern, local binary pattern, local directional pattern, local phase quantization, rotated local binary pattern, and local ternary pattern descriptors and SVM is applied for classification. In [17] they introduced Gabor phase-based illumination invariant extraction method. By First normalizing the face images using a homomorphic filter-based preprocessing method to eliminate effects of the illumination changes. Then, a set of 2D real Gabor wavelet with different directions is used for image transformation, and multiple Gabor coefficients are combined into one whole in considering both spectrum and phase. Lastly, the illumination invariant is obtained by extracting the phase feature from the combined coefficient. In [18] they use ICA for eliminating the effect of lighting in the image.</p><p><strong>References:</strong></p><p>[1] Kato, Hisateru &amp; Chakraborty, Goutam &amp; Chakraborty, Basabi. (2012). A Real-Time Angle- and Illumination-Aware Face Recognition System Based on Artificial Neural Network. Applied Computational Intelligence and Soft Computing. 2012. 10.1155/2012/274617.</p><p>[2] Hua Gu, Guangda Su ,Cheng Du. (2003). Feature Points Extraction from Faces.</p><p>[3] B. Chakraborty, “A Novel ANN based Approach for Angle Invariant Face Verification,” <em>2007 IEEE Symposium on Computational Intelligence in Image and Signal Processing</em>, Honolulu, HI, 2007, pp. 72–76, doi: 10.1109/CIISP.2007.369296.</p><p>[4] Kavita S.R., Mukeshl Z.A., Mukesh R.M. (2010) Extraction of Pose Invariant Facial Features. In: Das V.V., Vijaykumar R. (eds) Information and Communication Technologies. ICT 2010. Communications in Computer and Information Science, vol 101. Springer, Berlin, Heidelberg</p><p>[5] Chai, Xiujuan &amp; Shan, Shiguang &amp; Chen, Xilin &amp; Gao, Wen. (2007). Locally Linear Regression for Pose-Invariant Face Recognition. IEEE transactions on image processing : a publication of the IEEE Signal Processing Society. 16. 1716–25. 10.1109/TIP.2007.899195.</p><p>[6] Zheng, Ying-Ying &amp; Yao, Jun. (2015). Multi-angle face detection based on DP-Adaboost. International Journal of Automation and Computing. 12. 10.1007/s11633–014–0872–8.</p><p>[7] J. Ho, M.-H. Yang, J. Lim, K.-C. Lee, and D. Kriegman, “Clustering appearances of objects under varying illumination conditions,” in Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, pp. 11–18, Madison, Wis, USA, June 2003</p><p>[8] R. Basri and D. W. Jacobs, “Lambertian reflectance and linear subspaces,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 25, no. 2, pp. 218–233, 2003.</p><p>[9] G. An, J. Wu, and Q. Ruan, “An illumination normalization model for face recognition under varied lighting conditions,” Pattern Recognition Letters, vol. 31, no. 9, pp. 1056–1067, 2010.</p><p>[10] D. J. Jobson, Z.-U. Rahman, and G. A. Woodell, “A multiscale retinex for bridging the gap between color images and the human observation of scenes,” IEEE Transactions on Image Processing, vol. 6, no. 7, pp. 965–976, 1997.</p><p>[11] S. Du and R. Ward, “Wavelet-based illumination normalization for face recognition,” in Proceedings of the IEEE International Conference on Image Processing (ICIP ’05), vol. 2, pp. 954–957, Genova, Italy, September 2005.</p><p>[12] W. Chen, M. J. Er, and S. Wu, “Illumination compensation and normalization for robust face recognition using discrete cosine transform in logarithm domain,” IEEE Transactions on Systems, Man, and Cybernetics B, vol. 36, no. 2, pp. 458–466, 2006.</p><p>[13] Luo, Yong &amp; Guan, Ye-Peng &amp; Zhang, Chang-Qi. (2013). A Robust Illumination Normalization Method Based on Mean Estimation for Face Recognition. ISRN Machine Vision. 2013. 1–10. 10.1155/2013/516052.</p><p>[14] Shah, Jamal &amp; Sharif, Muhammad &amp; Raza, Mudassar &amp; Murtaza, Marryam &amp; Ur Rehman, Saeed. (2015). Robust Face Recognition Technique under Varying Illumination. Journal of Applied Research and Technology. 13. 97–105. 10.1016/S1665–6423(15)30008–0.</p><p>[15] Yang, Zhi-Jun &amp; He, Xue &amp; Xiong, Wen-Yi &amp; Nie, Xiang-Fei. (2016). Face Recognition under Varying Illumination Using Green’s Functionbased Bidimensional Empirical Mode Decomposition and Gradientfaces. ITM Web of Conferences. 7. 01015. 10.1051/itmconf/20160701015.</p><p>[16] Tran, Chi-Kien &amp; Tseng, Chin-Dar &amp; Chao, Pei-Ju &amp; Shieh, Chin-Shiuh &amp; Chang, Liyun &amp; Lee, Tsair-Fwu. (2017). Face Recognition under Varying Lighting Conditions: A Combination of Weber-face and Local Directional Pattern for Feature Extraction and Support Vector Machines for Classification. Journal of Information Hiding and Multimedia Signal Processing. 8. 1009–1019.</p><p>[17] Fan, Chunnian &amp; Wang, Shuiping &amp; Zhang, Hao. (2017). Efficient Gabor Phase Based Illumination Invariant for Face Recognition. Advances in Multimedia. 2017. 1–11. 10.1155/2017/1356385.</p><p>[18] Ahmad, Fawad &amp; Khan, Asif &amp; Islam, Ihtesham &amp; Ullah, Habib. (2017). Illumination normalization using independent component analysis and filtering. The Imaging Science Journal. 1–6. 10.1080/13682199.2017.1338815.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc234ab22431" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Image Processing Part-4]]></title>
            <link>https://anu2.medium.com/digital-image-processing-part-4-a25dd09a545c?source=rss-7b50553a7ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/a25dd09a545c</guid>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[image]]></category>
            <category><![CDATA[object-detection]]></category>
            <category><![CDATA[image-recognition]]></category>
            <category><![CDATA[image-transformation]]></category>
            <dc:creator><![CDATA[Anshu]]></dc:creator>
            <pubDate>Sun, 11 Apr 2021 07:44:47 GMT</pubDate>
            <atom:updated>2021-04-11T07:44:47.303Z</atom:updated>
            <content:encoded><![CDATA[<p><em>NOTE: It is a summary from the book Digital Image Processing, 4th Edition Rafael C. Gonzalez, University of Tennessee Richard E. Woods, MedData Interactive</em></p><p><strong>Intensity Transformation Functions and spatial domain</strong></p><p>So, in this article, we will discuss Intensity Transformation Functions that are implemented in Spatial Domain. In the spatial domain, we used to operate directly on the pixels of an image. Spatial domain techniques are more efficient computationally and require fewer processing resources to implement.</p><p>The spatial domain process is denoted by g(x,y)=T [f(x,y)] where f(x,y) is the input image, g(x,y) is the output image and T is the operator on f defined over a neighbourhood of point (x,y). The operator can be applied to a single image or multiple images.</p><p>Image Enhancement: It is a process of manipulating an image so that the result is more suitable than the original image for a specific application.</p><p>The values of pixels, before and after processing will be denoted by r and s respectively <strong>s=T(r).</strong> Here, T is a transformation that maps the pixel valuer to pixel value s.</p><h4>Image Enhancement Techniques</h4><p><strong><em>Three basic types of the function used for image enhancement :</em></strong></p><ol><li><strong>Linear Function</strong></li></ol><p><strong>a) Negative Transformation: </strong>The negative of an image with intensity levels in the range of [0, L-1] is obtained by using the negative transformation given by the formula <strong><em>S=L-1-R.</em></strong></p><ul><li>This type of processing is particularly suited for enhancing white or grey detail embedded in the dark region of an image especially when the black area is dominating in size.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/383/1*ulhFVzfM13VoXD7oNOH_sg.png" /><figcaption>Figure 1: Negative Transformation of the original image</figcaption></figure><p>In figure 1 we can see that after the negative transformation of the original image the transformed image has white where there was black and vice-versa.</p><p>In Negative Transformation Black is converted to White and White is converted to Black. For 8-bit image grey level or L=256.If r=0(Black) so s=L-1-r so it became s=L-1 them putting the value of L then we get s=256–1=255 which is the grey level of white.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/282/1*TIyA5SuxDzdUc00j5qOEdA.png" /><figcaption>Figure 2: Graph of Negative Transformation</figcaption></figure><p><strong>Advantages of negative :</strong></p><p>✓ Produces an equivalent of a photographic negative.</p><p>✓ Enhances white or grey detail embedded in dark regions.</p><p><strong>Example: The following matrix represents the pixels values of an 8-bit image (r), apply negative transform and find the resulting image pixel values.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/195/1*D4R63qVEhoozAy-IRn8VyQ.png" /><figcaption>Figure 3: Given original image(r)</figcaption></figure><p><strong>L= 2^8 = 256</strong></p><p><strong>s=L-1-r</strong></p><p><strong>s =255-r</strong></p><p>After applying this transform to each pixel so to find the negative the transformed image is :</p><p>For r[0,0] grey level value is= 100 ; L=256 so, s[0,0]=256–1-r[0,0],s[0,0]=255–100=155 so r[0,0]=155</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/195/1*N7IOb2iVOyvq3_wLknZvzw.png" /><figcaption>Figure 4: Negative of the original image</figcaption></figure><p><strong>b) Identinty Function</strong></p><p>It is a trivial case in which output intensity is identical to input intensity.</p><p><strong>2. Logarithmic Function</strong></p><ul><li><strong>Log Transformation</strong></li></ul><p>The general form of the log transformation is <strong>s=c*log(1+r) </strong>where c is a constant and r&gt;0.</p><p>We use this transformation of this type to expand the value of a dark pixel in an image while compressing the higher-level values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*9KmgBC6MmAKh-K8uaAE6nw.png" /><figcaption>Figure 5: Graph of low transformation</figcaption></figure><p>The higher the value of c, the brighter the image will be. This transformation is useful when the input grey level value may have an extremely large range of values.</p><ul><li><strong>Inverse Log Transformation</strong></li></ul><p>Do opposite of log transformation</p><p><strong>3. Power-law /Gamma Function</strong></p><p>Its basic form is<strong><em> s=cr^gamma. </em></strong>If <strong>gamma is &lt;1</strong> then it makes the image bright. If<strong> gamma is &gt;1</strong> then it makes the image dark. It reduces to identity function at <strong>gamma =1.</strong></p><p>The process used to correct these power-law response phenomena is called gamma correction. For example in a cathode ray tube value of gamma varies from 1.8 to 2.5.</p><p>Gamma Correction is important to display an image accurately on a computer screen. Gamma correction is in MRI i.e. in medical imaging</p><ul><li><strong>nth power transformation</strong></li><li><strong>nth root transformation</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/0*q6FohTar6jPIsZw7.jpeg" /><figcaption>Figure 6: Power log Transformation</figcaption></figure><p>In the next article, we will discuss Piecewise linear Transformation…</p><p>It is the summary of Chapter 3 of Book Digital Image Processing By- Rafael C. Gonzalez. For a further summary of this book do read my further blogs. Thank you everyone and do like, share and comment on your suggestion…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a25dd09a545c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Image Processing Part-3]]></title>
            <link>https://anu2.medium.com/digital-image-processing-part-3-3256515a09e?source=rss-7b50553a7ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/3256515a09e</guid>
            <category><![CDATA[digital-image-processing]]></category>
            <category><![CDATA[operations]]></category>
            <category><![CDATA[image-classification]]></category>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[image]]></category>
            <dc:creator><![CDATA[Anshu]]></dc:creator>
            <pubDate>Fri, 02 Apr 2021 09:51:25 GMT</pubDate>
            <atom:updated>2021-04-03T00:57:29.000Z</atom:updated>
            <content:encoded><![CDATA[<p><em>NOTE: It is a summary from the book Digital Image Processing, 4th Edition Rafael C. Gonzalez, University of Tennessee Richard E. Woods, MedData Interactive</em></p><p>The main objective of this article is to introduce the maths and the image enhancement techniques to the reader…..</p><h4><strong>Mathematical Tool for Image Processing</strong></h4><p><strong>Array versus Matrix Operation :</strong></p><p>Images are viewed as the matrix. But in this series of DIP, we are using array operation. There is a difference is Matrix and Array Operation. In Array, the operation is carried out by Pixel by Pixel in Image.</p><p>Let these we two images:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/269/1*LfquYCk9EXNKrl2gRjE7wQ.png" /><figcaption>Figure 1: Two images</figcaption></figure><p>Then the Matrix Operation is :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*o093D-dcZQuUQabSjQ65Xg.png" /><figcaption>Figure 2: Matrix Operation</figcaption></figure><p>And Array Operation is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*Sus7rQVp0wMOXsRM-i6UUw.png" /><figcaption>Figure 3: Array Operation</figcaption></figure><p><strong>Linear versus Non-Linear Operation</strong></p><p>Linear operation is Addition, Subtraction, Multiplication, Division on the Image. Non-Linear operation is Max, Min, Median, Mode, Mean of the Image for Image Enhancement.</p><p><strong>Image Enhancement</strong></p><p>An enhancement algorithm is one that yields a better quality image for the purpose of some particular application which can be done by either suppressing the noise or increasing the image contrast.</p><p><strong>Image Enhancement/Transformation Methods</strong></p><ol><li><strong>Spatial Domain Methods: </strong>Techniques are based on direct manipulation of pixels in an image</li><li><strong>Frequency Domain Methods:</strong> Techniques are based on modifying the Fourier transform of the image.</li><li><strong>Combination Methods: </strong>There are some enhancement techniques based on various combinations of methods from the first two categories</li></ol><p><strong>ARITHMETIC OPERATIONS :</strong></p><ol><li><strong><em>Addition Operation:</em></strong></li></ol><p>Let s(x,y) is the new corrupted image as we are adding noise g(x,y) to original image f(x,y) to hide the noise in the original image <strong><em>s(x,y)=f(x,y)+g(x,y)</em></strong>. Adding constant to the image makes the image brighter i.e <strong><em>s(x,y)=f(x,y)+constant.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/309/1*wrf-dtgZSZcstB68Ln3KAA.png" /><figcaption>Figure 4: a) Image 1 b)Image 2 c) Image1+Image2 d) Image1+constant</figcaption></figure><p><strong><em>2. Subtraction Operation :</em></strong></p><p>The subtraction between two images is <strong><em>s(x,y)=f(x,y)-y(x,y)</em></strong>. Where f(x,y) is image 1 and g(x,y) is image 2. The Practical Application of image subtraction is in medical imaging called mask mode radiography. Subtracting the constant from the original image makes it darker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/285/1*MPn_AXQrLmoS8qnRMPOUQw.png" /><figcaption>Figure 5: (a) image1 (b)Image2 ( c) image1-image2 (d) image1-constant</figcaption></figure><p><strong><em>3. Multiplication Operation :</em></strong></p><p>In this equation <strong><em>h(x,y)=f(x,y)*g(x,y)</em></strong> , h(x,y) is the new image formed f(x,y) is image1 and g(x,y) is image2. We can also multiple constant to an image like <strong><em>h(x,y)=f(x,y)*constant. </em></strong>Multiplication Operation is used in shading correction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/164/1*BfI_AFUdsaK1g9cO1xNorg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/152/1*qG43WVlngA5F3PizbhrYew.png" /><figcaption>Figure 6: (a) image 1 i.e. the original image (b) multiplying image1 with 1.25 with increases the contrast on the image</figcaption></figure><p><strong><em>4.Division Operation</em></strong></p><p>In division operation<strong><em> h(x,y)=f(x,y)/g(x,y)</em></strong> where f(x,y) and g(x,y) are two images and h(x,y) is the new image formed. We can also divided it by constant i.e. <strong><em>h(x,y)=f(x,y)/constant.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*TFwQS0iDSyAHo9tjZA7Xyg.png" /><figcaption>Figure 7: (a) Image1/1.25 (b) image2 ( c) image3 (d)image4= image2 *image3 (e)image5=image4/image2</figcaption></figure><p><strong>LOGICAL OPERATION :</strong></p><p>Logical operations are AND, OR, NOT, XOR.</p><p>The truth table of OR is :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/217/1*6fvv68lRAgoq3NLPKijVWQ.png" /><figcaption>Figure 8: Truth Table of OR</figcaption></figure><p>The Truth table of AND is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/242/1*0HSQb21vlX4rJrm-QcrRyQ.png" /></figure><p>Here 0 denotes black and 1 denotes white.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/239/1*dO6HL6rnYyGKkoBu6dDs2g.png" /><figcaption>Figure8: (a) image1 (b) image2 ( c) image1 AND image2 (d) image1 OR image2</figcaption></figure><p><strong>Geometrical Spatial Transformations</strong></p><p>Geometrical Spatial Transformation modify the spatial relationship between pixels in an image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/338/1*1E2wXqVUJTq8wpBt495znw.png" /><figcaption>Figure 9: Affine Transformations</figcaption></figure><p>It is the summary of Chapter 2 of Book Digital Image Processing By- Rafael C. Gonzalez. For a further summary of this book do read my further blogs. Thank you everyone and do like, share and comment on your suggestion…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3256515a09e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Image Processing Part-2]]></title>
            <link>https://medium.com/codex/digital-image-processing-part-2-8a6319c97f7e?source=rss-7b50553a7ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a6319c97f7e</guid>
            <category><![CDATA[image-recognition]]></category>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[digital-image-processing]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[image]]></category>
            <dc:creator><![CDATA[Anshu]]></dc:creator>
            <pubDate>Thu, 25 Mar 2021 08:13:08 GMT</pubDate>
            <atom:updated>2021-03-25T09:17:20.109Z</atom:updated>
            <content:encoded><![CDATA[<h4><a href="http://medium.com/codex">CODEX</a></h4><p><em>NOTE: It is a summary from the book Digital Image Processing, 4th Edition Rafael C. Gonzalez, University of Tennessee Richard E. Woods, MedData Interactive</em></p><p>Before digging into the deep concept of DIP we should know how images are perceived by humans.</p><p><strong>Structure of the Human Eye</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*G26EdCPs5NuN7EtywukIjQ.jpeg" /><figcaption><strong>Figure 1:</strong> Structure of the Human Eye <strong>Souce: </strong><a href="https://www.news-medical.net/health/Anatomy-of-the-Human-Eye.aspx">https://www.news-medical.net/health/Anatomy-of-the-Human-Eye.aspx</a></figcaption></figure><p>Figure 1 shows the anatomy of the eye and we have learned about it in 10th class so moving on to the image formation by the human eye. As we know that the distance between the lens and the retina (imaging region) is fixed and the focal length needs to be adjusted to achieve proper focus. In digital images, we display images as discrete intensities and eyes should able to discriminate between different intensity levels.</p><p><strong>Image sensing and Acquisition and formation</strong></p><p>Images are formed by the combination of the illumination source and reflection or absorption of energy. As, we know the image is denoted by f(x,y).</p><p>The value of f at coordinate x,y is a positive scaler quantity whose physical meaning is determined by the source of the image. In the image, the intensity values are proportional to energy radiated by a physical source.</p><p>So f(x,y) must be non-zero and finite so,</p><p>0&lt;f(x,y)&lt;infinity;</p><p>The function f(x,y) is characterized by two-component :</p><ol><li>the amount of source illumination incident on the scene being viewed.</li><li>the amount of illumination reflected by the object in the scene.</li></ol><p><em>Illumination</em> and R<em>eflectance</em> are denoted by i(x,y) and r(x,y) respectively.</p><p>The two function combines as the product to form f(x,y):</p><p><strong>f(x,y)=i(x,y) r(x,y)</strong></p><p>where, <strong>0&lt;i(x,y)&lt;infinity</strong></p><p>and <strong>0&lt;r(x,y)&lt;1</strong> where 0 is total absorption and 1 is total reflectance</p><p>Nature of I (x,y) is determined by illumination source and r(x,y) is determined by the characteristics of the image object.</p><p><strong>Image sampling and Quantization</strong></p><p>To create a digital image we need to convert the continuous sensed data into digital form. This involves 2 processes: <em>sampling</em> and <em>quantization</em>.</p><p>To convert the analogue image to digital form we have to sample the function in both the coordinates and amplitude.</p><ol><li>Digitization in coordinate value is called <em>sampling.</em></li><li>Digitization in amplitude values is called <em>quantization.</em></li></ol><p><strong>Spatial and Intensity Resolution</strong></p><ul><li><em>Spatial Resolution:</em> It can be stated as dots or pixel per unit distance</li><li><em>Intensity Resolution:</em> It refers to the smallest discernible change in intensity level.</li></ul><p><strong>Some basic Relationships between Pixels</strong></p><ul><li><strong>Neighbours of a pixel</strong></li></ul><p>A pixel p at coordinates (x,y) has 4 horizontal and 4 verticle neighbours. The neighbourhood of a pixel is the collection of pixels that surround it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*Oq7bX30WGS_BDr8wxidFlQ.gif" /><figcaption>Figure 2: Neighbourhood of x,y</figcaption></figure><ul><li><strong><em>N4(p) i.e 4 neighbourhood of x,y:</em></strong></li></ul><p>A pixel p at (x,y) has neighbours at (x+1,y), (x-1,y), (x,y+1) and (x,y-1). These are called the <strong>4-neighbours of p : N4(p)</strong></p><ul><li><strong><em>ND(p) i.e 4 Diagonal</em> <em>neighbourhood of x,y:</em></strong></li></ul><p>A pixel p at (x,y) has neighbours at (x+1,y+1), (x+1,y-1), (x-1,y+1) and (x-1,y-1). These are called the <strong>4-Diagonal-neighbours of p : ND(p)</strong></p><ul><li><strong><em>N8(p) i.e 8</em> <em>neighbourhood of x,y:</em></strong></li></ul><p>A pixel p at (x,y) has neighbours at (x+1,y+1), (x+1,y-1), (x-1,y+1) ,(x-1,y-1),(x+1,y), (x-1,y), (x,y+1) and (x,y-1). These are called the<strong> 8-neighbours of p : N8(p)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*4MYX1ANw4TOA_wt2Kq0Oiw.png" /><figcaption>Figure 3: Shows 4-neighbor and 8-neighbor</figcaption></figure><p><strong>Adjacency, Connectivity, Region and Boundaries</strong></p><p>Connectivity between pixels is important because it is used to determine regions in an image, trace contours and establish boundaries of objects.</p><p><strong>Let <em>V</em>: a set of intensity values used to define adjacency.</strong></p><ul><li>In a binary image, <em>V </em>= {1}, if we are referring to the adjacency of pixels with value 1.</li><li>In a grey-scale image, the idea is the same, but <em>V </em>typically contains more elements, for example, <em>V </em>= {180, 181, 182, …, 200}</li></ul><p><strong><em>Two pixels are connected if:</em></strong></p><p>–They are “neighbours” i.e N4(p), N8(p)</p><p>–Their grey levels satisfy a specified criterion of similarity</p><p><strong>4-adjacency: </strong>Two pixels <em>p </em>and <em>q </em>with values from <em>V </em>are 4-adjacent if <em>q </em>is in the set <em>N4</em>(<em>p</em>).</p><p><strong>8-adjacency: </strong>Two pixels <em>p </em>and <em>q </em>with values from <em>V </em>are 8-adjacent if <em>q </em>is in the set <em>N8</em>(<em>p</em>).</p><p><strong>m-adjacency (mixed): </strong>Two pixels <em>p </em>and <em>q </em>with values from <em>V </em>are m-adjacent if :</p><ul><li><em>q </em>is in <em>N4</em>(<em>p</em>) or</li><li><em>q </em>is in <em>ND</em>(<em>p</em>) and the set <em>N4</em>(<em>p</em>) ∩ <em>N4</em>(<em>q</em>) has no pixel whose values are from V</li></ul><p>Mixed adjacency is a modification of 8-adjacency. It is introduced to eliminate ambiguities that arise when 8-adjacency is used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*11ttJc5XHGGMLNe4blaDVw.png" /></figure><p><strong><em>Digital Path:</em></strong><em> </em>A digital path (or curve) from pixel <em>p </em>with coordinate (<em>x</em>,<em>y</em>) to pixel <em>q </em>with coordinate (<em>s</em>,<em>t</em>) is a sequence of distinct pixels:(<em>x</em>0,<em>y</em>0), (<em>x</em>1,<em>y</em>1), …, (<em>x</em>n, <em>y</em>n),where (<em>x</em>0,<em>y</em>0) = (<em>x</em>,<em>y</em>) and (<em>x</em>n, <em>y</em>n) = (<em>s</em>,<em>t</em>) and (<em>xi</em>, <em>yi</em>) and (<em>xi-1</em>, <em>yi-1</em>) are adjacent for 1 ≤ <em>i </em>≤ n</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*juBVetanfZw_UlaTPOyNLg.png" /></figure><p><strong>Region</strong></p><p>Let <em>R </em>be a subset of pixels, we call <em>R </em>a region of the image if <em>R </em>is a connected set.</p><p><strong>Boundary</strong></p><p>The <em>boundary </em>(also called <em>border </em>or <em>contour</em>) of a region <em>R </em>is the set of pixels in the region that have one or more neighbours that are not in <em>R</em>.</p><p>It is the summary of Chapter 2 of Book Digital Image Processing By- Rafael C. Gonzalez. For a further summary of this book do read my further blogs. Thank you everyone and do like, share and comment on your suggestion…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a6319c97f7e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codex/digital-image-processing-part-2-8a6319c97f7e">Digital Image Processing Part-2</a> was originally published in <a href="https://medium.com/codex">CodeX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Image Processing Part-1]]></title>
            <link>https://anu2.medium.com/digital-image-processing-part-1-1c14efa00509?source=rss-7b50553a7ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c14efa00509</guid>
            <category><![CDATA[digital-image-processing]]></category>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[digital-imaging]]></category>
            <category><![CDATA[image-recognition]]></category>
            <dc:creator><![CDATA[Anshu]]></dc:creator>
            <pubDate>Sat, 20 Mar 2021 16:08:17 GMT</pubDate>
            <atom:updated>2021-03-23T01:59:49.877Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>NOTE: It is a summary from the book Digital Image Processing, 4th Edition Rafael C. Gonzalez, University of Tennessee Richard E. Woods, MedData Interactive</blockquote><p><strong>Digital image processing</strong> is the use of digital computers to process digital images through an algorithm.</p><p>Digital image processing focuses on two major tasks :</p><ol><li>Improvement of pictorial information for human interpretation</li><li>Processing of image data for storage, transmission and representation for autonomous machine perception</li></ol><p>Image is defined as 2-d function f(x,y) where x and y are spatial (plane) coordinates and amplitude of f at any pair of coordinates (x,y) is called intensity or grey level of the image at that point see in figure 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*ZmO_VyrSOl4djWxfpEuzWQ.png" /><figcaption>Figure 1. An image in matrix form</figcaption></figure><p>When x,y and intensity values of f is finite and discrete quantities we call that image a <strong>digital image</strong>. Pixel is used to denote an element of the digital image.</p><p>Human vision is limited to the visual band of the EM spectrum . But imaging machine covers almost the entire EM spectrum ranging from gamma to Radio waves.</p><p>The first application of DIP was in the Newspaper industry when pictures were first sent by submarines cable between London to NY.</p><p>The Principle Energy source for the image is used is the electromagnetic energy spectrum, ultrasonic electronics.EM waves can be understood as a propagating sinusoidal wave of varying wavelength or they can be thought of as travelling massless particles in a wave-like form moving with the speed of light. Each mass-less particles contains a certain amount of energy. Each energy bundled and called Photons. If spectral bands are grouped together according to the energy per photon we obtain a spectrum ranging from gamma to radiowaves.</p><p>In Nuclear Medicine the approach of DIP is used to scan the body when patients were injected with a radioactive isotope that emits gamma rays as decay. X-Ray imaging is used in CAT-Scan, Industrial Imaging. The Microband imaging application is Radar. Which has the ability to collect data over any region at any time regardless of the weather. The radio wave is used in Magnetic Resonance Imaging(MRI). The use of Ultraviolet imaging is in industries like Microscopy, lasers, biological imaging, astronomical observation. Visible and Infrared imaging is used in pharmaceuticals, Material Characterization etc.</p><h4><strong>Fundamental Step in DIP (see in Figure 2):</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*ZpLKob5d4-n73O4BjAQadQ.png" /><figcaption>Figure 2: Fundamentals of DIP</figcaption></figure><p><strong>Step 1- Image Acquisition</strong>: The image is captured by a sensor (eg. Camera), and digitized if the output of the camera or sensor is not already in digital form, using the analogue-to-digital convertor</p><p><strong>Step 2 -Image Enhancement: </strong>The process of manipulating an image so that the result is more suitable than the original for specific applications.</p><p><strong>Step 3 -Image Restoration: </strong>Improving the appearance of an image.</p><p><strong>Step 4 -Colour Image Processing:</strong> Use the colour of the image to extract features of interest in an image</p><p><strong>Step 5- Wavelets:</strong> It is used for image data compression.</p><p><strong>Step 6- Compression:</strong> Techniques for reducing the storage required to save an image or the bandwidth required to transmit it.</p><p><strong>Step 7 -Morphological Processing Tools:</strong> For extracting image components that are useful in the representation and description of shape.</p><p><strong>Step 8: Image Segmentation: </strong>Segmentation procedures partition an image into its constituent parts or objects.</p><p><strong>Step 9: Representation and Description </strong>— Representation: Make a decision whether the data should be represented as a boundary or as a complete region.</p><p><strong>Step 10: Knowledge Base</strong>: Knowledge about a problem domain is coded into an image processing system in the form of a knowledge database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/337/1*ExXq-67UE6YhkhCKSx2JNQ.png" /><figcaption>Figure 3-Components of an Image Processing System</figcaption></figure><p>Figure 3 tells about the necessary component required for Image Processing.</p><p>It is the summary of Chapter 1 of Book Digital Image Processing By- Rafael C. Gonzalez. For a further summary of this book do read my further blogs. Thank you everyone and do like, share and comment on your suggestion…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c14efa00509" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Storytelling with Data for Data Science aspirants]]></title>
            <link>https://anu2.medium.com/storytelling-with-data-for-data-science-aspirants-896b64d2a9db?source=rss-7b50553a7ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/896b64d2a9db</guid>
            <category><![CDATA[bussiness]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Anshu]]></dc:creator>
            <pubDate>Tue, 03 Nov 2020 17:00:30 GMT</pubDate>
            <atom:updated>2020-11-03T17:00:30.938Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>As a Data Scientists we are required to make good charts and are extremely good with numbers but convey the inferences from the data to the clients we don’t need colorful graph and use advance tools and decorate graphs like charismas tree .We can convey our findings from some numbers to and have an influence on the people. And as a Data Science aspirant we need to tell about our project and the work we have done and tell the inferences using data mining techniques to the decision makers so they can apply it on the business .But to convince them that you are correct and your solution is the best we need good knowledge of storytelling. A good data storyteller is as essential to a business as a data scientist. Because a good “Data Storyteller” will ensure that the results from the data is been convey in a understandable format.</blockquote><p>A good story grabs your attention evoking an emotional response so that there is an impact to our audience. To be a good storyteller and good means that people can trust on you for this you need to be read, open, honest and ask people about there opinion. In story telling there is a flow. Show people the problem not tell them. In storytelling take a pause let your audience react to what you have convey .Because as you are presenting them and giving your facts there is a mental war going on inside the audience head about how to oppose you or question your thinking so asking about there opinion and telling why you haven’t done that thing or made that decision and justifying with your facts will decrease the mental war which is going inside the audience mind and let your audience draw the conclusion and recommendation you just give them a path in which you want them to go so they will feel emotionally attached that you value there opinion and so people can remember you and your story.</p><p>Robert McKee is an award‐winning writer and director .In an interview for Harvard Business Review, he discusses how to persuade through storytelling and tell how storytelling can be benefit in a business .</p><p>Think about your favorite story and think that if that story is just conveyed in a bullet point and there is just facts but then it became so boring. So to telling a story will be an good as people will listen to you and a good story has context, challenge, Result. We need to build up a main character , a plot and a climax scene .But this requires creativity.</p><p><strong>In story there is a format and you need to take care of that when you are giving your presentation.</strong></p><ol><li>Find a subject as I assume that you are beginner in data science field then you we take a dataset so subject will be the subject of dataset.</li><li>Do not ramble</li><li>Keep it simple and don’t became Shakespeare when telling about the story.</li><li>Sound like yourself.</li><li>Give time for the audience to digest what you are saying.</li></ol><p>Taking example that you are the student and have to present the your data science project then suppose you have taken a large and dataset and you have to apply supervised or unsupervised learning . Now tell your audience about the data. Suppose it is about life expectancy then tell about the topic introduce the topic and tell why have you chosen that topic .Invest some time on the data using the data tell about the problem you faced on the dataset you have chosen and how you have tackled them and cleaned the data so that you can apply the models .This will make a flow .If you are using graphs make them simple and easy to understand .Tell them why have you chosen that model and what is the advantage over other other. Do not impose the decision on them only guide them with your facts then when you will tell your conclusion it will also be the same conclusion that your audience is thinking so there will be no argument.</p><p>In the end Stories have the power of captivating us and sticking with us in ways that facts alone cannot. They lend structure. When we construct stories, we should do so with a beginning (plot), middle (twists), and end (call to action). Conflict and tension are key to grabbing and maintaining your audience’s attention.</p><p>So, the information we want to show to our audience for this don’t tell just the fact and stats and the conclusion it is very boring ,unattractive .But by making a story with data and telling the audience then people would listen to you.</p><p><strong>Reference:</strong></p><ol><li><a href="https://www.amazon.in/Storytelling-Data-Visualization-Business-Professionals/dp/1119002257">https://www.amazon.in/Storytelling-Data-Visualization-Business-Professionals/dp/1119002257</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=896b64d2a9db" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>