Image Segmentation of Cucumber Seedlings Based on Genetic Algorithm
Taotao Xu,
Lijian Yao (),
Lijun Xu,
Qinhan Chen and
Zidong Yang
Additional contact information
Taotao Xu: College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China
Lijian Yao: College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China
Lijun Xu: College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China
Qinhan Chen: College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China
Zidong Yang: College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China
Sustainability, 2023, vol. 15, issue 4, 1-15
Abstract:
To solve the problems of the low target-positioning accuracy and weak algorithm robustness of target-dosing robots in greenhouse environments, an image segmentation method for cucumber seedlings based on a genetic algorithm was proposed. Firstly, images of cucumber seedlings in the greenhouse were collected under different light conditions, and grayscale histograms were used to evaluate the quality of target and background sample images. Secondly, the genetic algorithm was used to determine the optimal coefficient of the graying operator to further expand the difference between the grayscale of the target and background in the grayscale images. Then, the Otsu algorithm was used to perform the fast threshold segmentation of grayscale images to obtain a binary image after coarse segmentation. Finally, morphological processing and noise reduction methods based on area threshold were used to remove the holes and noise from the image, and a binary image with good segmentation was obtained. The proposed method was used to segment 60 sample images, and the experimental results show that under different lighting conditions, the average F1 score of the obtained binary images was over 94.4%, while the average false positive rate remained at about 1.1%, and the image segmentation showed strong robustness. This method can provide new approaches for the accurate identification and positioning of targets as performed by target-dosing robots in a greenhouse environment.
Keywords: cucumber seedlings; genetic algorithms; image segmentation; machine vision (search for similar items in EconPapers)
JEL-codes: O13 Q Q0 Q2 Q3 Q5 Q56 (search for similar items in EconPapers)
Date: 2023
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (1)
Downloads: (external link)
https://www.mdpi.com/2071-1050/15/4/3089/pdf (application/pdf)
https://www.mdpi.com/2071-1050/15/4/3089/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jsusta:v:15:y:2023:i:4:p:3089-:d:1061788
Access Statistics for this article
Sustainability is currently edited by Ms. Alexandra Wu
More articles in Sustainability from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().