针对受到噪声干扰的图像边缘检测的不理想,提出一种基于改进的中值滤波和数学形态学结合的边缘检测方法。该算法首先对噪声图像用改进的中值滤波进行去除噪声处理,然后利用数学形态学进行边缘检测。利用Matlab软件进行仿真,结果证明该算法与一般的算法相比较能够有效地抑制噪声,保护边缘细节,提高边缘检测的精确度,具有更好的边缘提取效果、边缘连续性和光滑性。
Edge detection of noise image is not ideal, so a combined edge detecting algorithm based on improvement of median filter and mathematical morphology is proposed. First of all, the new method uses the improved median filter to reduce noise, and then employs the mathematical morphology to edge detection. The whole process is simulated with Matlab and the results show that the noise can be suppressed effectively, edge details are protected well, the precision of detection is improved evidently, and the detected edge is clear and smooth by using the proposed algorithm.