提出了一种基于直方图估计和形状分析的沥青路面裂缝识别算法,该算法首先将1024×1024像素大小的路面裂缝图像分为256个64×64像素大小的子块,然后采用直方图估计的方法获得每个子块图像原始直方图的混合高斯拟合函数,两个高斯函数的交叉点即是每个子块图像的最优分割阈值。利用该阈值对整幅图像进行二值化后,在两种尺度条件下采用形状分析方法对子块二值图像进行快速分类和"野点"删除,最终实现了裂缝区域的精确定位。试验结果表明:本文提出的阈值分割方法应用于裂缝图像分割,其性能要优于极小误差法、Ostu阈值法、最大熵法等经典算法;采用形状分析对分割后二值化图像进行后续处理,可实现裂缝区域的快速、准确定位。
An asphalt pavement crack recognition algorithm based on histogram estimation and shape analysis is proposed. The original pavement image (1 024×1 024 pixels size) is first divided into 256 cells (64×64 pixels size). With histogram estimation method, a mixed-Gaussian fitting function is obtained for the original histogram of each cell; and the intersection of two Gaussian functions is taken as the optimal segmentation threshold. After image binarization using the threshold value, these binary cells are classified into two different types and the "wild spots" are deleted using shape analysis theory under two scales. So the cracks are located precisely on the whole image. Experiment results show that the proposed thresholding method is superior to those classical algorithms, such as minimal error method, Ostu threshold segmentation method and maximum entropy method in crack image segmentation; and with shape analysis, the crack region can be located quickly and accurately.