College of Mechanical and Electronic Engineering, Northwest A&F University, Yangling, Shaanxi, 712100, China.
PLoS One. 2022 Aug 4;17(8):e0271352. doi: 10.1371/journal.pone.0271352. eCollection 2022.
A quality detection system for the "Red Fuji" apple in Luochuan was designed for automatic grading. According to the Chinese national standard, the grading principles of apple appearance quality and Brix detection were determined. Based on machine vision and image processing, the classifier models of apple defect, contour, and size were constructed. And then, the grading thresholds were set to detect the defective pixel ratio t, aspect ratio λ, and the cross-sectional diameter Wp in the image of the apple. Spectral information of apples in the wavelength range of 400 nm~1000 nm was collected and the multiple scattering correction (MSC) and standard normal variable (SNV) transformation methods were used to preprocess spectral reflectance data. The competitive adaptive reweighted sampling (CARS) algorithm and the successive projections algorithm (SPA) were used to extract characteristic wavelength points containing Brix information, and the CARS-PLS (partial least squares) algorithm was used to establish a Brix prediction model. Apple defect, contour, size, and Brix were combined as grading indicators. The apple quality online grading detection platform was built, and apple's comprehensive grading detection algorithm and upper computer software were designed. The experiments showed that the average accuracy of apple defect, contour, and size grading detection was 96.67%, 95.00%, and 94.67% respectively, and the correlation coefficient Rp of the Brix prediction set was 0.9469. The total accuracy of apple defect, contour, size, and Brix grading was 96.67%, indicating that the detection system designed in this paper is feasible to classify "Red Fuji" apple in Luochuan.
洛川“红富士”苹果品质检测系统设计用于自动分级。根据中国国家标准,确定了苹果外观质量和 Brix 检测的分级原则。基于机器视觉和图像处理,构建了苹果缺陷、轮廓和大小的分类器模型。然后,设置分级阈值以检测苹果图像中的缺陷像素比 t、纵横比 λ 和横截面积 Wp。采集苹果在 400nm~1000nm 波长范围内的光谱信息,采用多元散射校正(MSC)和标准正态变量(SNV)变换方法对光谱反射率数据进行预处理。采用竞争自适应重加权采样(CARS)算法和连续投影算法(SPA)提取含有 Brix 信息的特征波长点,采用 CARS-PLS(偏最小二乘)算法建立 Brix 预测模型。将苹果缺陷、轮廓、大小和 Brix 结合作为分级指标,建立苹果品质在线分级检测平台,设计苹果综合分级检测算法和上位机软件。实验表明,苹果缺陷、轮廓和大小分级检测的平均准确率分别为 96.67%、95.00%和 94.67%,Brix 预测集的相关系数 Rp 为 0.9469。苹果缺陷、轮廓、大小和 Brix 分级的总准确率为 96.67%,表明本文设计的检测系统可用于对洛川“红富士”苹果进行分类。