Partial Erosion-Based Feature Extraction Approach for Plastic Bottle Shape Classification


  •  Suzaimah Ramli    
  •  Mohd Mustafa    
  •  Aini Hussain    
  •  Dzuraidah Wahab    

Abstract

In order to utilize or to extract the shape information of objects in an image for recognition, classification or retrieval, a method for representing a shape is needed. In this paper, a work on representing plastic bottle shape using morphological based approach for an automated classification is reported. Morphological operations are used to describe the structure or form of an image. There are three primary morphological functions: erosion, dilation, and hit-or-miss. By using the two-dimensional description of plastic bottle silhouettes, we perform edge detection of the object silhouette followed by the erosion process. This work will compare two versions of erosion which are regular erosion, the matlab function imerode and the improved version of erosion which is called partial erosion. The erosion technique involves defining a set of flat and linear structuring elements and specifying the angle at 1o apart to obtain the maximum number of elements of 180o degrees. This is followed by a normalization procedure in which we divide the sum pixel value after erosion by the sum pixel of the whole silhouette. The normalized values are grouped into histograms of 9 bins and find the maximum number of the 9 histogram bin of sum pixel value (9HbSPV) obtained forms a set of feature set and is then used as inputs to train a neural network for plastic bottle shape classification. Both feature sets from the two types of erosion were tested on their uniqueness to represent the shape. Results obtained showed that the proposed feature extraction method can be applied to discriminate plastic bottles according to shape, either slim or broad bottles, efficiently.



This work is licensed under a Creative Commons Attribution 4.0 License.