Grading Of Rice Grains By Image Processing

DOI : 10.17577/IJERTV1IS4062

Download Full-Text PDF Cite this Publication

Text Only Version

Grading Of Rice Grains By Image Processing

Jagdeep Singh Aulakh , Dr. V.K. Banga Amritsar College of Engineering & technology , Amritsar

ABSTRACT

The purpose of this paper is grading of rice grains by image processing technique. Commercially the grading of rice is done according to the size of the grain kernel (full, half or broken). The food grain types and their quality are rapidly assessed through visual inspection by human inspectors. The decision making capabilities of human-inspectors are subjected to external influences such as fatigue, vengeance, bias etc. with the help of image processing we can overcome that. By image processing we can also identify any broken grains mixed . Here we discuss the various procedures used to obtain the percentage quality of rice grains.

Keywords:- Grading , rice grain , pixel Area

  1. INTRODUCTION

    The quality of the worlds most important staple food crop can be determined based on the shape size and texture of the grain.

    In India the ever increasing population losses in handling and processing and the increased expectation of food products of high quality and safety standards there is need for the growth of accurate fast and objective quality determination of food grains. Now days we are using the chemical methods for the identification of rice grain seed varieties and quality. The chemical method used also destructs the sample used and is also very time consuming method. On the other hand the machine vision or the digital image processing is a non destructive method, it is also very fast and cheap process compared to the chemical method. In the early days of machine vision application to grain quality evaluation, Lai et al.(1986) suggested some pattern recognition techniques for identifying and classifying cereal grains.

    Jagdeep Singh Aulakh working as Lecturer in Amritsar college of Engineering & Technology , Amritsar (ECE)

    Dr. V.K. Banga working as Professor & Head (ECE) in Amritsar College of Engineering & Technology , Amritsar.

    The same researchers (Zayas et al., 1986) also applied the digital image analysis technique to discriminate wheat classes and varieties.

  2. IMAGE CAPTURE

    Flat Bed Scanning (FBS) this process uses the desktop scanner. In this the rice grain is placed on the glass plate of the scanner and covered with a black sheet of paper.

    Fig. 1 Captured Image

    Fig.2 Captured Image 2

    Digital camera of high pixel resolution rate can also be used. To collect image data the camera should be placed at a location situated with a plane normal to the objects path. The black background was used. The environment was controlled to improve the data collection with simple plain background. The images acquired were 319 x 300 pixels in size. Images were captured and stored in JPG format automatically. Through data cable these images has been transferred and then stored in disk.

    Fig.3 Basic Building Block for Image Capture

  3. METHODOLOGY

    1. In this first of all we set the level for the background and then subtract the image(fig.2) from this background. By practicing this we get the more uniform background.

    2. Then we adjust the strechlimit of the obtained image from the last step. By this we get more contrast between the grains and the background, as we set the ratio of 0 and 1 for both the background and grains kernels.

    3. Here we convert this image into the binary image(Fig.4) for performing other morphological operations.

    Fig.4 Binary Image

  4. AREA OF GRAINS

    Here we find the connected components of our final binary image. By this we get the following information Connectivity, Imagesize, Numobjects, PixelIdxlist about our final binary image.from this we also get the exact number of grain kernels present in our image.

    After this we find the pixel area of the each grain present in our binary image.once we have the pixel area of each grain we can also map the pixel matrix of the whole image with the grain number for the grain area and zero for the rest of background. With the help of these pixel area values we can plot a stem graph which will show the pixel area of each grain kernel.

    Fig.5 Stem Graph of Pixel area of each Grain

    In the above stem graph we have number of grains on the x-axis and their corresponding pixel area on the y- axis.

  5. REJECTING THE BROKEN GRAINS

    We know from the data we have, that the broken or the half grain kernels occupies the lesser pixel area as compare to the healthy grains. So we set a threshold value of the pixel area for the average healthy grain kernel and the values lower than that of threshold will be discarded. Here we obtain a new binary image without the broken or the half grain kernel

    Fig.6

    By using this new binary image(fig.6) we can again find the connected components and get the information about Connectivity, Imagesize, Numobjects, PixelIdxlist

    . and with the help of the regionprops we can find the pixel area of each grain of this new binary imagenow we can also plot a stem graph of these values.

    Fig.7

    Here also we have the number of rice grain kernels on the x-axis and the pixel area on the y-axis.

  6. PERCENTAGE PURITY OF GIVEN SAMPLE

    On studying the both stem graphs we can clearly see that the second graph has all healthy grains and also the number of grains are lesser because half or broken grains are discarded. Now if we divide the number of grains in the second graph by the number of grains in first graph and multiply it by 100. We can achieve the percentage purity of the given sample

  7. CONCLUSION

    Here we conclude that grading of rice can effectively be done by using the image processing techniques. With our coding we can calculate that how pure is our sample. The setup used is also very common and easily available. This is also more accurate than the human visual inspection. All this leads to better quality in food processing by image processing.

  8. FUTURE WORK

For future work we have to find some alternative method where we not only compare the pixel area but also compare the length of each rice grain for more accurate results.

REFERENCES

  1. J. Paliwal, N.S. Visen, D.S. Jayas, N.D.G. White, Cereal Grain and Dockage Identification using Machine Vision 2003

  2. B. S. Anami, D. G. Savakar,Improved Method for Identification and Classification of Foreign Bodies Mixed Food Grains Image

    Samples 2005

  3. N.S. Visen, J. Paliwal, D.S. Jayas and N.D.G. White Image Analysis of bulk grain samples using neural networks 2004

  4. Qing Yao, Jianhua Chen, Zexin Guan Inspection of rice appearance quality using machine vision, Global Congress on Intelligent Systems. 2009.

  5. Siriluk Sansomboonsuk and Nitin Afzulpurkar , The Appropriate Algorithms of Image analysis for Rice Kernel Quality Evalution , 20th Conference of Mechanical Engineering Network of Thailand18- 20 October 2006, Nakhon Ratchasima, Thailand

  6. Agustin, O.C., Byung-Joo Oh, Automatic Milled Rice Quality Analysis, Future Generation Communication and Networking, 2008.

  7. G. van Dalen Determination of the size distribution and percentage of broken kernels of rice using flatbed scanning and image analysis,Unilever Research Laboratory, Foods Research Centre, Olivier van Noortlaan 120, 3133 AT Vlaardingen, The Netherlands,

    2 September 2003.

  8. S. Anami1, D. G. Savakar, Improved Method for Identification and Clssification of Foreign Bodies Mixed Food Grains Image Samples 1K. L. E. Institute of Technology. Hubli- 580030, .India anami_basu@hotmail.com, ICGST-AIML Journal, ISSN: 1687- 4846, Volume 9, Issue I, February 2009

  9. Aggarwal, Amit K. and Mohan, Ratan) "Aspect Ratio Analysis Using Image Processing for Rice Grain Quality", International Journal of Food Engineering: Vol. 6: Iss. 5, Article 8, 2010 .

[10 ]Sanjivani Shantaiya , Mrs.Uzma Ansari, Identification Of Food Grains And Its Quality Using Pattern Classification

M.tech (CSE) IV Sem, RITEE, CSVTU, Raipur sanjivaninice@gmail.com

Reader (CSE), RITEE, CSVTU, Raipur

arshi.uzma@gmail.com, Special Issue of IJCCT Vol. 2 Issue 2, 3, 4; 2010 for International Conference [ICCT-2010], 3rd-5th December 2010

Jagdeep Singh Aulakh is working as a lecturer in Department of Electronics & Communication Engineering in Amritsar College of Engineering and Technology, Amritsar, Punjab, India. He did his B.Tech (Electronics and Communication Engineering) from Punjab Technical University, Jalandhar. India. and pursuing M.Tech (Electronics and Communication Engineering) from Amritsar College of Engineering and Technology, Amritsar, Punjab, India.

Vijay Kumar Banga is working as professor and Head of the Department of Electronics & Communication Engineering, Amritsar College of Engineering and Technology, Amritsar, Punjab, India. He obtained his B. E (Electronics and Instrumentation Engineering) from Punjabi University, Patiala, Punjab, India, M.Tech

(Electronics and Instrumentation) from Panjab University , Chandigarh, India and Ph.D. in Electronics (Artificial Intelligence) form Thapar University, Patiala., India. Presently, he has 13 years of research and UG & PG teaching experience. He has 35 research papers to his credit in various international journals and conferences. He is member of Board of Studies in Electronics and Communication Engineering of Punjab Technical University, Jalandhar, Punjab, India. His areas of research and interest include Robotics, Artificial Intelligence, automated control systems and Genetic algorithms.

Leave a Reply