Cucumber appearance quality detection under complex background based on image processing

Cucumber fruit appearance quality is an important basis of growth status. In order to improve the quality detection accuracy and processing efficiency of cucumber color image under complicated background, an improved GrabCut algorithm was proposed to extract the cucumber boundary. Firstly, including...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:International journal of agricultural and biological engineering 2018-07, Vol.11 (4), p.193-199
Hauptverfasser: Ye, Haijian, Liu, Chengqi, Niu, Peiyun
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Cucumber fruit appearance quality is an important basis of growth status. In order to improve the quality detection accuracy and processing efficiency of cucumber color image under complicated background, an improved GrabCut algorithm was proposed to extract the cucumber boundary. Firstly, including pixel size normalization, rectangular box set and scale image resolution, pretreatments of cucumber image were adopted to reduce the iteration times and operation time of GrabCut algorithm. Then, the Gaussian mixture model was chosen to find out the possible prospect of target region and background region in the preprocessed rectangular frame on the preliminary modeling. Meanwhile, by the optimization of K-means cluster to the initial GMM model, the effective target area was extracted. Finally, the whole image noise and serrated boundary was removed by morphological operations to segment the outline of the complete target prospects with appropriate structure size. And then the cucumber appearance quality detection instrument was designed to extract the texture and shape features exactly, so that it could obtain cucumber appearance quality and evaluate its growth effectively. With the segmentation experiments by almost 300 cucumber original images from greenhouse in Shandong Province, the results showed that the improved GrabCut algorithm could effectively extract the complete and smooth boundary of cucumber. With relatively high segmentation evaluation index, the precision was 93.88%, the recall rate was 99.35%, the F-Measure reached 96.53%, and the misclassification error was controlled at minimum 5.84%. The average running time was shortened to 1.4023 s. The comparison results showed that the improved GrabCut algorithm was the best, followed by the SLIC and traditional GrabCut method. Cucumber appearance quality detection instrument could also extract more accurate feature parameters. And it could meet the basic growth condition assessment by automatic image processing.
ISSN:1934-6344
1934-6352
DOI:10.25165/j.ijabe.2018n04.3090