基于Niblack自适应修正系数的温室成熟番茄目标提取方法

    Target extraction method of ripe tomato in greenhouse based on Niblack self-adaptive adjustment parameter

    • 摘要: 番茄目标的准确提取是番茄采摘的基础,目前番茄目标提取方法都有一定的局限性,难以满足采摘需求。该研究在传统Niblack算法的基础上,结合图像全局灰度变化的估计信息与局部区域信息之间的关联性,提出了一种基于Niblack自适应修正系数的温室成熟番茄目标提取新方法。首先对R-G番茄灰度图像,采用基于自适应修正系数选取的Niblack算法进行阈值分割,从理论意义上确定修正系数的选取原则,归一化局部标准差,实现修正值的计算及二值化过程,然后对分割后的图像去噪,最后采用最小临界矩形法提取成熟番茄果实。试验结果表明,该方法对温室成熟番茄图像有较好的提取效果,识别正确率达到98.3%,与基于归一化红绿色差灰度化的Otsu算法和传统的Niblack算法相比有更高的识别率和更快的处理速度,噪声率也明显减少,能够满足后续成熟番茄定位的需要,有效地解决传统方法适应性低,易产生伪噪声块等问题。

       

      Abstract: Abstract: Tomato is one of the most popular and widely grown vegetables in the world. Manual harvesting of tomatoes is laborious, time-consuming and inefficient, thus making it somewhat impractical for large-scale plantations. Intelligent robots have been developed for harvesting tomato. However, as the tomato is very soft and thus especially prone to bruising, many significant technical challenges remain to be solved. In China, the research on the harvesting robot is still in its infancy, but considerable progress has been made in many aspects, such as the manipulator, image recognition, and motion control. Tomato targets extraction is the basis for location and picking of tomato. Early extraction methods have certain limitations, which are difficult to meet the demand of harvest. In this study, Niblack self-adaptive adjustment parameter selection method was put forward and successfully applied in extracting ripe tomato in greenhouse. This segmentation algorithm was based on traditional Niblack algorithm using the correlation between global and local grayscale change information of tomato image. The original tomato image was firstly transformed to gray space, and the gray-level image was obtained using the normalized color difference method, and segmented into the foreground and the background. The normalized color difference method could eliminate the light intensity information in the red and green components. Then a new Niblack threshold segmentation algorithm was used to segment the gray image. The adjustment parameter was calculated through the expected value of each window and normalized standard deviation. After denoising, the ripe tomato object could be easily extracted from segmented image by using the minimum critical rectangle method. In order to compare different segmentation algorithms, traditional Niblack algorithm, Otsu algorithm and Niblack self-adaptive adjustment parameter selection algorithm had been selected to perform the comparative analysis. Experiments showed that the Otsu algorithm could extract the target of interest in the image, which contributed significantly to the subsequent target recognition and the reduction in computation time. However, this method may fail to segment overlapping tomatoes into individual ones. For Otsu algorithm, the threshold selection in each region lacked the image characteristics, which caused the binary result to contain a lot of background noise. Traditional Niblack algorithm exaggerated image details and got a lot of unnecessary edge information, which made it difficult to separate the target from background. Niblack self-adaptive adjustment parameter selection algorithm could effectively overcome the problem of pseudo noise. This approach has gotten a good applying result in the extraction of ripe tomato object from original images in greenhouse environment. The accuracy rate of ripe tomato recognition could reach 98.3%. Compared with Otsu algorithm based on normalized difference of red and green, and traditional Niblack segmentation algorithm, segmentation algorithm based on Niblack self-adaptive adjustment parameter selection is more efficient, and its noise is smaller and the process is faster. It can meet the need of the subsequent identification of tomato image and solve the problems of low adaptation and pseudo noise block with traditional methods. But because of the complexity of the object-picking environment, the new algorithm remains to be further improved in the practical application.

       

    /

    返回文章
    返回