matlab
代码说明:
摘 要:针对茄子图像的灰度和颜色特点,利用MATLAB中丰富的图像处理函数,分别进行了色差分割和色调分割。在 色调分割中,采用了自动选取阈值的Otsu法。在去除残留噪音的处理中,采用标注的方法对二值图像的各连通区域进行面积 统计。保留最大面积的区域,从而使分割效果大大改善。利用多参数来衡量分割效果,使评价做到最大程度的客观、合理。(Based on the gray- level and color characteristics of eggp lant image, hue and color- difference segmentation were conducted by using the rich image p rocessing functions embedded inMATLAB. The auto threshold- adap tivemethod ofOtsu operation was specially used for hue segmentation. And upon the elimination of the residue noise, labelingmethod for statistical calculation was introduced for the connected regions of the binary image. Themaximum areaswere p reserved to imp rove segmentation effects. In addi2 tion, multi- indiceswere app lied to assess the effect of segmentation, in order to get impersonal and reasonable assessment)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!