以固体推进剂药柱内窥镜图像表面缺陷的自动检测为例,在分析了此类图像特征的基础上,提出了一种利用梯度直方图信息的图像自适应阈值分割算法。通过实例,与原自适应直方图阂值分割算法和固定阈值分割算法相比较,结果表明:该算法采用可动态调整的形态学梯度算子计算梯度直方图,充分利用了图像的边缘信息和缺陷内部灰度分布不均匀的特性,算法简单,适应性广,具有实时准确分割图像的特点。
Taking for example auto-detection of surface defects of Endoscopic Image of Solid Propellants Grains,this paper analyses the characters of product surface images.An adaptive image segmentation algorithm based on information of gradient- histogram is presented to improve detection precision of product surface defects and reduce the cost.In the end,the algorithm is compared with auto-adaptive histogram threshold segmentation algorithm and fixed threshold segmentation algorithm.The results indicate that the algorithm adopts dynamic adjustable morphologic operator to calculate gradient histogram,has wide adaptability by making the best of the characters of edge information and uneven gray level distribution in defects,and has the ability of segmenting real-time image exactly.