College of Engineering, Nanjing Agricultural University, Nanjing 210031, China.
College of Horticulture, Shenyang Agricultural University, Shenyang 110866, China.
Sensors (Basel). 2019 Feb 1;19(3):612. doi: 10.3390/s19030612.
Automatic recognition of ripening tomatoes is a main hurdle precluding the replacement of manual labour by robotic harvesting. In this paper, we present a novel automatic algorithm for recognition of ripening tomatoes using an improved method that combines multiple features, feature analysis and selection, a weighted relevance vector machine (RVM) classifier, and a bi-layer classification strategy. The algorithm operates using a two-layer strategy. The first-layer classification strategy aims to identify tomato-containing regions in images using the colour difference information. The second classification strategy is based on a classifier that is trained on multi-medium features. In our proposed algorithm, to simplify the calculation and to improve the recognition efficiency, the processed images are divided into 9 × 9 pixel blocks, and these blocks, rather than single pixels, are considered as the basic units in the classification task. Six colour-related features, namely the Red (R), Green (G), Blue (B), Hue (H), Saturation (S) and Intensity (I) components, respectively, colour components, and five textural features (entropy, energy, correlation, inertial moment and local smoothing) were extracted from pixel blocks. Relevant features and their weights were analysed using the iterative RELIEF (I-RELIEF) algorithm. The image blocks were classified into different categories using a weighted RVM classifier based on the selected relevant features. The final results of tomato recognition were determined by combining the block classification results and the bi-layer classification strategy. The algorithm demonstrated the detection accuracy of 94.90% on 120 images, this suggests that the proposed algorithm is effective and suitable for tomato detection.
自动识别成熟番茄是实现机器人采摘替代人工采摘的主要障碍。在本文中,我们提出了一种使用改进方法的新颖的自动识别成熟番茄的算法,该方法结合了多种特征、特征分析和选择、加权相关向量机(RVM)分类器以及双层分类策略。该算法采用两层策略进行操作。第一层分类策略旨在使用色差信息识别图像中的包含番茄的区域。第二层分类策略基于在多介质特征上训练的分类器。在我们提出的算法中,为了简化计算并提高识别效率,处理后的图像被分为 9×9 像素块,而不是单个像素,这些块被视为分类任务的基本单元。从像素块中提取了六个与颜色相关的特征,即红色(R)、绿色(G)、蓝色(B)、色调(H)、饱和度(S)和强度(I)分量、颜色分量和五个纹理特征(熵、能量、相关性、惯性矩和局部平滑)。使用迭代 RELIEF(I-RELIEF)算法分析了相关特征及其权重。基于所选相关特征,使用加权 RVM 分类器对图像块进行分类。通过结合块分类结果和双层分类策略,确定番茄识别的最终结果。该算法在 120 张图像上的检测准确率达到 94.90%,表明该算法是有效的,适用于番茄检测。