Salt and pepper noise filtering method and device based on morphological component analysis

    公开(公告)号:US11410280B2

    公开(公告)日:2022-08-09

    申请号:US17109171

    申请日:2020-12-02

    Abstract: The present application provides a salt and pepper noise filtering method and device based on morphological component analysis. The method comprises: obtaining a to-be-filtered image containing salt and pepper noise; calculating the dimension of the to-be-filtered image, labeled as [n, m]; initializing an n*m-dimensional all-1 labeled matrix as a salt and pepper noise labeled map; obtaining a preset region centered on a pixel point with a pixel value of 0 or 255, and calculating a noise variance between the pixel points in the preset region; labeling the position of a salt and pepper noise point in the salt and pepper noise labeled map according to the noise variance between the pixel points in the preset region, and updating and determining the salt and pepper noise labeled map. The salt and pepper noise is filtered through the method based on morphological component analysis, which improves the quality of the image.

Patent Agency Ranking