Baofeng Ji , Hang Wang , Chunhong Dong , Song Chen , Hongtao Chen , Fazhan Tao , Ji Zhang , Huitao Fan
{"title":"基于区域特征点聚类的作物行中心线提取方法","authors":"Baofeng Ji , Hang Wang , Chunhong Dong , Song Chen , Hongtao Chen , Fazhan Tao , Ji Zhang , Huitao Fan","doi":"10.1016/j.atech.2025.101070","DOIUrl":null,"url":null,"abstract":"<div><div>To address the issues of low accuracy and high processing time in traditional machine vision methods for crop row detection due to varying crop types, growth backgrounds, and changes in the number of crop rows, this study proposes a crop row centerline extraction method based on regional feature point clustering. First, the 2G-R-B feature factor and an optimal adaptive threshold segmentation method are used to segment crops and background. Then, a morphological operation with closing followed by opening is applied to filter out weeds and crop edges, reducing interference. Next, Harris corner detection technology is used to extract crop feature points, and these feature points are clustered using the DBSCAN algorithm, marking each crop row with a different color. Subsequently, the image is horizontally divided into strips, and the midpoint of each cluster of feature points in each strip is extracted. Finally, the least squares method is used to fit the midpoints of each crop row to obtain the centerline of the crop row. Experimental results show that this method demonstrates high accuracy in extracting crop row centerlines for four types of crops: sweet potato, mint, corn, and peanut. The average row recognition rate reached 98.33%, and the average error angle was 0.95°. Additionally, the average processing time per image was 136.14 ms, saving an average of 69.22 ms compared to the traditional Hough transform and 87.33 ms compared to the skeleton extraction method. In summary, this method provides a more robust solution for crop rows affected by various factors in field environments.</div></div>","PeriodicalId":74813,"journal":{"name":"Smart agricultural technology","volume":"12 ","pages":"Article 101070"},"PeriodicalIF":5.7000,"publicationDate":"2025-06-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Crop row centerline extraction method based on regional feature point clustering\",\"authors\":\"Baofeng Ji , Hang Wang , Chunhong Dong , Song Chen , Hongtao Chen , Fazhan Tao , Ji Zhang , Huitao Fan\",\"doi\":\"10.1016/j.atech.2025.101070\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>To address the issues of low accuracy and high processing time in traditional machine vision methods for crop row detection due to varying crop types, growth backgrounds, and changes in the number of crop rows, this study proposes a crop row centerline extraction method based on regional feature point clustering. First, the 2G-R-B feature factor and an optimal adaptive threshold segmentation method are used to segment crops and background. Then, a morphological operation with closing followed by opening is applied to filter out weeds and crop edges, reducing interference. Next, Harris corner detection technology is used to extract crop feature points, and these feature points are clustered using the DBSCAN algorithm, marking each crop row with a different color. Subsequently, the image is horizontally divided into strips, and the midpoint of each cluster of feature points in each strip is extracted. Finally, the least squares method is used to fit the midpoints of each crop row to obtain the centerline of the crop row. Experimental results show that this method demonstrates high accuracy in extracting crop row centerlines for four types of crops: sweet potato, mint, corn, and peanut. The average row recognition rate reached 98.33%, and the average error angle was 0.95°. Additionally, the average processing time per image was 136.14 ms, saving an average of 69.22 ms compared to the traditional Hough transform and 87.33 ms compared to the skeleton extraction method. In summary, this method provides a more robust solution for crop rows affected by various factors in field environments.</div></div>\",\"PeriodicalId\":74813,\"journal\":{\"name\":\"Smart agricultural technology\",\"volume\":\"12 \",\"pages\":\"Article 101070\"},\"PeriodicalIF\":5.7000,\"publicationDate\":\"2025-06-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Smart agricultural technology\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S277237552500303X\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURAL ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Smart agricultural technology","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S277237552500303X","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
Crop row centerline extraction method based on regional feature point clustering
To address the issues of low accuracy and high processing time in traditional machine vision methods for crop row detection due to varying crop types, growth backgrounds, and changes in the number of crop rows, this study proposes a crop row centerline extraction method based on regional feature point clustering. First, the 2G-R-B feature factor and an optimal adaptive threshold segmentation method are used to segment crops and background. Then, a morphological operation with closing followed by opening is applied to filter out weeds and crop edges, reducing interference. Next, Harris corner detection technology is used to extract crop feature points, and these feature points are clustered using the DBSCAN algorithm, marking each crop row with a different color. Subsequently, the image is horizontally divided into strips, and the midpoint of each cluster of feature points in each strip is extracted. Finally, the least squares method is used to fit the midpoints of each crop row to obtain the centerline of the crop row. Experimental results show that this method demonstrates high accuracy in extracting crop row centerlines for four types of crops: sweet potato, mint, corn, and peanut. The average row recognition rate reached 98.33%, and the average error angle was 0.95°. Additionally, the average processing time per image was 136.14 ms, saving an average of 69.22 ms compared to the traditional Hough transform and 87.33 ms compared to the skeleton extraction method. In summary, this method provides a more robust solution for crop rows affected by various factors in field environments.