Robust Potato Color Image Segmentation using Adaptive Fuzzy Inference System

Document Type : Research Paper

Authors

1 Electrical Engineering Department, University of Isfahan, Isfahan, Iran

2 Young Researchers and Elite Club, Majlesi branch, Islamic Azad Uni- versity, Isfahan, Iran

3 Electrical Engineering Department, Hatef Higher Education Insti- tute, Zahedan, Iran

Abstract

Potato image segmentation is an important part of image-based potato defect detection. This paper presents a robust potato color image segmentation through a combination of a fuzzy rule based system, an image thresholding based on Genetic Algorithm (GA) optimization and morphological operators. The proposed potato color image segmentation is robust against variation of background, distance and view of potato from digital camera. In the proposed algorithm, after selecting appropriate color space, distance between an image pixel and real potato pixels is computed. Furthermore, this distance feeds to a fuzzy rule-based classifier to extract potato candidate in the input image. A subtractive clustering algorithm is also used to decide on the number of rules and membership functions of the fuzzy system. To improve the performance of the fuzzy rule-based classifier, the membership functions shapes are also optimized by the GA. To segment potatoes in the input color image, an image thresholding is applied to the output of the fuzzy system, where the corresponding threshold is optimized by the GA. To improve the segmentation results, a sequence of some morphological operators are also applied to the output of thresholding stage. The proposed algorithm is applied to different databases with different backgrounds, including USDA, CFIA, and obtained potato images database from Ardabil (Iran's northwest), separately. The correct segmentation rate of the proposed algorithm is approximately 98\% over totally more than 500 potato images. Finally, the results of the proposed segmentation algorithm are evaluated for some images taken from real environments of potato industries and farms.

Keywords

References

\bibitem{Al-Mallahi2010}
A. Al-Mallahi, T. Kataoka, H. Okamoto and Y. Shibat,  {\it An image processing algorithm for detecting in-line potato tubers without singulation}, Computers and Electronics in Agriculture, {\bf 70(1)} (2010), 239-244.

\bibitem{Barnes2010}
M. Barnes ,T. Duckett, G. Cielniak, G. Stroud and G. Harper, {\it Visual detection of blemishes in potatoes using minimalist boosted classifiers}, Journal of Food Engineering,  {\bf 98(3)} (2010), 339-346.

\bibitem {CFIA}
CFIA, the Canadian Food Inspection Agency, http://www.inspection.gc.ca/english/plaveg/ potpom/potpome.shtml.

\bibitem {Chen2010}
C. L. Chen and C. L. Tai, {\it Adaptive fuzzy color segmentation with neural network for road detections}, Engineering Applications of Artificial Intelligence, {\bf 23(3)} (2010), 400-410.

\bibitem{Dacal2009}
A. Dacal-Nieto, E. VÃ¡zquez-FernÃ¡ndez, A. Formella, F. Martin, S. Torres-Guijarro and H. GonzÃ¡lez-Jorge, {\it A genetic algorithm approach for feature selection in potatoes classification by computer vision}, Annual Conference of IEEE Industrial Electronics, (2009), 1995-1960.

\bibitem{Ebrahimi2011}
E. Ebrahimi, K. Mollazade and A. Arefi, {\it Detection of Greening in Potatoes using Image Processing Techniques}, Journal of American Science, {\bf 7(3)} (2011), 243-247.

\bibitem {Fernandez2009}
Y. E. Fernandez, A. Sarinana and R. L. Swenson, {\it Development of a prototype for classification of potato mini-tubers based on artificial vision}, International Conference on Electrical Engineering, Computing Science and Automatic Control, (2009), 1-6.

\bibitem {Gonzalez2009}
R. C. Gonzalez, R. E. Woods and S. L. Eddins, {\it Digital image processing using MATLAB}, Second edition, Gatesmark Publishing, USA, 2009.

\bibitem{Guannan2009}
Z. Guannan, T. Yuzhi, Z. Junxiong and L. Wei, {\it Automatic detecting and grading method of potatoes with computer vision}, Transactions of the Chinese Society of Agricultural Machinery, {\bf 40(4)} (2009), 166-168.

\bibitem{Hao2009}
M. Hao and S. Ma, {\it Studyed on the external defects segmentation based on the color character of potatoes}, IFIP International Federal for Information Processing, {\bf 294}, Computer and Computing Technologies in Agriculture II, Volume 2, eds. D. Li, Z. Chunjiang, Boston, Springer, (2009), 1175-1180.

\bibitem{Heinemann1996}
P. H. Heinemann, N. P. Pathare and C. T. Morrow, {\it An automated inspection station for machine-vision grading of potatoes}, Machine Vision and Application, {\bf 9(1)} (1996), 14-19.

\bibitem{Jin2009}
J. Jin, J. Li, G. Liao, X. Yu, C. Christopher and L. Viray, {\it Methodology for potatoes defects detection with computer vision}, International Symposium on Information Processing, (2009), 346-351.

\bibitem {Kanungo2006}
P. Kanungo, P. K. Nanda and U. C. Samal, {\it Image segmentation using thresholding and genetic algorithm}, Conference on Soft Computing Technique for Engineering Applications, (2006), 405-412.

\bibitem{Koschan2008}
A. Koschan and M. Abidi, {\it Digital color image processing}, Wiley-Interscience, USA, 2008.

\bibitem {Lai2006}
C. C. Lai,{\it A Novel Image Segmentation Approach Based on Particle Swarm Optimization}, IEICE Transactions on Fundamentals, {\bf E89-A(1)} (2006), 324-327.

\bibitem {Moallem2011}
P. Moallem, B. S. Mousavi and S. A. Monadjemi,{\it A novel fuzzy base system for pose independent faces detection}, Applied Soft Computing, {\bf 11(2)} (2011), 1801-1810.

\bibitem{Moallem2012}
P. Moallem and N. Razmjoy, {\it A multi layer perceptron neural network trained by invasive weed optimization for potato color image segmentation}, Trends in Applied Sciences Research, {\bf 7(6)} (2012), 445-455.

\bibitem{Moallem2013}
P. Moallem, N. Razmjoy and M. Ashourina, {\it Computer vision-based potato defect detection using neural networks and support vector machine}, International Journal of Robotics and Automation, {\bf 28(2)} (2013), 138-145.

\bibitem{Noordam2000}
J. C. Noordam, A. J. M. Timmermans, G. W. Otten and B. Van Zwol,  {\it A colour vision system for high speed sorting of potatoes}, International Conference on Agricultural Engineering, 2000.

\bibitem{Noordam2002}
J. C. Noordam, W. H. A. M. Van Den Broek and L. M. C. Buydens, {\it Multivariate image segmentation with cluster size insensitive Fuzzy C-means}, Chemometrics and Intelligent Laboratory Systems, {\bf 64(1)} (2002), 65-78.

\bibitem{Pedreschi2006}
F. Pedreschi, J. Leon, D. Mery and P. Moyano, {\it Development of a computer vision system to measure the color of potato chips}, Food Research International, {\bf 39(10)} (2006), 1092-1098.

\bibitem {Priyono2005}
A. Priyono and M. Ridwan, {\it Generation of fuzzy rules with subtractive clustering}, Jurnal Teknologi, {\bf 43(D)} (2005), 143-153.

\bibitem {Ross2010}
T. J. Ross, {\it Fuzzy logic with engineering applications}, Third edition, Wiley, Singapore, 2010.

\bibitem {Sezgin2004}
M. Sezgin and B. Sankur, {\it Survey over image thresholding techniques and quantitative performance evaluation}, Journal of Electronic Imaging, {\bf 13(1)} (2004), 146-165.

\bibitem{Sun2007}
D. Sun, {\it Computer vision technology for food quality evaluation}, Academic Press, Canada, 2007

\bibitem{Tao1995}
Y. Tao, P. H. Heinemann and Z. Varghese, {\it Machine vision for color inspection of potatoes and apples}, Transactions of the American Society of Agricultural Engineers, {\bf 38(5)} (1995), 1555-1561.

\bibitem{Theodoridis2006}
S. Theodoridis and K. Koutroumbas, {\it Pattern recognition}, Fourth edition, Academic Press, USA, 2008.

\bibitem {USDA}
USDA, the United States Department of Agriculture, http://plants.usda.gov/java.

\bibitem{Vywahare2014}
A. Vyawahare, K. Jayaraj Rao and C. N. Pagote, {\it Computer vision system for colour measurement - fundamentals and applications in food industry: a review}, Research and Reviews: Journal of Food and Dairy Technology, {\bf 1(2)} (2014), 22-31.

\bibitem{Wang2011}
C. Wang, X. Li, W. Wang, J. Liu, H. Tao and D. Wen, {\it  Detection of potato's size based on centroidal principal axis}, African Journal of Agricultural Research, {\bf 6(17)} (2011), 4140-4148.

\bibitem{Zhou1998}
L. Zhou, V. Chalana and Y. Kim, {\it PC-based machine vision system for real-time computer-aided potato inspection}, International Journal of Imaging Systems and Technology, {\bf 9(6)} (1998), 423-433.