A Real Time based Image Segmentation Technique to Identify Rotten Pointed Gourds Pratikshya Mohanty, Avinash Kranti Pradhan, Shreetam Behera

Similar documents
A Real Time based Physiological Classifier for Leaf Recognition

CHAPTER-4 FRUIT QUALITY GRADATION USING SHAPE, SIZE AND DEFECT ATTRIBUTES

Automatic Licenses Plate Recognition System

International Journal of Modern Trends in Engineering and Research e-issn No.: , Date: April, 2016

An Improved Bernsen Algorithm Approaches For License Plate Recognition

VEHICLE LICENSE PLATE DETECTION ALGORITHM BASED ON STATISTICAL CHARACTERISTICS IN HSI COLOR MODEL

IMAGE ANALYSIS FOR APPLE DEFECT DETECTION

COMPARATIVE PERFORMANCE ANALYSIS OF HAND GESTURE RECOGNITION TECHNIQUES

Image Extraction using Image Mining Technique

Keyword: Morphological operation, template matching, license plate localization, character recognition.

A Decision Tree Approach Using Thresholding and Reflectance Ratio for Identification of Yellow Rust

Maturity Detection of Fruits and Vegetables using K-Means Clustering Technique

International Journal of Advanced Research in Computer Science and Software Engineering

Identification of Fake Currency Based on HSV Feature Extraction of Currency Note

Number Plate Recognition System using OCR for Automatic Toll Collection

AN EXPANDED-HAAR WAVELET TRANSFORM AND MORPHOLOGICAL DEAL BASED APPROACH FOR VEHICLE LICENSE PLATE LOCALIZATION IN INDIAN CONDITIONS

Segmentation of Microscopic Bone Images

Defect segmentation on Jonagold apples using colour vision and a Bayesian classification method

A New Framework for Color Image Segmentation Using Watershed Algorithm

License Plate Localisation based on Morphological Operations

Number Plate Recognition Using Segmentation

Method to acquire regions of fruit, branch and leaf from image of red apple in orchard

Geometric Feature Extraction of Selected Rice Grains using Image Processing Techniques

Research on Pupil Segmentation and Localization in Micro Operation Hu BinLiang1, a, Chen GuoLiang2, b, Ma Hui2, c

Implementation of License Plate Recognition System in ARM Cortex A8 Board

Automatic Detection of Kiwifruit Defects Based on Near-Infrared Light Source

Defect segmentation on 'Jonagold' apples using colour vision and a Bayesian classification method

Weed Detection over Between-Row of Sugarcane Fields Using Machine Vision with Shadow Robustness Technique for Variable Rate Herbicide Applicator

AUTOMATED MALARIA PARASITE DETECTION BASED ON IMAGE PROCESSING PROJECT REFERENCE NO.: 38S1511

Automated Number Plate Verification System based on Video Analytics

IJSRD - International Journal for Scientific Research & Development Vol. 4, Issue 05, 2016 ISSN (online):

Detection of Rail Fastener Based on Wavelet Decomposition and PCA Ben-yu XIAO 1, Yong-zhi MIN 1,* and Hong-feng MA 2

Digital Image Processing Based Quality Detection Of Raw Materials in Food Processing Industry Using FPGA

CHAPTER 1 INTRODUCTION

Automatic License Plate Recognition System using Histogram Graph Algorithm

Research of an Algorithm on Face Detection

Note to Coin Exchanger

World Journal of Engineering Research and Technology WJERT

Traffic Sign Recognition Senior Project Final Report

Region Based Satellite Image Segmentation Using JSEG Algorithm

Detection of License Plates of Vehicles

INDIAN VEHICLE LICENSE PLATE EXTRACTION AND SEGMENTATION

Advances in the Application of Image Processing Fruit Grading

Segmentation using Saturation Thresholding and its Application in Content-Based Retrieval of Images

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

International Journal of Advance Engineering and Research Development

AGRICULTURE, LIVESTOCK and FISHERIES

Automatic Morphological Segmentation and Region Growing Method of Diagnosing Medical Images

Chapter 17. Shape-Based Operations

Identification of Age Factor of Fruit (Tomato) using Matlab- Image Processing

Vehicle License Plate Recognition System Using LoG Operator for Edge Detection and Radon Transform for Slant Correction

Application of Machine Vision Technology in the Diagnosis of Maize Disease

Preprocessing and Segregating Offline Gujarati Handwritten Datasheet for Character Recognition

THERMAL DETECTION OF WATER SATURATION SPOTS FOR LANDSLIDE PREDICTION

Matlab Based Vehicle Number Plate Recognition

Extraction and Recognition of Text From Digital English Comic Image Using Median Filter

APPLICATION OF COMPUTER VISION FOR DETERMINATION OF SYMMETRICAL OBJECT POSITION IN THREE DIMENSIONAL SPACE

Detection of Defects in Glass Using Edge Detection with Adaptive Histogram Equalization

FPGA based Real-time Automatic Number Plate Recognition System for Modern License Plates in Sri Lanka

A Review of Optical Character Recognition System for Recognition of Printed Text

The Key Information Technology of Soybean Disease Diagnosis

Color Image Segmentation in RGB Color Space Based on Color Saliency

Follower Robot Using Android Programming

International Journal of Innovative Research in Engineering Science and Technology APRIL 2018 ISSN X

An Evaluation of Automatic License Plate Recognition Vikas Kotagyale, Prof.S.D.Joshi

Color Image Segmentation Using K-Means Clustering and Otsu s Adaptive Thresholding

Recognition System for Pakistani Paper Currency

Urban Feature Classification Technique from RGB Data using Sequential Methods

Combined Approach for Face Detection, Eye Region Detection and Eye State Analysis- Extended Paper

An Image Processing Approach for Screening of Malaria

CHAPTER 4 LOCATING THE CENTER OF THE OPTIC DISC AND MACULA

ME 6406 MACHINE VISION. Georgia Institute of Technology

VLSI Implementation of Impulse Noise Suppression in Images

Student Attendance Monitoring System Via Face Detection and Recognition System

CHAPTER 1 INTRODUCTION

Measuring Leaf Area using Otsu Segmentation Method (LAMOS)

DISEASE DETECTION OF TOMATO PLANT LEAF USING ANDROID APPLICATION

中国科技论文在线. An Efficient Method of License Plate Location in Natural-scene Image. Haiqi Huang 1, Ming Gu 2,Hongyang Chao 2

Integrated Digital System for Yarn Surface Quality Evaluation using Computer Vision and Artificial Intelligence

L2. Image processing in MATLAB

Master thesis: Author: Examiner: Tutor: Duration: 1. Introduction 2. Ghost Categories Figure 1 Ghost categories

An Electronic Eye to Improve Efficiency of Cut Tile Measuring Function

Improved color image segmentation based on RGB and HSI

Finger print Recognization. By M R Rahul Raj K Muralidhar A Papi Reddy

Estimating malaria parasitaemia in images of thin smear of human blood

Analysis and Identification of Rice Granules Using Image Processing and Neural Network

International Journal of Advance Research in Computer Science and Management Studies

Colored Rubber Stamp Removal from Document Images

IMAGE TYPE WATER METER CHARACTER RECOGNITION BASED ON EMBEDDED DSP

Estimate Ripeness Level of fruits Using RGB Color Space and Fuzzy Logic Technique

(Volume3, Issue2) Mahesh R Pujar ABSTRACT

Conglomeration for color image segmentation of Otsu method, median filter and Adaptive median filter

Fabric Defect Detection in Textile Images Using Gabor Filter TanveerSajid 1, Baqir Ali 2

Image Processing and Artificial Neural Network techniques in Identifying Defects of Textile Products

Malaysian Car Number Plate Detection System Based on Template Matching and Colour Information

A Novel Approach for Classification of Apple Using On-Tree Images Based On Image Processing

Contrive and Effectuation of Active Distance Sensor Using MATLAB and GUIDE Package

Locating the Query Block in a Source Document Image

A Novel Algorithm for Hand Vein Recognition Based on Wavelet Decomposition and Mean Absolute Deviation

Recognition Of Vehicle Number Plate Using MATLAB

Transcription:

A Real Time based Image Segmentation Technique to Identify Rotten Pointed Gourds Pratikshya Mohanty, Avinash Kranti Pradhan, Shreetam Behera Abstract Every object can be identified based on its physical feature, let it be shape, size or colour. Keeping this in mind, a method has been developed which helps in separating rotten pointed gourds from a bunch of healthy and rotten ones. First, a real time image of the pointed gourd is acquired with the help of a webcam. Here the rotten gourds are extracted by the process of color thresholding followed by certain morphological operations. Feature extraction helps in further object classification and recognition. It has been observed that this method works accurately under any lighting condition. The study has been inspired by the need to find a method which is cheap, effective and a quick way to identify the rotten pointed gourds. Index Terms Feature extraction; Colour Thresholding; Morphological operations. I. INTRODUCTION Half of India s revenue comes from agriculture, which pose as the mainstay of Indian economy. Any kind of improvement in the entire procedure can be of a help to the various stakeholders. In this paper, a similar approach has been followed which allows the demarcation of wasted rotten vegetables from the fresh ones in a convenient way. The vegetable that has been taken into consideration for this particular research here is the pointed gourd. It is one of the important vegetables grown in India and Bangladesh. It has a rich nutritional value and possesses the medicinal property of lowering total cholesterol and blood sugar. However, when it rots, it affects the overall quality of the pointed gourds. Hence, the separation of such rotten ones from a bunch of fresh and rotten pointed gourds is crucial. Sorting or identification of rotten pointed gourd is one of the essential post harvesting processes to ensure the quality packing in the vegetable industry. The traditional method of visual inspection for the identification is laboured intensive and prone to human error, so automated machine vision systems are needed to speed up the inspection process. Therefore, developing a fast, accurate and cheap method for sorting pointed gourds will be significant. In this paper, a novel method has been developed which identifies rotten gourds from a group of healthy and rotten ones based on their colour features, which has been implemented on the real time images of pointed gourds obtained using a webcam. In [1], the paper presents three major steps: First, by applying a Sobel operator, binary images were gained through extracting the edges of the gray images. Second, through morphological dilating and eroding, the de-noised wormhole edge images were obtained. The connected component of the binary images of the wormhole edge was labelled, and the first three longest components were considered as feature values of the worm channel, which were then normalized. Third, the normalized data were input to a classification system for extracting the worm eaten ones. A colour model based on the variability of normal colours is described to detect the defected apples in which each pixel of an apple image is compounded with the model. If it matches to the pixels then it is considered as belonging to the healthy tissue otherwise, a defected one [2]. An algorithm has been described to detect the defects in fruit by feature extraction. It has been designed in a way as to calculate weight for different features like intensity, colour orientation and edge of input test image [3]. [4], [5] presents the concept of widely used Machine Vision which uses machines instead of human eyes in carrying out measurement and judgment. The research and application of machine vision in agriculture which began in the late 1970s, was mainly for nondestructive testing of the quality and classification of fruits and vegetables [6], [7]. Automated machine vision system for sorting apple has been developed [8] and distinction between true defect and the stem end has been shown. Many image processing techniques were employed to extract texture features from captured images in various applications [9], [10]. The morphological dilation [11] is used to grow or thicken the object in a binary image. The specific manner and extent of this thickening is controlled by the shape of structuring element. II. COLOUR SEGMENTATION As the name implies, colour image segmentation is the process of dividing an image into meaningful structures. It is an essential step in image analysis, object representation, visualization and many other image processing tasks. Colour segmentation is categorized into the following types: Threshold based segmentation, edge based segmentation, region based segmentation, clustering techniques and matching. In this paper, we have applied threshold based segmentation as one of our proposed techniques. A test real time image of Cadbury gems has been taken to extract the different colour features by using colour thresholding. Figure 1 shows the real time image of Cadbury gems. Fig.1: Test real time image of Cadbury gems 144

Figure 2 and 3 shows only the yellow and green colour gems respectively. Similarly, the red colour gems are extracted as shown in figure 4. Fig.2: Extracted Yellow coloured gems is noted that the Red component of the pointed gourd varies from 130 to 180, the Green component varies from 130 to 150 and the Blue component varies from 90 to 150. So we have converted all the pixels into white (or 255) whose RGB values does not fall into the range of RGB value of rotten pointed gourd. a i, j a i, j 255 ; ; if 130 T r 130 T otherwise g 180 & 150 & 90 T Where, a contains the original values of RGB and i, j represents the rows and columns respectively. Here, T r is the red component, T g is the green component and T b is the blue component. D. Converting the image into gray The resultant image after colour thresholding is converted into gray using the following formula: b (1) 150 Fig.3: Extracted Green coloured gems Fig.4: Extracted Red coloured gems III. PROPOSED TECHNIQUES FOR IDENTIFICATION OF ROTTEN POINTED GOURDS A. Image Acquisition The real time image of pointed gourds consisting of fresh as well as rotten has been captured using a webcam (Vimicro USB2.0 UVC PC Camera). Here we have used two textures of pointed gourds i.e. green and yellow. The green colour pointed gourds are fresh and yellow colour is rotten. B. Extraction of RGB planes The captured RGB image is stored in a variable where the R, G and B components are extracted. C. Colour Thresholding For any lighting condition we have experimentally found the RGB values of rotten pointed gourds. The particular RGB values are experimentally obtained after vigorous practice. It Gray scale image = red component * 0.3 + green component * 0.59 + blue component * 0.11 E. Application of Max Filter In this case of rotten pointed gourd, the maximum filter is used for finding the brightest point in the image. Since the pepper values are low, even that is also reduced by this filter as a result of the max selection process in the sub image area S xy (where S xy represent the set of rectangular sub image window). f x, y x, y max g s, t (2) Where, f x, y is the filtered image and s t original image. F. Hole Filling Operation S xy g, is the A hole may be defined as a set of background pixels present in the foreground pixels. Here our objective is to fill all the holes with the foreground pixels. In our case we have filled the holes present in the binary image of rotten pointed gourds with one. We start from forming an array X 0 of zeros (the same size as the array containing A), except at the locations in X 0 corresponding to the give point in each hole, which is set to one. X k c X B A 1 (3) k Where, B is the symmetric structuring element and k = 1,2,3,. 145

G. Dilation ISSN: 2277-3754 The operation of dilation is to grow foreground pixels and to thicken the background pixels in a binary image. This extension and thickening is controlled with the help of different structuring element. Here with the help of dilation we are able to expand the boundaries of the rotten pointed 2 gourds.let A and B be the sets in Z, then the dilation of A by B is denoted as A B. The dilation A by B is set of all displacements z, such that B and A overlap by at least one element and can be written as: IV. RESULTS A B z B z A A (4) H. Labeling Operation based on Pixel Connectivity Labeling operation enables us to calculate the number of objects using 8-connectivity. A connected component is basically a set of pixels forming a connected group in a binary image. In the labeling process, the connected components are identified and a unique label is assigned to each of them. Fig.6: Real time image obtained by webcam Fig.7: Colour thresholding Fig.8: Conversion of Thresholded RGB image to binary image Fig.5: Flow Chart Fig.9: Application of Max Filter 146

I. RESULTS WITH DIFFERENT LIGHTING CONDITIONS Fig.10: Reversing pixel value Fig.14: Dark Lighting condition Fig.15: Dull Lighting condition Fig.11: After hole filling Fig.16: Bright lighting condition Fig.12: Dilation using disk of radius 3 as structuring element Fig.17: Normal Lighting condition ( in the room) Fig.13: Number of rotten pointed gourds identified Fig.18: Day lighting condition V. CONCLUSION The method was implemented on MATLAB platform version 7.0. The proposed method is a simple, effective, fast 147

and efficient one and found to be robust to any lighting conditions. REFERENCES [1] Chenglong Wang Xiaoyu Li, Wei Wang, Yaoze Feng, Zhu Zhou, Hui Zhan, Recognition of worm-eaten Chestnuts based on machine vision, Mathematical and Computer Modelling 54, pp.888-894, 2011. [2] Leemans, V., Magein, H. and Destain M.F, Defects segmentation on Golden Delicious apples by using colour machine vision, Computers and Electronics in Agriculture (20), pp. 117-130, 1998. [3] Hetal N Patel, Dr. R.K.Jain and Dr. M.V.Joshi, Fruit Detection using Improved Multiple Features based Algorithm, International Journal of Computer Applications 13(2), pp. 1-5, January (2011). [4] Dah-Jye Lee, Robert Schoenberger, Jamesetal Archibald, Development of a machine vision system for Automatic date grading using digital reflective near- Infrared imaging, Journal of Food Engineering 86, pp. 388-398,( 2008). [5] Bing Feng, Maohua Wang, Computer vision Classification of fruit based on fractal color, Transactions of the CSAE 18 (2), pp. 141-144, (2002). [6] Xiao an Bao, Ruilin Zhang, Apple grade Identification method based on artificial neural network and image processing, Transactions of the CSAE 20(3), pp. 109-112, (2004). [7] Tom Pearson, Machine Vision System for automated Detection of stained pistachio nuts, Lebensmittel- Wissenschaft & Technology 29, pp. 203-209, (1996). [8] Tao, Y., Spherical transform of fruit images for on-line defect extraction of mass objects, Opt. Eng. 35(2), pp. 334-350, (1996). [9] Weszka, J.S. and A.Rosenfeld, An application of Texture analysis to materials inspection, Pattern Recogn. J., pp. 195-199, (1976). [10] Garcia, P., M. Petrou and S. Kamata, The use of Boolean model for texture analysis of grey images. Computer vis. Image Understand, 74(3), pp. 227-235, (1999). [11] Rafel C. Gonzalez, Richard E. Woods 2012 Digital Image Processing 3 rd edition Pearson. ABOUT THE AUTHORS Pratikshya Mohanty is pursuing her B.Tech in Electronics & Communication Engineering from Centurion University of Technology & Management, Jatni, Odisha. She is in her final year. Her interest areas include Image Processing and Embedded Systems. Shreetam Behera is presently working as Assistant Professor in the Department of Electronics and Communication Engineering at Centurion University of Technology and Management,Jatni,Odisha. He passed his Masters in Technology in Electronics and Instrumentation Engineering from the Siksha O Anusandhan University, Bhubaneswar, Odisha in the year 2012.He did his Bachelor Of Technology in Electronics and Communication engineering in the year 2010 from Gandhi Institute of Engineering and Technology,Gunupur,Rayagada,Odisha,India. His research areas include Image Processing, Signal Processing and Embedded Systems. Avinash Kranti Pradhan is pursuing his B.Tech in Electronics & Communication Engineering from Centurion University of Technology & Management, Jatni, Odisha. He is in his final year. His interest areas include Image Processing and Embedded Systems. 148