首页|基于三维重建的菠萝螺旋去刺方法与实验

基于三维重建的菠萝螺旋去刺方法与实验

扫码查看
为实现菠萝自动化刺眼去除作业,提出一种菠萝螺旋去刺轨迹搜寻算法。首先通过三维重建技术获取菠萝表面的点云数据;再利用 Otsu方法确定最佳图像二值化阈值,提取菠萝刺眼点云,并通过 DBSCAN聚类算法,将菠萝刺眼点云分成不同组别,提取菠萝刺眼信息;然后提出轨迹搜寻算法,通过计算匹配代价方式解决轨迹搜寻中刺眼缺失及偏移问题;最后根据所寻轨迹规划去刺终端路径,实现菠萝螺旋去刺。实验结果表明:每个螺旋条上平均刺眼数量为 11。1,平均遗漏刺眼数为 0。53,去刺轨迹搜寻质量较高;刺眼完全去除率为 98%,不完全去除率为 1。39%,平均耗时 41。7 s,去眼效率高、效果良好;刺眼偏心距均值的平均值为 0。57 mm,刺眼过切深度均值的平均值为 2。63 mm,整体误差较小。刺眼去除精度能满足自动化去眼作业要求,可为菠萝自动去除刺眼提供技术支持。
Methodology and experiments on spiral removal of pineapple spines based on 3D reconstruction
[Objective]The cultivation of pineapples in China boasts a long history,and the cultivating area and the yield both account for approximately 7% of the total global cultivation.In 2018 alone,the annual yield of pineapples in China reached 1.64 million tons,30% of which underwent further processing.Although there have been significant advances in the research on the removal of pineapple peel,the removal of pineapple spines remains unexplored.To realize the automatic removal of pineapple spines,a trajectory search algorithm for the spiral removal of pineapple spines is proposed with the aim of improving the efficiency and accuracy of the removal and satisfying the requirements of the automatic operation.[Methods]First,the depth camera is fixed on the spine removal stand,and the camera is adjusted such that the center of the picture targets the central axis of the pineapple's rotation.The pineapple fixed on the fixture rotates at a constant speed,and pictures are taken at every 3.6° of rotation.After the pineapple accomplishes one revolution,a set of sequential images is obtained.Then,procedures such as bilateral filtering,region interception,and threshold segmentation are conducted on the obtained RGB images and depth maps to extract the outlines of the pineapple and the reference disk.The internal parameters of the camera are determined through the Zhang Zhengyou calibration,and the external parameters are calculated based on the motion equation of the pineapple constructed from the analysis of its motion.Further,the preprocessed images are fused into a three-dimensional point cloud based on the conversion relationship between each coordinate of the camera imaging system.Then,the matrix of rotation and translation is calculated along with the scaling by fitting the equation of the plane where the reference disk is located to correct and scale the initial point cloud of the pineapple.Then,the Otsu method is utilized to determine the optimal binarization threshold for the point cloud and extract the point cloud of pineapple spines.The DBSCAN clustering algorithm is integrated to group the point cloud of pineapple spines and calculate the central coordinate of each spine.A trajectory search algorithm is proposed to solve the problems arising from the missed and deviated spines in the trajectory search by calculating the matching costs.Finally,the terminal path of the removal is formulated based on the trajectory found to realize the spiral removal of pineapple spines.[Results]Experiments were conducted on 15 Chinese Guangdong Xuwen pineapples.The experimental outcomes showed that the complete removal rate of spines averaged 98%,while the incomplete removal rate was 1.39% .The removal rate exceeded 95%,and the average time consumption was 41.7 s.The removal yielded high efficiency and favorable effects.Among these,a small number of spines were missed in the detection due to the malformation of their growing position.However,due to the high matching costs in the trajectory search for the removal,these spines were ignored by the algorithm,which exerted no impact on the whole removal trajectory.The average number of missed pineapple spines was 0.53,and each pineapple yielded 8-9 removal trajectories.Further,the average spine number of each strip was 11.1,indicating that the trajectory search for the removal of the spines boasted a rather high quality.For the eccentric distance of the spines,the mean eccentric distance of the spines averaged 0.57 mm,the maximum eccentric distance averaged 1.01 mm,and the root-mean-square error of the eccentric distance averaged 0.62 mm.For the overcutting depth of the spine H,the mean overcutting depth of the spine averaged 2.63 mm,the maximum overcutting depth averaged 2.9 mm,and the root-mean-square error of the overcutting depth averaged 1.53 mm,indicating that the overall error was rather small.[Conclusions]The precision of the spine removal meets the requirements of the automatic spine removal operation,indicating its ability to provide technical support for the automatic removal of pineapple spines and significantly improve its efficiency and quality.

pineapplespiral removal of pineapple spinesthree-dimensional reconstructionpoint cloud processingtrajectory search

钱世炯、赵明岩、陈浩克、梁喜凤、魏艳红

展开 >

中国计量大学 机电工程学院,浙江 杭州 310018

菠萝 菠萝刺眼去除 三维重建 点云处理 轨迹搜寻

浙江省公益项目

LGN22E050003

2024

实验技术与管理
清华大学

实验技术与管理

CSTPCD北大核心
影响因子:1.651
ISSN:1002-4956
年,卷(期):2024.41(9)