Adaptive Neuro-Fuzzy Inference System Based Grading of Basmati Rice Grains Using Image Processing Technique
Abstract
1. Introduction
2. Materials and Methods
2.1. Sample Preparation
2.2. Imaging System and Image Acquisition
2.3. Image Processing
2.4. Features of Basmati Rice
- Major axis length: It is the total number of pixels between the extreme points along the major axis of the rice kernel.
- Minor axis length: It measures the number of pixels between the extreme points of the along the minor axis of the rice kernel.
- Perimeter: It is the total number of pixels along the boundary of rice grain.
- Area: It is the total number of pixels in rice grain object.
- Aspect ratio (): It is the ratio of major axis length and minor axis length of the rice grain.
- Eccentricity: The eccentricity is calculated by a fraction of the number of pixels between the major axis length and foci of the ellipse containing the grain. The value of eccentricity ranges in between 0 to 1.
- Equivalent diameter: Equivalent diameter of rice grains is calculated as,
2.5. Fuzzy Inference System
- Rule 1: If (eccentricity is high) and (equivalent diameter is high) and (perimeter is high) and ( is high) then (output is Whole grain).
- Rule 2: If (eccentricity is low) and (equivalent diameter is low) and (perimeter is low) and ( is low) then (output is broken grain).
2.6. Adaptive Neuro-Fuzzy Inference System (ANFIS)
- Rule 1: If x is and y is Then .
- Rule 2: If x is and y is Then .
2.7. Design of Experiment
3. Results and Discussion
3.1. Image Processing Outputs
3.2. Classification Performance
3.3. Histogram of Features in Testing Images
3.4. Milling Efficiency
4. Summary and Conclusions
Funding
Acknowledgments
Conflicts of Interest
References
- All India Rice Exporters Association. Export Statistics of Basmati Rice. 2015. Available online: http://www.airea.net/page/58/statistical-data/export-statistics-of-basmati-rice/ (accessed on 10 April 2018).
- Bhattacharjee, P.; Singhal, R.S.; Kulkarni, P.R. Basmati rice: A review. Int. J. Food Sci. Technol. 2002, 37, 1–12. [Google Scholar] [CrossRef] [Scilit]
- Mandal, D. Concepts of Farm Machinery and Power; Narendra Publishing House: Delhi, India, 2016. [Google Scholar]
- Brosnan, T.; Sun, D.W. Improving quality inspection of food products by computer vision—A review. J. Food Eng. 2004, 61, 3–16. [Google Scholar] [CrossRef] [Scilit]
- Zheng, C.; Sun, D.W.; Zheng, L. Recent developments and applications of image features for food quality evaluation and inspection—A review. Trends Food Sci. Technol. 2006, 17, 642–655. [Google Scholar] [CrossRef] [Scilit]
- Cheng, F.; Ying, Y.B. Machine vision inspection of rice seed based on Hough transform. J. Zhejiang Univ. Sci. A 2004, 5, 663–667. [Google Scholar]
- Maheshwari, C.V.; Jain, K.R. Parametric quality analysis of indian Ponia Oryza Sativa SSP Indica (Rice). Int. J. Sci. Res. Dev. 2013, 1, 114–118. [Google Scholar]
- Vaingankar, N.M.; Kulkarni, P.R. A cooking quality parameter as an indicator of adulteration of Basmati rice. J. Sci. Food Agric. 1989, 48, 381–384. [Google Scholar] [CrossRef] [Scilit]
- Verma, B. Image processing techniques for grading & classification of rice. In Proceedings of the 2010 International Conference on Computer and Communication Technology (ICCCT), Allahabad, India, 17–19 September 2010; pp. 220–223. [Google Scholar]
- Zareiforoush, H.; Minaei, S.; Alizadeh, M.R.; Banakar, A. Potential applications of computer vision in quality inspection of rice: a review. Food Eng. Rev. 2015, 7, 321–345. [Google Scholar] [CrossRef] [Scilit]
- Zareiforoush, H.; Minaei, S.; Alizadeh, M.R.; Banakar, A. Qualitative classification of milled rice grains using computer vision and metaheuristic techniques. J. Food Sci. Technol. 2016, 53, 118–131. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Liu, J.; Tang, Z.; Xu, P.; Liu, W.; Zhang, J.; Zhu, J. Quality-related monitoring and grading of granulated products by weibull-distribution modeling of visual images with semi-supervised learning. Sensors 2016, 16, 998. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Pazoki, A.; Farokhi, F.; Pazoki, Z. Classification of rice grain varieties using two Artificial Neural Networks (MLP and Neuro-Fuzzy). J. Anim. Plant Sci. 2014, 24, 336–343. [Google Scholar]
- Chen, X.; Xun, Y.; Li, W.; Zhang, J. Combining discriminant analysis and neural networks for corn variety identification. Comput. Electron. Agric. 2010, 71, S48–S53. [Google Scholar] [CrossRef] [Scilit]
- Pamučar, D.; Ljubojević, S.; Kostadinović, D.; Đorović, B. Cost and risk aggregation in multi-objective route planning for hazardous materials transportation—A neuro-fuzzy and artificial bee colony approach. Expert Syst. Appl. 2016, 65, 1–15. [Google Scholar] [CrossRef] [Scilit]
- Lukovac, V.; Pamučar, D.; Popović, M.; Đorović, B. Portfolio model for analyzing human resources: An approach based on neuro-fuzzy modeling and the simulated annealing algorithm. Expert Syst. Appl. 2017, 90, 318–331. [Google Scholar] [CrossRef] [Scilit]
- Adhikari, R. A neural network based linear ensemble framework for time series forecasting. Neurocomputing 2015, 157, 231–242. [Google Scholar] [CrossRef] [Scilit]
- Ioannou, K.; Arabatzis, G.; Lefakis, P. Predicting the prices of forest energy resources with the use of Artificial Neural networks (ANNs). The case of conifer fuel wood in Greece. J. Environ. Protect. Ecol. 2009, 10, 678–694. [Google Scholar]
- Vishwakarma, M.D.D. Genetic algorithm based weights optimization of artificial neural network. Int. J. Adv. Res. Electr. Electron. Instrum. Eng. 2012, 1, 206–211. [Google Scholar]
- Jiang, Y. Uncertainty in the output of artificial neural networks. IEEE Trans. Med. Imaging 2003, 22, 913–921. [Google Scholar] [CrossRef] [PubMed]
- Sabanci, K.; Toktas, A.; Kayabasi, A. Grain classifier with computer vision using adaptive neuro-fuzzy inference system. J. Sci. Food Agric. 2017, 97, 3994–4000. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zareiforoush, H.; Minaei, S.; Alizadeh, M.R.; Banakar, A. A hybrid intelligent approach based on computer vision and fuzzy logic for quality measurement of milled rice. Measurement 2015, 66, 26–34. [Google Scholar] [CrossRef] [Scilit]
- Mamdani, E.H. Application of fuzzy algorithms for control of simple dynamic plant. Proc. Inst. Electr. Eng. 1974, 121, 1585–1588. [Google Scholar] [CrossRef] [Scilit]
- Hosseinzadeh, B.; Esmaeili, Z.; Rostami, S.; Zareiforoush, H. Representing the Human Experts Judgment on Quality Indices of White Rice by Image Processing and Artificial Intelligence Techniques. Agric. Eng. Int. CIGR J. 2016, 18, 97–106. [Google Scholar]
- Shiddiq, D.M.; Nazaruddin, Y.Y.; Muchtadi, F.I.; Raharja, S. Estimation of rice milling degree using image processing and adaptive network based fuzzy inference system (ANFIS). In Proceedings of the 2011 2nd International Conference on Instrumentation Control and Automation (ICA), Bandung, Indonesia, 15–17 November 2011; pp. 98–103. [Google Scholar]
- Kamath, S.; Stephen, J.; Suresh, S.; Barai, B.; Sahoo, A.; Radhika Reddy, K.; Bhattacharya, K.R. Basmati rice: Its characteristics and identification. J. Sci. Food Agric. 2008, 88, 1821–1831. [Google Scholar] [CrossRef] [Scilit]
- Singh, R.K.; Khush, G.S. Aromatic Rices; International Rice Research Institute: Los Baños, Philippines, 2000. [Google Scholar]
- Singh, V.; Singh, A.K.; Mohapatra, T.; Ellur, R.K. Pusa Basmati 1121—A rice variety with exceptional kernel elongation and volume expansion after cooking. Rice 2018, 11, 19. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sun, D.W. Computer Vision Technology for Food Quality Evaluation; Academic Press: Amsterdam, The Netherland, 2016. [Google Scholar]
- Abdullah, M.; Fathinul-Syahir, A.; Mohd-Azemi, B. Automated inspection system for colour and shape grading of starfruit (Averrhoa carambola L.) using machine vision sensor. Trans. Inst. Meas. Control 2005, 27, 65–87. [Google Scholar] [CrossRef] [Scilit]
- Paulsen, M. Using machine vision to inspect oilseeds. Int. News Fats Oils Relat. Mater. 1990, 1, 50–55. [Google Scholar]
- Otsu, N. A threshold selection method from gray-level histograms. IEEE Trans. Syst. Man Cybern. 1979, 9, 62–66. [Google Scholar] [CrossRef] [Scilit]
- Soille, P. Morphological Image Analysis: Principles and Applications; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
- Shantaiya, S.; Ansari, U. Identification of food grains and its quality using pattern classification. In Proceedings of the 12th IEEE International Conference on Communication Technology (ICCT), Nanjing, China, 11–14 November 2010; Volume 1114, p. 35. [Google Scholar]
- Mousavirad, S.; Tab, F.A.; Mollazade, K. Design of an expert system for rice kernel identification using optimal morphological features and back propagation Neural Network. Int. J. APpl. Inf. Syst. 2012, 3, 33–37. [Google Scholar]
- Camastra, F.; Ciaramella, A.; Giovannelli, V.; Lener, M.; Rastelli, V.; Staiano, A.; Staiano, G.; Starace, A. A fuzzy decision system for genetically modified plant environmental risk assessment using Mamdani inference. Expert Syst. Appl. 2015, 42, 1710–1716. [Google Scholar] [CrossRef] [Scilit]
- Cornelissen, A.; van den Berg, J.; Koops, W.; Grossman, M.; Udo, H. Assessment of the contribution of sustainability indicators to sustainable development: A novel approach using fuzzy set theory. Agric. Ecosyst. Environ. 2001, 86, 173–185. [Google Scholar] [CrossRef] [Scilit]
- Klir, G.; Yuan, B. Fuzzy Sets and Fuzzy Logic; Prentice Hall: Upper Saddle River, NJ, USA, 1995. [Google Scholar]
- Takagi, T.; Sugeno, M. Fuzzy identification of systems and its applications to modeling and control. In Readings in Fuzzy Sets for Intelligent Systems; Morgan Kaufman: San Mateo, CA, USA, 1993; pp. 387–403. [Google Scholar]
- Gulley, N. Fuzzy logic toolbox for use with MATLAB; MathWorks, Inc.: Natick, MA, USA, 1996. [Google Scholar]
- Jang, J.S. ANFIS: Adaptive-network-based fuzzy inference system. IEEE Trans. Syst. Man Cybern. 1993, 23, 665–685. [Google Scholar] [CrossRef] [Scilit]
- Walia, N.; Singh, H.; Sharma, A. ANFIS: Adaptive neuro-fuzzy inference system—A survey. Int. J. Comput. Appl. 2015, 123, 32–38. [Google Scholar] [CrossRef] [Scilit]
- Al-Hmouz, A.; Shen, J.; Al-Hmouz, R.; Yan, J. Modeling and simulation of an adaptive neuro-fuzzy inference system (ANFIS) for mobile learning. IEEE Trans. Learn. Technol. 2012, 5, 226–237. [Google Scholar] [CrossRef] [Scilit]
- Uçar, T.; Karahoca, A.; Karahoca, D. Tuberculosis disease diagnosis by using adaptive neuro fuzzy inference system and rough sets. Neural Comput. Appl. 2013, 23, 471–483. [Google Scholar] [CrossRef] [Scilit]
- Sharma, P.; Chakkaravarthi, A.; Singh, V.; Subramanian, R. Grinding characteristics and batter quality of rice in different wet grinding systems. J. Food Eng. 2008, 88, 499–506. [Google Scholar] [CrossRef] [Scilit]











| Object Label | Actual Class | ANFIS Output Class | ANFIS Class Output Thresholded |
|---|---|---|---|
| 1 | 1 | 2.353 | 1 |
| 2 | 1 | 2.723 | 1 |
| 3 | 1 | 2.352 | 1 |
| 4 | 1 | 2.240 | 1 |
| 5 | 0 | 1.168 | 0 |
| 6 | 0 | 0.859 | 0 |
| 7 | 1 | 2.050 | 1 |
| 8 | 1 | 2.228 | 1 |
| 9 | 1 | 2.973 | 1 |
| 10 | 0 | 1.073 | 0 |
| 11 | 1 | 2.971 | 1 |
| 12 | 1 | 2.231 | 1 |
| 13 | 1 | 1.992 | 1 |
| 14 | 1 | 2.309 | 1 |
| 15 | 0 | 0.841 | 0 |
| 16 | 0 | 0.959 | 0 |
| 17 | 1 | 3.189 | 1 |
| 18 | 1 | 2.183 | 1 |
| 19 | 1 | 2.251 | 1 |
| 20 | 1 | 2.347 | 1 |
| 21 | 1 | 3.184 | 1 |
| 22 | 1 | 2.182 | 1 |
© 2018 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Mandal, D. Adaptive Neuro-Fuzzy Inference System Based Grading of Basmati Rice Grains Using Image Processing Technique. Appl. Syst. Innov. 2018, 1, 19. https://doi.org/10.3390/asi1020019
Mandal D. Adaptive Neuro-Fuzzy Inference System Based Grading of Basmati Rice Grains Using Image Processing Technique. Applied System Innovation. 2018; 1(2):19. https://doi.org/10.3390/asi1020019
Chicago/Turabian StyleMandal, Dipankar. 2018. "Adaptive Neuro-Fuzzy Inference System Based Grading of Basmati Rice Grains Using Image Processing Technique" Applied System Innovation 1, no. 2: 19. https://doi.org/10.3390/asi1020019
APA StyleMandal, D. (2018). Adaptive Neuro-Fuzzy Inference System Based Grading of Basmati Rice Grains Using Image Processing Technique. Applied System Innovation, 1(2), 19. https://doi.org/10.3390/asi1020019

