核安全壳锈蚀影像噪声密集,锈蚀缺损严重,颜色相似的干扰强。本文提出了一种基于方向膨胀的锈蚀识别算法。利用锈蚀的黄橙色特征对影像进行RGB三通道阈值分割提取锈蚀基础信息,根据锈蚀的圆环形态特征,按照轮廓延伸方向进行多角度分块。设计了八方向膨胀核,对相应轮廓块进行不同方向膨胀以补全圆环轮廓,计算轮廓矩进行圆度识别。试验证明,该算法能滤除大量噪声和颜色相似的干扰信息,正确识别并定位锈蚀。
For defective rusting on nuclear containment image, with lots of noise and interference similar in color, in this paper a rusting recognition algorithm of contour directed dilation is proposed. Using the characteristic yellowish orange color, extraet basic rusting information through RGB muhi-channel threshold segmentation. On the basis of rt,sting' s annulus shape feature, the rusting by muhi-direction according to contour' s extension direction is divided. Contour fragment is dilated by the self-design eight-direction kernels in order to complement annulus rusting. The real rusting is recognized by roundness calculated according to contour moments. Experiments show that the algorithm can undo amounts of noise and interference similar in color so as to recognize and position the real rusting on the image.