Abstract:Medical images usually contain much noise which affects the edge detection accuracy. Focusing on this problem, based on the edge detection operator in mathematical morphology, an improved edge detection algorithm is presented by combining the features of the multistructure elements and the multiscale edge detection algorithm. The algorithm performs opening and closing operations on the data with the alternative sequence filters and the structure elements. The weighting operation is applied with different weight coefficients for horizontal, vertical and diagonal directions, while the edge detection operator with dilation type is calculated to obtain the improved edge detection algorithm. The steps of the algorithm are described. The algorithm is used to extract the edge of MRI image as well as the image of Lena. The experimental results indicate the algorithm can considerably improve the edge resolution of the traditional morphological edge detection methods and is practical.