摘要
针对茄子图像的灰度和颜色特点,利用MATLAB中丰富的图像处理函数,分别进行了色差分割和色调分割。在色调分割中,采用了自动选取阈值的Otsu法。在去除残留噪音的处理中,采用标注的方法对二值图像的各连通区域进行面积统计。保留最大面积的区域,从而使分割效果大大改善。利用多参数来衡量分割效果,使评价做到最大程度的客观、合理。
Based on the gray - level and color characteristics of eggplant image, hue and color - difference segmentation were conducted by using the rich image processing functions embedded in MATLAB. The auto threshold - adaptive method of Otsu operation was specially used for hue segmentation. And upon the elimination of the residue noise, labeling method for statistical calculation was introduced for the connected regions of the binary image. The maximum areas were preserved to improve segmentation effects. In addition, multi -indices were applied to assess the effect of segmentation, in order to get impersonal and reasonable assessment.
出处
《江西农业学报》
CAS
2007年第6期97-101,共5页
Acta Agriculturae Jiangxi