I am doing a image processing project which is about the noise removal. I use erode() function, dilate() function, and fastNlMeansDenoising() function to remove noises. It is successful but not perfect for all my sample images.
Thus, I proposed a method that is to detect that specific color of noises and remove the similar color of that noises. As the color of noises is a majority in the image, I could detect that kind of color. But how can I do that?