首先确定参考序列和比较序列,然后计算以各像素为中心的比较序列与参考序列的灰色关联度,将其与选定阈值作比较,最终判断该点是否为边缘点。与传统边缘检测算法相比,该方法对256灰度级粮虫图像能检测到连续、有效的边缘信息,且能较好保留图像细节信息,对二值含噪图像具有较强抗噪性。
The reference and comparison series were defined,and the relevant coefficients between them were calculated to every pixel,then the image's edge detection were known from comparing the relevant coefficients with the threshold chosen.This algorithm could detect the continuous and effective edge and the image detail information for 256 grey-level images compared to traditional edge detection algorithms,and it also has better anti-noise ability for binary images added in noise.